Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
fix(deps): update dependency ethr-did-resolver to v3 (#267)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency ethr-did-resolver to v3

* test(fix): getResolver needs an options parameter (#268)

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Peter Grassberger <[email protected]>
  • Loading branch information
3 people authored Sep 25, 2020
1 parent 2ecd9d2 commit 094bb57
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 18 deletions.
35 changes: 19 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"did-jwt-vc": "^1.0.0",
"did-resolver": "^2.0.0",
"elliptic": "^6.4.1",
"ethr-did-resolver": "^2.0.0",
"ethr-did-resolver": "^3.0.0",
"mnid": "^0.1.1",
"web-did-resolver": "^1.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/Credentials-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe('configuration', () => {
describe('sets resolver', () => {
describe('always uses resolver if passed in', () => {
const web = webResolver.getResolver()
const ethr = ethrResolver.getResolver()
const ethr = ethrResolver.getResolver({})
const resolver = new Resolver({ ...web, ...ethr })
expect(new Credentials({ resolver }).resolver).toEqual(resolver)
})
Expand Down

0 comments on commit 094bb57

Please sign in to comment.