diff --git a/src/webcrypto/utils.ts b/src/webcrypto/utils.ts index 0236c20..7d19b0a 100644 --- a/src/webcrypto/utils.ts +++ b/src/webcrypto/utils.ts @@ -4,7 +4,7 @@ // from `crypto` to `cryptoNode`, which imports native module. // Makes the utils un-importable in browsers without a bundler. // Once node.js 18 is deprecated, we can just drop the import. -import { crypto } from './crypto.js'; +import { crypto } from '@noble/ciphers/webcrypto/crypto'; import { Cipher, concatBytes } from '../utils.js'; import { number } from '../_assert.js';