@solana/rpc-spec
Advanced tools
Comparing version 2.0.0-canary-20240901183511 to 2.0.0-canary-20240901183813
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76386
+ Added@solana/rpc-spec-types@2.0.0-canary-20240901183813(transitive)
- Removed@solana/rpc-spec-types@2.0.0-canary-20240901183511(transitive)