@indra.ai/deva 1.6.97 → 1.6.98

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 +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2134,7 +2134,6 @@ class Deva {
2134
2134
  this.zone('unload', key);
2135
2135
  this.action('unload', key);
2136
2136
  this.state('unload', key);
2137
-
2138
2137
  this.state('try', `unload:${key}`);
2139
2138
  try {
2140
2139
  this.devas[key].stop().then(exit => {
@@ -2143,7 +2142,7 @@ class Deva {
2143
2142
  this.talk(this._events.unload, key);
2144
2143
  });
2145
2144
  this.action('resolve', `unload:${key}`);
2146
- return resolve(exit);
2145
+ return resolve(`${this._messages.unload}:${key}`);
2147
2146
  } catch (e) {
2148
2147
  this.state('catch', `unload:${key}`);
2149
2148
  return this.err(e, this.devas[key], reject)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "44091450722329207445",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.6.97",
4
+ "version": "1.6.98",
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",