@indra.ai/deva 1.29.10 → 1.29.12
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
|
@@ -1420,10 +1420,14 @@ class Deva {
|
|
|
1420
1420
|
const {key} = this.devas[deva].agent();
|
|
1421
1421
|
this.talk(`deva:dir`, {id, key,dir});
|
|
1422
1422
|
}
|
|
1423
|
+
// return immedate on async
|
|
1424
|
+
return setImmediate(() => {
|
|
1425
|
+
return this._invoke({key,data,resolve});
|
|
1426
|
+
});
|
|
1423
1427
|
}
|
|
1424
|
-
|
|
1428
|
+
else {
|
|
1425
1429
|
return this._invoke({key,data,resolve});
|
|
1426
|
-
}
|
|
1430
|
+
}
|
|
1427
1431
|
}
|
|
1428
1432
|
|
|
1429
1433
|
/**************
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "38159520729793885324",
|
|
3
3
|
"name": "@indra.ai/deva",
|
|
4
|
-
"version": "1.29.
|
|
4
|
+
"version": "1.29.12",
|
|
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:38159520729793885324 LICENSE.md",
|