Skip to content

Commit

Permalink
fix(deps): update dependency did-resolver to v2.1.1 (#70)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency did-resolver to v2.1.1
* test(fix): fix expected return property `controller`

relates to [email protected] property rename
`owner` -> `controller`

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Mircea Nistor <[email protected]>
  • Loading branch information
3 people authored Aug 19, 2020
1 parent 2d68e21 commit 0a0f902
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ A minimal DID Document might contain the following information:
{
"id": "did:web:example.com#owner",
"type": "Secp256k1VerificationKey2018",
"owner": "did:web:example.com",
"controller": "did:web:example.com",
"publicKeyHex": "04ab0102bcae6c7c3a90b01a3879d9518081bc06123038488db9cb109b082a77d97ea3373e3dfde0eccd9adbdce11d0302ea5c098dbb0b310234c8689501749274"
}
],
Expand Down
6 changes: 3 additions & 3 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 @@ -9,7 +9,7 @@
"repository": "[email protected]:decentralized-identity/web-did-resolver.git",
"dependencies": {
"cross-fetch": "^3.0.4",
"did-resolver": "2.0.1"
"did-resolver": "2.1.1"
},
"scripts": {
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/resolver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('web did resolver', () => {
{
id: `${did}#owner`,
type: 'Secp256k1VerificationKey2018',
owner: did,
controller: did,
ethereumAddress: identity
}
],
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/uport.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('web did resolver', () => {
publicKey: [
{
id: 'did:web:uport.me#owner',
owner: 'did:web:uport.me',
controller: 'did:web:uport.me',
publicKeyHex:
'042b0af9b3ae6c7c3a90b01a3879d9518081bc0dcdf038488db9cb109b082a77d97ea3373e3dfde0eccd9adbdce11d0302ea5c098dbb0b310234c86895c8641622',
type: 'Secp256k1VerificationKey2018'
Expand Down

0 comments on commit 0a0f902

Please sign in to comment.