Skip to content
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

Using of native BigInt is a breaking change #291

Open
DeRain opened this issue Mar 19, 2021 · 6 comments
Open

Using of native BigInt is a breaking change #291

DeRain opened this issue Mar 19, 2021 · 6 comments

Comments

@DeRain
Copy link

DeRain commented Mar 19, 2021

Introduction of native BigInt could lead to errors on environments that doesn't support BigInt.

Currently, a lot of browsers with older versions does not support BigInt, React Native does not support big int. All applications include address-encoder dependency should use polyfills.

Possible solutions:

@web3max
Copy link

web3max commented Jul 26, 2021

iOS 13 Safari does not support BigInt and will give an error: Can't find variable: BigInt. This will give an error on lower versions of the browser.

@web3max
Copy link

web3max commented Jul 26, 2021

Is there any way I can fix this error quickly?

@DeRain
Copy link
Author

DeRain commented Jul 26, 2021

Is there any way I can fix this error quickly?

You could try and use BigInt polyfil which is part of core-js library - https://github.com/zloirock/core-js#numberrange

@DeRain
Copy link
Author

DeRain commented Aug 7, 2021

Any updates with that?

@xwartz
Copy link

xwartz commented Sep 1, 2021

Any updates?

@zgayjjf
Copy link

zgayjjf commented Sep 1, 2021

Any updates?
This issue is holding back the adoption of the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants