Skip to content

Commit

Permalink
Update to DB jsonld.js dep.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Feb 7, 2024
1 parent f643e17 commit 19b6f52
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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": "digitalcredentials/jsonld.js#update",
"@digitalbazaar/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 19b6f52

Please sign in to comment.