Skip to content

Commit

Permalink
fix(deps): use Resolvable type from did-resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis committed Mar 26, 2021
1 parent 3af28a2 commit d213ae6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
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 @@ -83,7 +83,7 @@
"@ethersproject/contracts": "^5.0.12",
"@ethersproject/providers": "^5.0.24",
"@ethersproject/transactions": "^5.0.11",
"did-resolver": "^3.0.2",
"did-resolver": "^3.1.0",
"ethr-did-registry": "^0.0.3"
},
"husky": {
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/resolver.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Contract, ContractFactory } from '@ethersproject/contracts'
import { Resolver } from 'did-resolver'
import { Resolvable, Resolver } from 'did-resolver'
import { getResolver } from '../resolver'
import { EthrDidController } from '../controller'
import DidRegistryContract from 'ethr-did-registry'
Expand All @@ -18,7 +18,7 @@ describe('ethrResolver', () => {
delegate1: string,
delegate2: string,
keyAgreementController: string,
didResolver: Resolver
didResolver: Resolvable

const web3Provider = createProvider()

Expand Down
4 changes: 2 additions & 2 deletions src/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
DIDResolutionResult,
DIDResolver,
ParsedDID,
Resolver,
Resolvable,
ServiceEndpoint,
VerificationMethod,
} from 'did-resolver'
Expand Down Expand Up @@ -276,7 +276,7 @@ export class EthrDidResolver {
async resolve(
did: string,
parsed: ParsedDID,
_unused: Resolver,
_unused: Resolvable,
options: DIDResolutionOptions
): Promise<DIDResolutionResult> {
const fullId = parsed.id.match(identifierMatcher)
Expand Down

0 comments on commit d213ae6

Please sign in to comment.