@indra.ai/deva 1.4.2 → 1.4.4
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -893,7 +893,7 @@ class Deva {
|
|
|
893
893
|
// has stop function then set hasOnStop variable
|
|
894
894
|
const hasOnStop = this.onStop && typeof this.onStop === 'function';
|
|
895
895
|
// if: has on stop then run on stop function or return exit function.
|
|
896
|
-
return hasOnStop ? this.onStop(data) : this.exit(
|
|
896
|
+
return hasOnStop ? this.onStop(data) : this.exit()
|
|
897
897
|
}
|
|
898
898
|
|
|
899
899
|
|
|
@@ -934,6 +934,11 @@ class Deva {
|
|
|
934
934
|
this._security = false;
|
|
935
935
|
this._support = false;
|
|
936
936
|
this._services = false;
|
|
937
|
+
this._systems = false;
|
|
938
|
+
this._networks = false;
|
|
939
|
+
this._legal = false;
|
|
940
|
+
this._authority = false;
|
|
941
|
+
this._justice = false;
|
|
937
942
|
|
|
938
943
|
this.state('exit');
|
|
939
944
|
const hasOnExit = this.onExit && typeof this.onExit === 'function';
|