@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 +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
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
|
|
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 =
|
|
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.
|