@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 CHANGED
@@ -11,7 +11,7 @@ _Accessing decentralized finance through TypeScript (for Web, Node and React Nat
11
11
  ### 📚 Installation
12
12
 
13
13
  ```bash
14
- pnpm add @injectivelabs/networks
14
+ yarn add @injectivelabs/networks
15
15
  ```
16
16
 
17
17
  ---
@@ -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
- evmChainId: ts_types_1.EvmChainId.Mainnet,
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
- evmChainId: ts_types_1.EvmChainId.Sepolia,
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
- evmChainId: ts_types_1.EvmChainId.Sepolia,
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
- evmChainId: ts_types_1.EvmChainId.Mainnet,
27
+ ethereumChainId: ts_types_1.EthereumChainId.Mainnet,
28
28
  env: 'local',
29
29
  };
@@ -1,4 +1,4 @@
1
- import { ChainId, EvmChainId } from '@injectivelabs/ts-types';
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
- evmChainId?: EvmChainId;
37
+ ethereumChainId?: EthereumChainId;
38
38
  };
@@ -1,26 +1,26 @@
1
- import { ChainId, EvmChainId } from '@injectivelabs/ts-types';
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
- evmChainId: EvmChainId.Mainnet,
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
- evmChainId: EvmChainId.Sepolia,
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
- evmChainId: EvmChainId.Sepolia,
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
- evmChainId: EvmChainId.Mainnet,
24
+ ethereumChainId: EthereumChainId.Mainnet,
25
25
  env: 'local',
26
26
  };
@@ -1,4 +1,4 @@
1
- import { ChainId, EvmChainId } from '@injectivelabs/ts-types';
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
- evmChainId?: EvmChainId;
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-alpha.0",
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": "pnpm build:cjs && pnpm build:esm && pnpm build:post",
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 && pnpm build:post",
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-alpha.0"
59
+ "@injectivelabs/ts-types": "^1.16.6"
60
60
  },
61
61
  "devDependencies": {
62
62
  "shx": "^0.3.4"
63
63
  },
64
- "gitHead": "b2bd329705e0848283332658754771d45c09d4f7"
64
+ "gitHead": "41794b09a1047a01dbb1d0e0a473a2f26305752d"
65
65
  }