From 40be054430db7141725fab0e7c84e3ae61954160 Mon Sep 17 00:00:00 2001 From: Dmitri Zagidulin Date: Tue, 23 Jan 2024 21:23:33 -0500 Subject: [PATCH] Update to did-web-resolver v4. --- CHANGELOG.md | 8 ++++++++ package.json | 2 +- src/declarations.d.ts | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b01edcb..79c28d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # security-document-loader Changelog +## 4.0.0 - +### Changed +- **BREAKING**: Use the Typescript-enabled `@interop/did-web-resolver@4.0.0`, + which uses DigitalBazaar's version of `http-client`, + and updated `@digitalcredentials/bnid@3.0.1`. + Usage and API should remain unchanged, but bumping to major semver due to + significant backend change. + ## 3.2.0 - 2024-01-23 ### Added - Add support for OBv3 v3.0.3 and Extensions contexts. diff --git a/package.json b/package.json index 11945af..b219149 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@digitalcredentials/ed25519-verification-key-2020": "^3.2.2", "@digitalcredentials/open-badges-context": "^2.1.0", "@digitalcredentials/x25519-key-agreement-key-2020": "^3.0.0", - "@interop/did-web-resolver": "^3.0.0", + "@interop/did-web-resolver": "^4.0.0", "credentials-context": "^2.0.0", "did-context": "^3.1.1", "ed25519-signature-2020-context": "^1.1.0", diff --git a/src/declarations.d.ts b/src/declarations.d.ts index 3fd7854..e6e72ad 100644 --- a/src/declarations.d.ts +++ b/src/declarations.d.ts @@ -15,7 +15,6 @@ declare module 'jsonld-document-loader'; declare module 'did-context'; declare module 'ed25519-signature-2020-context'; declare module 'x25519-key-agreement-2020-context'; -declare module '@interop/did-web-resolver'; declare module 'json-canonicalize'; declare module 'react-native-keychain'; declare module '@digitalcredentials/open-badges-context';