Skip to content
This repository was archived by the owner on Jun 29, 2026. It is now read-only.

Bugfix: Don't cast big integers into Numbers

Choose a tag to compare

@Vijar Vijar released this 31 Aug 20:28
· 401 commits to main since this release
  • #120 Don't cast big integers into Number type

    Fetcher middleware receives all params as strings. It then, tries to cast these strings into their primitive types. However, numbers larger than MAX_SAFE_INTEGER were being rounded incorrectly introducing errors(See #119). The fix is to just leave these big integers as strings and let the user convert them as needed.