@moontra/moonui-pro 2.32.0 → 2.32.2
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 +86 -86
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2136,12 +2136,14 @@ async function validateLicense() {
|
|
|
2136
2136
|
});
|
|
2137
2137
|
}
|
|
2138
2138
|
} catch (error) {
|
|
2139
|
+
console.error("[MoonUI Pro] Network error during license validation:", error);
|
|
2139
2140
|
if (typeof window !== "undefined") {
|
|
2140
2141
|
const cached = localStorage.getItem(CACHE_KEY);
|
|
2141
2142
|
if (cached) {
|
|
2142
2143
|
const cacheData = JSON.parse(cached);
|
|
2143
2144
|
const now = Date.now();
|
|
2144
2145
|
if (now - cacheData.timestamp < OFFLINE_GRACE_PERIOD) {
|
|
2146
|
+
console.log("[MoonUI Pro] Development: Using cached access during network error");
|
|
2145
2147
|
updateGlobalState({
|
|
2146
2148
|
hasProAccess: cacheData.valid && cacheData.hasLifetimeAccess,
|
|
2147
2149
|
isAuthenticated: cacheData.valid,
|
|
@@ -2156,6 +2158,7 @@ async function validateLicense() {
|
|
|
2156
2158
|
}
|
|
2157
2159
|
}
|
|
2158
2160
|
}
|
|
2161
|
+
console.log("[MoonUI Pro] Denying access due to network error (production security)");
|
|
2159
2162
|
updateGlobalState({
|
|
2160
2163
|
hasProAccess: false,
|
|
2161
2164
|
isAuthenticated: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.32.
|
|
3
|
+
"version": "2.32.2",
|
|
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",
|