@indra.ai/deva 1.5.21 → 1.5.22

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 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -179,9 +179,11 @@ class Deva {
179
179
  },
180
180
  created: Date.now(),
181
181
  };
182
+ packet.a.hash = this.lib.hash(packet.a);
182
183
  delete packet.hash;
183
184
  packet.hash = this.lib.hash(packet);
184
- this.state('invalid', `${method}:${packet.id}`);
185
+
186
+ this.state('invalid', `${packet.q.meta.method}:${packet.id}`);
185
187
  return packet;
186
188
  }
187
189
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.5.21",
3
+ "version": "1.5.22",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "copyright": "(c)2025 Quinn Michaels; All rights reserved.",