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

web3-errors

Package Overview
Dependencies
Maintainers
5
Versions
349
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-errors - npm Package Compare versions

Comparing version 1.1.3-dev.e760667.0 to 1.1.3

lib/commonjs/errors/schema_errors.d.ts

1

lib/commonjs/error_codes.d.ts

@@ -115,2 +115,3 @@ export declare const ERR_RESPONSE = 100;

export declare const ERR_CORE_CHAIN_MISMATCH = 1102;
export declare const ERR_SCHEMA_FORMAT = 1200;
export declare const ERR_RPC_INVALID_JSON = -32700;

@@ -117,0 +118,0 @@ export declare const ERR_RPC_INVALID_REQUEST = -32600;

4

lib/commonjs/error_codes.js

@@ -21,3 +21,3 @@ "use strict";

exports.ERR_INVALID_NUMBER = exports.ERR_INVALID_BYTES = exports.ERR_INVALID_STRING = exports.ERR_ENS_NETWORK_NOT_SYNCED = exports.ERR_ENS_UNSUPPORTED_NETWORK = exports.ERR_ENS_CHECK_INTERFACE_SUPPORT = exports.JSONRPC_ERR_CHAIN_DISCONNECTED = exports.JSONRPC_ERR_DISCONNECTED = exports.JSONRPC_ERR_UNSUPPORTED_METHOD = exports.JSONRPC_ERR_UNAUTHORIZED = exports.JSONRPC_ERR_REJECTED_REQUEST = exports.GENESIS_BLOCK_NUMBER = exports.ERR_INVALID_SIGNATURE = exports.ERR_SIGNATURE_FAILED = exports.ERR_PBKDF2_ITERATIONS = exports.ERR_INVALID_KEYSTORE = exports.ERR_IV_LENGTH = exports.ERR_INVALID_PASSWORD = exports.ERR_KEY_VERSION_UNSUPPORTED = exports.ERR_KEY_DERIVATION_FAIL = exports.ERR_UNSUPPORTED_KDF = exports.ERR_INVALID_PRIVATE_KEY = exports.ERR_PRIVATE_KEY_LENGTH = exports.ERR_WS_PROVIDER = exports.ERR_SUBSCRIPTION = exports.ERR_INVALID_CLIENT = exports.ERR_INVALID_PROVIDER = exports.ERR_PROVIDER = exports.ERR_REQ_ALREADY_SENT = exports.ERR_CONN_PENDING_REQUESTS = exports.ERR_CONN_MAX_ATTEMPTS = exports.ERR_CONN_CLOSE = exports.ERR_CONN_NOT_OPEN = exports.ERR_CONN_TIMEOUT = exports.ERR_CONN_INVALID = exports.ERR_CONN = exports.ERR_TX_GAS_MISMATCH_INNER_ERROR = exports.ERR_TX_MISSING_GAS_INNER_ERROR = exports.ERR_TX_INVALID_PROPERTIES_FOR_TYPE = exports.ERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR = exports.ERR_TX_INVALID_RECEIVER = exports.ERR_TX_HARDFORK_MISMATCH = exports.ERR_TX_CHAIN_MISMATCH = exports.ERR_TX_GAS_MISMATCH = exports.ERR_TX_SIGNING = exports.ERR_TX_BLOCK_TIMEOUT = exports.ERR_TX_SEND_TIMEOUT = exports.ERR_TX_NOT_FOUND = exports.ERR_TX_LOCAL_WALLET_NOT_AVAILABLE = exports.ERR_TX_RECEIPT_MISSING_BLOCK_NUMBER = void 0;
exports.ERR_RPC_NOT_SUPPORTED = exports.ERR_RPC_LIMIT_EXCEEDED = exports.ERR_RPC_UNSUPPORTED_METHOD = exports.ERR_RPC_TRANSACTION_REJECTED = exports.ERR_RPC_UNAVAILABLE_RESOURCE = exports.ERR_RPC_MISSING_RESOURCE = exports.ERR_RPC_INVALID_INPUT = exports.ERR_RPC_INTERNAL_ERROR = exports.ERR_RPC_INVALID_PARAMS = exports.ERR_RPC_INVALID_METHOD = exports.ERR_RPC_INVALID_REQUEST = exports.ERR_RPC_INVALID_JSON = exports.ERR_CORE_CHAIN_MISMATCH = exports.ERR_CORE_HARDFORK_MISMATCH = exports.ERR_VALIDATION = exports.ERR_INVALID_NIBBLE_WIDTH = exports.ERR_INVALID_TYPE_ABI = exports.ERR_INVALID_BLOCK = exports.ERR_INVALID_LARGE_VALUE = exports.ERR_INVALID_SIZE = exports.ERR_INVALID_UNSIGNED_INTEGER = exports.ERR_INVALID_BOOLEAN = exports.ERR_INVALID_TYPE = exports.ERR_INVALID_HEX = exports.ERR_INVALID_ADDRESS = exports.ERR_INVALID_UNIT = void 0;
exports.ERR_RPC_NOT_SUPPORTED = exports.ERR_RPC_LIMIT_EXCEEDED = exports.ERR_RPC_UNSUPPORTED_METHOD = exports.ERR_RPC_TRANSACTION_REJECTED = exports.ERR_RPC_UNAVAILABLE_RESOURCE = exports.ERR_RPC_MISSING_RESOURCE = exports.ERR_RPC_INVALID_INPUT = exports.ERR_RPC_INTERNAL_ERROR = exports.ERR_RPC_INVALID_PARAMS = exports.ERR_RPC_INVALID_METHOD = exports.ERR_RPC_INVALID_REQUEST = exports.ERR_RPC_INVALID_JSON = exports.ERR_SCHEMA_FORMAT = exports.ERR_CORE_CHAIN_MISMATCH = exports.ERR_CORE_HARDFORK_MISMATCH = exports.ERR_VALIDATION = exports.ERR_INVALID_NIBBLE_WIDTH = exports.ERR_INVALID_TYPE_ABI = exports.ERR_INVALID_BLOCK = exports.ERR_INVALID_LARGE_VALUE = exports.ERR_INVALID_SIZE = exports.ERR_INVALID_UNSIGNED_INTEGER = exports.ERR_INVALID_BOOLEAN = exports.ERR_INVALID_TYPE = exports.ERR_INVALID_HEX = exports.ERR_INVALID_ADDRESS = exports.ERR_INVALID_UNIT = void 0;
// Response error

