@indra.ai/deva 1.1.5 → 1.1.6

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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -79,7 +79,7 @@ class Deva {
79
79
  state(st) {
80
80
  this._state = this._states[st];
81
81
  this.prompt(this._state);
82
- this.talk(`${this.agent.uid}:state`, this._state);
82
+ this.talk(`${this.agent.id}:state`, this._state);
83
83
  }
84
84
 
85
85
  // Called from the init function to bind the elements defined in the this.bind variable.
@@ -488,7 +488,7 @@ class Deva {
488
488
  packet.hash = this.hash(JSON.stringify(packet));
489
489
 
490
490
  this.state('wait');
491
- this.talk(`${this.agent.uid}:log`, packet);
491
+ this.talk(`${this.agent.id}:log`, packet);
492
492
  return resolve(packet);
493
493
  }).catch(err => {
494
494
  return this.error(err, packet);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "scripts": {