Skip to content

Comments

feat: update library to use BigInt for large numeric values#6

Merged
mikamisonodev merged 1 commit intomainfrom
fix-bigint
Feb 3, 2026
Merged

feat: update library to use BigInt for large numeric values#6
mikamisonodev merged 1 commit intomainfrom
fix-bigint

Conversation

@aiko-chan-ai
Copy link
Member

Breaking changes

  • Added support for BigInt in the documentation, ensuring clarity on usage for Facebook IDs and timestamps.
  • Updated all relevant types and interfaces to replace number with bigint for threadId, userId, senderId, and other large numeric values.
  • Integrated json-bigint library to handle serialization and deserialization of BigInt values in native functions.
  • Adjusted client methods to accept and return bigint types for consistency across the library.

- Added support for BigInt in the documentation, ensuring clarity on usage for Facebook IDs and timestamps.
- Updated all relevant types and interfaces to replace number with bigint for threadId, userId, senderId, and other large numeric values.
- Integrated json-bigint library to handle serialization and deserialization of BigInt values in native functions.
- Adjusted client methods to accept and return bigint types for consistency across the library.
@GillHoang
Copy link

yay

Copy link
Member

@mikamisonodev mikamisonodev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good :3, peak int64

@mikamisonodev mikamisonodev merged commit 215cdf9 into main Feb 3, 2026
2 checks passed
@mikamisonodev mikamisonodev deleted the fix-bigint branch February 3, 2026 16:57
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.

3 participants