@indra.ai/deva 1.53.1 → 1.53.2

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 +3 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1340,8 +1340,9 @@ class Deva {
1340
1340
  return new Promise((resolve, reject) => {
1341
1341
  try {
1342
1342
  this.state('set', `${key}:agent:${id.uid}`); // state stop agent
1343
- const agent = this.agent().sha256; // get the current agent
1344
- const value = agent.key;
1343
+ const agentData = this.agent();
1344
+ const agent = agentData.sha256; // get the current agent
1345
+ const value = agentData.key;
1345
1346
 
1346
1347
  this.state('set', `${key}:client:${id.uid}`); // state stop agent
1347
1348
  const client = this.client().sha256; // set the current client
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "23221940810208468106",
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.53.1",
4
+ "version": "1.53.2",
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:23221940810208468106 LICENSE.md",