@suprsend/web-sdk 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This library is used to integrate SuprSend features like WebPush, Preferences in to your javascript client environments.
4
4
 
5
+ > 📘 This is v2 version of @suprsend/web-sdk
6
+ >
7
+ > We have changed the web SDK authentication from workspace key-secret to public key and JWT based authentication. This is done to improve security in frontend applications.
8
+ >
9
+ > - Refer the v1 SDK [documentation](https://docs.suprsend.com/v1.2.1/docs/javascript-sdk)
10
+ > - For migrating to v2, follow this [guide](https://docs.suprsend.com/docs/js-migration-from-v1)
11
+
5
12
  ## Documentation
6
13
 
7
14
  Checkout detailed [documentation](https://docs.suprsend.com/docs/javascript-sdk) for this library.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suprsend/web-sdk",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "The client side javascript library for interacting with SuprSend",
5
5
  "author": "SuprSend Developers",
6
6
  "type": "module",