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

BigInt serialization error in encodePostData #1440

Open
zimrain opened this issue Sep 27, 2024 · 0 comments
Open

BigInt serialization error in encodePostData #1440

zimrain opened this issue Sep 27, 2024 · 0 comments

Comments

@zimrain
Copy link

zimrain commented Sep 27, 2024

Our React app uses BigInt in many places. Only autocapture is on, no custom events. We're getting the following: "TypeError: Do not know how to serialize a BigInt"

Source map points back to JSON.stringify call in encodePostData here:

const gzipData = gzipSync(strToU8(JSON.stringify(data)), { mtime: 0 })

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

1 participant