@indra.ai/deva 1.5.14 → 1.5.15

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 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -409,9 +409,7 @@ class Deva {
409
409
  ***************/
410
410
  talk(evt, packet=false) {
411
411
  this.action('talk', `${evt}:${packet.id}`);
412
- this.state('talk', `${evt}:${packet.id}`);
413
- this.events.emit(evt, packet);
414
- return packet;
412
+ return this.events.emit(evt, packet);
415
413
  }
416
414
 
417
415
  /**************
@@ -1097,7 +1095,7 @@ class Deva {
1097
1095
  ***************/
1098
1096
  action(value=false, extra=false) {
1099
1097
  const id = this.lib.uid();
1100
- this.state('try', `${value}:${id}`);
1098
+ this.state('try', `action:${value}:${id}`);
1101
1099
  try {
1102
1100
  if (!value || !this._actions[value] || value === this._action) return;
1103
1101
  this._action = value; // set the local action variable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.5.14",
3
+ "version": "1.5.15",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "copyright": "(c)2025 Quinn Michaels; All rights reserved.",