Closed ddresch closed 1 year ago
That has been fixed in v1.1.1
I'm using version 1.1.5, and it is importing _assert without .js extension.
I see this was changed in this commit: https://github.com/paulmillr/noble-hashes/commit/ea596c28d1896fa29fd87d1e75365b044191b07a
Using the npm package. If I check the published version 1.1.5 on npmjs.org you see the missing .js extension. https://www.npmjs.com/package/@noble/hashes?activeTab=explore
published 1.2.0
When using
I ended up with the
Module not found
error. As a quick fix, I needed to change the filesha3-addons.js
and add the.js
file extension to the require statement. I'm writing this issue because I'm uncertain if this type of require without the extension is intentional or not.