@indra.ai/deva 1.29.20 → 1.29.21

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 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1412,12 +1412,11 @@ class Deva {
1412
1412
  }
1413
1413
  if (this.devas && Object.keys(this.devas)) {
1414
1414
  for (let deva in this.devas) {
1415
- await this.load(deva, data.client).then(entity => {
1416
- const id = this.uid();
1417
- const {dir} = this.devas[deva].info();
1418
- const {key} = this.devas[deva].agent();
1419
- this.talk(`deva:dir`, {id, key, dir});
1420
- });
1415
+ const eitity = await this.load(deva, data.client);
1416
+ const id = this.uid();
1417
+ const {dir} = this.devas[deva].info();
1418
+ const {key} = this.devas[deva].agent();
1419
+ this.talk(`deva:dir`, {id, key, dir});
1421
1420
  }
1422
1421
  }
1423
1422
  return this._invoke({key,data,resolve});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "38159520729793885324",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.29.20",
4
+ "version": "1.29.21",
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",