@solana/rpc-spec-types
Advanced tools
Comparing version 2.0.0-canary-20240829092934 to 2.0.0-canary-20240901181915
interface IHasIdentifier { | ||
readonly id: number; | ||
} | ||
type RpcErrorResponse = Readonly<{ | ||
type RpcErrorResponsePayload = Readonly<{ | ||
code: number; | ||
@@ -9,4 +9,4 @@ data?: unknown; | ||
}>; | ||
export type RpcResponse<TResponse> = IHasIdentifier & Readonly<{ | ||
error: RpcErrorResponse; | ||
export type RpcResponseData<TResponse> = IHasIdentifier & Readonly<{ | ||
error: RpcErrorResponsePayload; | ||
} | { | ||
@@ -13,0 +13,0 @@ result: TResponse; |
{ | ||
"name": "@solana/rpc-spec-types", | ||
"version": "2.0.0-canary-20240829092934", | ||
"version": "2.0.0-canary-20240901181915", | ||
"description": "Shared generic JSON RPC specifications", | ||
@@ -5,0 +5,0 @@ "exports": { |
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
65292