diff --git a/CHANGELOG.md b/CHANGELOG.md index 166e1410..9ecd6990 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # jsonld-signatures ChangeLog +## 10.0.0 - + +### Changed +- Switch back to DB's `jsonld` and `http-client`. +- Switch to Sphereon's fork `@sphereon/isomorphic-webclient` + ## 9.4.0 - 2024-01-23 ### Changed - **BREAKING**: Removed deprecated `expansionMap` param. Making this a minor diff --git a/lib/ProofSet.js b/lib/ProofSet.js index 35259f86..653e3c0d 100644 --- a/lib/ProofSet.js +++ b/lib/ProofSet.js @@ -4,7 +4,7 @@ 'use strict'; const constants = require('./constants'); -const jsonld = require('@digitalcredentials/jsonld'); +const jsonld = require('jsonld'); const {extendContextLoader, strictDocumentLoader} = require('./documentLoader'); const {serializeError} = require('serialize-error'); diff --git a/lib/purposes/ControllerProofPurpose.js b/lib/purposes/ControllerProofPurpose.js index 8e0d93c8..3b7bc196 100644 --- a/lib/purposes/ControllerProofPurpose.js +++ b/lib/purposes/ControllerProofPurpose.js @@ -4,7 +4,7 @@ 'use strict'; const constants = require('../constants'); -const jsonld = require('@digitalcredentials/jsonld'); +const jsonld = require('jsonld'); const ProofPurpose = require('./ProofPurpose'); // DID documents can be specially optimized diff --git a/lib/suites/LinkedDataSignature.js b/lib/suites/LinkedDataSignature.js index 15f7e904..19860429 100644 --- a/lib/suites/LinkedDataSignature.js +++ b/lib/suites/LinkedDataSignature.js @@ -4,7 +4,7 @@ 'use strict'; const constants = require('../constants'); -const jsonld = require('@digitalcredentials/jsonld'); +const jsonld = require('jsonld'); const util = require('../util'); const {sha256digest} = require('../sha256digest'); const LinkedDataProof = require('./LinkedDataProof'); diff --git a/package.json b/package.json index ddb0f2f7..90706b54 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ ], "dependencies": { "@digitalbazaar/security-context": "^1.0.0", - "@digitalcredentials/jsonld": "^6.0.0", + "jsonld": "digitalcredentials/jsonld.js#react-native", "fast-text-encoding": "^1.0.3", "isomorphic-webcrypto": "^2.3.8", "serialize-error": "^8.0.1"