@kodiak-finance/orderly-core 2.8.24 → 2.8.25
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -498,7 +498,7 @@ declare function generateDexRequestMessage(inputs: {
|
|
|
498
498
|
};
|
|
499
499
|
}];
|
|
500
500
|
|
|
501
|
-
type ConfigKey = "apiBaseUrl" | "klineDataUrl" | "privateWsUrl" | "publicWsUrl" | "operatorUrl" | "domain" | "brokerId" | "brokerName" | "networkId" | "env" | "chainNamespace" | "PROD_URL" | "orderly_markets" | "markets";
|
|
501
|
+
type ConfigKey = "apiBaseUrl" | "klineDataUrl" | "privateWsUrl" | "publicWsUrl" | "operatorUrl" | "domain" | "brokerId" | "brokerName" | "networkId" | "env" | "chainNamespace" | "PROD_URL" | "orderly_markets" | "markets" | "vipTierEndpoint" | "vipTierDocsUrl" | "vipTierStakeUrl";
|
|
502
502
|
interface ConfigStore {
|
|
503
503
|
get<T = string>(key: ConfigKey): T;
|
|
504
504
|
getOr<T = string>(key: ConfigKey, defaultValue: T): T;
|
package/dist/index.d.ts
CHANGED
|
@@ -498,7 +498,7 @@ declare function generateDexRequestMessage(inputs: {
|
|
|
498
498
|
};
|
|
499
499
|
}];
|
|
500
500
|
|
|
501
|
-
type ConfigKey = "apiBaseUrl" | "klineDataUrl" | "privateWsUrl" | "publicWsUrl" | "operatorUrl" | "domain" | "brokerId" | "brokerName" | "networkId" | "env" | "chainNamespace" | "PROD_URL" | "orderly_markets" | "markets";
|
|
501
|
+
type ConfigKey = "apiBaseUrl" | "klineDataUrl" | "privateWsUrl" | "publicWsUrl" | "operatorUrl" | "domain" | "brokerId" | "brokerName" | "networkId" | "env" | "chainNamespace" | "PROD_URL" | "orderly_markets" | "markets" | "vipTierEndpoint" | "vipTierDocsUrl" | "vipTierStakeUrl";
|
|
502
502
|
interface ConfigStore {
|
|
503
503
|
get<T = string>(key: ConfigKey): T;
|
|
504
504
|
getOr<T = string>(key: ConfigKey, defaultValue: T): T;
|
package/dist/index.js
CHANGED
|
@@ -7124,6 +7124,9 @@ var DefaultConfigStore = class {
|
|
|
7124
7124
|
const brokerId = init?.brokerId || "orderly";
|
|
7125
7125
|
const brokerName = init?.brokerName || "Orderly";
|
|
7126
7126
|
const chainNamespace = init?.chainNamespace || import_orderly_types5.ChainNamespace.evm;
|
|
7127
|
+
const vipTierEndpoint = init?.vipTierEndpoint || "";
|
|
7128
|
+
const vipTierDocsUrl = init?.vipTierDocsUrl || "";
|
|
7129
|
+
const vipTierStakeUrl = init?.vipTierStakeUrl || "";
|
|
7127
7130
|
this.map = /* @__PURE__ */ new Map([
|
|
7128
7131
|
["env", env],
|
|
7129
7132
|
["brokerId", brokerId],
|
|
@@ -7133,7 +7136,10 @@ var DefaultConfigStore = class {
|
|
|
7133
7136
|
["apiBaseUrl", urls["apiBaseUrl"]],
|
|
7134
7137
|
["publicWsUrl", urls["publicWsUrl"]],
|
|
7135
7138
|
["privateWsUrl", urls["privateWsUrl"]],
|
|
7136
|
-
["operatorUrl", urls["operatorUrl"]]
|
|
7139
|
+
["operatorUrl", urls["operatorUrl"]],
|
|
7140
|
+
["vipTierEndpoint", vipTierEndpoint],
|
|
7141
|
+
["vipTierDocsUrl", vipTierDocsUrl],
|
|
7142
|
+
["vipTierStakeUrl", vipTierStakeUrl]
|
|
7137
7143
|
]);
|
|
7138
7144
|
}
|
|
7139
7145
|
get(key) {
|