@moontra/moonui-pro 2.33.5 → 2.33.7
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.
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +1 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2798,14 +2798,12 @@ function SubscriptionProvider({ children }) {
|
|
|
2798
2798
|
try {
|
|
2799
2799
|
const decoded = JSON.parse(atob(devToken));
|
|
2800
2800
|
const jwtToken = decoded.token;
|
|
2801
|
-
const userAgent = navigator.userAgent.toLowerCase();
|
|
2802
|
-
const platform2 = userAgent.includes("mac") ? "darwin" : userAgent.includes("win") ? "win32" : "linux";
|
|
2803
2801
|
const hostname = window.location.hostname.replace(/\./g, "");
|
|
2804
2802
|
const userHash = deviceId.split("-")[2];
|
|
2805
2803
|
const browserHash = Math.random().toString(36).substring(2, 8);
|
|
2806
2804
|
const requestBody = {
|
|
2807
2805
|
deviceId,
|
|
2808
|
-
browserDeviceId:
|
|
2806
|
+
browserDeviceId: `browser-${hostname}-${userHash}-${browserHash}`,
|
|
2809
2807
|
timestamp: Date.now(),
|
|
2810
2808
|
validationType: "hybrid-strict"
|
|
2811
2809
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.33.
|
|
3
|
+
"version": "2.33.7",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|