@indra.ai/deva 1.62.78 → 1.62.81

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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1046,9 +1046,9 @@ class Deva {
1046
1046
 
1047
1047
  // do the core license check on init.
1048
1048
  const license_check = this.license_check(client.VLA, this._core.VLA);
1049
- if (!license_check) {
1050
- this.prompt(this._messages.client_license_invalid); // set license invalid prompt
1051
- return resolve(this._messages.client_license_invalid); // return if} license check fails
1049
+ if (!license_check?.id) {
1050
+ this.prompt(license_check); // set license invalid prompt
1051
+ return resolve(license_check); // return if} license check fails
1052
1052
  }
1053
1053
 
1054
1054
  this._active = Date.now(); // after passes license check set _active date.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "23221940810208468106",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.62.78",
4
+ "version": "1.62.81",
5
5
  "description": "Deva Core a Vedic-inspired Event Based Context Aware Feature, Zone, Action, and State Machine integrated Artificial Intelligence Framework",
6
6
  "main": "index.js",
7
7
  "license": "VLA:23221940810208468106 LICENSE.md",