diff --git a/lib/ProofSet.js b/lib/ProofSet.js index 02097bff..f0607dfc 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 4e1eea54..633f9d1d 100644 --- a/package.json +++ b/package.json @@ -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"