I am so very sorry that things went this way she was a beautiful girl and you made the right choice in ending her suffering. Chameleons that size are so fragile and are difficult to treat for any problem or illness.
Very sad news. I am sorry that you had to go through that. If it's not to late I would highly recommend a refund and purchasing your new baby from a small time breeder.