Skip to content

Commit b124892

Browse files
Switch back to DB's jsonld and http-client libs.
1 parent 121e968 commit b124892

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

CHANGELOG.md

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

3+
## 10 -
4+
5+
### Changed
6+
- Switch back to DB's `jsonld` and `http-client`.
7+
38
## 9.3.2 - 2023-06-16
49
### Changed
510
- Update jsonld dep to 6.0.0, clear caches between operations.

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
const strictExpansionMap = require('./expansionMap');

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)