Allergy in immediate perioperative period is due to: