@moontra/moonui-pro 2.20.3 → 2.20.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.20.3",
3
+ "version": "2.20.4",
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",
@@ -241,6 +241,21 @@ const main = async () => {
241
241
  log('🌙 MoonUI Pro Installation', colors.cyan + colors.bright);
242
242
  log('═'.repeat(50), colors.gray);
243
243
 
244
+ // Check for Vercel environment with proper token
245
+ if (process.env.VERCEL) {
246
+ log('📦 Vercel Environment Detected', colors.blue);
247
+
248
+ // Check for admin token in Vercel environment
249
+ const vercelToken = process.env.MOONUI_AUTH_TOKEN;
250
+ if (vercelToken && vercelToken.startsWith('mpt_admin_')) {
251
+ log('✅ Admin token detected - skipping license check', colors.green);
252
+ log(' Vercel build can proceed without validation', colors.blue);
253
+ log('═'.repeat(50), colors.gray);
254
+ return;
255
+ }
256
+ // Continue with normal auth flow - token will be checked below
257
+ }
258
+
244
259
  // Check for perpetual license stamp first
245
260
  if (checkLicenseStamp()) {
246
261
  log('✅ Installation complete with perpetual license', colors.green);