Skip to content

Commit

Permalink
Switch back to DB's jsonld and http-client libs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Feb 7, 2024
1 parent 6602930 commit 1ce5c8f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/ProofSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down
2 changes: 1 addition & 1 deletion lib/purposes/ControllerProofPurpose.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/suites/LinkedDataSignature.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1ce5c8f

Please sign in to comment.