4.0.5
This patch fixes the incorrectly assigned AuthHandlers for the MessagesAPI. The behaviour now is that it will look for a KeyPair object, then use Basic in that order. If the Handler can't find the right auth, the exception will be thrown as before.
We also have new behaviour for incoming SMS webhooks that determine what entity it is (this is if you have configured both callback URLs from the Vonage Dashboard to point to the same route). If there is no text field present, it's a DeliveryReciept. If all other fields match the map, it's an IncomingSMS.
What's Changed
- Change logic to look for the text field to determine the type of webhook by @SecondeJK in #364
- Fix Messages AuthHandler by @SecondeJK in #366
Full Changelog: 4.0.4...4.0.5