From 1b7f3db7abf6f79eef771c96ec9e557b992ade75 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Wed, 18 Oct 2023 20:35:17 +0200 Subject: [PATCH] Fix webcrypto --- src/webcrypto/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';