@indra.ai/deva 1.22.1 → 1.23.1

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
@@ -889,11 +889,14 @@ class Deva {
889
889
  this.state('cmd', `${method}:${id.uid}`); // set the state to cmd.
890
890
  }
891
891
 
892
+ const agent = this.agent(); // set the agent for the packet.
893
+ const client = this.client(); // set the client for the packet.
894
+
892
895
  this.state('data', `${method}:q:${id.uid}`);
893
896
  packet.q = { // build packet.q container
894
897
  id: this.uid(), // set the transport id for the question.
895
- agent: this.agent(), // set the agent
896
- client: this.client(), // set the client
898
+ agent, // set the agent
899
+ client, // set the client
897
900
  meta: { // build the meta container
898
901
  key, // set the key variable
899
902
  method, // set method to track function use
@@ -1939,7 +1942,7 @@ class Deva {
1939
1942
  usage: this.owner()
1940
1943
  ***************/
1941
1944
  owner() {
1942
- return this._getFeature('owner', this._king);
1945
+ return this._getFeature('owner', this._owner);
1943
1946
  }
1944
1947
 
1945
1948
  /**************
package/lib/index.js CHANGED
@@ -122,7 +122,7 @@ class LIB {
122
122
  }
123
123
 
124
124
  /**************
125
- func: formatDate
125
+ func: /date
126
126
  params:
127
127
  - d: The date string to format.
128
128
  - format: the various formats that can be selected.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "64907438819979111427",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.22.1",
4
+ "version": "1.23.1",
5
5
  "description": "Deva Core a Vedic-inspired Event Based Context Aware Feature, Zone, Action, and State Machine integrated Artificial Intelligence Framework",
6
6
  "main": "index.js",
7
7
  "license": "VLA:64907438819979111427 LICENSE.md",