Socket
Socket
Sign inDemoInstall

@solana/rpc-spec

Package Overview
Dependencies
Maintainers
0
Versions
723
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/rpc-spec - npm Package Compare versions

Comparing version 2.0.0-canary-20240901183511 to 2.0.0-canary-20240901183813

6

dist/types/rpc-shared.d.ts

@@ -10,11 +10,11 @@ export type RpcRequest<TParams = unknown> = {

export type RpcRequestTransformer = {
<TParams>(request: RpcRequest<unknown>): RpcRequest<TParams>;
<TParams>(request: RpcRequest<TParams>): RpcRequest;
};
export type RpcResponseTransformer = {
<TResponse>(response: RpcResponse<unknown>, request: RpcRequest<unknown>): RpcResponse<TResponse>;
<TResponse>(response: RpcResponse, request: RpcRequest): RpcResponse<TResponse>;
};
export type RpcResponseTransformerFor<TResponse> = {
(response: RpcResponse<unknown>, request: RpcRequest<unknown>): RpcResponse<TResponse>;
(response: RpcResponse, request: RpcRequest): RpcResponse<TResponse>;
};
export declare function createJsonRpcResponseTransformer<TResponse>(jsonTransformer: (json: unknown, request: RpcRequest) => TResponse): RpcResponseTransformerFor<TResponse>;
//# sourceMappingURL=rpc-shared.d.ts.map
{
"name": "@solana/rpc-spec",
"version": "2.0.0-canary-20240901183511",
"version": "2.0.0-canary-20240901183813",
"description": "A generic implementation of JSON RPCs using proxies",

@@ -57,3 +57,3 @@ "exports": {

"dependencies": {
"@solana/rpc-spec-types": "2.0.0-canary-20240901183511"
"@solana/rpc-spec-types": "2.0.0-canary-20240901183813"
},

@@ -60,0 +60,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc