bcoin-org / bcrypto

JS crypto library
Other
99 stars 41 forks source link

Add bech32m mapping to browser field #67

Closed michalsmiarowski closed 1 year ago

michalsmiarowski commented 2 years ago

Closes https://github.com/bcoin-org/bcrypto/issues/66

lib/encoding/bech32m.js file is not properly replaced with lib/encoding/bech32m-browser.js when using the lib in the browser. The file should be mapped inbrowser field in package.json.

pinheadmz commented 1 year ago

Thanks! Sorry it took so long to test this, I'm running in to the same issue now, and this is the fix