AITA for telling my friend I'd rather spend the night with my new puppy than go to her wedding reception?

I (22F) am autistic, and while I’ve learned to manage most day-to-day stuff, certain things, like loud noises and crowded places, are really overwhelming for me. I can usually get through smaller, quieter social gatherings, but anything with loud music or a lot of people can trigger a meltdown. It makes me want to tear my skin off, and several of my stimming behaviors in that state are hurtful to me.

One of my close friends is getting married soon, and I was really excited for her. I fully planned to attend the ceremony, but she’s having a big reception with a DJ and a lot of people, and I just know that environment would be too much for me. I’ve told her about my sensory sensitivities before, so I assumed she’d understand why I couldn’t stay for the reception.

A few days ago, she called to check if I was excited about the whole day. I said I couldn’t wait to attend the ceremony but was planning to leave afterward and go home to my puppy, he's a miniature dachshund, instead of staying for the reception. She asked why I couldn’t just stay a little longer, and I tried to explain how difficult the noise and crowds would be for me. But she kept pushing, saying, “It’s my wedding! Can’t you just stick it out for one night?”

I was feeling frustrated and overwhelmed by how much she was pushing, so I blurted out something like, “Honestly, I’d rather go home and cuddle with my puppy than have a meltdown because of a space that is unaccommodating to my disability.”

She went really quiet and ended the conversation soon after. A few hours later, I got a text from her saying she was deeply hurt by what I said. She felt like I was prioritizing my dog over her and downplaying the importance of her wedding. I apologized for how I phrased things, but she responded by telling me she didn’t want me at the wedding anymore because she doesn’t think I really care about her big day. The literal text said, "Your dog is more important to you than one night of discomfort for me, I thought we were friends, turns out I was wrong."

I’m honestly shocked and hurt that she uninvited me over this. I do care about her and her wedding, but I also need to protect my mental health. I thought I was being upfront about my limits, but now I’m wondering if I was too blunt or if I should have found a better way to handle it. AITA?