You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Native BigInt (which is used in the toBigNumber() method in the @arkecosystem/utilsbig-number.ts library) is not yet supported in all popular browsers (e.g. Safari).
Thanks for opening this issue! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.
If no reviewer appears after a week, a reminder will be sent out.
deanpress
changed the title
[2.6] crypto package: Use of native BigInt in BigNumber library breaks support for Safari
[2.6] utils: Use of native BigInt in BigNumber library breaks support for Safari
Jan 26, 2020
Somewhat related to #3423
Native BigInt (which is used in the
toBigNumber()
method in the@arkecosystem/utils
big-number.ts
library) is not yet supported in all popular browsers (e.g. Safari).Possible Solution
Replace native BigInt with JSBI BigInt in utils: https://github.com/GoogleChromeLabs/jsbi.
The only thing it doesn't support is floats, but from what I observed that isn't supported in the current BigNumber implementation either.
Your Environment
The text was updated successfully, but these errors were encountered: