UNPKG

@astermind/astermind-premium

Version:

Astermind Premium - Premium ML Toolkit

44 lines 1.45 kB
/** * Central License Configuration for Astermind Premium * * This is the single place where customers can configure their license key. * The license will automatically propagate to: * - Astermind Premium * - Astermind Pro (if available) * - Astermind Synthetic Data (if available) * * Usage: * 1. Set your license token here, OR * 2. Set the ASTERMIND_LICENSE_TOKEN environment variable, OR * 3. Call setLicenseTokenFromString() programmatically */ /** * Your Astermind Premium license token. * * Get your license token from: * - https://license.astermind.ai * - Your account dashboard * - Contact support@astermind.ai * * Leave as null to use environment variable or programmatic setting. */ export const LICENSE_TOKEN = null; /** * Initialize license on module load if token is provided. * This ensures the license is set as early as possible. */ if (LICENSE_TOKEN) { // Use dynamic import to avoid circular dependencies import('../core/license.js').then(license => { license.initializeLicense(); license.setLicenseTokenFromString(LICENSE_TOKEN).catch(err => { console.error('[Astermind Premium] Failed to set license token:', err); }); }); } /** * Alternative: Set license from environment variable * The license module will automatically check for ASTERMIND_LICENSE_TOKEN * environment variable if no token is set here. */ //# sourceMappingURL=license-config.js.map