-
Notifications
You must be signed in to change notification settings - Fork 55
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
SyntaxError: Invalid or unexpected token at bufToBigInt on UC Browser only #39
Comments
Probably an old browser that doesn't support BigInt literals. You can probably compile them away in your build step. What compiler are you using? |
Actually, it looks like it may support BigInt literals (otherwise, it should have stopped on line 21), but maybe there's a bug where it fails to look ahead to see that |
I decided to remove it from the bundle, indeed! So I can't really do more testing! Thank you very much for the help. 🙏 |
I think we still probably need to get this fixed. Thanks for reporting! |
I received the same error. Since the buf is a string within 0-9 and a-f, I converted it into an array splitting each 2 characters. I really don't know if it is secure. So I am sharing my code:
|
My users have this error when using UC browser:
For now, I don't have much more info because I don't have the right device to debug this. But I'll continue to investigate.
The text was updated successfully, but these errors were encountered: