Skip to content

Commit 895797f

Browse files
Replace @trust/webcrypto with webcrypto-core
1 parent 8ffe538 commit 895797f

14 files changed

+103
-6769
lines changed

examples/HS256.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const crypto = require('@trust/webcrypto')
1+
const crypto = require('isomorphic-webcrypto')
22
const JWA = require('../src/jose/JWA')
33

44
let key

examples/JWS.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require('../src/formats')
2-
const crypto = require('@trust/webcrypto')
2+
const crypto = require('isomorphic-webcrypto')
33
const JWT = require('../src/jose/JWT')
44

55
let key, jwt

examples/RS256.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const crypto = require('@trust/webcrypto')
1+
const crypto = require('isomorphic-webcrypto')
22
const JWA = require('../src/jose/JWA')
33

44
let privateKey, publicKey

0 commit comments

Comments
 (0)