Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR will make veramo compliant to did core spec.
More specifically, it will:
DIDResolutionResult
instead ofDIDDocument
for the did resolve step.EcdsaSecp256k1VerificationKey2019
( instead of justSecp256k1VerificationKey2018
)EcdsaSecp256k1RecoveryMethod2020
blockchainAccountId
(instead of justethereumAddress
)verificationMethod
andassertionMethod
The base support is added by updating the core dependencies:
did-resolver@3.1
did-jwt-vc@2.0
did-jwt@5.0
as well asethr-did-resolver
andweb-did-resolver
BREAKING CHANGES:
IResolver
interface adapted to core spec. ReturningDIDResolutionResult
EcdsaSignature
for signers, onlystring
outputUint8Array
input as well asstring
EcdsaSecp256k1VerificationKey2019
and...RecoveryMethod2020
verificationMethod
andblockchainAccountId
from DID documentsUniversalResolver
class in favor ofgetUniversalResolver()
methodcloses #418
closes #428
closes #417
closes #416
closes #412
closes #397
unblocks #384
fixes #394