@moontra/moonui-pro 2.33.20 → 2.33.21
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.map +1 -1
- package/dist/index.mjs +9 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2914,9 +2914,13 @@ function SubscriptionProvider({ children }) {
|
|
|
2914
2914
|
if (browserToken) {
|
|
2915
2915
|
return browserToken;
|
|
2916
2916
|
}
|
|
2917
|
+
console.log("[MoonUI Pro v2.33.20] Checking for CLI environment variables...");
|
|
2917
2918
|
const devToken = process.env.NEXT_PUBLIC_MOONUI_DEV_TOKEN;
|
|
2918
2919
|
const deviceId = process.env.NEXT_PUBLIC_MOONUI_DEVICE_ID;
|
|
2920
|
+
console.log("[MoonUI Pro v2.33.20] DevToken exists:", !!devToken);
|
|
2921
|
+
console.log("[MoonUI Pro v2.33.20] DeviceId exists:", !!deviceId);
|
|
2919
2922
|
if (devToken && deviceId) {
|
|
2923
|
+
console.log("[MoonUI Pro v2.33.20] CLI tokens found, proceeding with authentication...");
|
|
2920
2924
|
const cachedAuth = localStorage.getItem(CLI_AUTH_CACHE_KEY2);
|
|
2921
2925
|
if (cachedAuth) {
|
|
2922
2926
|
try {
|
|
@@ -2945,9 +2949,11 @@ function SubscriptionProvider({ children }) {
|
|
|
2945
2949
|
validationType: "hybrid-browser-register",
|
|
2946
2950
|
action: "registerBrowserIfNeeded"
|
|
2947
2951
|
};
|
|
2948
|
-
console.log("[MoonUI Pro]
|
|
2949
|
-
console.log("[MoonUI Pro]
|
|
2950
|
-
console.log("[MoonUI Pro]
|
|
2952
|
+
console.log("[MoonUI Pro v2.33.20] Starting CLI authentication...");
|
|
2953
|
+
console.log("[MoonUI Pro v2.33.20] Sending request to moonui.dev/api/cli/validate-session");
|
|
2954
|
+
console.log("[MoonUI Pro v2.33.20] DeviceId:", deviceId);
|
|
2955
|
+
console.log("[MoonUI Pro v2.33.20] Browser fingerprint:", browserFingerprint);
|
|
2956
|
+
console.log("[MoonUI Pro v2.33.20] Request body:", requestBody);
|
|
2951
2957
|
const response = await fetch("https://moonui.dev/api/cli/validate-session", {
|
|
2952
2958
|
method: "POST",
|
|
2953
2959
|
headers: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.33.
|
|
3
|
+
"version": "2.33.21",
|
|
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",
|