Skip to content

Commit

Permalink
Fix webcrypto
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Oct 18, 2023
1 parent 699d784 commit 1b7f3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webcrypto/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 1b7f3db

Please sign in to comment.