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

@solana/errors

Package Overview
Dependencies
Maintainers
15
Versions
999
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-experimental.11dd48f to 2.0.0-experimental.1a0940d

2

dist/cli.js

@@ -11,5 +11,7 @@ // src/cli.ts

var SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE = 2;
var SOLANA_ERROR__RPC_INTEGER_OVERFLOW = 3;
// src/messages.ts
var SolanaErrorMessages = {
[SOLANA_ERROR__RPC_INTEGER_OVERFLOW]: "The $argumentLabel argument to the `$methodName` RPC method$optionalPathLabel was `$value`. This number is unsafe for use with the Solana JSON-RPC because it exceeds `Number.MAX_SAFE_INTEGER`",
[SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES]: "Transaction is missing signatures for addresses: $addresses",

@@ -16,0 +18,0 @@ [SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE]: "Could not determine this transaction's signature. Make sure that the transaction has been signed by its fee payer."

4

dist/index.browser.js

@@ -7,5 +7,7 @@ // ../build-scripts/env-shim.ts

var SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE = 2;
var SOLANA_ERROR__RPC_INTEGER_OVERFLOW = 3;
// src/messages.ts
var SolanaErrorMessages = {
[SOLANA_ERROR__RPC_INTEGER_OVERFLOW]: "The $argumentLabel argument to the `$methodName` RPC method$optionalPathLabel was `$value`. This number is unsafe for use with the Solana JSON-RPC because it exceeds `Number.MAX_SAFE_INTEGER`",
[SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES]: "Transaction is missing signatures for addresses: $addresses",

@@ -92,4 +94,4 @@ [SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE]: "Could not determine this transaction's signature. Make sure that the transaction has been signed by its fee payer."

export { SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES, SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE, SolanaError, isSolanaError };
export { SOLANA_ERROR__RPC_INTEGER_OVERFLOW, SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES, SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE, SolanaError, isSolanaError };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.browser.js.map

@@ -7,5 +7,7 @@ // ../build-scripts/env-shim.ts

var SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE = 2;
var SOLANA_ERROR__RPC_INTEGER_OVERFLOW = 3;
// src/messages.ts
var SolanaErrorMessages = {
[SOLANA_ERROR__RPC_INTEGER_OVERFLOW]: "The $argumentLabel argument to the `$methodName` RPC method$optionalPathLabel was `$value`. This number is unsafe for use with the Solana JSON-RPC because it exceeds `Number.MAX_SAFE_INTEGER`",
[SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES]: "Transaction is missing signatures for addresses: $addresses",

@@ -92,4 +94,4 @@ [SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE]: "Could not determine this transaction's signature. Make sure that the transaction has been signed by its fee payer."

export { SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES, SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE, SolanaError, isSolanaError };
export { SOLANA_ERROR__RPC_INTEGER_OVERFLOW, SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES, SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE, SolanaError, isSolanaError };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.native.js.map

@@ -7,5 +7,7 @@ // ../build-scripts/env-shim.ts

var SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE = 2;
var SOLANA_ERROR__RPC_INTEGER_OVERFLOW = 3;
// src/messages.ts
var SolanaErrorMessages = {
[SOLANA_ERROR__RPC_INTEGER_OVERFLOW]: "The $argumentLabel argument to the `$methodName` RPC method$optionalPathLabel was `$value`. This number is unsafe for use with the Solana JSON-RPC because it exceeds `Number.MAX_SAFE_INTEGER`",
[SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES]: "Transaction is missing signatures for addresses: $addresses",

@@ -92,4 +94,4 @@ [SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE]: "Could not determine this transaction's signature. Make sure that the transaction has been signed by its fee payer."

export { SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES, SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE, SolanaError, isSolanaError };
export { SOLANA_ERROR__RPC_INTEGER_OVERFLOW, SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES, SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE, SolanaError, isSolanaError };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.node.js.map

@@ -11,2 +11,3 @@ /**

export declare const SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE: 2;
export declare const SOLANA_ERROR__RPC_INTEGER_OVERFLOW: 3;
/**

@@ -27,3 +28,3 @@ * A union of every Solana error code

*/
export type SolanaErrorCode = typeof SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES | typeof SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE;
export type SolanaErrorCode = typeof SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES | typeof SOLANA_ERROR__TRANSACTION_SIGNATURE_NOT_COMPUTABLE | typeof SOLANA_ERROR__RPC_INTEGER_OVERFLOW;
//# sourceMappingURL=codes.d.ts.map

@@ -1,2 +0,2 @@

import { SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES, SolanaErrorCode } from './codes.js';
import { SOLANA_ERROR__RPC_INTEGER_OVERFLOW, SOLANA_ERROR__TRANSACTION_MISSING_SIGNATURES, SolanaErrorCode } from './codes.js';
export type DefaultUnspecifiedErrorContextToUndefined<T> = {

@@ -16,3 +16,11 @@ [P in SolanaErrorCode]: P extends keyof T ? T[P] : undefined;

};
[SOLANA_ERROR__RPC_INTEGER_OVERFLOW]: {
argumentLabel: string;
keyPath: readonly (string | number | symbol)[];
methodName: string;
optionalPathLabel: string;
path?: string;
value: bigint;
};
}>;
//# sourceMappingURL=context.d.ts.map
{
"name": "@solana/errors",
"version": "2.0.0-experimental.11dd48f",
"version": "2.0.0-experimental.1a0940d",
"description": "Throw, identify, and decode Solana JavaScript errors",

@@ -75,3 +75,3 @@ "exports": {

"version-from-git": "^1.1.1",
"@solana/addresses": "2.0.0-experimental.11dd48f",
"@solana/addresses": "2.0.0-experimental.1a0940d",
"test-config": "0.0.0",

@@ -78,0 +78,0 @@ "tsconfig": "0.0.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

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