@orderly.network/types 0.1.2 → 0.1.4
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
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
|
};
|