Whatever you did is done now.
You were hurting, you retaliated.
What you should have done is tackled her about it. Her actions were trying to get you out of the group, I expect because you reminded her of the bargains she had to make with herself to stick with her shitty husband. You were literally, the thorn in her side !
If he knew that you knew, he may also have put pressure on her to alienate you (She may have been doing it subconsciously, particularly if she is very controlled by him)
So, you should actually have told her that you were onto her, and that if she didn't stop treating you this way, you would break the friendship off yourself.
The problem is, that in groups of friends, there is inevitable taking of sides. Just because she did it (and forced others to) doesn't mean you were ok to do it too. Two wrongs don't mean a right.
Personally, I would have spoken to her plainly and then walked away from the whole group with my head held high. The rest of the don't sound much better, tbh
This is what happens sometimes when you try to be a good friend...it comes back to bite you on the arse.
It's best just to move on in this scenario, I think.