Skip to content

1.0.0

Compare
Choose a tag to compare
@veramo-bot veramo-bot released this 10 Jul 07:18
· 57 commits to main since this release

1.0.0 (2022-07-10)

Bug Fixes

Features

BREAKING CHANGES

  • The return type is DIDResolutionResult which wraps a DIDDocument.
  • No errors are thrown during DID resolution. Please check result.didResolutionMetadata.error instead.
  • This DID core spec requirement will break for users expecting publicKey, ethereumAddress, Secp256k1VerificationKey2018 entries in the DID document. They are replaced with verificationMethod, blockchainAccountId and EcdsaSecp256k1VerificationKey2019 and EcdsaSecp256k1RecoveryMethod2020 depending on the content.
  • JWTs that refer to the did:ethr:...#owner key in their header may be considered invalid after this upgrade, as the key id is now did:ethr:...#controller
  • this removes the fallback hardcoded RPC URLs and will fail early when a wrong configuration (or none) is provided to getResolver()