@moontra/moonui-pro 2.32.43 → 2.32.44

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
@@ -3042,7 +3042,9 @@ function SubscriptionProvider({ children }) {
3042
3042
  return;
3043
3043
  }
3044
3044
  try {
3045
- const response = await fetch("https://moonui.dev/api/auth/validate", {
3045
+ const isDevelopment = true;
3046
+ const apiUrl = isDevelopment && typeof window !== "undefined" ? `${window.location.origin}/api/cli/validate-session` : "https://moonui.dev/api/auth/validate";
3047
+ const response = await fetch(apiUrl, {
3046
3048
  headers: {
3047
3049
  "Authorization": `Bearer ${token}`
3048
3050
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.32.43",
3
+ "version": "2.32.44",
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",