Skip to content

Commit c3f9c81

Browse files
committed
fix(Node.js) use proper import of webcrypto
1 parent 641d6f6 commit c3f9c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mls-rs-crypto-webcrypto/js/node-crypto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const crypto = require("node:crypto");
1+
const crypto = require("node:crypto").webcrypto;
22

33
module.exports.node_crypto = function() {
44
return crypto;

0 commit comments

Comments
 (0)