@orderly.network/types 0.1.1 → 0.1.3

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/dist/index.d.mts CHANGED
@@ -15,7 +15,7 @@ declare enum ExchangeStatusEnum {
15
15
  Normal = 0,
16
16
  Maintain = 1
17
17
  }
18
- type NetworkId = "testnet" | "mainnet";
18
+ declare type NetworkId = "testnet" | "mainnet";
19
19
  declare const ARBITRUM_TESTNET_CHAINID = 421613;
20
20
  declare const ARBITRUM_MAINNET_CHAINID = 42161;
21
21
  declare const ARBITRUM_MAINNET_CHAINID_HEX = "0xa4b1";
@@ -359,11 +359,11 @@ interface NativeCurrency {
359
359
  }
360
360
  declare const chainsInfoMap: Map<number, ChainConfig>;
361
361
 
362
- type Chain = {
362
+ declare type Chain = {
363
363
  id: string;
364
364
  name?: string;
365
365
  };
366
- type CurrentChain = {
366
+ declare type CurrentChain = {
367
367
  id: number;
368
368
  info: API.Chain;
369
369
  };
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ declare enum ExchangeStatusEnum {
15
15
  Normal = 0,
16
16
  Maintain = 1
17
17
  }
18
- type NetworkId = "testnet" | "mainnet";
18
+ declare type NetworkId = "testnet" | "mainnet";
19
19
  declare const ARBITRUM_TESTNET_CHAINID = 421613;
20
20
  declare const ARBITRUM_MAINNET_CHAINID = 42161;
21
21
  declare const ARBITRUM_MAINNET_CHAINID_HEX = "0xa4b1";
@@ -359,11 +359,11 @@ interface NativeCurrency {
359
359
  }
360
360
  declare const chainsInfoMap: Map<number, ChainConfig>;
361
361
 
362
- type Chain = {
362
+ declare type Chain = {
363
363
  id: string;
364
364
  name?: string;
365
365
  };
366
- type CurrentChain = {
366
+ declare type CurrentChain = {
367
367
  id: number;
368
368
  info: API.Chain;
369
369
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderly.network/types",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",