@injectivelabs/exceptions 1.16.11 → 1.16.13-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/exceptions/base.d.ts +2 -1
- package/dist/cjs/exceptions/base.js +1 -2
- package/dist/cjs/exceptions/exceptions/BitGetException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/BitGetException.js +1 -1
- package/dist/cjs/exceptions/exceptions/CosmosWalletException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/CosmosWalletException.js +1 -1
- package/dist/cjs/exceptions/exceptions/GrpcUnaryRequestException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/HttpRequestException.d.ts +2 -1
- package/dist/cjs/exceptions/exceptions/LedgerCosmosException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/LedgerCosmosException.js +1 -1
- package/dist/cjs/exceptions/exceptions/LedgerException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/LedgerException.js +1 -1
- package/dist/cjs/exceptions/exceptions/MetamaskException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/MetamaskException.js +1 -1
- package/dist/cjs/exceptions/exceptions/OkxWalletException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/OkxWalletException.js +1 -1
- package/dist/cjs/exceptions/exceptions/RabbyWalletException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/RabbyWalletException.js +1 -1
- package/dist/cjs/exceptions/exceptions/RainbowWalletException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/RainbowWalletException.js +1 -1
- package/dist/cjs/exceptions/exceptions/TransactionException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/TransactionException.js +1 -1
- package/dist/cjs/exceptions/exceptions/TrezorException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/TrezorException.js +1 -1
- package/dist/cjs/exceptions/exceptions/TrustWalletException.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/TrustWalletException.js +1 -1
- package/dist/cjs/exceptions/exceptions/Web3Exception.d.ts +1 -1
- package/dist/cjs/exceptions/exceptions/Web3Exception.js +1 -1
- package/dist/cjs/exceptions/exceptions/index.d.ts +3 -3
- package/dist/cjs/exceptions/exceptions/index.js +6 -6
- package/dist/cjs/exceptions/messages.d.ts +2 -1
- package/dist/cjs/exceptions/types/codes.d.ts +437 -420
- package/dist/cjs/exceptions/types/codes.js +418 -435
- package/dist/cjs/exceptions/types/context.d.ts +21 -19
- package/dist/cjs/exceptions/types/context.js +18 -20
- package/dist/cjs/exceptions/types/modules.d.ts +64 -60
- package/dist/cjs/exceptions/types/modules.js +60 -64
- package/dist/cjs/exceptions/utils/maps.d.ts +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/types.d.ts +1 -1
- package/dist/cjs/utils.d.ts +2 -2
- package/dist/esm/exceptions/base.d.ts +2 -1
- package/dist/esm/exceptions/base.js +2 -3
- package/dist/esm/exceptions/exceptions/BitGetException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/BitGetException.js +1 -1
- package/dist/esm/exceptions/exceptions/CosmosWalletException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/CosmosWalletException.js +1 -1
- package/dist/esm/exceptions/exceptions/GrpcUnaryRequestException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/HttpRequestException.d.ts +2 -1
- package/dist/esm/exceptions/exceptions/LedgerCosmosException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/LedgerCosmosException.js +1 -1
- package/dist/esm/exceptions/exceptions/LedgerException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/LedgerException.js +1 -1
- package/dist/esm/exceptions/exceptions/MetamaskException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/MetamaskException.js +1 -1
- package/dist/esm/exceptions/exceptions/OkxWalletException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/OkxWalletException.js +1 -1
- package/dist/esm/exceptions/exceptions/RabbyWalletException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/RabbyWalletException.js +1 -1
- package/dist/esm/exceptions/exceptions/RainbowWalletException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/RainbowWalletException.js +1 -1
- package/dist/esm/exceptions/exceptions/TransactionException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/TransactionException.js +1 -1
- package/dist/esm/exceptions/exceptions/TrezorException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/TrezorException.js +1 -1
- package/dist/esm/exceptions/exceptions/TrustWalletException.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/TrustWalletException.js +1 -1
- package/dist/esm/exceptions/exceptions/Web3Exception.d.ts +1 -1
- package/dist/esm/exceptions/exceptions/Web3Exception.js +1 -1
- package/dist/esm/exceptions/exceptions/index.d.ts +3 -3
- package/dist/esm/exceptions/exceptions/index.js +3 -3
- package/dist/esm/exceptions/messages.d.ts +2 -1
- package/dist/esm/exceptions/types/codes.d.ts +437 -420
- package/dist/esm/exceptions/types/codes.js +417 -434
- package/dist/esm/exceptions/types/context.d.ts +21 -19
- package/dist/esm/exceptions/types/context.js +18 -20
- package/dist/esm/exceptions/types/modules.d.ts +64 -60
- package/dist/esm/exceptions/types/modules.js +60 -64
- package/dist/esm/exceptions/utils/maps.d.ts +1 -1
- package/dist/esm/exceptions/utils/maps.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +0 -1
- package/dist/esm/types.d.ts +1 -1
- package/dist/esm/utils.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { ErrorCode, ErrorContextCode } from './codes.js';
|
|
2
|
-
export declare
|
|
3
|
-
Get
|
|
4
|
-
Post
|
|
5
|
-
Options
|
|
6
|
-
}
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import type { ErrorCode, ErrorContextCode } from './codes.js';
|
|
2
|
+
export declare const HttpRequestMethod: {
|
|
3
|
+
readonly Get: "GET";
|
|
4
|
+
readonly Post: "POST";
|
|
5
|
+
readonly Options: "OPTIONS";
|
|
6
|
+
};
|
|
7
|
+
export type HttpRequestMethod = typeof HttpRequestMethod[keyof typeof HttpRequestMethod];
|
|
8
|
+
export declare const ErrorType: {
|
|
9
|
+
readonly Unspecified: "unspecified";
|
|
10
|
+
readonly ChainError: "chain-error";
|
|
11
|
+
readonly ExecutionError: "execution-error";
|
|
12
|
+
readonly NotFoundError: "not-found-error";
|
|
13
|
+
readonly ValidationError: "validation-error";
|
|
14
|
+
readonly WalletError: "wallet-error";
|
|
15
|
+
readonly WalletNotInstalledError: "wallet-not-installed-error";
|
|
16
|
+
readonly GrpcUnaryRequest: "grpc-unary-request";
|
|
17
|
+
readonly HttpRequest: "http-request";
|
|
18
|
+
readonly Web3: "web3";
|
|
19
|
+
readonly Web3Gateway: "web3-gateway";
|
|
20
|
+
};
|
|
21
|
+
export type ErrorType = typeof ErrorType[keyof typeof ErrorType];
|
|
20
22
|
export interface ErrorContext {
|
|
21
23
|
code?: ErrorCode;
|
|
22
24
|
type?: ErrorType;
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
ErrorType["Web3Gateway"] = "web3-gateway";
|
|
20
|
-
})(ErrorType || (ErrorType = {}));
|
|
1
|
+
export const HttpRequestMethod = {
|
|
2
|
+
Get: 'GET',
|
|
3
|
+
Post: 'POST',
|
|
4
|
+
Options: 'OPTIONS',
|
|
5
|
+
};
|
|
6
|
+
export const ErrorType = {
|
|
7
|
+
Unspecified: 'unspecified',
|
|
8
|
+
ChainError: 'chain-error',
|
|
9
|
+
ExecutionError: 'execution-error',
|
|
10
|
+
NotFoundError: 'not-found-error',
|
|
11
|
+
ValidationError: 'validation-error',
|
|
12
|
+
WalletError: 'wallet-error',
|
|
13
|
+
WalletNotInstalledError: 'wallet-not-installed-error',
|
|
14
|
+
GrpcUnaryRequest: 'grpc-unary-request',
|
|
15
|
+
HttpRequest: 'http-request',
|
|
16
|
+
Web3: 'web3',
|
|
17
|
+
Web3Gateway: 'web3-gateway',
|
|
18
|
+
};
|
|
@@ -1,60 +1,64 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
Erc20Contract
|
|
3
|
-
Peggy
|
|
4
|
-
PeggyOld
|
|
5
|
-
}
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
1
|
+
export declare const ContractErrorModule: {
|
|
2
|
+
readonly Erc20Contract: "erc20-contract";
|
|
3
|
+
readonly Peggy: "peggy-contract";
|
|
4
|
+
readonly PeggyOld: "peggy-old-contract";
|
|
5
|
+
};
|
|
6
|
+
export type ContractErrorModule = typeof ContractErrorModule[keyof typeof ContractErrorModule];
|
|
7
|
+
export declare const ChainErrorModule: {
|
|
8
|
+
readonly Auction: "chain-auction";
|
|
9
|
+
readonly Auth: "chain-auth";
|
|
10
|
+
readonly Authz: "chain-authz";
|
|
11
|
+
readonly Bank: "chain-bank";
|
|
12
|
+
readonly Distribution: "chain-distribution";
|
|
13
|
+
readonly Exchange: "chain-exchange";
|
|
14
|
+
readonly Gov: "chain-gov";
|
|
15
|
+
readonly Ibc: "chain-ibc";
|
|
16
|
+
readonly InsuranceFund: "chain-insurance";
|
|
17
|
+
readonly Mint: "chain-mint";
|
|
18
|
+
readonly Oracle: "chain-oracle";
|
|
19
|
+
readonly Peggy: "chain-peggy";
|
|
20
|
+
readonly Staking: "chain-staking";
|
|
21
|
+
readonly Wasm: "chain-wasm";
|
|
22
|
+
readonly WasmX: "chain-wasmx";
|
|
23
|
+
readonly Tendermint: "chain-tendermint";
|
|
24
|
+
readonly Permissions: "chain-permissions";
|
|
25
|
+
readonly TxFees: "chain-tx-fees";
|
|
26
|
+
};
|
|
27
|
+
export type ChainErrorModule = typeof ChainErrorModule[keyof typeof ChainErrorModule];
|
|
28
|
+
export declare const IndexerErrorModule: {
|
|
29
|
+
readonly Account: "indexer-account";
|
|
30
|
+
readonly Auction: "indexer-auction";
|
|
31
|
+
readonly Archiver: "indexer-archiver";
|
|
32
|
+
readonly Derivatives: "indexer-derivatives";
|
|
33
|
+
readonly Explorer: "indexer-explorer";
|
|
34
|
+
readonly InsuranceFund: "indexer-insurance-fund";
|
|
35
|
+
readonly Meta: "indexer-meta";
|
|
36
|
+
readonly Mito: "indexer-mito";
|
|
37
|
+
readonly Dmm: "dmm";
|
|
38
|
+
readonly OLP: "olp";
|
|
39
|
+
readonly Referral: "referral";
|
|
40
|
+
readonly Oracle: "indexer-oracle";
|
|
41
|
+
readonly Portfolio: "indexer-portfolio";
|
|
42
|
+
readonly Spot: "indexer-spot";
|
|
43
|
+
readonly Transaction: "indexer-transaction";
|
|
44
|
+
readonly Trading: "indexer-trading";
|
|
45
|
+
readonly ChronosDerivative: "indexer-chronos-derivative";
|
|
46
|
+
readonly ChronosSpot: "indexer-chronos-spot";
|
|
47
|
+
readonly ChronosMarkets: "indexer-chronos-markets";
|
|
48
|
+
readonly Campaign: "indexer-campaign";
|
|
49
|
+
readonly Web3Gw: "web3-gateway";
|
|
50
|
+
readonly Abacus: "abacus";
|
|
51
|
+
};
|
|
52
|
+
export type IndexerErrorModule = typeof IndexerErrorModule[keyof typeof IndexerErrorModule];
|
|
53
|
+
export declare const WalletErrorActionModule: {
|
|
54
|
+
readonly GetChainId: "get-chain-id";
|
|
55
|
+
readonly GetAccounts: "get-accounts";
|
|
56
|
+
readonly GetNetworkId: "get-network-id";
|
|
57
|
+
readonly SignArbitrary: "sign-arbitrary";
|
|
58
|
+
readonly SignTransaction: "sign-transaction";
|
|
59
|
+
readonly SendTransaction: "send-transaction";
|
|
60
|
+
readonly SendEvmTransaction: "send-evm-transaction";
|
|
61
|
+
readonly SignEvmTransaction: "sign-evm-transaction";
|
|
62
|
+
readonly GetEvmTransactionReceipt: "get-evm-transaction-receipt";
|
|
63
|
+
};
|
|
64
|
+
export type WalletErrorActionModule = typeof WalletErrorActionModule[keyof typeof WalletErrorActionModule];
|
|
@@ -1,64 +1,60 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
WalletErrorActionModule["SendEvmTransaction"] = "send-evm-transaction";
|
|
62
|
-
WalletErrorActionModule["SignEvmTransaction"] = "sign-evm-transaction";
|
|
63
|
-
WalletErrorActionModule["GetEvmTransactionReceipt"] = "get-evm-transaction-receipt";
|
|
64
|
-
})(WalletErrorActionModule || (WalletErrorActionModule = {}));
|
|
1
|
+
export const ContractErrorModule = {
|
|
2
|
+
Erc20Contract: 'erc20-contract',
|
|
3
|
+
Peggy: 'peggy-contract',
|
|
4
|
+
PeggyOld: 'peggy-old-contract',
|
|
5
|
+
};
|
|
6
|
+
export const ChainErrorModule = {
|
|
7
|
+
Auction: 'chain-auction',
|
|
8
|
+
Auth: 'chain-auth',
|
|
9
|
+
Authz: 'chain-authz',
|
|
10
|
+
Bank: 'chain-bank',
|
|
11
|
+
Distribution: 'chain-distribution',
|
|
12
|
+
Exchange: 'chain-exchange',
|
|
13
|
+
Gov: 'chain-gov',
|
|
14
|
+
Ibc: 'chain-ibc',
|
|
15
|
+
InsuranceFund: 'chain-insurance',
|
|
16
|
+
Mint: 'chain-mint',
|
|
17
|
+
Oracle: 'chain-oracle',
|
|
18
|
+
Peggy: 'chain-peggy',
|
|
19
|
+
Staking: 'chain-staking',
|
|
20
|
+
Wasm: 'chain-wasm',
|
|
21
|
+
WasmX: 'chain-wasmx',
|
|
22
|
+
Tendermint: 'chain-tendermint',
|
|
23
|
+
Permissions: 'chain-permissions',
|
|
24
|
+
TxFees: 'chain-tx-fees',
|
|
25
|
+
};
|
|
26
|
+
export const IndexerErrorModule = {
|
|
27
|
+
Account: 'indexer-account',
|
|
28
|
+
Auction: 'indexer-auction',
|
|
29
|
+
Archiver: 'indexer-archiver',
|
|
30
|
+
Derivatives: 'indexer-derivatives',
|
|
31
|
+
Explorer: 'indexer-explorer',
|
|
32
|
+
InsuranceFund: 'indexer-insurance-fund',
|
|
33
|
+
Meta: 'indexer-meta',
|
|
34
|
+
Mito: 'indexer-mito',
|
|
35
|
+
Dmm: 'dmm',
|
|
36
|
+
OLP: 'olp',
|
|
37
|
+
Referral: 'referral',
|
|
38
|
+
Oracle: 'indexer-oracle',
|
|
39
|
+
Portfolio: 'indexer-portfolio',
|
|
40
|
+
Spot: 'indexer-spot',
|
|
41
|
+
Transaction: 'indexer-transaction',
|
|
42
|
+
Trading: 'indexer-trading',
|
|
43
|
+
ChronosDerivative: 'indexer-chronos-derivative',
|
|
44
|
+
ChronosSpot: 'indexer-chronos-spot',
|
|
45
|
+
ChronosMarkets: 'indexer-chronos-markets',
|
|
46
|
+
Campaign: 'indexer-campaign',
|
|
47
|
+
Web3Gw: 'web3-gateway',
|
|
48
|
+
Abacus: 'abacus',
|
|
49
|
+
};
|
|
50
|
+
export const WalletErrorActionModule = {
|
|
51
|
+
GetChainId: 'get-chain-id',
|
|
52
|
+
GetAccounts: 'get-accounts',
|
|
53
|
+
GetNetworkId: 'get-network-id',
|
|
54
|
+
SignArbitrary: 'sign-arbitrary',
|
|
55
|
+
SignTransaction: 'sign-transaction',
|
|
56
|
+
SendTransaction: 'send-transaction',
|
|
57
|
+
SendEvmTransaction: 'send-evm-transaction',
|
|
58
|
+
SignEvmTransaction: 'sign-evm-transaction',
|
|
59
|
+
GetEvmTransactionReceipt: 'get-evm-transaction-receipt',
|
|
60
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ErrorContext, ErrorContextCode, TransactionChainErrorModule } from '../types/index.js';
|
|
1
|
+
import type { ErrorContext, ErrorContextCode, TransactionChainErrorModule } from '../types/index.js';
|
|
2
2
|
export declare const parseErrorMessage: (message: string) => string;
|
|
3
3
|
export declare const mapFailedTransactionMessageFromString: (message: string) => {
|
|
4
4
|
message: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UnspecifiedErrorCode
|
|
1
|
+
import { UnspecifiedErrorCode } from '../types/index.js';
|
|
2
2
|
import { chainErrorMessagesMap, chainModuleCodeErrorMessagesMap, } from '../messages.js';
|
|
3
3
|
export const parseErrorMessage = (message) => {
|
|
4
4
|
const firstParse = message.split('message index: 0:');
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Web3Exception, WalletException, TrezorException, BitGetException, LedgerException, GeneralException, MetamaskException, OkxWalletException, HttpRequestException, LedgerCosmosException, TrustWalletException, CosmosWalletException, TransactionException, GrpcUnaryRequestException } from './exceptions/exceptions/index.js';
|
|
1
|
+
import type { Web3Exception, WalletException, TrezorException, BitGetException, LedgerException, GeneralException, MetamaskException, OkxWalletException, HttpRequestException, LedgerCosmosException, TrustWalletException, CosmosWalletException, TransactionException, GrpcUnaryRequestException } from './exceptions/exceptions/index.js';
|
|
2
2
|
export type ThrownException = GrpcUnaryRequestException | HttpRequestException | Web3Exception | GeneralException | LedgerException | MetamaskException | TrustWalletException | OkxWalletException | TrezorException | CosmosWalletException | TransactionException | WalletException | LedgerCosmosException | BitGetException;
|
package/dist/esm/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ThrownException } from './types.js';
|
|
2
|
+
import type { Exception } from './exceptions/types/index.js';
|
|
3
3
|
export declare const THROWN_EXCEPTIONS: string[];
|
|
4
4
|
export declare const isThrownException: (exception: Error | Exception | ThrownException) => boolean;
|
|
5
5
|
export declare const formatNotificationDescription: (description: string) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/exceptions",
|
|
3
3
|
"description": "List of exceptions that can be reused throughout Injective's projects.",
|
|
4
|
-
"version": "1.16.
|
|
4
|
+
"version": "1.16.13-alpha.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"type": "module",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"shx": "^0.3.4"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "bb71ac9147c0a2f0946ea0c316caf094fbbe2f2c"
|
|
65
65
|
}
|