@indra.ai/deva 1.6.35 → 1.6.36
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 +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1125,7 +1125,8 @@ class Deva {
|
|
|
1125
1125
|
data.sha256 = this.lib.hash(data, 'sha256');
|
|
1126
1126
|
data.sha512 = this.lib.hash(data, 'sha512');
|
|
1127
1127
|
|
|
1128
|
-
this.
|
|
1128
|
+
const client = this.client();
|
|
1129
|
+
this.lib.setClient(client.sha256); // set the client for the library when everything is ready.
|
|
1129
1130
|
|
|
1130
1131
|
this.state('ready', data.id.uid);
|
|
1131
1132
|
this.talk(config.events.ready, data);
|