@indra.ai/deva 1.62.78 → 1.62.79

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 +5 -5
  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.
@@ -2234,7 +2234,7 @@ class Deva {
2234
2234
  this.action('return', personalVLA_str); // set the action to return
2235
2235
  this.state('invalid', personalVLA_str); // set the state to invalid
2236
2236
  this.intent('bad', personalVLA_str); // set the intent to bad
2237
- return this._messages.personalVLA; // return the invalid personal VLA message
2237
+ return false; // return the invalid personal VLA message
2238
2238
  };
2239
2239
 
2240
2240
  // check the package VLA is passed.
@@ -2243,7 +2243,7 @@ class Deva {
2243
2243
  this.action('return', packageVLA_str); // set the action to return
2244
2244
  this.state('invalid', packageVLA_str); // set the state to invalid
2245
2245
  this.intent('bad', packageVLA_str); // set the intent to bad
2246
- return this._messages.packageVLA; // return the invalid package VLA message
2246
+ return false; // return the invalid package VLA message
2247
2247
  }
2248
2248
 
2249
2249
  // this is to ensure no additional information is being transmitted.
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.79",
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",