Ugh.
First, I'd never accept an invitation by a third party's word-of-mouth. Since you didn't get one from the SIL or whoever the hostess is, I'd assume that you're not invited.
If your condition, aside from the other etiquette violations, is making you feel not well enough to go to this shower, I'd feel free to skip it.