@indra.ai/deva 1.6.40 → 1.6.42

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
@@ -43,7 +43,7 @@ class Deva {
43
43
  this._systems = false; // inherited Systems features.
44
44
  this._networks = false; // inherited Systems features.
45
45
  this.events = opts.events || new EventEmitter({}); // Event Bus
46
- this.lib = new lib({pkg}); // used for loading library functions
46
+ this.lib = new lib({pkg,agent:opts.agent}); // used for loading library functions
47
47
  this.utils = opts.utils || {}; // parse function
48
48
  this.devas = opts.devas || {}; // Devas which are loaded
49
49
  this.vars = opts.vars || {}; // Variables object
package/lib/index.js CHANGED
@@ -86,8 +86,8 @@ class LIB {
86
86
  uid: false,
87
87
  time,
88
88
  date,
89
- agent: this.agent,
90
89
  client: this.client,
90
+ agent: this.agent,
91
91
  pkg: pkg_hash,
92
92
  machine: machine_hash,
93
93
  warning: this.pkg.config.messages.uid_warning,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": 45958588982385560000,
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.6.40",
4
+ "version": "1.6.42",
5
5
  "description": "The Deva Core",
6
6
  "main": "index.js",
7
7
  "license": "VLA:45958588982385558603 LICENSE.md",