@@ -151,2 +151,4 @@ exports.ERR_RESPONSE = 100;

exports.ERR_CORE_CHAIN_MISMATCH = 1102;
// Schema error codes
exports.ERR_SCHEMA_FORMAT = 1200;
// RPC error codes (EIP-1474)

@@ -153,0 +155,0 @@ // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md

@@ -16,1 +16,2 @@ export * from './error_codes.js';

export * from './errors/rpc_error_messages.js';
export * from './errors/schema_errors.js';

@@ -48,2 +48,3 @@ "use strict";

__exportStar(require("./errors/rpc_error_messages.js"), exports);
__exportStar(require("./errors/schema_errors.js"), exports);
//# sourceMappingURL=index.js.map

@@ -145,2 +145,4 @@ /*

export const ERR_CORE_CHAIN_MISMATCH = 1102;
// Schema error codes
export const ERR_SCHEMA_FORMAT = 1200;
// RPC error codes (EIP-1474)

@@ -147,0 +149,0 @@ // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md

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

export * from './errors/rpc_error_messages.js';
export * from './errors/schema_errors.js';
//# sourceMappingURL=index.js.map

@@ -115,2 +115,3 @@ export declare const ERR_RESPONSE = 100;

export declare const ERR_CORE_CHAIN_MISMATCH = 1102;
export declare const ERR_SCHEMA_FORMAT = 1200;
export declare const ERR_RPC_INVALID_JSON = -32700;

@@ -117,0 +118,0 @@ export declare const ERR_RPC_INVALID_REQUEST = -32600;

@@ -16,2 +16,3 @@ export * from './error_codes.js';

export * from './errors/rpc_error_messages.js';
export * from './errors/schema_errors.js';
//# sourceMappingURL=index.d.ts.map
{
"name": "web3-errors",
"version": "1.1.3-dev.e760667.0+e760667",
"version": "1.1.3",
"description": "This package has web3 error classes",

@@ -44,3 +44,3 @@ "main": "./lib/commonjs/index.js",

"dependencies": {
"web3-types": "1.2.1-dev.e760667.0+e760667"
"web3-types": "^1.3.0"
},

@@ -61,3 +61,3 @@ "devDependencies": {

},
"gitHead": "e760667d2595deafcf7606c84b15bda9b472c5a7"
"gitHead": "c8799b074e7abf86b4b03a163aa9183250ad7228"
}

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

// Core error codes

@@ -166,2 +167,5 @@ export const ERR_CORE_HARDFORK_MISMATCH = 1101;

// Schema error codes
export const ERR_SCHEMA_FORMAT = 1200;
// RPC error codes (EIP-1474)

@@ -168,0 +172,0 @@ // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md

@@ -33,1 +33,2 @@ /*

export * from './errors/rpc_error_messages.js';
export * from './errors/schema_errors.js';

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