SDK v4.0.0
Breaking changes
Dropped support for older browsers
The API requests are migrated to use the Fetch API. The old browsers that do not support this API are not officially supported anymore.
Changed settings interface
Instead of a public key string, the parameter is now an options object. This parameter has supported compatibility but is outdated.
Please take a look at the documentation for more details.
Changes
Added the option to set a rate limit for API requests
Client-side implementation. It blocks requests sent before the timeout expiration. The advantage of this configuration on the client side is that it does not use the account quota.
Setting up blocking of unwanted requests
Client-side implementation. There are settings in the options where SDK users can specify unwanted variable values. Such requests will be rejected. This is useful for blocking specific email addresses, IP addresses, and other values.
Improvements
- Improved work with API
- Improved parameters verification before sending requests to the server
- Added more test cases
- Added parameters type checking