zubbl-sdk 1.0.9 → 1.1.0

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.
@@ -28,8 +28,9 @@ async function identifyUser({ email, name }) {
28
28
  "x-app-id": config.appId
29
29
  };
30
30
 
31
+ // FIXED ROUTE:
31
32
  const response = await axios.post(
32
- "https://api.zubbl.com/user/identify",
33
+ "https://api.zubbl.com/sdk/identify",
33
34
  { email, name },
34
35
  { headers }
35
36
  );
@@ -26,8 +26,9 @@ async function identifyUser({ email, name }) {
26
26
  "x-app-id": config.appId
27
27
  };
28
28
 
29
+ // FIXED ROUTE:
29
30
  const response = await axios.post(
30
- "https://api.zubbl.com/user/identify",
31
+ "https://api.zubbl.com/sdk/identify",
31
32
  { email, name },
32
33
  { headers }
33
34
  );
@@ -30,8 +30,9 @@
30
30
  "x-app-id": config.appId
31
31
  };
32
32
 
33
+ // FIXED ROUTE:
33
34
  const response = await axios.post(
34
- "https://api.zubbl.com/user/identify",
35
+ "https://api.zubbl.com/sdk/identify",
35
36
  { email, name },
36
37
  { headers }
37
38
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zubbl-sdk",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "Zubbl SDK for secure policy enforcement (browser, Node, universal)",
5
5
  "main": "dist/zubbl-sdk.cjs.js",
6
6
  "module": "dist/zubbl-sdk.esm.js",