Web SDK v2.0
We are excited to announce a major update to our @suprsend/web-sdk
. This new version brings significant improvements in security, performance, and developer experience.
Major Changes
- Enhanced Authentication System
- Replaced workspace key-secret method with public API Key and Signed User JWT token
- Improved security and access control
- Synchronous Method Calls
- All methods now return API call status synchronously
- Enables better error handling and flow control in applications
- Improved Code Consistency and Developer Experience
- Renamed library methods and parameters from snake_case to camelCase
- Added proper IDE suggestions and method descriptions for easier development
Breaking Changes
Due to the significant improvements, this version introduces breaking changes. Users upgrading from v1.x should review the migration guide carefully.
Documentation
For a comprehensive list of changes and migration instructions, please refer to our detailed migration guide: https://docs.suprsend.com/docs/js-migration-from-v1
For users who need to reference the previous version, v1 documentation is still accessible at: https://docs.suprsend.com/v1.2.1/docs/javascript-sdk
Feedback
We value your feedback and encourage you to try out the new version. If you encounter any issues or have suggestions for improvement, please don't hesitate to reach out to our support team.
Thank you for your continued support and trust in SuprSend!