@vechain/sdk-errors
Advanced tools
Comparing version 1.0.0-beta.31 to 1.0.0-beta.32
@@ -63,10 +63,10 @@ /** | ||
/** | ||
* Invalid abi fragment error | ||
* Invalid ABI item error | ||
* | ||
* WHEN TO USE: | ||
* * This error will be thrown when the abi fragment is invalid. | ||
* * This error will be thrown when the ABI item is invalid. | ||
*/ | ||
declare class InvalidAbiFragment extends VechainSDKError<{ | ||
declare class InvalidAbiItem extends VechainSDKError<{ | ||
type: 'function' | 'event'; | ||
fragment: unknown; | ||
value: unknown; | ||
}> { | ||
@@ -120,3 +120,3 @@ } | ||
*/ | ||
declare class CertificateSignature extends VechainSDKError<ObjectErrorData> { | ||
declare class CertificateSignatureMismatch extends VechainSDKError<ObjectErrorData> { | ||
} | ||
@@ -414,4 +414,4 @@ | ||
declare const errors_CannotFindTransaction: typeof CannotFindTransaction; | ||
type errors_CertificateSignature = CertificateSignature; | ||
declare const errors_CertificateSignature: typeof CertificateSignature; | ||
type errors_CertificateSignatureMismatch = CertificateSignatureMismatch; | ||
declare const errors_CertificateSignatureMismatch: typeof CertificateSignatureMismatch; | ||
type errors_ContractDeploymentFailed = ContractDeploymentFailed; | ||
@@ -421,4 +421,4 @@ declare const errors_ContractDeploymentFailed: typeof ContractDeploymentFailed; | ||
declare const errors_InvalidAbiDataToEncodeOrDecode: typeof InvalidAbiDataToEncodeOrDecode; | ||
type errors_InvalidAbiFragment = InvalidAbiFragment; | ||
declare const errors_InvalidAbiFragment: typeof InvalidAbiFragment; | ||
type errors_InvalidAbiItem = InvalidAbiItem; | ||
declare const errors_InvalidAbiItem: typeof InvalidAbiItem; | ||
type errors_InvalidAbiSignatureFormat = InvalidAbiSignatureFormat; | ||
@@ -491,5 +491,5 @@ declare const errors_InvalidAbiSignatureFormat: typeof InvalidAbiSignatureFormat; | ||
declare namespace errors { | ||
export { errors_CannotFindTransaction as CannotFindTransaction, errors_CertificateSignature as CertificateSignature, errors_ContractDeploymentFailed as ContractDeploymentFailed, errors_InvalidAbiDataToEncodeOrDecode as InvalidAbiDataToEncodeOrDecode, errors_InvalidAbiFragment as InvalidAbiFragment, errors_InvalidAbiSignatureFormat as InvalidAbiSignatureFormat, errors_InvalidAddress as InvalidAddress, errors_InvalidBloom as InvalidBloom, errors_InvalidBloomParams as InvalidBloomParams, errors_InvalidCommandLineArguments as InvalidCommandLineArguments, errors_InvalidConfigurationFile as InvalidConfigurationFile, errors_InvalidConfigurationFilePath as InvalidConfigurationFilePath, errors_InvalidDataType as InvalidDataType, errors_InvalidHDKey as InvalidHDKey, errors_InvalidHDKeyMnemonic as InvalidHDKeyMnemonic, errors_InvalidHTTPRequest as InvalidHTTPRequest, errors_InvalidKeystore as InvalidKeystore, errors_InvalidKeystoreParams as InvalidKeystoreParams, errors_InvalidOperation as InvalidOperation, errors_InvalidRLP as InvalidRLP, errors_InvalidSecp256k1MessageHash as InvalidSecp256k1MessageHash, errors_InvalidSecp256k1PrivateKey as InvalidSecp256k1PrivateKey, errors_InvalidSecp256k1Signature as InvalidSecp256k1Signature, errors_InvalidTransactionField as InvalidTransactionField, errors_JSONRPCInternalError as JSONRPCInternalError, errors_JSONRPCInvalidParams as JSONRPCInvalidParams, errors_JSONRPCInvalidRequest as JSONRPCInvalidRequest, errors_JSONRPCMethodNotFound as JSONRPCMethodNotFound, errors_JSONRPCParseError as JSONRPCParseError, errors_JSONRPCProviderError as JSONRPCProviderError, errors_JSONRPCServerError as JSONRPCServerError, errors_NotDelegatedTransaction as NotDelegatedTransaction, type errors_ObjectErrorData as ObjectErrorData, errors_PollExecution as PollExecution, errors_UnavailableTransactionField as UnavailableTransactionField, errors_UnsupportedOperation as UnsupportedOperation, errors_VechainSDKError as VechainSDKError, errors_assertInnerError as assertInnerError, errors_createErrorMessage as createErrorMessage, errors_stringifyData as stringifyData }; | ||
export { errors_CannotFindTransaction as CannotFindTransaction, errors_CertificateSignatureMismatch as CertificateSignatureMismatch, errors_ContractDeploymentFailed as ContractDeploymentFailed, errors_InvalidAbiDataToEncodeOrDecode as InvalidAbiDataToEncodeOrDecode, errors_InvalidAbiItem as InvalidAbiItem, errors_InvalidAbiSignatureFormat as InvalidAbiSignatureFormat, errors_InvalidAddress as InvalidAddress, errors_InvalidBloom as InvalidBloom, errors_InvalidBloomParams as InvalidBloomParams, errors_InvalidCommandLineArguments as InvalidCommandLineArguments, errors_InvalidConfigurationFile as InvalidConfigurationFile, errors_InvalidConfigurationFilePath as InvalidConfigurationFilePath, errors_InvalidDataType as InvalidDataType, errors_InvalidHDKey as InvalidHDKey, errors_InvalidHDKeyMnemonic as InvalidHDKeyMnemonic, errors_InvalidHTTPRequest as InvalidHTTPRequest, errors_InvalidKeystore as InvalidKeystore, errors_InvalidKeystoreParams as InvalidKeystoreParams, errors_InvalidOperation as InvalidOperation, errors_InvalidRLP as InvalidRLP, errors_InvalidSecp256k1MessageHash as InvalidSecp256k1MessageHash, errors_InvalidSecp256k1PrivateKey as InvalidSecp256k1PrivateKey, errors_InvalidSecp256k1Signature as InvalidSecp256k1Signature, errors_InvalidTransactionField as InvalidTransactionField, errors_JSONRPCInternalError as JSONRPCInternalError, errors_JSONRPCInvalidParams as JSONRPCInvalidParams, errors_JSONRPCInvalidRequest as JSONRPCInvalidRequest, errors_JSONRPCMethodNotFound as JSONRPCMethodNotFound, errors_JSONRPCParseError as JSONRPCParseError, errors_JSONRPCProviderError as JSONRPCProviderError, errors_JSONRPCServerError as JSONRPCServerError, errors_NotDelegatedTransaction as NotDelegatedTransaction, type errors_ObjectErrorData as ObjectErrorData, errors_PollExecution as PollExecution, errors_UnavailableTransactionField as UnavailableTransactionField, errors_UnsupportedOperation as UnsupportedOperation, errors_VechainSDKError as VechainSDKError, errors_assertInnerError as assertInnerError, errors_createErrorMessage as createErrorMessage, errors_stringifyData as stringifyData }; | ||
} | ||
export { CannotFindTransaction, CertificateSignature, ContractDeploymentFailed, InvalidAbiDataToEncodeOrDecode, InvalidAbiFragment, InvalidAbiSignatureFormat, InvalidAddress, InvalidBloom, InvalidBloomParams, InvalidCommandLineArguments, InvalidConfigurationFile, InvalidConfigurationFilePath, InvalidDataType, InvalidHDKey, InvalidHDKeyMnemonic, InvalidHTTPRequest, InvalidKeystore, InvalidKeystoreParams, InvalidOperation, InvalidRLP, InvalidSecp256k1MessageHash, InvalidSecp256k1PrivateKey, InvalidSecp256k1Signature, InvalidTransactionField, JSONRPCInternalError, JSONRPCInvalidParams, JSONRPCInvalidRequest, JSONRPCMethodNotFound, JSONRPCParseError, JSONRPCProviderError, JSONRPCServerError, NotDelegatedTransaction, type ObjectErrorData, PollExecution, UnavailableTransactionField, UnsupportedOperation, VechainSDKError, assertInnerError, createErrorMessage, errors, stringifyData }; | ||
export { CannotFindTransaction, CertificateSignatureMismatch, ContractDeploymentFailed, InvalidAbiDataToEncodeOrDecode, InvalidAbiItem, InvalidAbiSignatureFormat, InvalidAddress, InvalidBloom, InvalidBloomParams, InvalidCommandLineArguments, InvalidConfigurationFile, InvalidConfigurationFilePath, InvalidDataType, InvalidHDKey, InvalidHDKeyMnemonic, InvalidHTTPRequest, InvalidKeystore, InvalidKeystoreParams, InvalidOperation, InvalidRLP, InvalidSecp256k1MessageHash, InvalidSecp256k1PrivateKey, InvalidSecp256k1Signature, InvalidTransactionField, JSONRPCInternalError, JSONRPCInvalidParams, JSONRPCInvalidRequest, JSONRPCMethodNotFound, JSONRPCParseError, JSONRPCProviderError, JSONRPCServerError, NotDelegatedTransaction, type ObjectErrorData, PollExecution, UnavailableTransactionField, UnsupportedOperation, VechainSDKError, assertInnerError, createErrorMessage, errors, stringifyData }; |
@@ -24,6 +24,6 @@ "use strict"; | ||
CannotFindTransaction: () => CannotFindTransaction, | ||
CertificateSignature: () => CertificateSignature, | ||
CertificateSignatureMismatch: () => CertificateSignatureMismatch, | ||
ContractDeploymentFailed: () => ContractDeploymentFailed, | ||
InvalidAbiDataToEncodeOrDecode: () => InvalidAbiDataToEncodeOrDecode, | ||
InvalidAbiFragment: () => InvalidAbiFragment, | ||
InvalidAbiItem: () => InvalidAbiItem, | ||
InvalidAbiSignatureFormat: () => InvalidAbiSignatureFormat, | ||
@@ -71,6 +71,6 @@ InvalidAddress: () => InvalidAddress, | ||
CannotFindTransaction: () => CannotFindTransaction, | ||
CertificateSignature: () => CertificateSignature, | ||
CertificateSignatureMismatch: () => CertificateSignatureMismatch, | ||
ContractDeploymentFailed: () => ContractDeploymentFailed, | ||
InvalidAbiDataToEncodeOrDecode: () => InvalidAbiDataToEncodeOrDecode, | ||
InvalidAbiFragment: () => InvalidAbiFragment, | ||
InvalidAbiItem: () => InvalidAbiItem, | ||
InvalidAbiSignatureFormat: () => InvalidAbiSignatureFormat, | ||
@@ -167,3 +167,3 @@ InvalidAddress: () => InvalidAddress, | ||
}; | ||
var InvalidAbiFragment = class extends VechainSDKError { | ||
var InvalidAbiItem = class extends VechainSDKError { | ||
}; | ||
@@ -184,3 +184,3 @@ var InvalidAbiSignatureFormat = class extends VechainSDKError { | ||
// src/available-errors/certificate/certificate.ts | ||
var CertificateSignature = class extends VechainSDKError { | ||
var CertificateSignatureMismatch = class extends VechainSDKError { | ||
}; | ||
@@ -275,6 +275,6 @@ | ||
CannotFindTransaction, | ||
CertificateSignature, | ||
CertificateSignatureMismatch, | ||
ContractDeploymentFailed, | ||
InvalidAbiDataToEncodeOrDecode, | ||
InvalidAbiFragment, | ||
InvalidAbiItem, | ||
InvalidAbiSignatureFormat, | ||
@@ -281,0 +281,0 @@ InvalidAddress, |
{ | ||
"name": "@vechain/sdk-errors", | ||
"version": "1.0.0-beta.31", | ||
"description": "This module is dedicated to managing and customizing errors within the SDK", | ||
"author": "vechain Foundation", | ||
"version": "1.0.0-beta.32", | ||
"description": "This module is dedicated to managing and customizing errors within the VeChain SDK", | ||
"author": "VeChain Foundation", | ||
"license": "MIT", | ||
@@ -16,3 +16,2 @@ "homepage": "https://github.com/vechain/vechain-sdk-js", | ||
], | ||
"private": false, | ||
"main": "dist/index.js", | ||
@@ -19,0 +18,0 @@ "module": "dist/index.mjs", |
@@ -13,10 +13,10 @@ import { VechainSDKError } from '../sdk-error'; | ||
/** | ||
* Invalid abi fragment error | ||
* Invalid ABI item error | ||
* | ||
* WHEN TO USE: | ||
* * This error will be thrown when the abi fragment is invalid. | ||
* * This error will be thrown when the ABI item is invalid. | ||
*/ | ||
class InvalidAbiFragment extends VechainSDKError<{ | ||
class InvalidAbiItem extends VechainSDKError<{ | ||
type: 'function' | 'event'; | ||
fragment: unknown; | ||
value: unknown; | ||
}> {} | ||
@@ -36,4 +36,4 @@ | ||
InvalidAbiDataToEncodeOrDecode, | ||
InvalidAbiFragment, | ||
InvalidAbiItem, | ||
InvalidAbiSignatureFormat | ||
}; |
@@ -11,4 +11,4 @@ import { VechainSDKError } from '../sdk-error'; | ||
*/ | ||
class CertificateSignature extends VechainSDKError<ObjectErrorData> {} | ||
class CertificateSignatureMismatch extends VechainSDKError<ObjectErrorData> {} | ||
export { CertificateSignature }; | ||
export { CertificateSignatureMismatch }; |
@@ -18,2 +18,2 @@ export * from './abi'; | ||
export * from './sdk-error'; | ||
export * from './types.d'; | ||
export type * from './types.d'; |
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
74226