Skip to content

Commit 5a9cda5

Browse files
Switch back to DB's jsonld and http-client libs.
1 parent 6602930 commit 5a9cda5

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# jsonld-signatures ChangeLog
22

3+
## 10.0.0 -
4+
5+
### Changed
6+
- Switch back to DB's `jsonld` and `http-client`.
7+
- Switch to Sphereon's fork `@sphereon/isomorphic-webclient`
8+
39
## 9.4.0 - 2024-01-23
410
### Changed
511
- **BREAKING**: Removed deprecated `expansionMap` param. Making this a minor

lib/ProofSet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'use strict';
55

66
const constants = require('./constants');
7-
const jsonld = require('@digitalcredentials/jsonld');
7+
const jsonld = require('jsonld');
88
const {extendContextLoader, strictDocumentLoader} = require('./documentLoader');
99
const {serializeError} = require('serialize-error');
1010

lib/purposes/ControllerProofPurpose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'use strict';
55

66
const constants = require('../constants');
7-
const jsonld = require('@digitalcredentials/jsonld');
7+
const jsonld = require('jsonld');
88
const ProofPurpose = require('./ProofPurpose');
99

1010
// DID documents can be specially optimized

lib/suites/LinkedDataSignature.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'use strict';
55

66
const constants = require('../constants');
7-
const jsonld = require('@digitalcredentials/jsonld');
7+
const jsonld = require('jsonld');
88
const util = require('../util');
99
const {sha256digest} = require('../sha256digest');
1010
const LinkedDataProof = require('./LinkedDataProof');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
],
1616
"dependencies": {
1717
"@digitalbazaar/security-context": "^1.0.0",
18-
"@digitalcredentials/jsonld": "^6.0.0",
18+
"jsonld": "digitalcredentials/jsonld.js#react-native",
1919
"fast-text-encoding": "^1.0.3",
2020
"isomorphic-webcrypto": "^2.3.8",
2121
"serialize-error": "^8.0.1"

0 commit comments

Comments
 (0)