@injectivelabs/networks 1.16.30 → 1.16.32

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.
@@ -8,11 +8,11 @@ const getMainnetChainInfo = () => ({
8
8
  feeDenom: exports.INJ_DENOM,
9
9
  chainId: ts_types_1.ChainId.Mainnet,
10
10
  evmChainId: ts_types_1.EvmChainId.Mainnet,
11
- wInjAddress: exports.WINJ_ADDRESS,
12
11
  env: 'mainnet',
13
- evmNetworkParams: {
12
+ injectiveEvmNetworkParams: {
13
+ wInjAddress: exports.WINJ_ADDRESS,
14
14
  chainName: 'Injective EVM',
15
- chainId: `0x${ts_types_1.EvmChainId.Mainnet.toString(16)}`,
15
+ chainId: `0x${ts_types_1.EvmChainId.MainnetEvm.toString(16)}`,
16
16
  nativeCurrency: {
17
17
  name: 'Injective',
18
18
  symbol: 'INJ',
@@ -25,11 +25,11 @@ const getTestnetChainInfo = () => ({
25
25
  feeDenom: exports.INJ_DENOM,
26
26
  chainId: ts_types_1.ChainId.Testnet,
27
27
  evmChainId: ts_types_1.EvmChainId.Sepolia,
28
- wInjAddress: exports.WINJ_ADDRESS,
29
28
  env: 'testnet',
30
- evmNetworkParams: {
31
- chainName: 'Sepolia',
32
- chainId: `0x${ts_types_1.EvmChainId.Sepolia.toString(16)}`,
29
+ injectiveEvmNetworkParams: {
30
+ wInjAddress: exports.WINJ_ADDRESS,
31
+ chainName: 'Injective EVM Testnet',
32
+ chainId: `0x${ts_types_1.EvmChainId.MainnetEvm.toString(16)}`,
33
33
  nativeCurrency: {
34
34
  name: 'Injective',
35
35
  symbol: 'INJ',
@@ -42,11 +42,11 @@ const getDevnetChainInfo = () => ({
42
42
  feeDenom: exports.INJ_DENOM,
43
43
  chainId: ts_types_1.ChainId.Devnet,
44
44
  evmChainId: ts_types_1.EvmChainId.Sepolia,
45
- wInjAddress: exports.WINJ_ADDRESS,
46
45
  env: 'devnet',
47
- evmNetworkParams: {
48
- chainName: 'Sepolia',
49
- chainId: `0x${ts_types_1.EvmChainId.Sepolia.toString(16)}`,
46
+ injectiveEvmNetworkParams: {
47
+ wInjAddress: exports.WINJ_ADDRESS,
48
+ chainName: 'Injective EVM Devnet',
49
+ chainId: `0x${ts_types_1.EvmChainId.DevnetEvm.toString(16)}`,
50
50
  nativeCurrency: {
51
51
  name: 'Injective',
52
52
  symbol: 'INJ',
@@ -58,12 +58,12 @@ exports.getDevnetChainInfo = getDevnetChainInfo;
58
58
  const getLocalChainInfo = () => ({
59
59
  feeDenom: exports.INJ_DENOM,
60
60
  chainId: ts_types_1.ChainId.Mainnet,
61
- evmChainId: ts_types_1.EvmChainId.Mainnet,
62
- wInjAddress: exports.WINJ_ADDRESS,
61
+ evmChainId: ts_types_1.EvmChainId.Sepolia,
63
62
  env: 'local',
64
- evmNetworkParams: {
63
+ injectiveEvmNetworkParams: {
64
+ wInjAddress: exports.WINJ_ADDRESS,
65
65
  chainName: 'Localhost',
66
- chainId: `0x${ts_types_1.EvmChainId.Mainnet.toString(16)}`,
66
+ chainId: `0x${ts_types_1.EvmChainId.MainnetEvm.toString(16)}`,
67
67
  nativeCurrency: {
68
68
  name: 'Injective',
69
69
  symbol: 'INJ',
@@ -31,19 +31,20 @@ export type NetworkEndpoints = {
31
31
  chart?: string;
32
32
  };
33
33
  export type UrlEndpoints = NetworkEndpoints; /** Deprecated */
34
+ export type InjectiveEvmNetworkParams = {
35
+ wInjAddress: string;
36
+ chainName: string;
37
+ chainId: string;
38
+ nativeCurrency: {
39
+ name: string;
40
+ symbol: string;
41
+ decimals: number;
42
+ };
43
+ };
34
44
  export type ChainInfo = {
35
45
  feeDenom: string;
36
46
  chainId: ChainId;
37
47
  env: string;
38
- wInjAddress: string;
39
48
  evmChainId?: EvmChainId;
40
- evmNetworkParams?: {
41
- chainName: string;
42
- chainId: string;
43
- nativeCurrency: {
44
- name: string;
45
- symbol: string;
46
- decimals: number;
47
- };
48
- };
49
+ injectiveEvmNetworkParams: InjectiveEvmNetworkParams;
49
50
  };
@@ -5,11 +5,11 @@ export const getMainnetChainInfo = () => ({
5
5
  feeDenom: INJ_DENOM,
6
6
  chainId: ChainId.Mainnet,
7
7
  evmChainId: EvmChainId.Mainnet,
8
- wInjAddress: WINJ_ADDRESS,
9
8
  env: 'mainnet',
10
- evmNetworkParams: {
9
+ injectiveEvmNetworkParams: {
10
+ wInjAddress: WINJ_ADDRESS,
11
11
  chainName: 'Injective EVM',
12
- chainId: `0x${EvmChainId.Mainnet.toString(16)}`,
12
+ chainId: `0x${EvmChainId.MainnetEvm.toString(16)}`,
13
13
  nativeCurrency: {
14
14
  name: 'Injective',
15
15
  symbol: 'INJ',
@@ -21,11 +21,11 @@ export const getTestnetChainInfo = () => ({
21
21
  feeDenom: INJ_DENOM,
22
22
  chainId: ChainId.Testnet,
23
23
  evmChainId: EvmChainId.Sepolia,
24
- wInjAddress: WINJ_ADDRESS,
25
24
  env: 'testnet',
26
- evmNetworkParams: {
27
- chainName: 'Sepolia',
28
- chainId: `0x${EvmChainId.Sepolia.toString(16)}`,
25
+ injectiveEvmNetworkParams: {
26
+ wInjAddress: WINJ_ADDRESS,
27
+ chainName: 'Injective EVM Testnet',
28
+ chainId: `0x${EvmChainId.MainnetEvm.toString(16)}`,
29
29
  nativeCurrency: {
30
30
  name: 'Injective',
31
31
  symbol: 'INJ',
@@ -37,11 +37,11 @@ export const getDevnetChainInfo = () => ({
37
37
  feeDenom: INJ_DENOM,
38
38
  chainId: ChainId.Devnet,
39
39
  evmChainId: EvmChainId.Sepolia,
40
- wInjAddress: WINJ_ADDRESS,
41
40
  env: 'devnet',
42
- evmNetworkParams: {
43
- chainName: 'Sepolia',
44
- chainId: `0x${EvmChainId.Sepolia.toString(16)}`,
41
+ injectiveEvmNetworkParams: {
42
+ wInjAddress: WINJ_ADDRESS,
43
+ chainName: 'Injective EVM Devnet',
44
+ chainId: `0x${EvmChainId.DevnetEvm.toString(16)}`,
45
45
  nativeCurrency: {
46
46
  name: 'Injective',
47
47
  symbol: 'INJ',
@@ -52,12 +52,12 @@ export const getDevnetChainInfo = () => ({
52
52
  export const getLocalChainInfo = () => ({
53
53
  feeDenom: INJ_DENOM,
54
54
  chainId: ChainId.Mainnet,
55
- evmChainId: EvmChainId.Mainnet,
56
- wInjAddress: WINJ_ADDRESS,
55
+ evmChainId: EvmChainId.Sepolia,
57
56
  env: 'local',
58
- evmNetworkParams: {
57
+ injectiveEvmNetworkParams: {
58
+ wInjAddress: WINJ_ADDRESS,
59
59
  chainName: 'Localhost',
60
- chainId: `0x${EvmChainId.Mainnet.toString(16)}`,
60
+ chainId: `0x${EvmChainId.MainnetEvm.toString(16)}`,
61
61
  nativeCurrency: {
62
62
  name: 'Injective',
63
63
  symbol: 'INJ',
@@ -31,19 +31,20 @@ export type NetworkEndpoints = {
31
31
  chart?: string;
32
32
  };
33
33
  export type UrlEndpoints = NetworkEndpoints; /** Deprecated */
34
+ export type InjectiveEvmNetworkParams = {
35
+ wInjAddress: string;
36
+ chainName: string;
37
+ chainId: string;
38
+ nativeCurrency: {
39
+ name: string;
40
+ symbol: string;
41
+ decimals: number;
42
+ };
43
+ };
34
44
  export type ChainInfo = {
35
45
  feeDenom: string;
36
46
  chainId: ChainId;
37
47
  env: string;
38
- wInjAddress: string;
39
48
  evmChainId?: EvmChainId;
40
- evmNetworkParams?: {
41
- chainName: string;
42
- chainId: string;
43
- nativeCurrency: {
44
- name: string;
45
- symbol: string;
46
- decimals: number;
47
- };
48
- };
49
+ injectiveEvmNetworkParams: InjectiveEvmNetworkParams;
49
50
  };
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.30",
4
+ "version": "1.16.32",
5
5
  "sideEffects": false,
6
6
  "type": "module",
7
7
  "license": "Apache-2.0",
@@ -56,10 +56,10 @@
56
56
  "start": "node dist/index.js"
57
57
  },
58
58
  "dependencies": {
59
- "@injectivelabs/ts-types": "1.16.30"
59
+ "@injectivelabs/ts-types": "1.16.32"
60
60
  },
61
61
  "devDependencies": {
62
62
  "shx": "^0.3.4"
63
63
  },
64
- "gitHead": "5fdc88e012498121c8a15bd9f4d0c4c78e03e929"
64
+ "gitHead": "e4461cec60f6f1255f5cb63194ce855520cbeb2e"
65
65
  }