@injectivelabs/exceptions 1.16.15 → 1.16.17
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.
|
@@ -1,53 +1,56 @@
|
|
|
1
1
|
export declare const ContractErrorModule: {
|
|
2
|
-
readonly Erc20Contract: "erc20-contract";
|
|
3
2
|
readonly Peggy: "peggy-contract";
|
|
4
3
|
readonly PeggyOld: "peggy-old-contract";
|
|
4
|
+
readonly Erc20Contract: "erc20-contract";
|
|
5
5
|
};
|
|
6
6
|
export type ContractErrorModule = (typeof ContractErrorModule)[keyof typeof ContractErrorModule];
|
|
7
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
8
|
readonly Gov: "chain-gov";
|
|
15
9
|
readonly Ibc: "chain-ibc";
|
|
16
|
-
readonly
|
|
10
|
+
readonly Evm: "chain-evm";
|
|
11
|
+
readonly Auth: "chain-auth";
|
|
12
|
+
readonly Bank: "chain-bank";
|
|
17
13
|
readonly Mint: "chain-mint";
|
|
18
|
-
readonly Oracle: "chain-oracle";
|
|
19
|
-
readonly Peggy: "chain-peggy";
|
|
20
|
-
readonly Staking: "chain-staking";
|
|
21
14
|
readonly Wasm: "chain-wasm";
|
|
15
|
+
readonly Authz: "chain-authz";
|
|
16
|
+
readonly Peggy: "chain-peggy";
|
|
22
17
|
readonly WasmX: "chain-wasmx";
|
|
18
|
+
readonly Erc20: "chain-erc20";
|
|
19
|
+
readonly Oracle: "chain-oracle";
|
|
20
|
+
readonly TxFees: "chain-tx-fees";
|
|
21
|
+
readonly Auction: "chain-auction";
|
|
22
|
+
readonly Staking: "chain-staking";
|
|
23
|
+
readonly Exchange: "chain-exchange";
|
|
23
24
|
readonly Tendermint: "chain-tendermint";
|
|
25
|
+
readonly InsuranceFund: "chain-insurance";
|
|
24
26
|
readonly Permissions: "chain-permissions";
|
|
25
|
-
readonly
|
|
27
|
+
readonly Distribution: "chain-distribution";
|
|
26
28
|
};
|
|
27
29
|
export type ChainErrorModule = (typeof ChainErrorModule)[keyof typeof ChainErrorModule];
|
|
28
30
|
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
31
|
readonly Dmm: "dmm";
|
|
38
32
|
readonly OLP: "olp";
|
|
33
|
+
readonly Abacus: "abacus";
|
|
34
|
+
readonly Meta: "indexer-meta";
|
|
35
|
+
readonly Mito: "indexer-mito";
|
|
39
36
|
readonly Referral: "referral";
|
|
37
|
+
readonly Spot: "indexer-spot";
|
|
38
|
+
readonly Web3Gw: "web3-gateway";
|
|
40
39
|
readonly Oracle: "indexer-oracle";
|
|
40
|
+
readonly Account: "indexer-account";
|
|
41
|
+
readonly Auction: "indexer-auction";
|
|
42
|
+
readonly Trading: "indexer-trading";
|
|
43
|
+
readonly Archiver: "indexer-archiver";
|
|
44
|
+
readonly Explorer: "indexer-explorer";
|
|
45
|
+
readonly Campaign: "indexer-campaign";
|
|
41
46
|
readonly Portfolio: "indexer-portfolio";
|
|
42
|
-
readonly
|
|
47
|
+
readonly MegaVault: "indexer-mega-vault";
|
|
48
|
+
readonly Derivatives: "indexer-derivatives";
|
|
43
49
|
readonly Transaction: "indexer-transaction";
|
|
44
|
-
readonly Trading: "indexer-trading";
|
|
45
|
-
readonly ChronosDerivative: "indexer-chronos-derivative";
|
|
46
50
|
readonly ChronosSpot: "indexer-chronos-spot";
|
|
51
|
+
readonly InsuranceFund: "indexer-insurance-fund";
|
|
47
52
|
readonly ChronosMarkets: "indexer-chronos-markets";
|
|
48
|
-
readonly
|
|
49
|
-
readonly Web3Gw: "web3-gateway";
|
|
50
|
-
readonly Abacus: "abacus";
|
|
53
|
+
readonly ChronosDerivative: "indexer-chronos-derivative";
|
|
51
54
|
};
|
|
52
55
|
export type IndexerErrorModule = (typeof IndexerErrorModule)[keyof typeof IndexerErrorModule];
|
|
53
56
|
export declare const WalletErrorActionModule: {
|
|
@@ -2,53 +2,56 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WalletErrorActionModule = exports.IndexerErrorModule = exports.ChainErrorModule = exports.ContractErrorModule = void 0;
|
|
4
4
|
exports.ContractErrorModule = {
|
|
5
|
-
Erc20Contract: 'erc20-contract',
|
|
6
5
|
Peggy: 'peggy-contract',
|
|
7
6
|
PeggyOld: 'peggy-old-contract',
|
|
7
|
+
Erc20Contract: 'erc20-contract',
|
|
8
8
|
};
|
|
9
9
|
exports.ChainErrorModule = {
|
|
10
|
-
Auction: 'chain-auction',
|
|
11
|
-
Auth: 'chain-auth',
|
|
12
|
-
Authz: 'chain-authz',
|
|
13
|
-
Bank: 'chain-bank',
|
|
14
|
-
Distribution: 'chain-distribution',
|
|
15
|
-
Exchange: 'chain-exchange',
|
|
16
10
|
Gov: 'chain-gov',
|
|
17
11
|
Ibc: 'chain-ibc',
|
|
18
|
-
|
|
12
|
+
Evm: 'chain-evm',
|
|
13
|
+
Auth: 'chain-auth',
|
|
14
|
+
Bank: 'chain-bank',
|
|
19
15
|
Mint: 'chain-mint',
|
|
20
|
-
Oracle: 'chain-oracle',
|
|
21
|
-
Peggy: 'chain-peggy',
|
|
22
|
-
Staking: 'chain-staking',
|
|
23
16
|
Wasm: 'chain-wasm',
|
|
17
|
+
Authz: 'chain-authz',
|
|
18
|
+
Peggy: 'chain-peggy',
|
|
24
19
|
WasmX: 'chain-wasmx',
|
|
20
|
+
Erc20: 'chain-erc20',
|
|
21
|
+
Oracle: 'chain-oracle',
|
|
22
|
+
TxFees: 'chain-tx-fees',
|
|
23
|
+
Auction: 'chain-auction',
|
|
24
|
+
Staking: 'chain-staking',
|
|
25
|
+
Exchange: 'chain-exchange',
|
|
25
26
|
Tendermint: 'chain-tendermint',
|
|
27
|
+
InsuranceFund: 'chain-insurance',
|
|
26
28
|
Permissions: 'chain-permissions',
|
|
27
|
-
|
|
29
|
+
Distribution: 'chain-distribution',
|
|
28
30
|
};
|
|
29
31
|
exports.IndexerErrorModule = {
|
|
30
|
-
Account: 'indexer-account',
|
|
31
|
-
Auction: 'indexer-auction',
|
|
32
|
-
Archiver: 'indexer-archiver',
|
|
33
|
-
Derivatives: 'indexer-derivatives',
|
|
34
|
-
Explorer: 'indexer-explorer',
|
|
35
|
-
InsuranceFund: 'indexer-insurance-fund',
|
|
36
|
-
Meta: 'indexer-meta',
|
|
37
|
-
Mito: 'indexer-mito',
|
|
38
32
|
Dmm: 'dmm',
|
|
39
33
|
OLP: 'olp',
|
|
34
|
+
Abacus: 'abacus',
|
|
35
|
+
Meta: 'indexer-meta',
|
|
36
|
+
Mito: 'indexer-mito',
|
|
40
37
|
Referral: 'referral',
|
|
38
|
+
Spot: 'indexer-spot',
|
|
39
|
+
Web3Gw: 'web3-gateway',
|
|
41
40
|
Oracle: 'indexer-oracle',
|
|
41
|
+
Account: 'indexer-account',
|
|
42
|
+
Auction: 'indexer-auction',
|
|
43
|
+
Trading: 'indexer-trading',
|
|
44
|
+
Archiver: 'indexer-archiver',
|
|
45
|
+
Explorer: 'indexer-explorer',
|
|
46
|
+
Campaign: 'indexer-campaign',
|
|
42
47
|
Portfolio: 'indexer-portfolio',
|
|
43
|
-
|
|
48
|
+
MegaVault: 'indexer-mega-vault',
|
|
49
|
+
Derivatives: 'indexer-derivatives',
|
|
44
50
|
Transaction: 'indexer-transaction',
|
|
45
|
-
Trading: 'indexer-trading',
|
|
46
|
-
ChronosDerivative: 'indexer-chronos-derivative',
|
|
47
51
|
ChronosSpot: 'indexer-chronos-spot',
|
|
52
|
+
InsuranceFund: 'indexer-insurance-fund',
|
|
48
53
|
ChronosMarkets: 'indexer-chronos-markets',
|
|
49
|
-
|
|
50
|
-
Web3Gw: 'web3-gateway',
|
|
51
|
-
Abacus: 'abacus',
|
|
54
|
+
ChronosDerivative: 'indexer-chronos-derivative',
|
|
52
55
|
};
|
|
53
56
|
exports.WalletErrorActionModule = {
|
|
54
57
|
GetChainId: 'get-chain-id',
|
|
@@ -1,53 +1,56 @@
|
|
|
1
1
|
export declare const ContractErrorModule: {
|
|
2
|
-
readonly Erc20Contract: "erc20-contract";
|
|
3
2
|
readonly Peggy: "peggy-contract";
|
|
4
3
|
readonly PeggyOld: "peggy-old-contract";
|
|
4
|
+
readonly Erc20Contract: "erc20-contract";
|
|
5
5
|
};
|
|
6
6
|
export type ContractErrorModule = (typeof ContractErrorModule)[keyof typeof ContractErrorModule];
|
|
7
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
8
|
readonly Gov: "chain-gov";
|
|
15
9
|
readonly Ibc: "chain-ibc";
|
|
16
|
-
readonly
|
|
10
|
+
readonly Evm: "chain-evm";
|
|
11
|
+
readonly Auth: "chain-auth";
|
|
12
|
+
readonly Bank: "chain-bank";
|
|
17
13
|
readonly Mint: "chain-mint";
|
|
18
|
-
readonly Oracle: "chain-oracle";
|
|
19
|
-
readonly Peggy: "chain-peggy";
|
|
20
|
-
readonly Staking: "chain-staking";
|
|
21
14
|
readonly Wasm: "chain-wasm";
|
|
15
|
+
readonly Authz: "chain-authz";
|
|
16
|
+
readonly Peggy: "chain-peggy";
|
|
22
17
|
readonly WasmX: "chain-wasmx";
|
|
18
|
+
readonly Erc20: "chain-erc20";
|
|
19
|
+
readonly Oracle: "chain-oracle";
|
|
20
|
+
readonly TxFees: "chain-tx-fees";
|
|
21
|
+
readonly Auction: "chain-auction";
|
|
22
|
+
readonly Staking: "chain-staking";
|
|
23
|
+
readonly Exchange: "chain-exchange";
|
|
23
24
|
readonly Tendermint: "chain-tendermint";
|
|
25
|
+
readonly InsuranceFund: "chain-insurance";
|
|
24
26
|
readonly Permissions: "chain-permissions";
|
|
25
|
-
readonly
|
|
27
|
+
readonly Distribution: "chain-distribution";
|
|
26
28
|
};
|
|
27
29
|
export type ChainErrorModule = (typeof ChainErrorModule)[keyof typeof ChainErrorModule];
|
|
28
30
|
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
31
|
readonly Dmm: "dmm";
|
|
38
32
|
readonly OLP: "olp";
|
|
33
|
+
readonly Abacus: "abacus";
|
|
34
|
+
readonly Meta: "indexer-meta";
|
|
35
|
+
readonly Mito: "indexer-mito";
|
|
39
36
|
readonly Referral: "referral";
|
|
37
|
+
readonly Spot: "indexer-spot";
|
|
38
|
+
readonly Web3Gw: "web3-gateway";
|
|
40
39
|
readonly Oracle: "indexer-oracle";
|
|
40
|
+
readonly Account: "indexer-account";
|
|
41
|
+
readonly Auction: "indexer-auction";
|
|
42
|
+
readonly Trading: "indexer-trading";
|
|
43
|
+
readonly Archiver: "indexer-archiver";
|
|
44
|
+
readonly Explorer: "indexer-explorer";
|
|
45
|
+
readonly Campaign: "indexer-campaign";
|
|
41
46
|
readonly Portfolio: "indexer-portfolio";
|
|
42
|
-
readonly
|
|
47
|
+
readonly MegaVault: "indexer-mega-vault";
|
|
48
|
+
readonly Derivatives: "indexer-derivatives";
|
|
43
49
|
readonly Transaction: "indexer-transaction";
|
|
44
|
-
readonly Trading: "indexer-trading";
|
|
45
|
-
readonly ChronosDerivative: "indexer-chronos-derivative";
|
|
46
50
|
readonly ChronosSpot: "indexer-chronos-spot";
|
|
51
|
+
readonly InsuranceFund: "indexer-insurance-fund";
|
|
47
52
|
readonly ChronosMarkets: "indexer-chronos-markets";
|
|
48
|
-
readonly
|
|
49
|
-
readonly Web3Gw: "web3-gateway";
|
|
50
|
-
readonly Abacus: "abacus";
|
|
53
|
+
readonly ChronosDerivative: "indexer-chronos-derivative";
|
|
51
54
|
};
|
|
52
55
|
export type IndexerErrorModule = (typeof IndexerErrorModule)[keyof typeof IndexerErrorModule];
|
|
53
56
|
export declare const WalletErrorActionModule: {
|
|
@@ -1,51 +1,54 @@
|
|
|
1
1
|
export const ContractErrorModule = {
|
|
2
|
-
Erc20Contract: 'erc20-contract',
|
|
3
2
|
Peggy: 'peggy-contract',
|
|
4
3
|
PeggyOld: 'peggy-old-contract',
|
|
4
|
+
Erc20Contract: 'erc20-contract',
|
|
5
5
|
};
|
|
6
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
7
|
Gov: 'chain-gov',
|
|
14
8
|
Ibc: 'chain-ibc',
|
|
15
|
-
|
|
9
|
+
Evm: 'chain-evm',
|
|
10
|
+
Auth: 'chain-auth',
|
|
11
|
+
Bank: 'chain-bank',
|
|
16
12
|
Mint: 'chain-mint',
|
|
17
|
-
Oracle: 'chain-oracle',
|
|
18
|
-
Peggy: 'chain-peggy',
|
|
19
|
-
Staking: 'chain-staking',
|
|
20
13
|
Wasm: 'chain-wasm',
|
|
14
|
+
Authz: 'chain-authz',
|
|
15
|
+
Peggy: 'chain-peggy',
|
|
21
16
|
WasmX: 'chain-wasmx',
|
|
17
|
+
Erc20: 'chain-erc20',
|
|
18
|
+
Oracle: 'chain-oracle',
|
|
19
|
+
TxFees: 'chain-tx-fees',
|
|
20
|
+
Auction: 'chain-auction',
|
|
21
|
+
Staking: 'chain-staking',
|
|
22
|
+
Exchange: 'chain-exchange',
|
|
22
23
|
Tendermint: 'chain-tendermint',
|
|
24
|
+
InsuranceFund: 'chain-insurance',
|
|
23
25
|
Permissions: 'chain-permissions',
|
|
24
|
-
|
|
26
|
+
Distribution: 'chain-distribution',
|
|
25
27
|
};
|
|
26
28
|
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
29
|
Dmm: 'dmm',
|
|
36
30
|
OLP: 'olp',
|
|
31
|
+
Abacus: 'abacus',
|
|
32
|
+
Meta: 'indexer-meta',
|
|
33
|
+
Mito: 'indexer-mito',
|
|
37
34
|
Referral: 'referral',
|
|
35
|
+
Spot: 'indexer-spot',
|
|
36
|
+
Web3Gw: 'web3-gateway',
|
|
38
37
|
Oracle: 'indexer-oracle',
|
|
38
|
+
Account: 'indexer-account',
|
|
39
|
+
Auction: 'indexer-auction',
|
|
40
|
+
Trading: 'indexer-trading',
|
|
41
|
+
Archiver: 'indexer-archiver',
|
|
42
|
+
Explorer: 'indexer-explorer',
|
|
43
|
+
Campaign: 'indexer-campaign',
|
|
39
44
|
Portfolio: 'indexer-portfolio',
|
|
40
|
-
|
|
45
|
+
MegaVault: 'indexer-mega-vault',
|
|
46
|
+
Derivatives: 'indexer-derivatives',
|
|
41
47
|
Transaction: 'indexer-transaction',
|
|
42
|
-
Trading: 'indexer-trading',
|
|
43
|
-
ChronosDerivative: 'indexer-chronos-derivative',
|
|
44
48
|
ChronosSpot: 'indexer-chronos-spot',
|
|
49
|
+
InsuranceFund: 'indexer-insurance-fund',
|
|
45
50
|
ChronosMarkets: 'indexer-chronos-markets',
|
|
46
|
-
|
|
47
|
-
Web3Gw: 'web3-gateway',
|
|
48
|
-
Abacus: 'abacus',
|
|
51
|
+
ChronosDerivative: 'indexer-chronos-derivative',
|
|
49
52
|
};
|
|
50
53
|
export const WalletErrorActionModule = {
|
|
51
54
|
GetChainId: 'get-chain-id',
|
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.17",
|
|
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": "c99ac11b35e7a212f6a1f82cbf35540d6d053062"
|
|
65
65
|
}
|