@orderly.network/core 1.4.0 → 1.5.0-alpha.0
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -391,8 +391,8 @@ declare function generateSettleMessage(inputs: {
|
|
|
391
391
|
|
|
392
392
|
type ConfigKey = "apiBaseUrl" | "klineDataUrl" | "privateWsUrl" | "publicWsUrl" | "operatorUrl" | "domain" | "brokerId" | "networkId" | "env" | "PROD_URL" | "markets";
|
|
393
393
|
interface ConfigStore {
|
|
394
|
-
get<T>(key: ConfigKey): T;
|
|
395
|
-
getOr<T>(key: ConfigKey, defaultValue: T): T;
|
|
394
|
+
get<T = string>(key: ConfigKey): T;
|
|
395
|
+
getOr<T = string>(key: ConfigKey, defaultValue: T): T;
|
|
396
396
|
set<T>(key: ConfigKey, value: T): void;
|
|
397
397
|
clear(): void;
|
|
398
398
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -391,8 +391,8 @@ declare function generateSettleMessage(inputs: {
|
|
|
391
391
|
|
|
392
392
|
type ConfigKey = "apiBaseUrl" | "klineDataUrl" | "privateWsUrl" | "publicWsUrl" | "operatorUrl" | "domain" | "brokerId" | "networkId" | "env" | "PROD_URL" | "markets";
|
|
393
393
|
interface ConfigStore {
|
|
394
|
-
get<T>(key: ConfigKey): T;
|
|
395
|
-
getOr<T>(key: ConfigKey, defaultValue: T): T;
|
|
394
|
+
get<T = string>(key: ConfigKey): T;
|
|
395
|
+
getOr<T = string>(key: ConfigKey, defaultValue: T): T;
|
|
396
396
|
set<T>(key: ConfigKey, value: T): void;
|
|
397
397
|
clear(): void;
|
|
398
398
|
}
|