-
Couldn't load subscription status.
- Fork 1k
Move RpcRequest and RpcResponse types to rpc-spec-types #3393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: dccdeba 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 |
290bef4 to
9b9a3b5
Compare
164e37c to
ba813b0
Compare
1c68cd2 to
601d031
Compare
ba813b0 to
a9597b9
Compare
f1cee41 to
580ac5d
Compare
601d031 to
ba88104
Compare
580ac5d to
b965d83
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b965d83 to
dccdeba
Compare
|
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. |


One of the goals of this stack is to eventually make
RpcRequestTransformersandRpcResponseTransformersusable on both RPC and RPC Subscriptions architectures. This was the original intention of therpc-transformerspackage which already hosts request and response transformers for both but with inconsistent types.As such, this PR aims to get closer to this goal by moving the
RpcRequest,RpcResponse,RpcRequestTransformerandRpcResponseTransformertypes from therpc-specpackage to therpc-spec-typespackage.As a reminder the
rpc-specandrpc-subscriptions-specpackages define the interfaces of the RPC and RPC Subscriptions architectures respectively, whereas, therpc-spec-typespackage is a utility package that is imported by both of the former packages.Note that, the
rpc-spec-typespackage is now being exported from the main library because re-exporting that package in bothrpcandrpc-subscriptionswould be problematic for the main library that re-exports both.Addresses solana-labs/web3.js-issue-conveyer#10.