@injectivelabs/exceptions
Advanced tools
Comparing version 1.14.6-beta.4 to 1.14.6-beta.5
@@ -9,2 +9,3 @@ import { GrpcUnaryRequestException } from './GrpcUnaryRequestException'; | ||
import { TrustWalletException } from './TrustWalletException'; | ||
import { OkxWalletException } from './OkxWalletException'; | ||
import { TrezorException } from './TrezorException'; | ||
@@ -15,5 +16,5 @@ import { CosmosWalletException } from './CosmosWalletException'; | ||
import { Exception } from '../types'; | ||
export type ThrownException = GrpcUnaryRequestException | HttpRequestException | Web3Exception | GeneralException | LedgerException | MetamaskException | TrustWalletException | TrezorException | CosmosWalletException | TransactionException | WalletException | LedgerCosmosException; | ||
export type ThrownException = GrpcUnaryRequestException | HttpRequestException | Web3Exception | GeneralException | LedgerException | MetamaskException | TrustWalletException | OkxWalletException | TrezorException | CosmosWalletException | TransactionException | WalletException | LedgerCosmosException; | ||
export declare const isThrownException: (exception: Error | Exception) => boolean; | ||
export { Web3Exception, LedgerException, TrezorException, WalletException, GeneralException, MetamaskException, TransactionException, TrustWalletException, HttpRequestException, LedgerCosmosException, CosmosWalletException, GrpcUnaryRequestException, }; | ||
export { Web3Exception, LedgerException, TrezorException, WalletException, GeneralException, MetamaskException, TransactionException, TrustWalletException, OkxWalletException, HttpRequestException, LedgerCosmosException, CosmosWalletException, GrpcUnaryRequestException, }; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GrpcUnaryRequestException = exports.CosmosWalletException = exports.LedgerCosmosException = exports.HttpRequestException = exports.TrustWalletException = exports.TransactionException = exports.MetamaskException = exports.GeneralException = exports.WalletException = exports.TrezorException = exports.LedgerException = exports.Web3Exception = exports.isThrownException = void 0; | ||
exports.GrpcUnaryRequestException = exports.CosmosWalletException = exports.LedgerCosmosException = exports.HttpRequestException = exports.OkxWalletException = exports.TrustWalletException = exports.TransactionException = exports.MetamaskException = exports.GeneralException = exports.WalletException = exports.TrezorException = exports.LedgerException = exports.Web3Exception = exports.isThrownException = void 0; | ||
const GrpcUnaryRequestException_1 = require("./GrpcUnaryRequestException"); | ||
@@ -20,2 +20,4 @@ Object.defineProperty(exports, "GrpcUnaryRequestException", { enumerable: true, get: function () { return GrpcUnaryRequestException_1.GrpcUnaryRequestException; } }); | ||
Object.defineProperty(exports, "TrustWalletException", { enumerable: true, get: function () { return TrustWalletException_1.TrustWalletException; } }); | ||
const OkxWalletException_1 = require("./OkxWalletException"); | ||
Object.defineProperty(exports, "OkxWalletException", { enumerable: true, get: function () { return OkxWalletException_1.OkxWalletException; } }); | ||
const TrezorException_1 = require("./TrezorException"); | ||
@@ -47,2 +49,3 @@ Object.defineProperty(exports, "TrezorException", { enumerable: true, get: function () { return TrezorException_1.TrezorException; } }); | ||
'TrustWalletException', | ||
'OkxWalletException', | ||
].includes(exception.constructor.name)) { | ||
@@ -49,0 +52,0 @@ return true; |
@@ -9,2 +9,3 @@ import { GrpcUnaryRequestException } from './GrpcUnaryRequestException'; | ||
import { TrustWalletException } from './TrustWalletException'; | ||
import { OkxWalletException } from './OkxWalletException'; | ||
import { TrezorException } from './TrezorException'; | ||
@@ -15,5 +16,5 @@ import { CosmosWalletException } from './CosmosWalletException'; | ||
import { Exception } from '../types'; | ||
export type ThrownException = GrpcUnaryRequestException | HttpRequestException | Web3Exception | GeneralException | LedgerException | MetamaskException | TrustWalletException | TrezorException | CosmosWalletException | TransactionException | WalletException | LedgerCosmosException; | ||
export type ThrownException = GrpcUnaryRequestException | HttpRequestException | Web3Exception | GeneralException | LedgerException | MetamaskException | TrustWalletException | OkxWalletException | TrezorException | CosmosWalletException | TransactionException | WalletException | LedgerCosmosException; | ||
export declare const isThrownException: (exception: Error | Exception) => boolean; | ||
export { Web3Exception, LedgerException, TrezorException, WalletException, GeneralException, MetamaskException, TransactionException, TrustWalletException, HttpRequestException, LedgerCosmosException, CosmosWalletException, GrpcUnaryRequestException, }; | ||
export { Web3Exception, LedgerException, TrezorException, WalletException, GeneralException, MetamaskException, TransactionException, TrustWalletException, OkxWalletException, HttpRequestException, LedgerCosmosException, CosmosWalletException, GrpcUnaryRequestException, }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -9,2 +9,3 @@ import { GrpcUnaryRequestException } from './GrpcUnaryRequestException'; | ||
import { TrustWalletException } from './TrustWalletException'; | ||
import { OkxWalletException } from './OkxWalletException'; | ||
import { TrezorException } from './TrezorException'; | ||
@@ -32,2 +33,3 @@ import { CosmosWalletException } from './CosmosWalletException'; | ||
'TrustWalletException', | ||
'OkxWalletException', | ||
].includes(exception.constructor.name)) { | ||
@@ -38,3 +40,3 @@ return true; | ||
}; | ||
export { Web3Exception, LedgerException, TrezorException, WalletException, GeneralException, MetamaskException, TransactionException, TrustWalletException, HttpRequestException, LedgerCosmosException, CosmosWalletException, GrpcUnaryRequestException, }; | ||
export { Web3Exception, LedgerException, TrezorException, WalletException, GeneralException, MetamaskException, TransactionException, TrustWalletException, OkxWalletException, HttpRequestException, LedgerCosmosException, CosmosWalletException, GrpcUnaryRequestException, }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@injectivelabs/exceptions", | ||
"description": "List of exceptions that can be reused throughout Injective's projects.", | ||
"version": "1.14.6-beta.4", | ||
"version": "1.14.6-beta.5", | ||
"sideEffects": false, | ||
@@ -40,3 +40,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "1ea8d805d93de0e3f300c375e84c5ff80e9813c6" | ||
"gitHead": "256c8d4b46dcce95c259379970ac37330288bd4b" | ||
} |
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
607413
189
7616