@indra.ai/deva 1.7.1 → 1.7.2

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 CHANGED
@@ -1164,6 +1164,7 @@ class Deva {
1164
1164
  return this.Done(resolve, reject);
1165
1165
  }).then(() => {
1166
1166
  const hasOnInit = this.onInit && typeof this.onInit === 'function';
1167
+ this.belief('vedic', `init:${data.id.uid}`);
1167
1168
  if (hasOnInit) {
1168
1169
  this.action('onfunc', `hasOnInit:${data.id.uid}`); // state set to watch onInit
1169
1170
  this.state('onfunc', `hasOnInit:${data.id.uid}`); // state set to watch onInit
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "44091450722329207445",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.7.1",
4
+ "version": "1.7.2",
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:44091450722329207445 LICENSE.md",
package/tests/index.js CHANGED
@@ -178,7 +178,6 @@ const DevaTest = new Deva({
178
178
  },
179
179
  },
180
180
  onInit(data, resolve) {
181
- this.belief('vedic', `${data.id.uid}`);
182
181
  return this.start(data, resolve);
183
182
  },
184
183
  onStart(data, resolve) {