@moontra/moonui-pro 2.32.42 → 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,14 +3042,12 @@ function SubscriptionProvider({ children }) {
3042
3042
  return;
3043
3043
  }
3044
3044
  try {
3045
- const apiUrl = typeof window !== "undefined" && window.location.origin ? `${window.location.origin}/api/cli/validate-session` : "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";
3046
3047
  const response = await fetch(apiUrl, {
3047
- method: "POST",
3048
3048
  headers: {
3049
- "Content-Type": "application/json",
3050
3049
  "Authorization": `Bearer ${token}`
3051
- },
3052
- body: JSON.stringify({ token })
3050
+ }
3053
3051
  });
3054
3052
  if (response.ok) {
3055
3053
  const data = await response.json();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.32.42",
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",