Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade to latest did core spec (#99) (#109) #111

Merged
merged 1 commit into from
Mar 15, 2021

Commits on Mar 15, 2021

  1. feat: upgrade to latest did core spec (#99) (#109)

    * feat: refactor configuration options, add `chainID`
    * fix: improve `kid` stability during attribute changes
    * chore: cleanup in tests and local dependencies
    * test(coverage): improve test coverage
    * refactor(style): enable linting using `eslint`
    * refactor: isolate some of the type definitions
    * fix: test that checksum address resolves to identical DID document (#105)
    * fix: setAttribute with sigAuth adds key to authentication section (#95)
    * feat: enable base58 encoding for keys (#106)(#99)
    * refactor: group types, defaults, and helper methods
    * fix: add support for deactivated DIDs (#83)(#85)
    * fix(deps): bump did-resolver version
    * fix: update the default `@context` to be LD compatible (#99)
    * docs: update readme and spec to reflect reality and current DID spec compliance (#99)
    * fix: rename `publicKey` to `verificationMethod` (#99)
    * fix: rename `ethereumAddress` to `blockchainAccountId` (#99)
    * feat: no more errors thrown during resolution.
    
    fixes #83
    closes #85
    fixes #95
    fixes #105
    closes #106
    fixes #99
    
    BREAKING CHANGE: The return type is `DIDResolutionResult` which wraps a `DIDDocument`.
    BREAKING CHANGE: No errors are thrown during DID resolution. Please check `result.didResolutionMetadata.error` instead.
    BREAKING CHANGE: 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.
    mirceanis committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    47e9e2b View commit details
    Browse the repository at this point in the history