@astermind/cybernetic-chatbot-client 2.3.9 → 2.3.15
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
|
@@ -2546,37 +2546,55 @@ LJ5AZXvOhHaXdHzMuYKX5BpK4w7TqbPvJ6QPvKmLKvHh1VKcUJ6mJQgJJw==
|
|
|
2546
2546
|
* Log license status based on enforcement mode
|
|
2547
2547
|
*/
|
|
2548
2548
|
logLicenseStatus() {
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2549
|
+
// TODO: Re-enable when license key system is fully implemented
|
|
2550
|
+
return;
|
|
2551
|
+
// if (!this.state) return;
|
|
2552
|
+
//
|
|
2553
|
+
// const prefix = '[Cybernetic License]';
|
|
2554
|
+
//
|
|
2555
|
+
// switch (this.state.status) {
|
|
2556
|
+
// case 'valid':
|
|
2557
|
+
// if (this.state.inGracePeriod) {
|
|
2558
|
+
// console.warn(
|
|
2559
|
+
// `${prefix} License expired but in grace period. ` +
|
|
2560
|
+
// `Please renew at https://astermind.ai/license`
|
|
2561
|
+
// );
|
|
2562
|
+
// } else if (this.state.daysRemaining !== null && this.state.daysRemaining <= 30) {
|
|
2563
|
+
// console.info(
|
|
2564
|
+
// `${prefix} License expires in ${this.state.daysRemaining} days`
|
|
2565
|
+
// );
|
|
2566
|
+
// }
|
|
2567
|
+
// break;
|
|
2568
|
+
//
|
|
2569
|
+
// case 'eval':
|
|
2570
|
+
// console.info(
|
|
2571
|
+
// `${prefix} Evaluation license - ${this.state.daysRemaining} days remaining`
|
|
2572
|
+
// );
|
|
2573
|
+
// break;
|
|
2574
|
+
//
|
|
2575
|
+
// case 'expired':
|
|
2576
|
+
// console.error(
|
|
2577
|
+
// `${prefix} License expired. ` +
|
|
2578
|
+
// `Enforcement mode: ${this.enforcementMode}. ` +
|
|
2579
|
+
// `Renew at https://astermind.ai/license`
|
|
2580
|
+
// );
|
|
2581
|
+
// break;
|
|
2582
|
+
//
|
|
2583
|
+
// case 'missing':
|
|
2584
|
+
// console.warn(
|
|
2585
|
+
// `${prefix} No license key provided. ` +
|
|
2586
|
+
// `Enforcement mode: ${this.enforcementMode}. ` +
|
|
2587
|
+
// `Get a license at https://astermind.ai/license`
|
|
2588
|
+
// );
|
|
2589
|
+
// break;
|
|
2590
|
+
//
|
|
2591
|
+
// case 'invalid':
|
|
2592
|
+
// console.error(
|
|
2593
|
+
// `${prefix} Invalid license: ${this.state.error}. ` +
|
|
2594
|
+
// `Enforcement mode: ${this.enforcementMode}`
|
|
2595
|
+
// );
|
|
2596
|
+
// break;
|
|
2597
|
+
// }
|
|
2580
2598
|
}
|
|
2581
2599
|
}
|
|
2582
2600
|
/**
|