@indra.ai/deva 1.2.32 → 1.2.34

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 +4 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -726,7 +726,7 @@ class Deva {
726
726
  data.hash = this.hash(data);
727
727
  const hasOnStart = this.onStart && typeof this.onStart === 'function' ? true : false;
728
728
  this.state('start');
729
- return hasOnStart ? this.onStart(data) : this.enter(data, resolve)
729
+ return hasOnStart ? this.onStart(data, resolve) : this.enter(data, resolve)
730
730
  }
731
731
 
732
732
  /**************
@@ -749,7 +749,7 @@ class Deva {
749
749
  data.hash = this.hash(data);
750
750
  this.state('enter');
751
751
  const hasOnEnter = this.onEnter && typeof this.onEnter === 'function' ? true : false;
752
- return hasOnEnter ? this.onEnter(data) : this.done(data, resolve)
752
+ return hasOnEnter ? this.onEnter(data, resolve) : this.done(data, resolve)
753
753
  }
754
754
 
755
755
  /**************
@@ -771,7 +771,7 @@ class Deva {
771
771
  data.hash = this.hash(data);
772
772
  const hasOnDone = this.onDone && typeof this.onDone === 'function' ? true : false;
773
773
  this.state('done');
774
- return hasOnDone ? this.onDone(data) : this.ready(data, resolve);
774
+ return hasOnDone ? this.onDone(data, resolve) : this.ready(data, resolve);
775
775
  }
776
776
 
777
777
  /**************
@@ -1011,7 +1011,7 @@ class Deva {
1011
1011
  return {
1012
1012
  id: this.uid(true), // set the uuid of the data
1013
1013
  agent: this.agent(), // set the agent value
1014
- cleint: this.cleint(), // set the client value
1014
+ cleint: this.client(), // set the client value
1015
1015
  key: 'zones', // set the key return value
1016
1016
  value: this._zones, // set the list of zones
1017
1017
  created: Date.now(), // set the created date of the object.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.2.32",
3
+ "version": "1.2.34",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "type": "module",