@injectivelabs/networks 1.0.50 → 1.0.52
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 -30
- package/dist/chainInfos.d.ts.map +1 -1
- package/dist/chainInfos.js +9 -4
- package/dist/chainInfos.js.map +1 -1
- package/dist/endpoints.d.ts +9 -9
- package/dist/endpoints.d.ts.map +1 -1
- package/dist/endpoints.js +49 -65
- package/dist/endpoints.js.map +1 -1
- package/dist/network.d.ts +19 -4
- package/dist/network.d.ts.map +1 -1
- package/dist/network.js +41 -14
- package/dist/network.js.map +1 -1
- package/dist/old-endpoints.d.ts +11 -0
- package/dist/old-endpoints.d.ts.map +1 -0
- package/dist/old-endpoints.js +53 -0
- package/dist/old-endpoints.js.map +1 -0
- package/dist/types.d.ts +10 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -18,36 +18,7 @@ yarn add @injectivelabs/networks
|
|
|
18
18
|
|
|
19
19
|
## 📖 Documentation
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
There are two key functions exported from this package:
|
|
24
|
-
|
|
25
|
-
- `export function getEndpointsForNetwork(network: Network): NetworkEndpoints`
|
|
26
|
-
- `export function getNetworkInfo(network: Network): ChainInfo`
|
|
27
|
-
|
|
28
|
-
The first one, `getEndpointsForNetwork` returns a pre-defined set of endpoints that can be used by the developers - depending on their need. Here is the interface that gets returned from this function:
|
|
29
|
-
|
|
30
|
-
```ts
|
|
31
|
-
export type NetworkEndpoints = {
|
|
32
|
-
exchangeApi: string // @deprecated - the grpc-web port of the exchange API service
|
|
33
|
-
indexerApi: string // the grpc-web port of the indexer API service
|
|
34
|
-
sentryGrpcApi: string // the grpc-web port of the sentry node
|
|
35
|
-
sentryHttpApi: string // the REST endpoint of the sentry node
|
|
36
|
-
tendermintApi?: string // the REST endpoint of the Tendermint RPC
|
|
37
|
-
chronosApi?: string // the REST endpoint of the chronos API service
|
|
38
|
-
exchangeWeb3GatewayApi?: string // the grpc-web port of the web3-gateway service API
|
|
39
|
-
}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Lets explain these endpoints, and what do they mean:
|
|
43
|
-
- `exchangeApi` / `indexerApi` is the grpc-web endpoint that we can use to connect to the `exchange/indexer` service which listens for events from the chain, processes the events and stores the data into a mongoDB so its easier and much more performant to serve that data than querying it straight from the chain itself,
|
|
44
|
-
- `sentryGrpcApi` is the grpc-web endpoint that we can use to connect to a sentry node. A Sentry node is basically a read (and light) only version of the chain that we can use to query data directly from the chain.
|
|
45
|
-
- `sentryHttpApi` is the REST endpoint that we can use to connect to a sentry node.
|
|
46
|
-
- `tendermintApi` is the REST endpoint that we can use to connect to the Tendermint RPC,
|
|
47
|
-
- `chronosApi` is the REST endpoint that we can use to connect to the Chronos API which is part of the `exchange/indexer` service which is used for rendering the TradingView chart and getting OHLC data for the markets,
|
|
48
|
-
- `exchangeWeb3GatewayApi` is the grpc-web endpoint that we can use to connect to the web3-gateway which is part of the `exchange/indexer` service which is used for preparing and broadcasting Cosmos transactions using Ethereum native wallets + supports for fee delegation
|
|
49
|
-
|
|
50
|
-
The `getNetworkInfo` exports these endpoints plus the `chainId` and the default `fee` for the `Network` we want.
|
|
21
|
+
Read more and find example usages on our [Networks Wiki](https://github.com/InjectiveLabs/injective-ts/wiki/06Networks)
|
|
51
22
|
|
|
52
23
|
---
|
|
53
24
|
|
package/dist/chainInfos.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainInfos.d.ts","sourceRoot":"","sources":["../src/chainInfos.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chainInfos.d.ts","sourceRoot":"","sources":["../src/chainInfos.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,eAAO,MAAM,gBAAgB,EAAE,SAK9B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,SAK9B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,SAK7B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,SAK5B,CAAA"}
|
package/dist/chainInfos.js
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.localChainInfo = exports.devnetChainInfo = exports.testnetChainInfo = exports.mainnetChainInfo = void 0;
|
|
4
|
+
const ts_types_1 = require("@injectivelabs/ts-types");
|
|
4
5
|
exports.mainnetChainInfo = {
|
|
5
6
|
feeDenom: 'inj',
|
|
6
|
-
chainId:
|
|
7
|
+
chainId: ts_types_1.ChainId.Mainnet,
|
|
8
|
+
ethereumChainId: ts_types_1.EthereumChainId.Mainnet,
|
|
7
9
|
env: 'mainnet',
|
|
8
10
|
};
|
|
9
11
|
exports.testnetChainInfo = {
|
|
10
12
|
feeDenom: 'inj',
|
|
11
|
-
chainId:
|
|
13
|
+
chainId: ts_types_1.ChainId.Testnet,
|
|
14
|
+
ethereumChainId: ts_types_1.EthereumChainId.Goerli,
|
|
12
15
|
env: 'testnet',
|
|
13
16
|
};
|
|
14
17
|
exports.devnetChainInfo = {
|
|
15
18
|
feeDenom: 'inj',
|
|
16
|
-
chainId:
|
|
19
|
+
chainId: ts_types_1.ChainId.Devnet,
|
|
20
|
+
ethereumChainId: ts_types_1.EthereumChainId.Goerli,
|
|
17
21
|
env: 'devnet',
|
|
18
22
|
};
|
|
19
23
|
exports.localChainInfo = {
|
|
20
24
|
feeDenom: 'inj',
|
|
21
|
-
chainId:
|
|
25
|
+
chainId: ts_types_1.ChainId.Devnet,
|
|
26
|
+
ethereumChainId: ts_types_1.EthereumChainId.Goerli,
|
|
22
27
|
env: 'local',
|
|
23
28
|
};
|
|
24
29
|
//# sourceMappingURL=chainInfos.js.map
|
package/dist/chainInfos.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainInfos.js","sourceRoot":"","sources":["../src/chainInfos.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"chainInfos.js","sourceRoot":"","sources":["../src/chainInfos.ts"],"names":[],"mappings":";;;AAAA,sDAAkE;AAGrD,QAAA,gBAAgB,GAAc;IACzC,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,kBAAO,CAAC,OAAO;IACxB,eAAe,EAAE,0BAAe,CAAC,OAAO;IACxC,GAAG,EAAE,SAAS;CACf,CAAA;AAEY,QAAA,gBAAgB,GAAc;IACzC,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,kBAAO,CAAC,OAAO;IACxB,eAAe,EAAE,0BAAe,CAAC,MAAM;IACvC,GAAG,EAAE,SAAS;CACf,CAAA;AAEY,QAAA,eAAe,GAAc;IACxC,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,kBAAO,CAAC,MAAM;IACvB,eAAe,EAAE,0BAAe,CAAC,MAAM;IACvC,GAAG,EAAE,QAAQ;CACd,CAAA;AAEY,QAAA,cAAc,GAAc;IACvC,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,kBAAO,CAAC,MAAM;IACvB,eAAe,EAAE,0BAAe,CAAC,MAAM;IACvC,GAAG,EAAE,OAAO;CACb,CAAA"}
|
package/dist/endpoints.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NetworkEndpoints } from './types';
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
2
|
+
export declare const endpointsMainnetK8s: NetworkEndpoints;
|
|
3
|
+
export declare const endpointsMainnet: NetworkEndpoints;
|
|
4
|
+
export declare const endpointsStaging: NetworkEndpoints;
|
|
5
|
+
export declare const endpointsPublic: NetworkEndpoints;
|
|
6
|
+
export declare const endpointsTestnetK8s: NetworkEndpoints;
|
|
7
|
+
export declare const endpointsTestnet: NetworkEndpoints;
|
|
8
|
+
export declare const endpointsDevnet: NetworkEndpoints;
|
|
9
|
+
export declare const endpointsDevnet1: NetworkEndpoints;
|
|
10
|
+
export declare const endpointsLocal: NetworkEndpoints;
|
|
11
11
|
//# sourceMappingURL=endpoints.d.ts.map
|
package/dist/endpoints.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../src/endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../src/endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,mBAAmB,EAAE,gBAKjC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,gBAK9B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,gBAK9B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,gBAK7B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,gBAKjC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,gBAE9B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,gBAK7B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,gBAK9B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,gBAK5B,CAAA"}
|
package/dist/endpoints.js
CHANGED
|
@@ -1,69 +1,53 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
28
|
-
exports.
|
|
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
|
-
exports.urlEndpointsDevnet1 = {
|
|
54
|
-
indexerApi: 'https://devnet-1.api.injective.dev',
|
|
55
|
-
chronosApi: 'https://devnet-1.api.injective.dev',
|
|
56
|
-
sentryGrpcApi: 'https://devnet-1.grpc.injective.dev',
|
|
57
|
-
tendermintApi: 'https://devnet-1.tm.injective.dev',
|
|
58
|
-
sentryHttpApi: 'https://devnet-1.lcd.injective.dev',
|
|
59
|
-
exchangeWeb3GatewayApi: 'https://devnet-1.gateway.injective.dev',
|
|
60
|
-
};
|
|
61
|
-
exports.urlEndpointsLocal = {
|
|
62
|
-
indexerApi: 'https://localhost:4444',
|
|
63
|
-
chronosApi: 'https://localhost:4444',
|
|
64
|
-
sentryGrpcApi: 'http://localhost:9091',
|
|
65
|
-
tendermintApi: 'http://localhost:9091',
|
|
66
|
-
sentryHttpApi: 'http://localhost:9091',
|
|
67
|
-
exchangeWeb3GatewayApi: 'https://localhost:4445',
|
|
3
|
+
exports.endpointsLocal = exports.endpointsDevnet1 = exports.endpointsDevnet = exports.endpointsTestnet = exports.endpointsTestnetK8s = exports.endpointsPublic = exports.endpointsStaging = exports.endpointsMainnet = exports.endpointsMainnetK8s = void 0;
|
|
4
|
+
exports.endpointsMainnetK8s = {
|
|
5
|
+
indexer: 'https://k8s.mainnet.exchange.grpc-web.injective.network',
|
|
6
|
+
grpc: 'https://k8s.mainnet.chain.grpc-web.injective.network',
|
|
7
|
+
rpc: 'https://k8s.mainnet.tm.injective.network',
|
|
8
|
+
rest: 'https://k8s.mainnet.lcd.injective.network',
|
|
9
|
+
};
|
|
10
|
+
exports.endpointsMainnet = {
|
|
11
|
+
indexer: 'https://api.injective.network',
|
|
12
|
+
grpc: 'https://grpc.injective.network',
|
|
13
|
+
rpc: 'https://tm.injective.network',
|
|
14
|
+
rest: 'https://lcd.injective.network',
|
|
15
|
+
};
|
|
16
|
+
exports.endpointsStaging = {
|
|
17
|
+
indexer: 'https://staging.api.injective.network',
|
|
18
|
+
grpc: 'https://staging.grpc.injective.network',
|
|
19
|
+
rpc: 'https://staging.tm.injective.network',
|
|
20
|
+
rest: 'https://staging.lcd.injective.network',
|
|
21
|
+
};
|
|
22
|
+
exports.endpointsPublic = {
|
|
23
|
+
indexer: 'https://public.api.injective.network',
|
|
24
|
+
grpc: 'https://public.grpc.injective.network',
|
|
25
|
+
rpc: 'https://tm.injective.network',
|
|
26
|
+
rest: 'https://public.lcd.injective.network',
|
|
27
|
+
};
|
|
28
|
+
exports.endpointsTestnetK8s = {
|
|
29
|
+
indexer: 'https://k8s.testnet.exchange.grpc-web.injective.network',
|
|
30
|
+
grpc: 'https://k8s.testnet.chain.grpc-web.injective.network',
|
|
31
|
+
rpc: 'https://k8s.testnet.tm.injective.network',
|
|
32
|
+
rest: 'https://k8s.testnet.lcd.injective.network',
|
|
33
|
+
};
|
|
34
|
+
exports.endpointsTestnet = Object.assign({}, exports.endpointsTestnetK8s);
|
|
35
|
+
exports.endpointsDevnet = {
|
|
36
|
+
indexer: 'https://devnet.api.injective.dev',
|
|
37
|
+
grpc: 'https://devnet.grpc.injective.dev',
|
|
38
|
+
rpc: 'https://devnet.tm.injective.dev',
|
|
39
|
+
rest: 'https://devnet.lcd.injective.dev',
|
|
40
|
+
};
|
|
41
|
+
exports.endpointsDevnet1 = {
|
|
42
|
+
indexer: 'https://devnet-1.api.injective.dev',
|
|
43
|
+
grpc: 'https://devnet-1.grpc.injective.dev',
|
|
44
|
+
rpc: 'https://devnet-1.tm.injective.dev',
|
|
45
|
+
rest: 'https://devnet-1.lcd.injective.dev',
|
|
46
|
+
};
|
|
47
|
+
exports.endpointsLocal = {
|
|
48
|
+
indexer: 'https://localhost:4444',
|
|
49
|
+
grpc: 'http://localhost:9091',
|
|
50
|
+
rpc: 'http://localhost:9091',
|
|
51
|
+
rest: 'http://localhost:9091',
|
|
68
52
|
};
|
|
69
53
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../src/endpoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,
|
|
1
|
+
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../src/endpoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAqB;IACnD,OAAO,EAAE,yDAAyD;IAClE,IAAI,EAAE,sDAAsD;IAC5D,GAAG,EAAE,0CAA0C;IAC/C,IAAI,EAAE,2CAA2C;CAClD,CAAA;AAEY,QAAA,gBAAgB,GAAqB;IAChD,OAAO,EAAE,+BAA+B;IACxC,IAAI,EAAE,gCAAgC;IACtC,GAAG,EAAE,8BAA8B;IACnC,IAAI,EAAE,+BAA+B;CACtC,CAAA;AAEY,QAAA,gBAAgB,GAAqB;IAChD,OAAO,EAAE,uCAAuC;IAChD,IAAI,EAAE,wCAAwC;IAC9C,GAAG,EAAE,sCAAsC;IAC3C,IAAI,EAAE,uCAAuC;CAC9C,CAAA;AAEY,QAAA,eAAe,GAAqB;IAC/C,OAAO,EAAE,sCAAsC;IAC/C,IAAI,EAAE,uCAAuC;IAC7C,GAAG,EAAE,8BAA8B;IACnC,IAAI,EAAE,sCAAsC;CAC7C,CAAA;AAEY,QAAA,mBAAmB,GAAqB;IACnD,OAAO,EAAE,yDAAyD;IAClE,IAAI,EAAE,sDAAsD;IAC5D,GAAG,EAAE,0CAA0C;IAC/C,IAAI,EAAE,2CAA2C;CAClD,CAAA;AAEY,QAAA,gBAAgB,qBACxB,2BAAmB,EACvB;AAEY,QAAA,eAAe,GAAqB;IAC/C,OAAO,EAAE,kCAAkC;IAC3C,IAAI,EAAE,mCAAmC;IACzC,GAAG,EAAE,iCAAiC;IACtC,IAAI,EAAE,kCAAkC;CACzC,CAAA;AAEY,QAAA,gBAAgB,GAAqB;IAChD,OAAO,EAAE,oCAAoC;IAC7C,IAAI,EAAE,qCAAqC;IAC3C,GAAG,EAAE,mCAAmC;IACxC,IAAI,EAAE,oCAAoC;CAC3C,CAAA;AAEY,QAAA,cAAc,GAAqB;IAC9C,OAAO,EAAE,wBAAwB;IACjC,IAAI,EAAE,uBAAuB;IAC7B,GAAG,EAAE,uBAAuB;IAC5B,IAAI,EAAE,uBAAuB;CAC9B,CAAA"}
|
package/dist/network.d.ts
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
import { ChainInfo, Network, NetworkEndpoints } from './types';
|
|
1
|
+
import { ChainInfo, Network, OldNetworkEndpoints, NetworkEndpoints } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated - use networkEndpoints
|
|
4
|
+
*/
|
|
5
|
+
export declare const oldNetworkEndpoints: Record<Network, OldNetworkEndpoints>;
|
|
2
6
|
export declare const networkEndpoints: Record<Network, NetworkEndpoints>;
|
|
3
7
|
export declare const chainInfos: Record<Network, ChainInfo>;
|
|
4
|
-
|
|
5
|
-
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated - use getNetworkEndpoints instead and adjust for the return type change
|
|
10
|
+
* @param network de
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
export declare const getEndpointsForNetwork: (network: Network) => OldNetworkEndpoints;
|
|
14
|
+
export declare const getNetworkEndpoints: (network: Network) => NetworkEndpoints;
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated - use getNetworkChainInfo instead
|
|
17
|
+
* @param network de
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
6
20
|
export declare const getChainInfoForNetwork: (network: Network) => ChainInfo;
|
|
7
|
-
export declare const
|
|
21
|
+
export declare const getNetworkChainInfo: (network: Network) => ChainInfo;
|
|
22
|
+
export declare const getNetworkInfo: (network: Network) => ChainInfo & OldNetworkEndpoints & NetworkEndpoints;
|
|
8
23
|
//# sourceMappingURL=network.d.ts.map
|
package/dist/network.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../src/network.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../src/network.ts"],"names":[],"mappings":"AA4BA,OAAO,EACL,SAAS,EACT,OAAO,EACP,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,SAAS,CAAA;AAEhB;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,OAAO,EAAE,mBAAmB,CAUpE,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,OAAO,EAAE,gBAAgB,CAU9D,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,OAAO,EAAE,SAAS,CAUjD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,YAAa,OAAO,KAAG,mBAC5B,CAAA;AAE9B,eAAO,MAAM,mBAAmB,YAAa,OAAO,KAAG,gBAC5B,CAAA;AAE3B;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,YAAa,OAAO,KAAG,SACrC,CAAA;AAErB,eAAO,MAAM,mBAAmB,YAAa,OAAO,KAAG,SAClC,CAAA;AAErB,eAAO,MAAM,cAAc,YAChB,OAAO,KACf,SAAS,GAAG,mBAAmB,GAAG,gBAInC,CAAA"}
|
package/dist/network.js
CHANGED
|
@@ -1,19 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getNetworkInfo = exports.getChainInfoForNetwork = exports.
|
|
3
|
+
exports.getNetworkInfo = exports.getNetworkChainInfo = exports.getChainInfoForNetwork = exports.getNetworkEndpoints = exports.getEndpointsForNetwork = exports.chainInfos = exports.networkEndpoints = exports.oldNetworkEndpoints = void 0;
|
|
4
4
|
const chainInfos_1 = require("./chainInfos");
|
|
5
|
+
const old_endpoints_1 = require("./old-endpoints");
|
|
5
6
|
const endpoints_1 = require("./endpoints");
|
|
6
7
|
const types_1 = require("./types");
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated - use networkEndpoints
|
|
10
|
+
*/
|
|
11
|
+
exports.oldNetworkEndpoints = {
|
|
12
|
+
[types_1.Network.MainnetK8s]: old_endpoints_1.oldEndpointsMainnetK8s,
|
|
13
|
+
[types_1.Network.Staging]: old_endpoints_1.oldEndpointsStaging,
|
|
14
|
+
[types_1.Network.Mainnet]: old_endpoints_1.oldEndpointsMainnet,
|
|
15
|
+
[types_1.Network.Public]: old_endpoints_1.oldEndpointsPublic,
|
|
16
|
+
[types_1.Network.Devnet]: old_endpoints_1.oldEndpointsDevnet,
|
|
17
|
+
[types_1.Network.Devnet1]: old_endpoints_1.oldEndpointsDevnet1,
|
|
18
|
+
[types_1.Network.Testnet]: old_endpoints_1.oldEndpointsTestnet,
|
|
19
|
+
[types_1.Network.TestnetK8s]: old_endpoints_1.oldEndpointsTestnetK8s,
|
|
20
|
+
[types_1.Network.Local]: old_endpoints_1.oldEndpointsLocal,
|
|
21
|
+
};
|
|
7
22
|
exports.networkEndpoints = {
|
|
8
|
-
[types_1.Network.MainnetK8s]: endpoints_1.
|
|
9
|
-
[types_1.Network.Staging]: endpoints_1.
|
|
10
|
-
[types_1.Network.Mainnet]: endpoints_1.
|
|
11
|
-
[types_1.Network.Public]: endpoints_1.
|
|
12
|
-
[types_1.Network.Devnet]: endpoints_1.
|
|
13
|
-
[types_1.Network.Devnet1]: endpoints_1.
|
|
14
|
-
[types_1.Network.Testnet]: endpoints_1.
|
|
15
|
-
[types_1.Network.TestnetK8s]: endpoints_1.
|
|
16
|
-
[types_1.Network.Local]: endpoints_1.
|
|
23
|
+
[types_1.Network.MainnetK8s]: endpoints_1.endpointsMainnetK8s,
|
|
24
|
+
[types_1.Network.Staging]: endpoints_1.endpointsStaging,
|
|
25
|
+
[types_1.Network.Mainnet]: endpoints_1.endpointsMainnet,
|
|
26
|
+
[types_1.Network.Public]: endpoints_1.endpointsPublic,
|
|
27
|
+
[types_1.Network.Devnet]: endpoints_1.endpointsDevnet,
|
|
28
|
+
[types_1.Network.Devnet1]: endpoints_1.endpointsDevnet1,
|
|
29
|
+
[types_1.Network.Testnet]: endpoints_1.endpointsTestnet,
|
|
30
|
+
[types_1.Network.TestnetK8s]: endpoints_1.endpointsTestnetK8s,
|
|
31
|
+
[types_1.Network.Local]: endpoints_1.endpointsLocal,
|
|
17
32
|
};
|
|
18
33
|
exports.chainInfos = {
|
|
19
34
|
[types_1.Network.MainnetK8s]: chainInfos_1.mainnetChainInfo,
|
|
@@ -26,12 +41,24 @@ exports.chainInfos = {
|
|
|
26
41
|
[types_1.Network.TestnetK8s]: chainInfos_1.testnetChainInfo,
|
|
27
42
|
[types_1.Network.Local]: chainInfos_1.localChainInfo,
|
|
28
43
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated - use getNetworkEndpoints instead and adjust for the return type change
|
|
46
|
+
* @param network de
|
|
47
|
+
* @returns
|
|
48
|
+
*/
|
|
49
|
+
const getEndpointsForNetwork = (network) => exports.oldNetworkEndpoints[network];
|
|
32
50
|
exports.getEndpointsForNetwork = getEndpointsForNetwork;
|
|
51
|
+
const getNetworkEndpoints = (network) => exports.networkEndpoints[network];
|
|
52
|
+
exports.getNetworkEndpoints = getNetworkEndpoints;
|
|
53
|
+
/**
|
|
54
|
+
* @deprecated - use getNetworkChainInfo instead
|
|
55
|
+
* @param network de
|
|
56
|
+
* @returns
|
|
57
|
+
*/
|
|
33
58
|
const getChainInfoForNetwork = (network) => exports.chainInfos[network];
|
|
34
59
|
exports.getChainInfoForNetwork = getChainInfoForNetwork;
|
|
35
|
-
const
|
|
60
|
+
const getNetworkChainInfo = (network) => exports.chainInfos[network];
|
|
61
|
+
exports.getNetworkChainInfo = getNetworkChainInfo;
|
|
62
|
+
const getNetworkInfo = (network) => (Object.assign(Object.assign(Object.assign({}, exports.chainInfos[network]), exports.oldNetworkEndpoints[network]), exports.networkEndpoints[network]));
|
|
36
63
|
exports.getNetworkInfo = getNetworkInfo;
|
|
37
64
|
//# sourceMappingURL=network.js.map
|
package/dist/network.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"","sources":["../src/network.ts"],"names":[],"mappings":";;;AAAA,6CAKqB;AACrB,2CAUoB;AACpB,
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../src/network.ts"],"names":[],"mappings":";;;AAAA,6CAKqB;AACrB,mDAUwB;AACxB,2CAUoB;AACpB,mCAKgB;AAEhB;;GAEG;AACU,QAAA,mBAAmB,GAAyC;IACvE,CAAC,eAAO,CAAC,UAAU,CAAC,EAAE,sCAAsB;IAC5C,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,mCAAmB;IACtC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,mCAAmB;IACtC,CAAC,eAAO,CAAC,MAAM,CAAC,EAAE,kCAAkB;IACpC,CAAC,eAAO,CAAC,MAAM,CAAC,EAAE,kCAAkB;IACpC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,mCAAmB;IACtC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,mCAAmB;IACtC,CAAC,eAAO,CAAC,UAAU,CAAC,EAAE,sCAAsB;IAC5C,CAAC,eAAO,CAAC,KAAK,CAAC,EAAE,iCAAiB;CACnC,CAAA;AAEY,QAAA,gBAAgB,GAAsC;IACjE,CAAC,eAAO,CAAC,UAAU,CAAC,EAAE,+BAAmB;IACzC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,4BAAgB;IACnC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,4BAAgB;IACnC,CAAC,eAAO,CAAC,MAAM,CAAC,EAAE,2BAAe;IACjC,CAAC,eAAO,CAAC,MAAM,CAAC,EAAE,2BAAe;IACjC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,4BAAgB;IACnC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,4BAAgB;IACnC,CAAC,eAAO,CAAC,UAAU,CAAC,EAAE,+BAAmB;IACzC,CAAC,eAAO,CAAC,KAAK,CAAC,EAAE,0BAAc;CAChC,CAAA;AAEY,QAAA,UAAU,GAA+B;IACpD,CAAC,eAAO,CAAC,UAAU,CAAC,EAAE,6BAAgB;IACtC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,6BAAgB;IACnC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,6BAAgB;IACnC,CAAC,eAAO,CAAC,MAAM,CAAC,EAAE,6BAAgB;IAClC,CAAC,eAAO,CAAC,MAAM,CAAC,EAAE,4BAAe;IACjC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,4BAAe;IAClC,CAAC,eAAO,CAAC,OAAO,CAAC,EAAE,6BAAgB;IACnC,CAAC,eAAO,CAAC,UAAU,CAAC,EAAE,6BAAgB;IACtC,CAAC,eAAO,CAAC,KAAK,CAAC,EAAE,2BAAc;CAChC,CAAA;AAED;;;;GAIG;AACI,MAAM,sBAAsB,GAAG,CAAC,OAAgB,EAAuB,EAAE,CAC9E,2BAAmB,CAAC,OAAO,CAAC,CAAA;AADjB,QAAA,sBAAsB,0BACL;AAEvB,MAAM,mBAAmB,GAAG,CAAC,OAAgB,EAAoB,EAAE,CACxE,wBAAgB,CAAC,OAAO,CAAC,CAAA;AADd,QAAA,mBAAmB,uBACL;AAE3B;;;;GAIG;AACI,MAAM,sBAAsB,GAAG,CAAC,OAAgB,EAAa,EAAE,CACpE,kBAAU,CAAC,OAAO,CAAC,CAAA;AADR,QAAA,sBAAsB,0BACd;AAEd,MAAM,mBAAmB,GAAG,CAAC,OAAgB,EAAa,EAAE,CACjE,kBAAU,CAAC,OAAO,CAAC,CAAA;AADR,QAAA,mBAAmB,uBACX;AAEd,MAAM,cAAc,GAAG,CAC5B,OAAgB,EACoC,EAAE,CAAC,+CACpD,kBAAU,CAAC,OAAO,CAAC,GACnB,2BAAmB,CAAC,OAAO,CAAC,GAC5B,wBAAgB,CAAC,OAAO,CAAC,EAC5B,CAAA;AANW,QAAA,cAAc,kBAMzB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OldNetworkEndpoints } from './types';
|
|
2
|
+
export declare const oldEndpointsMainnetK8s: OldNetworkEndpoints;
|
|
3
|
+
export declare const oldEndpointsMainnet: OldNetworkEndpoints;
|
|
4
|
+
export declare const oldEndpointsStaging: OldNetworkEndpoints;
|
|
5
|
+
export declare const oldEndpointsPublic: OldNetworkEndpoints;
|
|
6
|
+
export declare const oldEndpointsTestnetK8s: OldNetworkEndpoints;
|
|
7
|
+
export declare const oldEndpointsTestnet: OldNetworkEndpoints;
|
|
8
|
+
export declare const oldEndpointsDevnet: OldNetworkEndpoints;
|
|
9
|
+
export declare const oldEndpointsDevnet1: OldNetworkEndpoints;
|
|
10
|
+
export declare const oldEndpointsLocal: OldNetworkEndpoints;
|
|
11
|
+
//# sourceMappingURL=old-endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"old-endpoints.d.ts","sourceRoot":"","sources":["../src/old-endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,sBAAsB,EAAE,mBAKpC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAKjC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAKjC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,mBAKhC,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,mBAKpC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAEjC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,mBAKhC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAKjC,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,mBAK/B,CAAA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.oldEndpointsLocal = exports.oldEndpointsDevnet1 = exports.oldEndpointsDevnet = exports.oldEndpointsTestnet = exports.oldEndpointsTestnetK8s = exports.oldEndpointsPublic = exports.oldEndpointsStaging = exports.oldEndpointsMainnet = exports.oldEndpointsMainnetK8s = void 0;
|
|
4
|
+
exports.oldEndpointsMainnetK8s = {
|
|
5
|
+
indexerApi: 'https://k8s.mainnet.exchange.grpc-web.injective.network',
|
|
6
|
+
sentryGrpcApi: 'https://k8s.mainnet.chain.grpc-web.injective.network',
|
|
7
|
+
tendermintApi: 'https://k8s.mainnet.tm.injective.network',
|
|
8
|
+
sentryHttpApi: 'https://k8s.mainnet.lcd.injective.network',
|
|
9
|
+
};
|
|
10
|
+
exports.oldEndpointsMainnet = {
|
|
11
|
+
indexerApi: 'https://api.injective.network',
|
|
12
|
+
sentryGrpcApi: 'https://grpc.injective.network',
|
|
13
|
+
tendermintApi: 'https://tm.injective.network',
|
|
14
|
+
sentryHttpApi: 'https://lcd.injective.network',
|
|
15
|
+
};
|
|
16
|
+
exports.oldEndpointsStaging = {
|
|
17
|
+
indexerApi: 'https://staging.api.injective.network',
|
|
18
|
+
sentryGrpcApi: 'https://staging.grpc.injective.network',
|
|
19
|
+
tendermintApi: 'https://staging.tm.injective.network',
|
|
20
|
+
sentryHttpApi: 'https://staging.lcd.injective.network',
|
|
21
|
+
};
|
|
22
|
+
exports.oldEndpointsPublic = {
|
|
23
|
+
indexerApi: 'https://public.api.injective.network',
|
|
24
|
+
sentryGrpcApi: 'https://public.grpc.injective.network',
|
|
25
|
+
tendermintApi: 'https://tm.injective.network',
|
|
26
|
+
sentryHttpApi: 'https://public.lcd.injective.network',
|
|
27
|
+
};
|
|
28
|
+
exports.oldEndpointsTestnetK8s = {
|
|
29
|
+
indexerApi: 'https://k8s.testnet.exchange.grpc-web.injective.network',
|
|
30
|
+
sentryGrpcApi: 'https://k8s.testnet.chain.grpc-web.injective.network',
|
|
31
|
+
tendermintApi: 'https://k8s.testnet.tm.injective.network',
|
|
32
|
+
sentryHttpApi: 'https://k8s.testnet.lcd.injective.network',
|
|
33
|
+
};
|
|
34
|
+
exports.oldEndpointsTestnet = Object.assign({}, exports.oldEndpointsTestnetK8s);
|
|
35
|
+
exports.oldEndpointsDevnet = {
|
|
36
|
+
indexerApi: 'https://devnet.api.injective.dev',
|
|
37
|
+
sentryGrpcApi: 'https://devnet.grpc.injective.dev',
|
|
38
|
+
tendermintApi: 'https://devnet.tm.injective.dev',
|
|
39
|
+
sentryHttpApi: 'https://devnet.lcd.injective.dev',
|
|
40
|
+
};
|
|
41
|
+
exports.oldEndpointsDevnet1 = {
|
|
42
|
+
indexerApi: 'https://devnet-1.api.injective.dev',
|
|
43
|
+
sentryGrpcApi: 'https://devnet-1.grpc.injective.dev',
|
|
44
|
+
tendermintApi: 'https://devnet-1.tm.injective.dev',
|
|
45
|
+
sentryHttpApi: 'https://devnet-1.lcd.injective.dev',
|
|
46
|
+
};
|
|
47
|
+
exports.oldEndpointsLocal = {
|
|
48
|
+
indexerApi: 'https://localhost:4444',
|
|
49
|
+
sentryGrpcApi: 'http://localhost:9091',
|
|
50
|
+
tendermintApi: 'http://localhost:9091',
|
|
51
|
+
sentryHttpApi: 'http://localhost:9091',
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=old-endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"old-endpoints.js","sourceRoot":"","sources":["../src/old-endpoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAwB;IACzD,UAAU,EAAE,yDAAyD;IACrE,aAAa,EAAE,sDAAsD;IACrE,aAAa,EAAE,0CAA0C;IACzD,aAAa,EAAE,2CAA2C;CAC3D,CAAA;AAEY,QAAA,mBAAmB,GAAwB;IACtD,UAAU,EAAE,+BAA+B;IAC3C,aAAa,EAAE,gCAAgC;IAC/C,aAAa,EAAE,8BAA8B;IAC7C,aAAa,EAAE,+BAA+B;CAC/C,CAAA;AAEY,QAAA,mBAAmB,GAAwB;IACtD,UAAU,EAAE,uCAAuC;IACnD,aAAa,EAAE,wCAAwC;IACvD,aAAa,EAAE,sCAAsC;IACrD,aAAa,EAAE,uCAAuC;CACvD,CAAA;AAEY,QAAA,kBAAkB,GAAwB;IACrD,UAAU,EAAE,sCAAsC;IAClD,aAAa,EAAE,uCAAuC;IACtD,aAAa,EAAE,8BAA8B;IAC7C,aAAa,EAAE,sCAAsC;CACtD,CAAA;AAEY,QAAA,sBAAsB,GAAwB;IACzD,UAAU,EAAE,yDAAyD;IACrE,aAAa,EAAE,sDAAsD;IACrE,aAAa,EAAE,0CAA0C;IACzD,aAAa,EAAE,2CAA2C;CAC3D,CAAA;AAEY,QAAA,mBAAmB,qBAC3B,8BAAsB,EAC1B;AAEY,QAAA,kBAAkB,GAAwB;IACrD,UAAU,EAAE,kCAAkC;IAC9C,aAAa,EAAE,mCAAmC;IAClD,aAAa,EAAE,iCAAiC;IAChD,aAAa,EAAE,kCAAkC;CAClD,CAAA;AAEY,QAAA,mBAAmB,GAAwB;IACtD,UAAU,EAAE,oCAAoC;IAChD,aAAa,EAAE,qCAAqC;IACpD,aAAa,EAAE,mCAAmC;IAClD,aAAa,EAAE,oCAAoC;CACpD,CAAA;AAEY,QAAA,iBAAiB,GAAwB;IACpD,UAAU,EAAE,wBAAwB;IACpC,aAAa,EAAE,uBAAuB;IACtC,aAAa,EAAE,uBAAuB;IACtC,aAAa,EAAE,uBAAuB;CACvC,CAAA"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ChainId, EthereumChainId } from '@injectivelabs/ts-types';
|
|
1
2
|
export declare enum Network {
|
|
2
3
|
MainnetK8s = "mainnetK8s",
|
|
3
4
|
Mainnet = "mainnet",
|
|
@@ -9,7 +10,7 @@ export declare enum Network {
|
|
|
9
10
|
Devnet = "devnet",
|
|
10
11
|
Local = "local"
|
|
11
12
|
}
|
|
12
|
-
export type
|
|
13
|
+
export type OldNetworkEndpoints = {
|
|
13
14
|
indexerApi: string;
|
|
14
15
|
sentryGrpcApi: string;
|
|
15
16
|
sentryHttpApi: string;
|
|
@@ -17,10 +18,17 @@ export type NetworkEndpoints = {
|
|
|
17
18
|
chronosApi?: string;
|
|
18
19
|
exchangeWeb3GatewayApi?: string;
|
|
19
20
|
};
|
|
21
|
+
export type NetworkEndpoints = {
|
|
22
|
+
indexer: string;
|
|
23
|
+
grpc: string;
|
|
24
|
+
rest: string;
|
|
25
|
+
rpc?: string;
|
|
26
|
+
};
|
|
20
27
|
export type UrlEndpoints = NetworkEndpoints; /** Deprecated */
|
|
21
28
|
export type ChainInfo = {
|
|
22
29
|
feeDenom: string;
|
|
23
|
-
chainId:
|
|
30
|
+
chainId: ChainId;
|
|
24
31
|
env: string;
|
|
32
|
+
ethereumChainId?: EthereumChainId;
|
|
25
33
|
};
|
|
26
34
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IACjB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAElE,oBAAY,OAAO;IACjB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,sBAAsB,CAAC,EAAE,MAAM,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAA,CAAC,iBAAiB;AAE7D,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,eAAe,CAAC,EAAE,eAAe,CAAA;CAClC,CAAA"}
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAEA,IAAY,OAUX;AAVD,WAAY,OAAO;IACjB,oCAAyB,CAAA;IACzB,8BAAmB,CAAA;IACnB,8BAAmB,CAAA;IACnB,4BAAiB,CAAA;IACjB,oCAAyB,CAAA;IACzB,8BAAmB,CAAA;IACnB,8BAAmB,CAAA;IACnB,4BAAiB,CAAA;IACjB,0BAAe,CAAA;AACjB,CAAC,EAVW,OAAO,GAAP,eAAO,KAAP,eAAO,QAUlB"}
|
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.0.
|
|
4
|
+
"version": "1.0.52",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Bojan Angjelkoski",
|
|
@@ -31,10 +31,11 @@
|
|
|
31
31
|
"start": "node dist/index.js"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@injectivelabs/exceptions": "^1.0.
|
|
35
|
-
"@injectivelabs/
|
|
34
|
+
"@injectivelabs/exceptions": "^1.0.32",
|
|
35
|
+
"@injectivelabs/ts-types": "^1.0.18",
|
|
36
|
+
"@injectivelabs/utils": "^1.0.45",
|
|
36
37
|
"link-module-alias": "^1.2.0",
|
|
37
38
|
"shx": "^0.3.2"
|
|
38
39
|
},
|
|
39
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "e3150ffbb78703ba3dd641879277ff74bcf0016f"
|
|
40
41
|
}
|