@tdxvolt/volt-client-grpc 0.20.2 → 0.20.4
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/lib/index.cjs +1 -1
- package/package.json +1 -1
- package/src/volt-client.js +1 -1
package/lib/index.cjs
CHANGED
|
@@ -5691,7 +5691,7 @@ class VoltClient extends EventEmitter__default["default"] {
|
|
|
5691
5691
|
* @param {string} [options.exchangeToken] - optional token to exchange in return for an authenticated session.
|
|
5692
5692
|
*/
|
|
5693
5693
|
async initialise(config, options = {}) {
|
|
5694
|
-
const { ownDID, noDID, didRegistryList, extraConfig } = options;
|
|
5694
|
+
const { ownDID, noDID, didRegistryList, exchangeToken, extraConfig } = options;
|
|
5695
5695
|
try {
|
|
5696
5696
|
if (!config) {
|
|
5697
5697
|
throw new Error(
|
package/package.json
CHANGED
package/src/volt-client.js
CHANGED
|
@@ -87,7 +87,7 @@ export class VoltClient extends EventEmitter {
|
|
|
87
87
|
* @param {string} [options.exchangeToken] - optional token to exchange in return for an authenticated session.
|
|
88
88
|
*/
|
|
89
89
|
async initialise(config, options = {}) {
|
|
90
|
-
const { ownDID, noDID, didRegistryList, extraConfig } = options;
|
|
90
|
+
const { ownDID, noDID, didRegistryList, exchangeToken, extraConfig } = options;
|
|
91
91
|
try {
|
|
92
92
|
if (!config) {
|
|
93
93
|
throw new Error(
|