ethr-did-resolver
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -0,1 +1,8 @@ | ||
## [4.0.1](https://github.com/decentralized-identity/ethr-did-resolver/compare/4.0.0...4.0.1) (2021-03-26) | ||
### Bug Fixes | ||
* **deps:** use Resolvable type from did-resolver ([d213ae6](https://github.com/decentralized-identity/ethr-did-resolver/commit/d213ae650a7ae706ffad92f3b213c478dd41883c)) | ||
# [4.0.0](https://github.com/decentralized-identity/ethr-did-resolver/compare/3.1.0...4.0.0) (2021-03-15) | ||
@@ -2,0 +9,0 @@ |
import { BigNumber } from '@ethersproject/bignumber'; | ||
import { BlockTag } from '@ethersproject/providers'; | ||
import { ConfigurationOptions } from './configuration'; | ||
import { DIDDocument, DIDResolutionOptions, DIDResolutionResult, DIDResolver, ParsedDID, Resolver } from 'did-resolver'; | ||
import { DIDDocument, DIDResolutionOptions, DIDResolutionResult, DIDResolver, ParsedDID, Resolvable } from 'did-resolver'; | ||
import { ERC1056Event } from './helpers'; | ||
@@ -32,4 +32,4 @@ export declare function getResolver(options: ConfigurationOptions): Record<string, DIDResolver>; | ||
}; | ||
resolve(did: string, parsed: ParsedDID, _unused: Resolver, options: DIDResolutionOptions): Promise<DIDResolutionResult>; | ||
resolve(did: string, parsed: ParsedDID, _unused: Resolvable, options: DIDResolutionOptions): Promise<DIDResolutionResult>; | ||
build(): Record<string, DIDResolver>; | ||
} |
{ | ||
"name": "ethr-did-resolver", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Resolve DID documents around ethereum addresses", | ||
@@ -57,12 +57,12 @@ "main": "lib/index.umd.js", | ||
"@babel/core": "7.13.10", | ||
"@babel/preset-env": "7.13.10", | ||
"@babel/preset-env": "7.13.12", | ||
"@babel/preset-typescript": "7.13.0", | ||
"@semantic-release/changelog": "5.0.1", | ||
"@semantic-release/git": "9.0.0", | ||
"@types/jest": "26.0.20", | ||
"@typescript-eslint/eslint-plugin": "4.17.0", | ||
"@typescript-eslint/parser": "4.17.0", | ||
"@types/jest": "26.0.22", | ||
"@typescript-eslint/eslint-plugin": "4.19.0", | ||
"@typescript-eslint/parser": "4.19.0", | ||
"babel-jest": "26.6.3", | ||
"codecov": "3.8.1", | ||
"eslint": "7.21.0", | ||
"eslint": "7.22.0", | ||
"eslint-config-prettier": "8.1.0", | ||
@@ -74,3 +74,3 @@ "ganache-cli": "6.12.2", | ||
"pretty-quick": "3.1.0", | ||
"semantic-release": "17.4.1", | ||
"semantic-release": "17.4.2", | ||
"typescript": "4.2.3", | ||
@@ -88,3 +88,3 @@ "uint8arrays": "2.1.3" | ||
"@ethersproject/transactions": "^5.0.11", | ||
"did-resolver": "^3.0.2", | ||
"did-resolver": "^3.1.0", | ||
"ethr-did-registry": "^0.0.3" | ||
@@ -91,0 +91,0 @@ }, |
import { Contract, ContractFactory } from '@ethersproject/contracts' | ||
import { Resolver } from 'did-resolver' | ||
import { Resolvable, Resolver } from 'did-resolver' | ||
import { getResolver } from '../resolver' | ||
@@ -21,3 +21,3 @@ import { EthrDidController } from '../controller' | ||
keyAgreementController: string, | ||
didResolver: Resolver | ||
didResolver: Resolvable | ||
@@ -24,0 +24,0 @@ const web3Provider = createProvider() |
@@ -12,3 +12,3 @@ import { Base58 } from '@ethersproject/basex' | ||
ParsedDID, | ||
Resolver, | ||
Resolvable, | ||
ServiceEndpoint, | ||
@@ -280,3 +280,3 @@ VerificationMethod, | ||
parsed: ParsedDID, | ||
_unused: Resolver, | ||
_unused: Resolvable, | ||
options: DIDResolutionOptions | ||
@@ -283,0 +283,0 @@ ): Promise<DIDResolutionResult> { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
280033
Updateddid-resolver@^3.1.0