Create StytchLocale enum, which in reality is just a language setting as specified by the API. Updated tests and sample apps to conform to this change.
Remove as many CodingKeys as I could that were only there to change the name of "emailAddress" to "email", renamed all the properties to "emailAddress".
Removed public modifiers on parameters that I missed in a previous PR.
Checklist:
[x] I have verified that this change works in the relevant demo app, or N/A
[x] I have added or updated any tests relevant to this change, or N/A
[x] I have updated any relevant README files for this change, or N/A
SDK-1910 - iOS: Uptake new Locale param in all B2C SDK endpoints
Changes:
StytchLocale
enum, which in reality is just a language setting as specified by the API. Updated tests and sample apps to conform to this change.CodingKeys
as I could that were only there to change the name of "emailAddress" to "email", renamed all the properties to "emailAddress".Checklist: