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

@solana/errors

Package Overview
Dependencies
Maintainers
14
Versions
964
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/errors - npm Package Compare versions

Comparing version 2.0.0-canary-20241105084618 to 2.0.0-canary-20241105084944

2

dist/types/instruction-error.d.ts
import { SolanaError } from './error';
export declare function getSolanaErrorFromInstructionError(index: number, instructionError: string | {
export declare function getSolanaErrorFromInstructionError(index: bigint | number, instructionError: string | {
[key: string]: unknown;
}): SolanaError;
//# sourceMappingURL=instruction-error.d.ts.map
import { SolanaError } from './error';
interface RpcErrorResponse {
code: number;
code: bigint | number;
data?: unknown;

@@ -50,4 +50,4 @@ message: string;

}
export declare function getSolanaErrorFromJsonRpcError({ code, data, message }: RpcErrorResponse): SolanaError;
export declare function getSolanaErrorFromJsonRpcError({ code: rawCode, data, message }: RpcErrorResponse): SolanaError;
export {};
//# sourceMappingURL=json-rpc-error.d.ts.map
{
"name": "@solana/errors",
"version": "2.0.0-canary-20241105084618",
"version": "2.0.0-canary-20241105084944",
"description": "Throw, identify, and decode Solana JavaScript errors",

@@ -5,0 +5,0 @@ "exports": {

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

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

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