Hi Bluebutterfly,
I’m sorry to hear about your reaction which is certainly unfortunate whatever the cause.
As matthewsoft suggested … your symptoms could be from an allergy or sensitivity to anything in your sleeping system or vicinity (or even from dust mites) and it may take a process of elimination to narrow down the cause (see here for some of the possible causes of swollen eyelids including dust mites). It’s possible that the process of removing and replacing your old mattress has led to the release of higher levels of allergens in your environment.
There is more about latex sensitivities and allergies in post #2 here but I would take your symptoms seriously because swollen eyelids are also one of the possible symptoms connected to type I latex allergies (see here)
Given that this happened twice I think that prudence would certainly suggest medical testing (usually a blood test) to find out if you have a type I latex allergy and there are also tests that can be done to test for allergic contact dermatitis (type IV allergy) to the chemicals and additives uses to make the latex (most commonly the accelerators). If you have developed a true type I latex allergy then even though it’s quite rare … it would be important to know because there are many sources of latex exposure in our society.
Phoenix