bitcoinjs/bip39

v3.0.4 is not working, v3.0.3 is fine

Closed this issue · 2 comments

var bip39 = require("bip39");
const mnemonic = bip39.generateMnemonic();
console.log(mnemonic);

3.0.4:
image

however 3.0.3 works fine

also, all version 3 is not working in firebase function, version 2.6.0 is working

This is an issue with your environment, not the library.

You most likely need to make a shim for randombytes.