@indra.ai/deva 1.62.76 → 1.62.78
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/_data/actions.json +0 -1
- package/index.js +4 -6
- package/package.json +1 -1
package/_data/actions.json
CHANGED
package/index.js
CHANGED
|
@@ -352,7 +352,7 @@ class Deva {
|
|
|
352
352
|
|
|
353
353
|
const data_stamped = this._stamp(this._unstamp(data), key, data.id.uid);
|
|
354
354
|
|
|
355
|
-
// setup the complete talk
|
|
355
|
+
// setup the complete talk veent
|
|
356
356
|
this.action('talk', `${this._events[key]}:${data.id.uid}`); // action talk for the event.
|
|
357
357
|
this.talk(this._events[key], this.lib.copy(data)); // talk the complete event
|
|
358
358
|
|
|
@@ -367,11 +367,9 @@ class Deva {
|
|
|
367
367
|
// determine if there is an onComplete function for the entity.
|
|
368
368
|
const hasOnFunc = this[onfunc] && typeof this[onfunc] === 'function';
|
|
369
369
|
if (hasOnFunc) {
|
|
370
|
-
this.action('
|
|
371
|
-
this.state('
|
|
372
|
-
this.
|
|
373
|
-
this.state('valid', `${onfunc}:${data.id.uid}`); // state valid
|
|
374
|
-
this.intent('good', `${onfunc}:${data.id.uid}`); // intent good
|
|
370
|
+
this.action('return', `onfunc:${onfunc}:${data.id.uid}`); // action return
|
|
371
|
+
this.state('valid', `onfunc:${onfunc}:${data.id.uid}`); // state valid
|
|
372
|
+
this.intent('good', `onfunc:${onfunc}:${data.id.uid}`); // intent good
|
|
375
373
|
return this[onfunc](data, resolve);
|
|
376
374
|
}
|
|
377
375
|
|
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.78",
|
|
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",
|