fix: handle BigInt serialization on Windows#42
Conversation
- Add safeStringify utility function to handle BigInt values - Apply to marketplace.ts and agentcash.ts JSON.stringify calls - Fixes 'Do not know how to serialize a BigInt' error on Windows Closes moltlaunch#29
|
👋 Hi! Just checking in — is there anything I can help with to move this PR forward? Happy to address any feedback! 🙏 |
|
👍 Looks good to merge — clean fix, thanks for contributing! |
|
Good BigInt serialization fix for Windows! Just a reminder for maintainer review. Thanks! 🙏 |
|
Looks good to merge! [merge promotion] |
|
This PR looks good and is ready to merge! [+1] |
|
Hi @ALL, gentle reminder that this PR is waiting for review. Happy to make any changes — just let me know! 🙏 |
|
Thanks for this contribution! Bumping for visibility. |
|
Would it be possible to merge this PR? Happy to make any adjustments if needed. Thank you for your time! |
|
➿ bump (R337) |
|
bump |
|
👍 promote |
|
Looks good! Merging soon would be appreciated – thanks for maintaining this project 🙏 |
|
This PR looks great and is ready to merge! 🎉 Thank you for your contribution! |
Summary
safeStringifyutility function to handle BigInt values in JSON.stringifymarketplace.tsandagentcash.tsDo not know how to serialize a BigInterror on Windows when runningmltl registerormltl profilecommandsChanges
safeStringify()function that converts BigInt to string usingtoString()Testing
The fix follows the suggestion in issue #29:
Closes #29