@moontra/moonui-pro 2.33.15 → 2.33.17
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 +35 -35
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -124,7 +124,11 @@ var init_cli_token_reader = __esm({
|
|
|
124
124
|
return fingerprint;
|
|
125
125
|
} catch (error) {
|
|
126
126
|
console.error("[MoonUI Pro] Device fingerprint generation failed:", error);
|
|
127
|
-
|
|
127
|
+
const fallbackPlatform = "browser";
|
|
128
|
+
const fallbackHostname = typeof window !== "undefined" ? window.location.hostname : "localhost";
|
|
129
|
+
const fallbackUserHash = "fallback";
|
|
130
|
+
const fallbackMachineHash = "000000";
|
|
131
|
+
return `${fallbackPlatform}-${fallbackHostname}-${fallbackUserHash}-${fallbackMachineHash}`;
|
|
128
132
|
}
|
|
129
133
|
}
|
|
130
134
|
/**
|
|
@@ -314,7 +318,9 @@ var init_cli_token_reader = __esm({
|
|
|
314
318
|
return { compatible: false, requiresAPIValidation: false, reason: `Hostname mismatch: token=${tokenParts[1]}, current=${currentParts[1]}` };
|
|
315
319
|
}
|
|
316
320
|
if (!userHashMatch) {
|
|
317
|
-
|
|
321
|
+
console.log("[MoonUI Pro] User hash mismatch detected (CLI vs Browser) - this is normal");
|
|
322
|
+
console.log("[MoonUI Pro] Requiring API validation for security");
|
|
323
|
+
return { compatible: true, requiresAPIValidation: true, reason: `User hash difference expected: CLI=${tokenParts[2]}, Browser=${currentParts[2]}` };
|
|
318
324
|
}
|
|
319
325
|
const cliMachineHash = tokenParts[3] || "";
|
|
320
326
|
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.17",
|
|
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",
|