-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BN included twice by browserify #190
Comments
Right now you can use such hack for access to const elliptic = require('elliptic')
const BN = elliptic.utils.intFromLE('0').constructor |
OK, but my suggestion is to make it directly available from elliptic, not a big deal I think Did you see the posts from (closed) browserify/browserify#1923 ? Why does bn.js appear twice after npm install of elliptic? |
Yeah, I had seen. I do not see that bn.js installed twice:
Only one bn.js version. Same for yarn. |
Closing... not sure what I did when I installed elliptic first, maybe I used a too old version of npm,reinstalling correctly does not cause the duplication effect |
Continuation of indutny/bn.js#227
And please see browserify/browserify#1923
Let's see if we get some feedback, apparently it does not look like an elliptic issue but I think it would not be bad to add something like
utils.BN=BN
or in elliptic.js so BN becomes available from elliptic directlyThe text was updated successfully, but these errors were encountered: