Skip to content

Commit

Permalink
Switch to Sphereon isomorphic-webcrypto fork.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Feb 7, 2024
1 parent 19b6f52 commit dbaf5b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/sha256digest-reactnative.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
'use strict';

const crypto = require('isomorphic-webcrypto');
const crypto = require('@sphereon/isomorphic-webcrypto');
require('fast-text-encoding');

module.exports = {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"lib/**/*.js"
],
"dependencies": {
"jsonld": "digitalcredentials/jsonld.js#react-native",
"@digitalbazaar/security-context": "^1.0.0",
"@digitalbazaar/jsonld": "digitalcredentials/jsonld.js#react-native",
"@sphereon/isomorphic-webcrypto": "^2.4.0-unstable.4",
"fast-text-encoding": "^1.0.3",
"isomorphic-webcrypto": "^2.3.8",
"serialize-error": "^8.0.1"
},
"devDependencies": {
Expand Down Expand Up @@ -68,7 +68,7 @@
"crypto": false,
"./lib/sha256digest.js": "./lib/sha256digest-browser.js",
"fast-text-encoding": false,
"isomorphic-webcrypto": false
"@sphereon/isomorphic-webcrypto": false
},
"react-native": {
"crypto": false,
Expand Down

0 comments on commit dbaf5b7

Please sign in to comment.