@indra.ai/deva 1.62.79 → 1.62.82
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/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1107,7 +1107,7 @@ class Deva {
|
|
|
1107
1107
|
}).then(() => {
|
|
1108
1108
|
const hasOnInit = this.onInit && typeof this.onInit === 'function';
|
|
1109
1109
|
if (hasOnInit) {
|
|
1110
|
-
this.action('
|
|
1110
|
+
this.action('func', `onInit:${data.id.uid}`); // action set to onfunc
|
|
1111
1111
|
this.state('valid', `onInit:${data.id.uid}`); // state set to onfunc
|
|
1112
1112
|
this.intent('good', `onInit:${data.id.uid}`); // intent set to good
|
|
1113
1113
|
return this.onInit(data, resolve);
|
|
@@ -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
|
|
2237
|
+
return this._messages.personalVLA; // 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
|
|
2246
|
+
return this._messages.packageVLA; // 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.
|
|
4
|
+
"version": "1.62.82",
|
|
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",
|