solana-labs / solana-web3.js

Solana JavaScript SDK
https://solana-labs.github.io/solana-web3.js
MIT License
2.12k stars 848 forks source link

Add `fromJson` and `toJson` options to HTTP transport #3192

Closed lorisleiva closed 3 weeks ago

lorisleiva commented 1 month ago

This PR adds two new optional functions to the createHttpTransport configs.

This will enable us to wrap this transport and create a new Solana-RPC-specific HTTP transport that do not loose range/precision when bigint values are transmitted over the wire.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: ea59901cded4c7a1d17824b57fcd636ea2089e29

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

lorisleiva commented 1 month ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lorisleiva and the rest of your teammates on Graphite Graphite

lorisleiva commented 3 weeks ago

Merge activity

github-actions[bot] commented 1 week ago

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.