@injectivelabs/networks 1.16.6-alpha.0 → 1.16.6
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/README.md +1 -1
- package/dist/cjs/chainInfos.js +4 -4
- package/dist/cjs/types.d.ts +2 -2
- package/dist/esm/chainInfos.js +5 -5
- package/dist/esm/types.d.ts +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
package/dist/cjs/chainInfos.js
CHANGED
|
@@ -6,24 +6,24 @@ const INJ_DENOM = 'inj';
|
|
|
6
6
|
exports.mainnetChainInfo = {
|
|
7
7
|
feeDenom: INJ_DENOM,
|
|
8
8
|
chainId: ts_types_1.ChainId.Mainnet,
|
|
9
|
-
|
|
9
|
+
ethereumChainId: ts_types_1.EthereumChainId.Mainnet,
|
|
10
10
|
env: 'mainnet',
|
|
11
11
|
};
|
|
12
12
|
exports.testnetChainInfo = {
|
|
13
13
|
feeDenom: INJ_DENOM,
|
|
14
14
|
chainId: ts_types_1.ChainId.Testnet,
|
|
15
|
-
|
|
15
|
+
ethereumChainId: ts_types_1.EthereumChainId.Sepolia,
|
|
16
16
|
env: 'testnet',
|
|
17
17
|
};
|
|
18
18
|
exports.devnetChainInfo = {
|
|
19
19
|
feeDenom: INJ_DENOM,
|
|
20
20
|
chainId: ts_types_1.ChainId.Devnet,
|
|
21
|
-
|
|
21
|
+
ethereumChainId: ts_types_1.EthereumChainId.Sepolia,
|
|
22
22
|
env: 'devnet',
|
|
23
23
|
};
|
|
24
24
|
exports.localChainInfo = {
|
|
25
25
|
feeDenom: INJ_DENOM,
|
|
26
26
|
chainId: ts_types_1.ChainId.Mainnet,
|
|
27
|
-
|
|
27
|
+
ethereumChainId: ts_types_1.EthereumChainId.Mainnet,
|
|
28
28
|
env: 'local',
|
|
29
29
|
};
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChainId,
|
|
1
|
+
import { ChainId, EthereumChainId } from '@injectivelabs/ts-types';
|
|
2
2
|
export declare enum Network {
|
|
3
3
|
MainnetK8s = "mainnetK8s",
|
|
4
4
|
MainnetLB = "mainnetLB",
|
|
@@ -34,5 +34,5 @@ export type ChainInfo = {
|
|
|
34
34
|
feeDenom: string;
|
|
35
35
|
chainId: ChainId;
|
|
36
36
|
env: string;
|
|
37
|
-
|
|
37
|
+
ethereumChainId?: EthereumChainId;
|
|
38
38
|
};
|
package/dist/esm/chainInfos.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { ChainId,
|
|
1
|
+
import { ChainId, EthereumChainId } from '@injectivelabs/ts-types';
|
|
2
2
|
const INJ_DENOM = 'inj';
|
|
3
3
|
export const mainnetChainInfo = {
|
|
4
4
|
feeDenom: INJ_DENOM,
|
|
5
5
|
chainId: ChainId.Mainnet,
|
|
6
|
-
|
|
6
|
+
ethereumChainId: EthereumChainId.Mainnet,
|
|
7
7
|
env: 'mainnet',
|
|
8
8
|
};
|
|
9
9
|
export const testnetChainInfo = {
|
|
10
10
|
feeDenom: INJ_DENOM,
|
|
11
11
|
chainId: ChainId.Testnet,
|
|
12
|
-
|
|
12
|
+
ethereumChainId: EthereumChainId.Sepolia,
|
|
13
13
|
env: 'testnet',
|
|
14
14
|
};
|
|
15
15
|
export const devnetChainInfo = {
|
|
16
16
|
feeDenom: INJ_DENOM,
|
|
17
17
|
chainId: ChainId.Devnet,
|
|
18
|
-
|
|
18
|
+
ethereumChainId: EthereumChainId.Sepolia,
|
|
19
19
|
env: 'devnet',
|
|
20
20
|
};
|
|
21
21
|
export const localChainInfo = {
|
|
22
22
|
feeDenom: INJ_DENOM,
|
|
23
23
|
chainId: ChainId.Mainnet,
|
|
24
|
-
|
|
24
|
+
ethereumChainId: EthereumChainId.Mainnet,
|
|
25
25
|
env: 'local',
|
|
26
26
|
};
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChainId,
|
|
1
|
+
import { ChainId, EthereumChainId } from '@injectivelabs/ts-types';
|
|
2
2
|
export declare enum Network {
|
|
3
3
|
MainnetK8s = "mainnetK8s",
|
|
4
4
|
MainnetLB = "mainnetLB",
|
|
@@ -34,5 +34,5 @@ export type ChainInfo = {
|
|
|
34
34
|
feeDenom: string;
|
|
35
35
|
chainId: ChainId;
|
|
36
36
|
env: string;
|
|
37
|
-
|
|
37
|
+
ethereumChainId?: EthereumChainId;
|
|
38
38
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/networks",
|
|
3
3
|
"description": "Endpoints, networks, etc. Can be reused throughout Injective's projects.",
|
|
4
|
-
"version": "1.16.6
|
|
4
|
+
"version": "1.16.6",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
|
-
"build": "
|
|
44
|
+
"build": "yarn build:cjs && yarn build:esm && yarn build:post",
|
|
45
45
|
"build:cjs": "tsc --build --force tsconfig.build.json",
|
|
46
46
|
"build:esm": "tsc --build --force tsconfig.build.esm.json",
|
|
47
|
-
"build:watch": "tsc --build -w tsconfig.build.json && tsc -w --build tsconfig.build.esm.json &&
|
|
47
|
+
"build:watch": "tsc --build -w tsconfig.build.json && tsc -w --build tsconfig.build.esm.json && yarn build:post",
|
|
48
48
|
"build:post": "shx cp ../../etc/stub/package.json.stub dist/cjs/package.json && shx cp ../../etc/stub/package.esm.json.stub dist/esm/package.json",
|
|
49
49
|
"clean": "tsc --build tsconfig.build.json --clean && tsc --build tsconfig.build.esm.json --clean && shx rm -rf coverage *.log junit.xml dist && jest --clearCache && shx mkdir -p dist",
|
|
50
50
|
"test": "jest",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"start": "node dist/index.js"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@injectivelabs/ts-types": "1.16.6
|
|
59
|
+
"@injectivelabs/ts-types": "^1.16.6"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"shx": "^0.3.4"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "41794b09a1047a01dbb1d0e0a473a2f26305752d"
|
|
65
65
|
}
|