@indra.ai/deva 1.5.9 → 1.5.10

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -871,7 +871,7 @@ class Deva {
871
871
  // check for agent on finish function in agent
872
872
  const hasOnFinish = this.onFinish && typeof this.onFinish === 'function';
873
873
  // return the provided resolve function or a promise resolve.
874
- this.state('finish', id); // set the finish state
874
+ this.state('finish', packet.id); // set the finish state
875
875
  return hasOnFinish ? this.onFinish(packet, resolve) : this.complete(packet, resolve);
876
876
  }
877
877
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.5.9",
3
+ "version": "1.5.10",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "copyright": "(c)2025 Quinn Michaels; All rights reserved.",