diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef4c2bb..e739aea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: with: node-version: '16.x' - run: yarn install --frozen-lockfile --ignore-scripts - - run: docker-compose -f ./docker-compose.edv.yml up -d + - run: docker compose -f ./docker-compose.edv.yml up -d - run: yarn build - run: yarn test - run: yarn run-examples diff --git a/package.json b/package.json index 72be044..3fb47e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@docknetwork/universal-wallet", - "version": "2.1.0", + "version": "2.1.1", "main": "index.js", "license": "MIT", "repository": { diff --git a/src/storage/edv-http-storage.js b/src/storage/edv-http-storage.js index 017a910..ded2cd1 100644 --- a/src/storage/edv-http-storage.js +++ b/src/storage/edv-http-storage.js @@ -179,6 +179,7 @@ class EDVHTTPStorageInterface extends StorageInterface { url: `${this.serverUrl}/edvs`, controller, referenceId, + headers: this.defaultHeaders, }); } catch (e) { return null; @@ -214,7 +215,10 @@ class EDVHTTPStorageInterface extends StorageInterface { disabledinvocationSigner: invocationSigner || this.invocationSigner, disabledcapability: capability || this.capability, httpsAgent, - headers, + headers: { + ...this.defaultHeaders, + ...headers, + }, config, }); return id;