@moontra/moonui-pro 2.33.14 → 2.33.15
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 +10 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -157,7 +157,7 @@ var init_cli_token_reader = __esm({
|
|
|
157
157
|
return hash.substring(0, 8);
|
|
158
158
|
} catch (error) {
|
|
159
159
|
console.warn("[MoonUI Pro] Browser user hash generation failed, using fallback");
|
|
160
|
-
const fallback = `${navigator.userAgent.length}-${screen.width}-${
|
|
160
|
+
const fallback = `${navigator.userAgent.length}-${screen.width}-${navigator.language}`;
|
|
161
161
|
return this.fallbackHash(fallback);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -301,14 +301,20 @@ var init_cli_token_reader = __esm({
|
|
|
301
301
|
const platformMatch = tokenParts[0] === currentParts[0];
|
|
302
302
|
const hostnameMatch = tokenParts[1] === currentParts[1];
|
|
303
303
|
const userHashMatch = tokenParts[2] === currentParts[2];
|
|
304
|
+
console.log("[MoonUI Pro] Device ID comparison:", {
|
|
305
|
+
platform: { token: tokenParts[0], current: currentParts[0], match: platformMatch },
|
|
306
|
+
hostname: { token: tokenParts[1], current: currentParts[1], match: hostnameMatch },
|
|
307
|
+
userHash: { token: tokenParts[2], current: currentParts[2], match: userHashMatch },
|
|
308
|
+
machineHash: { token: tokenParts[3], current: currentParts[3], match: tokenParts[3] === currentParts[3] }
|
|
309
|
+
});
|
|
304
310
|
if (!platformMatch) {
|
|
305
|
-
return { compatible: false, requiresAPIValidation: false, reason:
|
|
311
|
+
return { compatible: false, requiresAPIValidation: false, reason: `Platform mismatch: token=${tokenParts[0]}, current=${currentParts[0]}` };
|
|
306
312
|
}
|
|
307
313
|
if (!hostnameMatch) {
|
|
308
|
-
return { compatible: false, requiresAPIValidation: false, reason:
|
|
314
|
+
return { compatible: false, requiresAPIValidation: false, reason: `Hostname mismatch: token=${tokenParts[1]}, current=${currentParts[1]}` };
|
|
309
315
|
}
|
|
310
316
|
if (!userHashMatch) {
|
|
311
|
-
return { compatible: false, requiresAPIValidation: false, reason:
|
|
317
|
+
return { compatible: false, requiresAPIValidation: false, reason: `User hash mismatch: token=${tokenParts[2]}, current=${currentParts[2]}` };
|
|
312
318
|
}
|
|
313
319
|
const cliMachineHash = tokenParts[3] || "";
|
|
314
320
|
const browserMachineHash = currentParts[3] || "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.33.
|
|
3
|
+
"version": "2.33.15",
|
|
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",
|