Skip to content

Commit 4e1c7bb

Browse files
committed
Update crypto-browser.js to use crypto.js implementation.
1 parent 0c3d65d commit 4e1c7bb

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/crypto-browser.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
/*!
22
* Copyright (c) 2023-2026 Digital Bazaar, Inc. All rights reserved.
33
*/
4-
// eslint-disable-next-line no-undef
5-
export const webcrypto = globalThis.crypto;
6-
// eslint-disable-next-line no-undef
7-
export const CryptoKey = globalThis.CryptoKey ?? webcrypto.CryptoKey;
4+
export {webcrypto, CryptoKey} from './crypto.js';

0 commit comments

Comments
 (0)