Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solana/rpc-spec-types

Package Overview
Dependencies
Maintainers
0
Versions
916
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/rpc-spec-types - npm Package Compare versions

Comparing version 2.0.0-canary-20240829092934 to 2.0.0-canary-20240901181915

6

dist/types/rpc-response.d.ts
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

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