@blackcube/xgate-sdk 0.25.3 → 0.25.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.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -1
- package/dist/index.d.ts +30 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2158,7 +2158,14 @@ var REST_THROTTLE_MS = {
|
|
|
2158
2158
|
function restThrottleOf(xex) {
|
|
2159
2159
|
return REST_THROTTLE_MS[xex];
|
|
2160
2160
|
}
|
|
2161
|
+
var CANDLES_MAX_HISTORY = {
|
|
2162
|
+
hyperliquid: 5e3
|
|
2163
|
+
};
|
|
2164
|
+
function candlesMaxHistoryOf(xex) {
|
|
2165
|
+
return CANDLES_MAX_HISTORY[xex];
|
|
2166
|
+
}
|
|
2161
2167
|
|
|
2168
|
+
exports.CANDLES_MAX_HISTORY = CANDLES_MAX_HISTORY;
|
|
2162
2169
|
exports.CANDLES_PER_CALL = CANDLES_PER_CALL;
|
|
2163
2170
|
exports.CandlesStreamService = CandlesStreamService;
|
|
2164
2171
|
exports.ORDER_STATUSES = ORDER_STATUSES;
|
|
@@ -2172,6 +2179,7 @@ exports.XGATE_EXCHANGES = XGATE_EXCHANGES;
|
|
|
2172
2179
|
exports.XgateEx = XgateEx;
|
|
2173
2180
|
exports.buildLevels = buildLevels;
|
|
2174
2181
|
exports.buildProtection = buildProtection;
|
|
2182
|
+
exports.candlesMaxHistoryOf = candlesMaxHistoryOf;
|
|
2175
2183
|
exports.candlesPerCallOf = candlesPerCallOf;
|
|
2176
2184
|
exports.canonicalFromBase = canonicalFromBase;
|
|
2177
2185
|
exports.canonicalFromXex = canonicalFromXex;
|