Skip to content

Commit

Permalink
feat: Remove dep on isomorphic-webcrypto
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Jul 30, 2024
1 parent f6458e7 commit 44331b8
Show file tree
Hide file tree
Showing 5 changed files with 1,426 additions and 256 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@
"ethr-did": "2.3.9",
"typeorm": "^0.3.20",
"@transmute/jsonld": "^0.0.4",
"jsonld": "link:./node_modules/.pnpm/@[email protected]/node_modules/@digitalcredentials/jsonld",
"isomorphic-webcrypto": "link:./node_modules/@sphereon/isomorphic-webcrypto"
"jsonld": "link:./node_modules/.pnpm/@[email protected]/node_modules/@digitalcredentials/jsonld"
},
"patchedDependencies": {
"@veramo/[email protected]": "patches/@[email protected]",
Expand Down
1 change: 0 additions & 1 deletion packages/vc-handler-ld-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"@digitalcredentials/vc": "^6.0.1",
"@digitalcredentials/x25519-key-agreement-2020-context": "^1.0.0",
"@noble/hashes": "1.2.0",
"@sphereon/isomorphic-webcrypto": "2.4.1-unstable.0",
"@sphereon/ssi-sdk-ext.did-utils": "0.23.1-next.5",
"@sphereon/ssi-sdk-ext.key-utils": "0.23.1-next.5",
"@sphereon/ssi-sdk.agent-config": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import crypto from '@sphereon/isomorphic-webcrypto'
// import crypto from '@sphereon/isomorphic-webcrypto'
import { Ed25519KeyPair, Ed25519VerificationKey2018 } from '@transmute/ed25519-key-pair'
import { JWS, Verifier } from '@transmute/jose-ld'
import { EcdsaSecp256k1VerificationKey2019, Secp256k1KeyPair } from '@transmute/secp256k1-key-pair'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sha256 } from '@noble/hashes/sha256'
import crypto from '@sphereon/isomorphic-webcrypto'
// import crypto from '@sphereon/isomorphic-webcrypto'
import sec from '@transmute/security-context'
import { IAgentContext } from '@veramo/core'
import { decodeJoseBlob } from '@veramo/utils'
Expand Down
Loading

0 comments on commit 44331b8

Please sign in to comment.