Context 2 would be more proper to use 'what' since it does not specify exactly what was given as the present. " would be better since you specified that a necklace was given as the present. But, grammar is correct in both contexts.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.