@indra.ai/deva 1.64.29 → 1.64.31
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 +6 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -774,7 +774,11 @@ class Deva {
|
|
|
774
774
|
const release = () => {
|
|
775
775
|
clearTimeout(pending.timer);
|
|
776
776
|
this._pending.delete(pending);
|
|
777
|
-
if (this.events)
|
|
777
|
+
if (this.events) {
|
|
778
|
+
packet.a = false;
|
|
779
|
+
this.ignore(evt, pending.handler);
|
|
780
|
+
this.talk(evt, packet);
|
|
781
|
+
}
|
|
778
782
|
};
|
|
779
783
|
|
|
780
784
|
pending.handler = answer => {
|
|
@@ -1407,7 +1411,7 @@ class Deva {
|
|
|
1407
1411
|
try {
|
|
1408
1412
|
if (!value) return;
|
|
1409
1413
|
this._context = value;
|
|
1410
|
-
const lookup = this.vars
|
|
1414
|
+
const lookup = this.vars?.context?.[value] || value;
|
|
1411
1415
|
const text = extra ? `${lookup} ${extra}` : lookup;
|
|
1412
1416
|
|
|
1413
1417
|
const data = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "31711622713594414221",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.64.
|
|
4
|
+
"version": "1.64.31",
|
|
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:31711622713594414221 LICENSE.md",
|