Miscellaneous bug fixes and regen to most recent API
·
375 commits
to master
since this release
Bug Fixes 🐛
- Don't mutate options object passed to it. The SDK was mutating the options object by deleting
options.filterwhich led to a side-effect for any user relying on the options object. - Cookies were being set to the current path with no way to define your own path. This would cause issues if cookies were being set while the user was not on the root of the domain because that cookie would only be accessible on the path it was created on or any sub-path
- by default cookies are now set at the root
- you can now configure the sdk to set to any path you like. For ex:
Configuration.Set({cookieOptions: { path: 'mypath' }})
- Setting one cookie option would incorrectly remove defaults for the rest
- Models for
searchOnandsortBywere not allowing valid values
Regen SDK ⏩
- SDK now up to date with API v1.0.183