Just found out I’m pregnant and I’ve been asked to be a bridesmaid.... I’ll be 35 weeks at the wedding

I need some advice.... I just found out I’m pregnant after a MMC. It was heartbreaking for me and my partner and we’ve collectively decided to not tell anyone until we’re closer to 12 weeks. My friend has just asked me to be her bridesmaid. I’m super excited but I’m worried now I’m pregnant she won’t want me to be apart of her wedding. 35 weeks is pretty close to the due date and I’m going to be huge. I don’t know how I’ll feel if she tells me she doesn’t want me when I tell her I’m pregnant :/ I’m worried if I wait to tell her I’m being selfish.. so my question is... would you want your bridesmaid to tell you she’s pregnant straight up or would you not be upset if she waited until she was ready to tell you due to risk of miscarriage? Thoughts? 🤰