@moontra/moonui-pro 2.33.9 → 2.33.10

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.mjs CHANGED
@@ -2867,6 +2867,7 @@ function SubscriptionProvider({ children }) {
2867
2867
  console.debug("[MoonUI Pro Context] CLI auth check via moonui.dev failed:", error);
2868
2868
  }
2869
2869
  }
2870
+ return null;
2870
2871
  }
2871
2872
  }
2872
2873
  }
@@ -2959,6 +2960,15 @@ function SubscriptionProvider({ children }) {
2959
2960
  localStorage.removeItem(CLI_AUTH_CACHE_KEY);
2960
2961
  }
2961
2962
  }
2963
+ console.log("[MoonUI Pro] No valid CLI cache, checking CLI auth...");
2964
+ const authToken = await getAuthToken2();
2965
+ if (authToken === "cli-authenticated-pro") {
2966
+ console.log("[MoonUI Pro] CLI authentication successful");
2967
+ setHasProAccess(true);
2968
+ setIsAuthenticated(true);
2969
+ setIsLoading(false);
2970
+ return;
2971
+ }
2962
2972
  }
2963
2973
  const cached = localStorage.getItem(CACHE_KEY2);
2964
2974
  if (cached) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.33.9",
3
+ "version": "2.33.10",
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",