@moontra/moonui-pro 2.33.12 → 2.33.13
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.d.ts +1 -1
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -102,17 +102,17 @@ var init_cli_token_reader = __esm({
|
|
|
102
102
|
/**
|
|
103
103
|
* Generate TRULY secure browser-specific device fingerprint
|
|
104
104
|
* COMPLETELY INDEPENDENT from environment variables
|
|
105
|
-
* Format:
|
|
105
|
+
* Format: platform-hostname-browser_user_hash-machine_hash
|
|
106
106
|
*
|
|
107
107
|
* SECURITY: Environment copying CANNOT bypass this!
|
|
108
108
|
*/
|
|
109
109
|
async getDeviceFingerprint() {
|
|
110
110
|
try {
|
|
111
111
|
const platform2 = this.detectBrowserPlatform();
|
|
112
|
-
const hostname = typeof window !== "undefined" ? window.location.hostname : "unknown";
|
|
112
|
+
const hostname = process.env.NEXT_PUBLIC_MOONUI_HOSTNAME || (typeof window !== "undefined" ? window.location.hostname : "unknown");
|
|
113
113
|
const browserUserHash = await this.generateBrowserSpecificUserHash();
|
|
114
114
|
const browserMachineId = await this.generateBrowserMachineId();
|
|
115
|
-
const fingerprint =
|
|
115
|
+
const fingerprint = `${platform2}-${hostname}-${browserUserHash}-${browserMachineId}`;
|
|
116
116
|
console.log("[MoonUI Pro] Environment-independent browser fingerprint generated:", {
|
|
117
117
|
platform: platform2,
|
|
118
118
|
hostname,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.33.
|
|
3
|
+
"version": "2.33.13",
|
|
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",
|