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

feat: allow json parse to be skipped #108

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Conversation

sashalikesplanes
Copy link
Collaborator

@sashalikesplanes sashalikesplanes commented Jan 16, 2025

  • introduces option to pass function which determines which body should not be json parsed.

Background

  • necessary for fungs uses where some IDs are interpreted as hex numbers by JSON.parse and result in Infinity. This breaks eg the authorizer (the userAccountId is set as Infinity by the authorizer and the user may never get authorized)

Specific example

Uploading Screenshot 2025-01-16 at 17.51.42.png…

@sashalikesplanes sashalikesplanes merged commit a18e901 into dev Jan 16, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants