@indra.ai/deva 1.4.3 → 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.
Files changed (2) hide show
  1. package/index.js +7 -2
  2. 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(data)
896
+ return hasOnStop ? this.onStop(data) : this.exit()
897
897
  }
898
898
 
899
899
 
@@ -911,7 +911,7 @@ class Deva {
911
911
  If the deva is offline it will return the offline message.
912
912
  usage: this.exit('msg')
913
913
  ***************/
914
- exit(data) {
914
+ exit() {
915
915
  this.zone('exit');
916
916
 
917
917
  const agent = this.agent();
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "type": "module",