From 10b08ac8cdb61aa1412475426cfcaf0eefe32722 Mon Sep 17 00:00:00 2001 From: Loris Leiva Date: Wed, 23 Oct 2024 10:07:35 +0100 Subject: [PATCH] Add changeset for using RpcRequest and RpcResponse in RPC Subscriptions (#3407) This PR adds a changeset combining several smaller changes in the previous PRs of this stack. That way, we provide a slightly more digest changelog. --- .changeset/cool-bears-taste.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .changeset/cool-bears-taste.md diff --git a/.changeset/cool-bears-taste.md b/.changeset/cool-bears-taste.md new file mode 100644 index 000000000000..cc9980604179 --- /dev/null +++ b/.changeset/cool-bears-taste.md @@ -0,0 +1,22 @@ +--- +'@solana/rpc-subscriptions-spec': patch +'@solana/rpc-subscriptions-api': patch +'@solana/rpc-transport-http': patch +'@solana/rpc-subscriptions': patch +'@solana/rpc-transformers': patch +'@solana/rpc-spec-types': patch +'@solana/rpc-spec': patch +'@solana/web3.js': patch +'@solana/rpc': patch +--- + +Use `RpcRequest`, `RpcResponse` and their transformers in RPC Subscriptions packages + +This change makes the RPC and RPC Subscriptions architecture more consistent by using the same `RpcRequest` and `RpcResponse` types and transformers as the basis for handling user requests (RPC calls or subscriptions) and returning responses to them. + +See the following PRs for more details: +- [PR #3393](https://github.com/solana-labs/solana-web3.js/pull/3393) +- [PR #3394](https://github.com/solana-labs/solana-web3.js/pull/3394) +- [PR #3403](https://github.com/solana-labs/solana-web3.js/pull/3403) +- [PR #3404](https://github.com/solana-labs/solana-web3.js/pull/3404) +- [PR #3405](https://github.com/solana-labs/solana-web3.js/pull/3405)