@solana/errors
Advanced tools
Comparing version 2.0.0-rc.3 to 2.0.0-rc.4
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-rc.3", | ||
"version": "2.0.0-rc.4", | ||
"description": "Throw, identify, and decode Solana JavaScript errors", | ||
@@ -67,10 +67,2 @@ "exports": { | ||
}, | ||
"bundlewatch": { | ||
"defaultCompression": "gzip", | ||
"files": [ | ||
{ | ||
"path": "./dist/index*.js" | ||
} | ||
] | ||
}, | ||
"engines": { | ||
@@ -77,0 +69,0 @@ "node": ">=20.18.0" |
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
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
1349381
6165