@astermind/cybernetic-chatbot-client 2.3.4 → 2.3.12
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/cybernetic-chatbot-client-full.esm.js +49 -31
- package/dist/cybernetic-chatbot-client-full.esm.js.map +1 -1
- package/dist/cybernetic-chatbot-client-full.min.js +1 -1
- package/dist/cybernetic-chatbot-client-full.min.js.map +1 -1
- package/dist/cybernetic-chatbot-client-full.umd.js +49 -31
- package/dist/cybernetic-chatbot-client-full.umd.js.map +1 -1
- package/dist/cybernetic-chatbot-client.esm.js +49 -31
- package/dist/cybernetic-chatbot-client.esm.js.map +1 -1
- package/dist/cybernetic-chatbot-client.min.js +1 -1
- package/dist/cybernetic-chatbot-client.min.js.map +1 -1
- package/dist/cybernetic-chatbot-client.umd.js +49 -31
- package/dist/cybernetic-chatbot-client.umd.js.map +1 -1
- package/dist/license/licenseManager.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2537,37 +2537,55 @@ LJ5AZXvOhHaXdHzMuYKX5BpK4w7TqbPvJ6QPvKmLKvHh1VKcUJ6mJQgJJw==
|
|
|
2537
2537
|
* Log license status based on enforcement mode
|
|
2538
2538
|
*/
|
|
2539
2539
|
logLicenseStatus() {
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2540
|
+
// TODO: Re-enable when license key system is fully implemented
|
|
2541
|
+
return;
|
|
2542
|
+
// if (!this.state) return;
|
|
2543
|
+
//
|
|
2544
|
+
// const prefix = '[Cybernetic License]';
|
|
2545
|
+
//
|
|
2546
|
+
// switch (this.state.status) {
|
|
2547
|
+
// case 'valid':
|
|
2548
|
+
// if (this.state.inGracePeriod) {
|
|
2549
|
+
// console.warn(
|
|
2550
|
+
// `${prefix} License expired but in grace period. ` +
|
|
2551
|
+
// `Please renew at https://astermind.ai/license`
|
|
2552
|
+
// );
|
|
2553
|
+
// } else if (this.state.daysRemaining !== null && this.state.daysRemaining <= 30) {
|
|
2554
|
+
// console.info(
|
|
2555
|
+
// `${prefix} License expires in ${this.state.daysRemaining} days`
|
|
2556
|
+
// );
|
|
2557
|
+
// }
|
|
2558
|
+
// break;
|
|
2559
|
+
//
|
|
2560
|
+
// case 'eval':
|
|
2561
|
+
// console.info(
|
|
2562
|
+
// `${prefix} Evaluation license - ${this.state.daysRemaining} days remaining`
|
|
2563
|
+
// );
|
|
2564
|
+
// break;
|
|
2565
|
+
//
|
|
2566
|
+
// case 'expired':
|
|
2567
|
+
// console.error(
|
|
2568
|
+
// `${prefix} License expired. ` +
|
|
2569
|
+
// `Enforcement mode: ${this.enforcementMode}. ` +
|
|
2570
|
+
// `Renew at https://astermind.ai/license`
|
|
2571
|
+
// );
|
|
2572
|
+
// break;
|
|
2573
|
+
//
|
|
2574
|
+
// case 'missing':
|
|
2575
|
+
// console.warn(
|
|
2576
|
+
// `${prefix} No license key provided. ` +
|
|
2577
|
+
// `Enforcement mode: ${this.enforcementMode}. ` +
|
|
2578
|
+
// `Get a license at https://astermind.ai/license`
|
|
2579
|
+
// );
|
|
2580
|
+
// break;
|
|
2581
|
+
//
|
|
2582
|
+
// case 'invalid':
|
|
2583
|
+
// console.error(
|
|
2584
|
+
// `${prefix} Invalid license: ${this.state.error}. ` +
|
|
2585
|
+
// `Enforcement mode: ${this.enforcementMode}`
|
|
2586
|
+
// );
|
|
2587
|
+
// break;
|
|
2588
|
+
// }
|
|
2571
2589
|
}
|
|
2572
2590
|
}
|
|
2573
2591
|
/**
|