@moontra/moonui-pro 2.32.42 → 2.32.43

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,10 @@ 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";
3046
- const response = await fetch(apiUrl, {
3047
- method: "POST",
3045
+ const response = await fetch("https://moonui.dev/api/auth/validate", {
3048
3046
  headers: {
3049
- "Content-Type": "application/json",
3050
3047
  "Authorization": `Bearer ${token}`
3051
- },
3052
- body: JSON.stringify({ token })
3048
+ }
3053
3049
  });
3054
3050
  if (response.ok) {
3055
3051
  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.43",
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",