@indra.ai/deva 1.6.30 → 1.6.31

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
@@ -582,7 +582,7 @@ class Deva {
582
582
  try {
583
583
  delete this._client.features; // delete the features key when done.
584
584
  const client = this.client();
585
- this.lib.setClient(client, 'sha256');
585
+ this.lib.setClient(client.sha256);
586
586
  this.state('Done', 'Done');
587
587
  return resolve(client); // resolve an empty pr
588
588
  } catch (e) {
package/lib/index.js CHANGED
@@ -119,7 +119,7 @@ class LIB {
119
119
 
120
120
  const {meta, agent, client, text} = q;
121
121
  const agent_hash = this.hash(agent, 'sha256');
122
- const client_hash = this.hash(client, 'sha256');
122
+ const client_hash = client.sha256;
123
123
 
124
124
  const {key, method, params} = meta;
125
125
  const opts = this.copy(params); // copy the params and set as opts.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": 45958588982385560000,
3
3
  "name": "@indra.ai/deva",
4
- "version": "1.6.30",
4
+ "version": "1.6.31",
5
5
  "description": "The Deva Core",
6
6
  "main": "index.js",
7
7
  "license": "VLA:45958588982385558603 LICENSE.md",