@nadohq/engine-client 0.18.0 → 0.19.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.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{serverSubscriptionEventTypes-BMUrTkTg.d.cts → serverSubscriptionEventTypes-BkHxEDTz.d.cts} +44 -4
- package/dist/{serverSubscriptionEventTypes-BMUrTkTg.d.cts.map → serverSubscriptionEventTypes-BkHxEDTz.d.cts.map} +1 -1
- package/dist/{serverSubscriptionEventTypes-UCYAjmt7.d.ts → serverSubscriptionEventTypes-CO-0wVLL.d.ts} +44 -4
- package/dist/{serverSubscriptionEventTypes-UCYAjmt7.d.ts.map → serverSubscriptionEventTypes-CO-0wVLL.d.ts.map} +1 -1
- package/dist/{serverSubscriptionTypes-DoMWeKgY.d.ts → serverSubscriptionTypes-CE6BIS-C.d.cts} +54 -2
- package/dist/serverSubscriptionTypes-CE6BIS-C.d.cts.map +1 -0
- package/dist/{serverSubscriptionTypes-BSuYa6z_.d.cts → serverSubscriptionTypes-Cgz-h0ot.d.ts} +54 -2
- package/dist/serverSubscriptionTypes-Cgz-h0ot.d.ts.map +1 -0
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/serverSubscriptionEventTypes.d.cts +2 -2
- package/dist/types/serverSubscriptionEventTypes.d.ts +2 -2
- package/dist/types/serverSubscriptionTypes.d.cts +2 -2
- package/dist/types/serverSubscriptionTypes.d.ts +2 -2
- package/package.json +3 -3
- package/src/types/serverSubscriptionEventTypes.ts +49 -2
- package/src/types/serverSubscriptionTypes.ts +60 -0
- package/dist/serverSubscriptionTypes-BSuYa6z_.d.cts.map +0 -1
- package/dist/serverSubscriptionTypes-DoMWeKgY.d.ts.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -4,9 +4,9 @@ import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult,
|
|
|
4
4
|
import { _ as WithSignature, a as EngineExecuteRequestParamsByType, c as EngineMintNlpParams, d as EnginePlaceOrderResult, f as EnginePlaceOrdersParams, g as WithBaseEngineExecuteParams, h as SignatureParams, i as EngineCancelProductOrdersParams, l as EngineOrderParams, m as EngineWithdrawCollateralParams, n as EngineCancelAndPlaceParams, o as EngineLinkSignerParams, p as EngineTransferQuoteParams, r as EngineCancelOrdersParams, s as EngineLiquidateSubaccountParams, t as EngineBurnNlpParams, u as EnginePlaceOrderParams } from "./clientExecuteTypes-BlJOgCL_.cjs";
|
|
5
5
|
import { $ as SubaccountOrderFeeRates, A as GetEngineMaxOrderSizeParams, B as GetEngineOrderResponse, C as GetEngineMarketPriceResponse, D as GetEngineMaxBurnNlpAmountResponse, E as GetEngineMaxBurnNlpAmountParams, F as GetEngineNlpLockedBalancesResponse, G as GetEngineSubaccountProductOrdersParams, H as GetEngineSubaccountFeeRatesResponse, I as GetEngineNlpPoolInfoResponse, J as GetEngineSubaccountSummaryResponse, K as GetEngineSubaccountProductOrdersResponse, L as GetEngineNoncesParams, M as GetEngineMaxWithdrawableParams, N as GetEngineMaxWithdrawableResponse, O as GetEngineMaxMintNlpAmountParams, P as GetEngineNlpLockedBalancesParams, Q as SubaccountIsolatedPosition, R as GetEngineNoncesResponse, S as GetEngineMarketPriceParams, T as GetEngineMarketPricesResponse, U as GetEngineSubaccountOrdersParams, V as GetEngineSubaccountFeeRatesParams, W as GetEngineSubaccountOrdersResponse, X as GetEngineTimeResponse, Y as GetEngineSymbolsParams, Z as NlpPool, _ as GetEngineIsolatedPositionsResponse, a as EnginePriceTickLiquidity, at as ValidateSignedEngineOrderParams, b as GetEngineMarketLiquidityParams, c as EngineSymbolsResponse, d as GetEngineCountryCodeResponse, et as SubaccountProductDeltaTx, f as GetEngineEstimatedSubaccountSummaryParams, g as GetEngineIsolatedPositionsParams, h as GetEngineIpBlockStatusResponse, i as EngineOrder, it as ValidateEngineOrderResponse, j as GetEngineMaxOrderSizeResponse, k as GetEngineMaxMintNlpAmountResponse, l as GetEngineAllMarketsResponse, m as GetEngineInsuranceResponse, n as EngineNlpBalance, nt as SubaccountTx, o as EngineSubaccountOrders, p as GetEngineHealthGroupsResponse, q as GetEngineSubaccountSummaryParams, r as EngineNlpLockedBalance, rt as ValidateEngineOrderParams, s as EngineSymbol, t as EngineMarketPrice, tt as SubaccountSummaryState, u as GetEngineContractsResponse, v as GetEngineLinkedSignerParams, w as GetEngineMarketPricesParams, x as GetEngineMarketLiquidityResponse, y as GetEngineLinkedSignerResponse, z as GetEngineOrderParams } from "./clientQueryTypes-DlTtS_mX.cjs";
|
|
6
6
|
import { t as EngineServerFailureError } from "./EngineServerFailureError-DpPY0--L.cjs";
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as
|
|
7
|
+
import { _ as PositionChangeReason, a as EngineServerSubscriptionBookDepthEvent, c as EngineServerSubscriptionFillEvent, d as EngineServerSubscriptionLatestCandlestickEvent, f as EngineServerSubscriptionLiquidationEvent, g as OrderUpdateReason, h as EngineServerSubscriptionTradeEvent, i as EngineServerSubscriptionBestBidOfferEvent, l as EngineServerSubscriptionFundingPaymentEvent, m as EngineServerSubscriptionPositionChangeEvent, n as EngineServerSubscriptionAllBboEvent, o as EngineServerSubscriptionEvent, p as EngineServerSubscriptionOrderUpdateEvent, r as EngineServerSubscriptionBaseEvent, s as EngineServerSubscriptionEventType, t as EngineServerAllBboEntry, u as EngineServerSubscriptionFundingRateEvent } from "./serverSubscriptionEventTypes-BkHxEDTz.cjs";
|
|
8
|
+
import { _ as EngineServerSubscriptionStream, a as EngineServerFundingPaymentStreamParams, b as EngineServerSubscriptionTimeResponse, c as EngineServerLiquidationStreamParams, d as EngineServerPositionChangeStreamParams, f as EngineServerSubscriptionParams, g as EngineServerSubscriptionRequestType, h as EngineServerSubscriptionRequestByType, i as EngineServerFillStreamParams, l as EngineServerOrderUpdateStreamParams, m as EngineServerSubscriptionRequest, n as EngineServerBestBidOfferStreamParams, o as EngineServerFundingRateStreamParams, p as EngineServerSubscriptionPingResponse, r as EngineServerBookDepthStreamParams, s as EngineServerLatestCandlestickStreamParams, t as EngineServerAllBboStreamParams, u as EngineServerPingParams, v as EngineServerSubscriptionStreamParamsByType, x as EngineServerTradeStreamParams, y as EngineServerSubscriptionStreamParamsType } from "./serverSubscriptionTypes-CE6BIS-C.cjs";
|
|
9
9
|
import { EngineClient } from "./EngineClient.cjs";
|
|
10
10
|
import { ENGINE_CLIENT_ENDPOINTS, ENGINE_WS_CLIENT_ENDPOINTS, ENGINE_WS_SUBSCRIPTION_CLIENT_ENDPOINTS } from "./endpoints.cjs";
|
|
11
11
|
import { a as mapEngineServerNlpPoolInfo, c as mapEngineServerSpotProduct, d as mapEngineServerTickLiquidity, f as mapSubaccountSummary, i as mapEngineServerNlpLockedBalances, l as mapEngineServerSymbol, n as mapEngineServerBalanceHealthContributions, o as mapEngineServerOrder, r as mapEngineServerIsolatedPositions, s as mapEngineServerPerpProduct, t as mapEngineMarketPrice, u as mapEngineServerSymbols } from "./queryDataMappers-DO9yWdLo.cjs";
|
|
12
|
-
export { ENGINE_CLIENT_ENDPOINTS, ENGINE_SERVER_STATUS_VALUES, ENGINE_WS_CLIENT_ENDPOINTS, ENGINE_WS_SUBSCRIPTION_CLIENT_ENDPOINTS, EngineBurnNlpParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineClient, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerEdgeAllProductsResponse, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineWithdrawCollateralParams, GetEngineAllMarketsResponse, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParams, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature, mapEngineMarketPrice, mapEngineServerBalanceHealthContributions, mapEngineServerIsolatedPositions, mapEngineServerNlpLockedBalances, mapEngineServerNlpPoolInfo, mapEngineServerOrder, mapEngineServerPerpProduct, mapEngineServerSpotProduct, mapEngineServerSymbol, mapEngineServerSymbols, mapEngineServerTickLiquidity, mapSubaccountSummary };
|
|
12
|
+
export { ENGINE_CLIENT_ENDPOINTS, ENGINE_SERVER_STATUS_VALUES, ENGINE_WS_CLIENT_ENDPOINTS, ENGINE_WS_SUBSCRIPTION_CLIENT_ENDPOINTS, EngineBurnNlpParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineClient, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllBboEntry, EngineServerAllBboStreamParams, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerEdgeAllProductsResponse, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerFundingRateStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPingParams, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionAllBboEvent, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionFundingRateEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPingResponse, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTimeResponse, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineWithdrawCollateralParams, GetEngineAllMarketsResponse, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParams, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature, mapEngineMarketPrice, mapEngineServerBalanceHealthContributions, mapEngineServerIsolatedPositions, mapEngineServerNlpLockedBalances, mapEngineServerNlpPoolInfo, mapEngineServerOrder, mapEngineServerPerpProduct, mapEngineServerSpotProduct, mapEngineServerSymbol, mapEngineServerSymbols, mapEngineServerTickLiquidity, mapSubaccountSummary };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult,
|
|
|
4
4
|
import { _ as WithSignature, a as EngineExecuteRequestParamsByType, c as EngineMintNlpParams, d as EnginePlaceOrderResult, f as EnginePlaceOrdersParams, g as WithBaseEngineExecuteParams, h as SignatureParams, i as EngineCancelProductOrdersParams, l as EngineOrderParams, m as EngineWithdrawCollateralParams, n as EngineCancelAndPlaceParams, o as EngineLinkSignerParams, p as EngineTransferQuoteParams, r as EngineCancelOrdersParams, s as EngineLiquidateSubaccountParams, t as EngineBurnNlpParams, u as EnginePlaceOrderParams } from "./clientExecuteTypes-CJ08_c4q.js";
|
|
5
5
|
import { $ as SubaccountOrderFeeRates, A as GetEngineMaxOrderSizeParams, B as GetEngineOrderResponse, C as GetEngineMarketPriceResponse, D as GetEngineMaxBurnNlpAmountResponse, E as GetEngineMaxBurnNlpAmountParams, F as GetEngineNlpLockedBalancesResponse, G as GetEngineSubaccountProductOrdersParams, H as GetEngineSubaccountFeeRatesResponse, I as GetEngineNlpPoolInfoResponse, J as GetEngineSubaccountSummaryResponse, K as GetEngineSubaccountProductOrdersResponse, L as GetEngineNoncesParams, M as GetEngineMaxWithdrawableParams, N as GetEngineMaxWithdrawableResponse, O as GetEngineMaxMintNlpAmountParams, P as GetEngineNlpLockedBalancesParams, Q as SubaccountIsolatedPosition, R as GetEngineNoncesResponse, S as GetEngineMarketPriceParams, T as GetEngineMarketPricesResponse, U as GetEngineSubaccountOrdersParams, V as GetEngineSubaccountFeeRatesParams, W as GetEngineSubaccountOrdersResponse, X as GetEngineTimeResponse, Y as GetEngineSymbolsParams, Z as NlpPool, _ as GetEngineIsolatedPositionsResponse, a as EnginePriceTickLiquidity, at as ValidateSignedEngineOrderParams, b as GetEngineMarketLiquidityParams, c as EngineSymbolsResponse, d as GetEngineCountryCodeResponse, et as SubaccountProductDeltaTx, f as GetEngineEstimatedSubaccountSummaryParams, g as GetEngineIsolatedPositionsParams, h as GetEngineIpBlockStatusResponse, i as EngineOrder, it as ValidateEngineOrderResponse, j as GetEngineMaxOrderSizeResponse, k as GetEngineMaxMintNlpAmountResponse, l as GetEngineAllMarketsResponse, m as GetEngineInsuranceResponse, n as EngineNlpBalance, nt as SubaccountTx, o as EngineSubaccountOrders, p as GetEngineHealthGroupsResponse, q as GetEngineSubaccountSummaryParams, r as EngineNlpLockedBalance, rt as ValidateEngineOrderParams, s as EngineSymbol, t as EngineMarketPrice, tt as SubaccountSummaryState, u as GetEngineContractsResponse, v as GetEngineLinkedSignerParams, w as GetEngineMarketPricesParams, x as GetEngineMarketLiquidityResponse, y as GetEngineLinkedSignerResponse, z as GetEngineOrderParams } from "./clientQueryTypes-DuRgEeBT.js";
|
|
6
6
|
import { t as EngineServerFailureError } from "./EngineServerFailureError-CDabRrF4.js";
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as
|
|
7
|
+
import { _ as PositionChangeReason, a as EngineServerSubscriptionBookDepthEvent, c as EngineServerSubscriptionFillEvent, d as EngineServerSubscriptionLatestCandlestickEvent, f as EngineServerSubscriptionLiquidationEvent, g as OrderUpdateReason, h as EngineServerSubscriptionTradeEvent, i as EngineServerSubscriptionBestBidOfferEvent, l as EngineServerSubscriptionFundingPaymentEvent, m as EngineServerSubscriptionPositionChangeEvent, n as EngineServerSubscriptionAllBboEvent, o as EngineServerSubscriptionEvent, p as EngineServerSubscriptionOrderUpdateEvent, r as EngineServerSubscriptionBaseEvent, s as EngineServerSubscriptionEventType, t as EngineServerAllBboEntry, u as EngineServerSubscriptionFundingRateEvent } from "./serverSubscriptionEventTypes-CO-0wVLL.js";
|
|
8
|
+
import { _ as EngineServerSubscriptionStream, a as EngineServerFundingPaymentStreamParams, b as EngineServerSubscriptionTimeResponse, c as EngineServerLiquidationStreamParams, d as EngineServerPositionChangeStreamParams, f as EngineServerSubscriptionParams, g as EngineServerSubscriptionRequestType, h as EngineServerSubscriptionRequestByType, i as EngineServerFillStreamParams, l as EngineServerOrderUpdateStreamParams, m as EngineServerSubscriptionRequest, n as EngineServerBestBidOfferStreamParams, o as EngineServerFundingRateStreamParams, p as EngineServerSubscriptionPingResponse, r as EngineServerBookDepthStreamParams, s as EngineServerLatestCandlestickStreamParams, t as EngineServerAllBboStreamParams, u as EngineServerPingParams, v as EngineServerSubscriptionStreamParamsByType, x as EngineServerTradeStreamParams, y as EngineServerSubscriptionStreamParamsType } from "./serverSubscriptionTypes-Cgz-h0ot.js";
|
|
9
9
|
import { EngineClient } from "./EngineClient.js";
|
|
10
10
|
import { ENGINE_CLIENT_ENDPOINTS, ENGINE_WS_CLIENT_ENDPOINTS, ENGINE_WS_SUBSCRIPTION_CLIENT_ENDPOINTS } from "./endpoints.js";
|
|
11
11
|
import { a as mapEngineServerNlpPoolInfo, c as mapEngineServerSpotProduct, d as mapEngineServerTickLiquidity, f as mapSubaccountSummary, i as mapEngineServerNlpLockedBalances, l as mapEngineServerSymbol, n as mapEngineServerBalanceHealthContributions, o as mapEngineServerOrder, r as mapEngineServerIsolatedPositions, s as mapEngineServerPerpProduct, t as mapEngineMarketPrice, u as mapEngineServerSymbols } from "./queryDataMappers-BguxA579.js";
|
|
12
|
-
export { ENGINE_CLIENT_ENDPOINTS, ENGINE_SERVER_STATUS_VALUES, ENGINE_WS_CLIENT_ENDPOINTS, ENGINE_WS_SUBSCRIPTION_CLIENT_ENDPOINTS, EngineBurnNlpParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineClient, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerEdgeAllProductsResponse, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineWithdrawCollateralParams, GetEngineAllMarketsResponse, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParams, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature, mapEngineMarketPrice, mapEngineServerBalanceHealthContributions, mapEngineServerIsolatedPositions, mapEngineServerNlpLockedBalances, mapEngineServerNlpPoolInfo, mapEngineServerOrder, mapEngineServerPerpProduct, mapEngineServerSpotProduct, mapEngineServerSymbol, mapEngineServerSymbols, mapEngineServerTickLiquidity, mapSubaccountSummary };
|
|
12
|
+
export { ENGINE_CLIENT_ENDPOINTS, ENGINE_SERVER_STATUS_VALUES, ENGINE_WS_CLIENT_ENDPOINTS, ENGINE_WS_SUBSCRIPTION_CLIENT_ENDPOINTS, EngineBurnNlpParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineClient, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllBboEntry, EngineServerAllBboStreamParams, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerEdgeAllProductsResponse, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerFundingRateStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPingParams, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionAllBboEvent, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionFundingRateEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPingResponse, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTimeResponse, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineWithdrawCollateralParams, GetEngineAllMarketsResponse, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParams, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature, mapEngineMarketPrice, mapEngineServerBalanceHealthContributions, mapEngineServerIsolatedPositions, mapEngineServerNlpLockedBalances, mapEngineServerNlpPoolInfo, mapEngineServerOrder, mapEngineServerPerpProduct, mapEngineServerSpotProduct, mapEngineServerSymbol, mapEngineServerSymbols, mapEngineServerTickLiquidity, mapSubaccountSummary };
|
|
@@ -9,7 +9,7 @@ type PositionChangeReason = 'deposit_collateral' | 'match_orders' | 'withdraw_co
|
|
|
9
9
|
* Possible reasons for order updates.
|
|
10
10
|
*/
|
|
11
11
|
type OrderUpdateReason = 'cancelled' | 'filled' | 'placed';
|
|
12
|
-
type EngineServerSubscriptionEventType = 'trade' | 'best_bid_offer' | 'book_depth' | 'fill' | 'position_change' | 'order_update' | 'liquidation' | 'latest_candlestick' | 'funding_payment';
|
|
12
|
+
type EngineServerSubscriptionEventType = 'trade' | 'best_bid_offer' | 'book_depth' | 'fill' | 'position_change' | 'order_update' | 'liquidation' | 'latest_candlestick' | 'funding_payment' | 'funding_rate' | 'all_bbo';
|
|
13
13
|
interface EngineServerSubscriptionBaseEvent<T extends EngineServerSubscriptionEventType = EngineServerSubscriptionEventType> {
|
|
14
14
|
type: T;
|
|
15
15
|
product_id: number;
|
|
@@ -126,10 +126,50 @@ interface EngineServerSubscriptionFundingPaymentEvent extends EngineServerSubscr
|
|
|
126
126
|
/** Time delta over which the funding payment was calculated */
|
|
127
127
|
dt: string;
|
|
128
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Event from subscribing to a `funding_rate` stream.
|
|
131
|
+
*/
|
|
132
|
+
interface EngineServerSubscriptionFundingRateEvent extends EngineServerSubscriptionBaseEvent<'funding_rate'> {
|
|
133
|
+
/** Nanosecond timestamp when this event was emitted */
|
|
134
|
+
timestamp: string;
|
|
135
|
+
/**
|
|
136
|
+
* Current 24-hour funding rate (x18). E.g. "50000000000000000" = 5% annualized.
|
|
137
|
+
* Positive means longs pay shorts.
|
|
138
|
+
*/
|
|
139
|
+
funding_rate_x18: string;
|
|
140
|
+
/** Unix timestamp (seconds) when the rate was calculated */
|
|
141
|
+
update_time: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Top-of-book entry for a single product within an `all_bbo` snapshot.
|
|
145
|
+
*/
|
|
146
|
+
interface EngineServerAllBboEntry {
|
|
147
|
+
/** Best bid price (x18). "0" if no bids exist. */
|
|
148
|
+
bid: string;
|
|
149
|
+
/** Best ask price (x18). MAX_I128 if no asks exist. */
|
|
150
|
+
ask: string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Event from subscribing to an `all_bbo` stream.
|
|
154
|
+
*
|
|
155
|
+
* Unlike other events, this is a full-market snapshot pushed on a fixed ~300ms
|
|
156
|
+
* cadence and therefore carries no `product_id`.
|
|
157
|
+
*/
|
|
158
|
+
interface EngineServerSubscriptionAllBboEvent {
|
|
159
|
+
type: 'all_bbo';
|
|
160
|
+
/** Snapshot time in milliseconds (note: not nanoseconds like other events) */
|
|
161
|
+
time: string;
|
|
162
|
+
/**
|
|
163
|
+
* Map of `product_id` (string key) to its top-of-book entry. Only includes
|
|
164
|
+
* products with a cached BBO, so it may be empty or partial right after
|
|
165
|
+
* subscribing.
|
|
166
|
+
*/
|
|
167
|
+
bbos: Record<string, EngineServerAllBboEntry>;
|
|
168
|
+
}
|
|
129
169
|
/**
|
|
130
170
|
* Union type for all engine server subscription events.
|
|
131
171
|
*/
|
|
132
|
-
type EngineServerSubscriptionEvent = EngineServerSubscriptionTradeEvent | EngineServerSubscriptionBestBidOfferEvent | EngineServerSubscriptionBookDepthEvent | EngineServerSubscriptionFillEvent | EngineServerSubscriptionPositionChangeEvent | EngineServerSubscriptionOrderUpdateEvent | EngineServerSubscriptionLiquidationEvent | EngineServerSubscriptionLatestCandlestickEvent | EngineServerSubscriptionFundingPaymentEvent;
|
|
172
|
+
type EngineServerSubscriptionEvent = EngineServerSubscriptionTradeEvent | EngineServerSubscriptionBestBidOfferEvent | EngineServerSubscriptionBookDepthEvent | EngineServerSubscriptionFillEvent | EngineServerSubscriptionPositionChangeEvent | EngineServerSubscriptionOrderUpdateEvent | EngineServerSubscriptionLiquidationEvent | EngineServerSubscriptionLatestCandlestickEvent | EngineServerSubscriptionFundingPaymentEvent | EngineServerSubscriptionFundingRateEvent | EngineServerSubscriptionAllBboEvent;
|
|
133
173
|
//#endregion
|
|
134
|
-
export {
|
|
135
|
-
//# sourceMappingURL=serverSubscriptionEventTypes-
|
|
174
|
+
export { PositionChangeReason as _, EngineServerSubscriptionBookDepthEvent as a, EngineServerSubscriptionFillEvent as c, EngineServerSubscriptionLatestCandlestickEvent as d, EngineServerSubscriptionLiquidationEvent as f, OrderUpdateReason as g, EngineServerSubscriptionTradeEvent as h, EngineServerSubscriptionBestBidOfferEvent as i, EngineServerSubscriptionFundingPaymentEvent as l, EngineServerSubscriptionPositionChangeEvent as m, EngineServerSubscriptionAllBboEvent as n, EngineServerSubscriptionEvent as o, EngineServerSubscriptionOrderUpdateEvent as p, EngineServerSubscriptionBaseEvent as r, EngineServerSubscriptionEventType as s, EngineServerAllBboEntry as t, EngineServerSubscriptionFundingRateEvent as u };
|
|
175
|
+
//# sourceMappingURL=serverSubscriptionEventTypes-BkHxEDTz.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverSubscriptionEventTypes-
|
|
1
|
+
{"version":3,"file":"serverSubscriptionEventTypes-BkHxEDTz.d.cts","names":[],"sources":["../src/types/src/types/serverSubscriptionEventTypes.ts"],"mappings":";;;;;AAKA;KAAY,oBAAA;;;AAAoB;KAapB,iBAAA;AAAA,KAEA,iCAAA;AAAA,UAaK,iCAAA,WACL,iCAAA,GACR,iCAAA;EAEF,IAAA,EAAM,CAAA;EACN,UAAA;AAAA;;;;UAMe,kCAAA,SAA2C,iCAAiC;EAC3F,SAAA;EACA,KAAA;EACA,SAAA;EACA,SAAA;EACA,cAAA;AAAA;;;;UAMe,yCAAA,SAAkD,iCAAiC;EAClG,SAAA;EACA,SAAA;EACA,OAAA;EACA,SAAA;EACA,OAAA;AAAA;AAhBF;;;AAAA,UAsBiB,sCAAA,SAA+C,iCAAA;EAC9D,kBAAA;EACA,aAAA;EACA,aAAA;EACA,IAAA,EAAM,8BAAA;EACN,IAAA,EAAM,8BAAA;AAAA;;AAtBQ;AAMhB;UAsBiB,iCAAA,SAA0C,iCAAiC;EAG1F,SAAA;EACA,UAAA;EACA,YAAA;EACA,UAAA;EACA,aAAA;EACA,YAAA;EACA,KAAA;EACA,QAAA;EACA,MAAA;EACA,GAAA;EACA,cAAA;EACA,QAAA;AAAA;;;;UAMe,2CAAA,SAAoD,iCAAiC;EACpG,SAAA;EACA,UAAA;EACA,MAAA;EAhCA;EAkCA,cAAA;EACA,MAAA,EAAQ,oBAAA;EAjCF;;;EAqCN,QAAA;AAAA;AA9BF;;;AAAA,UAoCiB,wCAAA,SAAiD,iCAAiC;EACjG,SAAA;EACA,MAAA;EACA,MAAA;EACA,MAAA,EAAQ,iBAAA;AAAA;;;;UAMO,wCAAA,SAAiD,iCAAiC;EACjG,SAAA;EAnCA;EAqCA,WAAA;EACA,UAAA;EACA,UAAA;EArCQ;EAuCR,MAAA;EAjC2D;EAmC3D,KAAA;AAAA;;;;UAMe,8CAAA,SAAuD,iCAAiC;EACvG,SAAA;EACA,WAAA;EACA,QAAA;EACA,QAAA;EACA,OAAA;EACA,SAAA;EACA,MAAA;AAAA;;;;UAMe,2CAAA,SAAoD,iCAAiC;EACpG,SAAA;EApCA;EAsCA,cAAA;EArCQ;EAuCR,aAAA;EAvCyB;EAyCzB,2BAAA;EACA,4BAAA;;EAEA,EAAA;AAAA;;;;UAMe,wCAAA,SAAiD,iCAAiC;EArCjG;EAuCA,SAAA;EArCK;AAAA;AAMP;;EAoCE,gBAAA;EApCuG;EAsCvG,WAAA;AAAA;;;;UAMe,uBAAA;EAtCf;EAwCA,GAAA;EAvCM;EAyCN,GAAG;AAAA;;;;;;;UASY,mCAAA;EACf,IAAA;EArCA;EAuCA,IAAA;EArCE;AAAA;AAMJ;;;EAqCE,IAAA,EAAM,MAAM,SAAS,uBAAA;AAAA;;;;KAMX,6BAAA,GACR,kCAAA,GACA,yCAAA,GACA,sCAAA,GACA,iCAAA,GACA,2CAAA,GACA,wCAAA,GACA,wCAAA,GACA,8CAAA,GACA,2CAAA,GACA,wCAAA,GACA,mCAAA"}
|
|
@@ -9,7 +9,7 @@ type PositionChangeReason = 'deposit_collateral' | 'match_orders' | 'withdraw_co
|
|
|
9
9
|
* Possible reasons for order updates.
|
|
10
10
|
*/
|
|
11
11
|
type OrderUpdateReason = 'cancelled' | 'filled' | 'placed';
|
|
12
|
-
type EngineServerSubscriptionEventType = 'trade' | 'best_bid_offer' | 'book_depth' | 'fill' | 'position_change' | 'order_update' | 'liquidation' | 'latest_candlestick' | 'funding_payment';
|
|
12
|
+
type EngineServerSubscriptionEventType = 'trade' | 'best_bid_offer' | 'book_depth' | 'fill' | 'position_change' | 'order_update' | 'liquidation' | 'latest_candlestick' | 'funding_payment' | 'funding_rate' | 'all_bbo';
|
|
13
13
|
interface EngineServerSubscriptionBaseEvent<T extends EngineServerSubscriptionEventType = EngineServerSubscriptionEventType> {
|
|
14
14
|
type: T;
|
|
15
15
|
product_id: number;
|
|
@@ -126,10 +126,50 @@ interface EngineServerSubscriptionFundingPaymentEvent extends EngineServerSubscr
|
|
|
126
126
|
/** Time delta over which the funding payment was calculated */
|
|
127
127
|
dt: string;
|
|
128
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Event from subscribing to a `funding_rate` stream.
|
|
131
|
+
*/
|
|
132
|
+
interface EngineServerSubscriptionFundingRateEvent extends EngineServerSubscriptionBaseEvent<'funding_rate'> {
|
|
133
|
+
/** Nanosecond timestamp when this event was emitted */
|
|
134
|
+
timestamp: string;
|
|
135
|
+
/**
|
|
136
|
+
* Current 24-hour funding rate (x18). E.g. "50000000000000000" = 5% annualized.
|
|
137
|
+
* Positive means longs pay shorts.
|
|
138
|
+
*/
|
|
139
|
+
funding_rate_x18: string;
|
|
140
|
+
/** Unix timestamp (seconds) when the rate was calculated */
|
|
141
|
+
update_time: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Top-of-book entry for a single product within an `all_bbo` snapshot.
|
|
145
|
+
*/
|
|
146
|
+
interface EngineServerAllBboEntry {
|
|
147
|
+
/** Best bid price (x18). "0" if no bids exist. */
|
|
148
|
+
bid: string;
|
|
149
|
+
/** Best ask price (x18). MAX_I128 if no asks exist. */
|
|
150
|
+
ask: string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Event from subscribing to an `all_bbo` stream.
|
|
154
|
+
*
|
|
155
|
+
* Unlike other events, this is a full-market snapshot pushed on a fixed ~300ms
|
|
156
|
+
* cadence and therefore carries no `product_id`.
|
|
157
|
+
*/
|
|
158
|
+
interface EngineServerSubscriptionAllBboEvent {
|
|
159
|
+
type: 'all_bbo';
|
|
160
|
+
/** Snapshot time in milliseconds (note: not nanoseconds like other events) */
|
|
161
|
+
time: string;
|
|
162
|
+
/**
|
|
163
|
+
* Map of `product_id` (string key) to its top-of-book entry. Only includes
|
|
164
|
+
* products with a cached BBO, so it may be empty or partial right after
|
|
165
|
+
* subscribing.
|
|
166
|
+
*/
|
|
167
|
+
bbos: Record<string, EngineServerAllBboEntry>;
|
|
168
|
+
}
|
|
129
169
|
/**
|
|
130
170
|
* Union type for all engine server subscription events.
|
|
131
171
|
*/
|
|
132
|
-
type EngineServerSubscriptionEvent = EngineServerSubscriptionTradeEvent | EngineServerSubscriptionBestBidOfferEvent | EngineServerSubscriptionBookDepthEvent | EngineServerSubscriptionFillEvent | EngineServerSubscriptionPositionChangeEvent | EngineServerSubscriptionOrderUpdateEvent | EngineServerSubscriptionLiquidationEvent | EngineServerSubscriptionLatestCandlestickEvent | EngineServerSubscriptionFundingPaymentEvent;
|
|
172
|
+
type EngineServerSubscriptionEvent = EngineServerSubscriptionTradeEvent | EngineServerSubscriptionBestBidOfferEvent | EngineServerSubscriptionBookDepthEvent | EngineServerSubscriptionFillEvent | EngineServerSubscriptionPositionChangeEvent | EngineServerSubscriptionOrderUpdateEvent | EngineServerSubscriptionLiquidationEvent | EngineServerSubscriptionLatestCandlestickEvent | EngineServerSubscriptionFundingPaymentEvent | EngineServerSubscriptionFundingRateEvent | EngineServerSubscriptionAllBboEvent;
|
|
133
173
|
//#endregion
|
|
134
|
-
export {
|
|
135
|
-
//# sourceMappingURL=serverSubscriptionEventTypes-
|
|
174
|
+
export { PositionChangeReason as _, EngineServerSubscriptionBookDepthEvent as a, EngineServerSubscriptionFillEvent as c, EngineServerSubscriptionLatestCandlestickEvent as d, EngineServerSubscriptionLiquidationEvent as f, OrderUpdateReason as g, EngineServerSubscriptionTradeEvent as h, EngineServerSubscriptionBestBidOfferEvent as i, EngineServerSubscriptionFundingPaymentEvent as l, EngineServerSubscriptionPositionChangeEvent as m, EngineServerSubscriptionAllBboEvent as n, EngineServerSubscriptionEvent as o, EngineServerSubscriptionOrderUpdateEvent as p, EngineServerSubscriptionBaseEvent as r, EngineServerSubscriptionEventType as s, EngineServerAllBboEntry as t, EngineServerSubscriptionFundingRateEvent as u };
|
|
175
|
+
//# sourceMappingURL=serverSubscriptionEventTypes-CO-0wVLL.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverSubscriptionEventTypes-
|
|
1
|
+
{"version":3,"file":"serverSubscriptionEventTypes-CO-0wVLL.d.ts","names":[],"sources":["../src/types/src/types/serverSubscriptionEventTypes.ts"],"mappings":";;;;;AAKA;KAAY,oBAAA;;;AAAoB;KAapB,iBAAA;AAAA,KAEA,iCAAA;AAAA,UAaK,iCAAA,WACL,iCAAA,GACR,iCAAA;EAEF,IAAA,EAAM,CAAA;EACN,UAAA;AAAA;;;;UAMe,kCAAA,SAA2C,iCAAiC;EAC3F,SAAA;EACA,KAAA;EACA,SAAA;EACA,SAAA;EACA,cAAA;AAAA;;;;UAMe,yCAAA,SAAkD,iCAAiC;EAClG,SAAA;EACA,SAAA;EACA,OAAA;EACA,SAAA;EACA,OAAA;AAAA;AAhBF;;;AAAA,UAsBiB,sCAAA,SAA+C,iCAAA;EAC9D,kBAAA;EACA,aAAA;EACA,aAAA;EACA,IAAA,EAAM,8BAAA;EACN,IAAA,EAAM,8BAAA;AAAA;;AAtBQ;AAMhB;UAsBiB,iCAAA,SAA0C,iCAAiC;EAG1F,SAAA;EACA,UAAA;EACA,YAAA;EACA,UAAA;EACA,aAAA;EACA,YAAA;EACA,KAAA;EACA,QAAA;EACA,MAAA;EACA,GAAA;EACA,cAAA;EACA,QAAA;AAAA;;;;UAMe,2CAAA,SAAoD,iCAAiC;EACpG,SAAA;EACA,UAAA;EACA,MAAA;EAhCA;EAkCA,cAAA;EACA,MAAA,EAAQ,oBAAA;EAjCF;;;EAqCN,QAAA;AAAA;AA9BF;;;AAAA,UAoCiB,wCAAA,SAAiD,iCAAiC;EACjG,SAAA;EACA,MAAA;EACA,MAAA;EACA,MAAA,EAAQ,iBAAA;AAAA;;;;UAMO,wCAAA,SAAiD,iCAAiC;EACjG,SAAA;EAnCA;EAqCA,WAAA;EACA,UAAA;EACA,UAAA;EArCQ;EAuCR,MAAA;EAjC2D;EAmC3D,KAAA;AAAA;;;;UAMe,8CAAA,SAAuD,iCAAiC;EACvG,SAAA;EACA,WAAA;EACA,QAAA;EACA,QAAA;EACA,OAAA;EACA,SAAA;EACA,MAAA;AAAA;;;;UAMe,2CAAA,SAAoD,iCAAiC;EACpG,SAAA;EApCA;EAsCA,cAAA;EArCQ;EAuCR,aAAA;EAvCyB;EAyCzB,2BAAA;EACA,4BAAA;;EAEA,EAAA;AAAA;;;;UAMe,wCAAA,SAAiD,iCAAiC;EArCjG;EAuCA,SAAA;EArCK;AAAA;AAMP;;EAoCE,gBAAA;EApCuG;EAsCvG,WAAA;AAAA;;;;UAMe,uBAAA;EAtCf;EAwCA,GAAA;EAvCM;EAyCN,GAAG;AAAA;;;;;;;UASY,mCAAA;EACf,IAAA;EArCA;EAuCA,IAAA;EArCE;AAAA;AAMJ;;;EAqCE,IAAA,EAAM,MAAM,SAAS,uBAAA;AAAA;;;;KAMX,6BAAA,GACR,kCAAA,GACA,yCAAA,GACA,sCAAA,GACA,iCAAA,GACA,2CAAA,GACA,wCAAA,GACA,wCAAA,GACA,8CAAA,GACA,2CAAA,GACA,wCAAA,GACA,mCAAA"}
|
package/dist/{serverSubscriptionTypes-DoMWeKgY.d.ts → serverSubscriptionTypes-CE6BIS-C.d.cts}
RENAMED
|
@@ -34,6 +34,15 @@ interface EngineServerLiquidationStreamParams {
|
|
|
34
34
|
interface EngineServerFundingPaymentStreamParams {
|
|
35
35
|
product_id: number;
|
|
36
36
|
}
|
|
37
|
+
interface EngineServerFundingRateStreamParams {
|
|
38
|
+
/** when not provided, subscribes to all products */
|
|
39
|
+
product_id?: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The `all_bbo` stream pushes a full-market top-of-book snapshot on a fixed
|
|
43
|
+
* cadence, so it takes no params.
|
|
44
|
+
*/
|
|
45
|
+
type EngineServerAllBboStreamParams = Record<string, never>;
|
|
37
46
|
/**
|
|
38
47
|
* Available subscription streams
|
|
39
48
|
*/
|
|
@@ -47,6 +56,8 @@ interface EngineServerSubscriptionStreamParamsByType {
|
|
|
47
56
|
liquidation: EngineServerLiquidationStreamParams;
|
|
48
57
|
latest_candlestick: EngineServerLatestCandlestickStreamParams;
|
|
49
58
|
funding_payment: EngineServerFundingPaymentStreamParams;
|
|
59
|
+
funding_rate: EngineServerFundingRateStreamParams;
|
|
60
|
+
all_bbo: EngineServerAllBboStreamParams;
|
|
50
61
|
}
|
|
51
62
|
type EngineServerSubscriptionStreamParamsType = keyof EngineServerSubscriptionStreamParamsByType;
|
|
52
63
|
/**
|
|
@@ -61,13 +72,31 @@ type EngineServerSubscriptionStream<TStreamType extends EngineServerSubscription
|
|
|
61
72
|
interface EngineServerSubscriptionParams {
|
|
62
73
|
stream: EngineServerSubscriptionStream<EngineServerSubscriptionStreamParamsType>;
|
|
63
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Params to provide to a `ping` control message.
|
|
77
|
+
*/
|
|
78
|
+
interface EngineServerPingParams {
|
|
79
|
+
/**
|
|
80
|
+
* Optional client timestamp (epoch milliseconds, as a string). When provided,
|
|
81
|
+
* it is echoed back in the `pong` response so round-trip latency and clock
|
|
82
|
+
* offset can be measured.
|
|
83
|
+
*/
|
|
84
|
+
client_time?: string;
|
|
85
|
+
}
|
|
64
86
|
/**
|
|
65
87
|
* Available actions on the subscription API.
|
|
88
|
+
*
|
|
89
|
+
* Alongside the `subscribe` / `unsubscribe` / `list` actions, the socket also
|
|
90
|
+
* answers two control messages - `ping` and `time` - for measuring latency and
|
|
91
|
+
* aligning clocks. These are request/response (not streams) and require no
|
|
92
|
+
* authentication.
|
|
66
93
|
*/
|
|
67
94
|
interface EngineServerSubscriptionRequestByType {
|
|
68
95
|
subscribe: EngineServerSubscriptionParams;
|
|
69
96
|
unsubscribe: EngineServerSubscriptionParams;
|
|
70
97
|
list: Record<string, never>;
|
|
98
|
+
ping: EngineServerPingParams;
|
|
99
|
+
time: Record<string, never>;
|
|
71
100
|
}
|
|
72
101
|
type EngineServerSubscriptionRequestType = keyof EngineServerSubscriptionRequestByType;
|
|
73
102
|
/**
|
|
@@ -77,6 +106,29 @@ type EngineServerSubscriptionRequest<TRequestType extends EngineServerSubscripti
|
|
|
77
106
|
id: number;
|
|
78
107
|
method: TRequestType;
|
|
79
108
|
} & EngineServerSubscriptionRequestByType[TRequestType];
|
|
109
|
+
/**
|
|
110
|
+
* Response to a `ping` control message.
|
|
111
|
+
*/
|
|
112
|
+
interface EngineServerSubscriptionPingResponse {
|
|
113
|
+
result: {
|
|
114
|
+
method: 'pong'; /** Server time when the response was generated (epoch milliseconds, as a string). */
|
|
115
|
+
server_time: string; /** Echoes back the `client_time` from the request, when one was provided. */
|
|
116
|
+
client_time: string;
|
|
117
|
+
};
|
|
118
|
+
/** Echoes back the client-provided ID. */
|
|
119
|
+
id: number;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Response to a `time` control message.
|
|
123
|
+
*/
|
|
124
|
+
interface EngineServerSubscriptionTimeResponse {
|
|
125
|
+
result: {
|
|
126
|
+
method: 'time'; /** Current server time (epoch milliseconds, as a string). */
|
|
127
|
+
server_time: string;
|
|
128
|
+
};
|
|
129
|
+
/** Echoes back the client-provided ID. */
|
|
130
|
+
id: number;
|
|
131
|
+
}
|
|
80
132
|
//#endregion
|
|
81
|
-
export {
|
|
82
|
-
//# sourceMappingURL=serverSubscriptionTypes-
|
|
133
|
+
export { EngineServerSubscriptionStream as _, EngineServerFundingPaymentStreamParams as a, EngineServerSubscriptionTimeResponse as b, EngineServerLiquidationStreamParams as c, EngineServerPositionChangeStreamParams as d, EngineServerSubscriptionParams as f, EngineServerSubscriptionRequestType as g, EngineServerSubscriptionRequestByType as h, EngineServerFillStreamParams as i, EngineServerOrderUpdateStreamParams as l, EngineServerSubscriptionRequest as m, EngineServerBestBidOfferStreamParams as n, EngineServerFundingRateStreamParams as o, EngineServerSubscriptionPingResponse as p, EngineServerBookDepthStreamParams as r, EngineServerLatestCandlestickStreamParams as s, EngineServerAllBboStreamParams as t, EngineServerPingParams as u, EngineServerSubscriptionStreamParamsByType as v, EngineServerTradeStreamParams as x, EngineServerSubscriptionStreamParamsType as y };
|
|
134
|
+
//# sourceMappingURL=serverSubscriptionTypes-CE6BIS-C.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverSubscriptionTypes-CE6BIS-C.d.cts","names":[],"sources":["../src/types/src/types/serverSubscriptionTypes.ts"],"mappings":";UAAiB,mCAAA;EAAA;EAEf,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,6BAAA;EACf,UAAU;AAAA;AAAA,UAGK,oCAAA;EACf,UAAU;AAAA;AAAA,UAGK,4BAAA;EAJoC;EAMnD,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,sCAAA;EAN4B;EAQ3C,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,iCAAA;EACf,UAAU;AAAA;AAAA,UAGK,yCAAA;EACf,UAAA;EACA,WAAW;AAAA;AAAA,UAGI,mCAAA;EARL;EAUV,UAAU;AAAA;AAAA,UAGK,sCAAA;EACf,UAAU;AAAA;AAAA,UAGK,mCAAA;EATA;EAWf,UAAU;AAAA;;AATA;AAGZ;;KAaY,8BAAA,GAAiC,MAAM;;AAZvC;AAGZ;UAciB,0CAAA;EACf,YAAA,EAAc,mCAAA;EACd,KAAA,EAAO,6BAAA;EACP,cAAA,EAAgB,oCAAA;EAChB,IAAA,EAAM,4BAAA;EACN,eAAA,EAAiB,sCAAA;EACjB,UAAA,EAAY,iCAAA;EACZ,WAAA,EAAa,mCAAA;EACb,kBAAA,EAAoB,yCAAA;EACpB,eAAA,EAAiB,sCAAA;EACjB,YAAA,EAAc,mCAAA;EACd,OAAA,EAAS,8BAAA;AAAA;AAAA,KAGC,wCAAA,SACJ,0CAA0C;;;;KAKtC,8BAAA,qBACU,wCAAA;EAEpB,IAAA,EAAM,WAAA;AAAA,IACJ,0CAAA,CAA2C,WAAA;;;;UAK9B,8BAAA;EACf,MAAA,EAAQ,8BAA8B,CAAC,wCAAA;AAAA;;;;UAMxB,sBAAA;EAjCC;;;;;EAuChB,WAAW;AAAA;;;;;;;;;UAWI,qCAAA;EACf,SAAA,EAAW,8BAAA;EACX,WAAA,EAAa,8BAAA;EACb,IAAA,EAAM,MAAA;EACN,IAAA,EAAM,sBAAA;EACN,IAAA,EAAM,MAAA;AAAA;AAAA,KAGI,mCAAA,SACJ,qCAAqC;AA/CK;AAKlD;;AALkD,KAoDtC,+BAAA,sBACW,mCAAA;EAErB,EAAA;EACA,MAAA,EAAQ,YAAA;AAAA,IACN,qCAAA,CAAsC,YAAA;;;;UAKzB,oCAAA;EACf,MAAA;IACE,MAAA,UAxDI;IA0DJ,WAAA,UAzD2C;IA2D3C,WAAA;EAAA;EAtDa;EAyDf,EAAA;AAAA;;;;UAMe,oCAAA;EACf,MAAA;IACE,MAAA,UA1Da;IA4Db,WAAA;EAAA;EAtDS;EAyDX,EAAA;AAAA"}
|
package/dist/{serverSubscriptionTypes-BSuYa6z_.d.cts → serverSubscriptionTypes-Cgz-h0ot.d.ts}
RENAMED
|
@@ -34,6 +34,15 @@ interface EngineServerLiquidationStreamParams {
|
|
|
34
34
|
interface EngineServerFundingPaymentStreamParams {
|
|
35
35
|
product_id: number;
|
|
36
36
|
}
|
|
37
|
+
interface EngineServerFundingRateStreamParams {
|
|
38
|
+
/** when not provided, subscribes to all products */
|
|
39
|
+
product_id?: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The `all_bbo` stream pushes a full-market top-of-book snapshot on a fixed
|
|
43
|
+
* cadence, so it takes no params.
|
|
44
|
+
*/
|
|
45
|
+
type EngineServerAllBboStreamParams = Record<string, never>;
|
|
37
46
|
/**
|
|
38
47
|
* Available subscription streams
|
|
39
48
|
*/
|
|
@@ -47,6 +56,8 @@ interface EngineServerSubscriptionStreamParamsByType {
|
|
|
47
56
|
liquidation: EngineServerLiquidationStreamParams;
|
|
48
57
|
latest_candlestick: EngineServerLatestCandlestickStreamParams;
|
|
49
58
|
funding_payment: EngineServerFundingPaymentStreamParams;
|
|
59
|
+
funding_rate: EngineServerFundingRateStreamParams;
|
|
60
|
+
all_bbo: EngineServerAllBboStreamParams;
|
|
50
61
|
}
|
|
51
62
|
type EngineServerSubscriptionStreamParamsType = keyof EngineServerSubscriptionStreamParamsByType;
|
|
52
63
|
/**
|
|
@@ -61,13 +72,31 @@ type EngineServerSubscriptionStream<TStreamType extends EngineServerSubscription
|
|
|
61
72
|
interface EngineServerSubscriptionParams {
|
|
62
73
|
stream: EngineServerSubscriptionStream<EngineServerSubscriptionStreamParamsType>;
|
|
63
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Params to provide to a `ping` control message.
|
|
77
|
+
*/
|
|
78
|
+
interface EngineServerPingParams {
|
|
79
|
+
/**
|
|
80
|
+
* Optional client timestamp (epoch milliseconds, as a string). When provided,
|
|
81
|
+
* it is echoed back in the `pong` response so round-trip latency and clock
|
|
82
|
+
* offset can be measured.
|
|
83
|
+
*/
|
|
84
|
+
client_time?: string;
|
|
85
|
+
}
|
|
64
86
|
/**
|
|
65
87
|
* Available actions on the subscription API.
|
|
88
|
+
*
|
|
89
|
+
* Alongside the `subscribe` / `unsubscribe` / `list` actions, the socket also
|
|
90
|
+
* answers two control messages - `ping` and `time` - for measuring latency and
|
|
91
|
+
* aligning clocks. These are request/response (not streams) and require no
|
|
92
|
+
* authentication.
|
|
66
93
|
*/
|
|
67
94
|
interface EngineServerSubscriptionRequestByType {
|
|
68
95
|
subscribe: EngineServerSubscriptionParams;
|
|
69
96
|
unsubscribe: EngineServerSubscriptionParams;
|
|
70
97
|
list: Record<string, never>;
|
|
98
|
+
ping: EngineServerPingParams;
|
|
99
|
+
time: Record<string, never>;
|
|
71
100
|
}
|
|
72
101
|
type EngineServerSubscriptionRequestType = keyof EngineServerSubscriptionRequestByType;
|
|
73
102
|
/**
|
|
@@ -77,6 +106,29 @@ type EngineServerSubscriptionRequest<TRequestType extends EngineServerSubscripti
|
|
|
77
106
|
id: number;
|
|
78
107
|
method: TRequestType;
|
|
79
108
|
} & EngineServerSubscriptionRequestByType[TRequestType];
|
|
109
|
+
/**
|
|
110
|
+
* Response to a `ping` control message.
|
|
111
|
+
*/
|
|
112
|
+
interface EngineServerSubscriptionPingResponse {
|
|
113
|
+
result: {
|
|
114
|
+
method: 'pong'; /** Server time when the response was generated (epoch milliseconds, as a string). */
|
|
115
|
+
server_time: string; /** Echoes back the `client_time` from the request, when one was provided. */
|
|
116
|
+
client_time: string;
|
|
117
|
+
};
|
|
118
|
+
/** Echoes back the client-provided ID. */
|
|
119
|
+
id: number;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Response to a `time` control message.
|
|
123
|
+
*/
|
|
124
|
+
interface EngineServerSubscriptionTimeResponse {
|
|
125
|
+
result: {
|
|
126
|
+
method: 'time'; /** Current server time (epoch milliseconds, as a string). */
|
|
127
|
+
server_time: string;
|
|
128
|
+
};
|
|
129
|
+
/** Echoes back the client-provided ID. */
|
|
130
|
+
id: number;
|
|
131
|
+
}
|
|
80
132
|
//#endregion
|
|
81
|
-
export {
|
|
82
|
-
//# sourceMappingURL=serverSubscriptionTypes-
|
|
133
|
+
export { EngineServerSubscriptionStream as _, EngineServerFundingPaymentStreamParams as a, EngineServerSubscriptionTimeResponse as b, EngineServerLiquidationStreamParams as c, EngineServerPositionChangeStreamParams as d, EngineServerSubscriptionParams as f, EngineServerSubscriptionRequestType as g, EngineServerSubscriptionRequestByType as h, EngineServerFillStreamParams as i, EngineServerOrderUpdateStreamParams as l, EngineServerSubscriptionRequest as m, EngineServerBestBidOfferStreamParams as n, EngineServerFundingRateStreamParams as o, EngineServerSubscriptionPingResponse as p, EngineServerBookDepthStreamParams as r, EngineServerLatestCandlestickStreamParams as s, EngineServerAllBboStreamParams as t, EngineServerPingParams as u, EngineServerSubscriptionStreamParamsByType as v, EngineServerTradeStreamParams as x, EngineServerSubscriptionStreamParamsType as y };
|
|
134
|
+
//# sourceMappingURL=serverSubscriptionTypes-Cgz-h0ot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serverSubscriptionTypes-Cgz-h0ot.d.ts","names":[],"sources":["../src/types/src/types/serverSubscriptionTypes.ts"],"mappings":";UAAiB,mCAAA;EAAA;EAEf,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,6BAAA;EACf,UAAU;AAAA;AAAA,UAGK,oCAAA;EACf,UAAU;AAAA;AAAA,UAGK,4BAAA;EAJoC;EAMnD,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,sCAAA;EAN4B;EAQ3C,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,iCAAA;EACf,UAAU;AAAA;AAAA,UAGK,yCAAA;EACf,UAAA;EACA,WAAW;AAAA;AAAA,UAGI,mCAAA;EARL;EAUV,UAAU;AAAA;AAAA,UAGK,sCAAA;EACf,UAAU;AAAA;AAAA,UAGK,mCAAA;EATA;EAWf,UAAU;AAAA;;AATA;AAGZ;;KAaY,8BAAA,GAAiC,MAAM;;AAZvC;AAGZ;UAciB,0CAAA;EACf,YAAA,EAAc,mCAAA;EACd,KAAA,EAAO,6BAAA;EACP,cAAA,EAAgB,oCAAA;EAChB,IAAA,EAAM,4BAAA;EACN,eAAA,EAAiB,sCAAA;EACjB,UAAA,EAAY,iCAAA;EACZ,WAAA,EAAa,mCAAA;EACb,kBAAA,EAAoB,yCAAA;EACpB,eAAA,EAAiB,sCAAA;EACjB,YAAA,EAAc,mCAAA;EACd,OAAA,EAAS,8BAAA;AAAA;AAAA,KAGC,wCAAA,SACJ,0CAA0C;;;;KAKtC,8BAAA,qBACU,wCAAA;EAEpB,IAAA,EAAM,WAAA;AAAA,IACJ,0CAAA,CAA2C,WAAA;;;;UAK9B,8BAAA;EACf,MAAA,EAAQ,8BAA8B,CAAC,wCAAA;AAAA;;;;UAMxB,sBAAA;EAjCC;;;;;EAuChB,WAAW;AAAA;;;;;;;;;UAWI,qCAAA;EACf,SAAA,EAAW,8BAAA;EACX,WAAA,EAAa,8BAAA;EACb,IAAA,EAAM,MAAA;EACN,IAAA,EAAM,sBAAA;EACN,IAAA,EAAM,MAAA;AAAA;AAAA,KAGI,mCAAA,SACJ,qCAAqC;AA/CK;AAKlD;;AALkD,KAoDtC,+BAAA,sBACW,mCAAA;EAErB,EAAA;EACA,MAAA,EAAQ,YAAA;AAAA,IACN,qCAAA,CAAsC,YAAA;;;;UAKzB,oCAAA;EACf,MAAA;IACE,MAAA,UAxDI;IA0DJ,WAAA,UAzD2C;IA2D3C,WAAA;EAAA;EAtDa;EAyDf,EAAA;AAAA;;;;UAMe,oCAAA;EACf,MAAA;IACE,MAAA,UA1Da;IA4Db,WAAA;EAAA;EAtDS;EAyDX,EAAA;AAAA"}
|
package/dist/types/index.d.cts
CHANGED
|
@@ -4,6 +4,6 @@ import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult,
|
|
|
4
4
|
import { _ as WithSignature, a as EngineExecuteRequestParamsByType, c as EngineMintNlpParams, d as EnginePlaceOrderResult, f as EnginePlaceOrdersParams, g as WithBaseEngineExecuteParams, h as SignatureParams, i as EngineCancelProductOrdersParams, l as EngineOrderParams, m as EngineWithdrawCollateralParams, n as EngineCancelAndPlaceParams, o as EngineLinkSignerParams, p as EngineTransferQuoteParams, r as EngineCancelOrdersParams, s as EngineLiquidateSubaccountParams, t as EngineBurnNlpParams, u as EnginePlaceOrderParams } from "../clientExecuteTypes-BlJOgCL_.cjs";
|
|
5
5
|
import { $ as SubaccountOrderFeeRates, A as GetEngineMaxOrderSizeParams, B as GetEngineOrderResponse, C as GetEngineMarketPriceResponse, D as GetEngineMaxBurnNlpAmountResponse, E as GetEngineMaxBurnNlpAmountParams, F as GetEngineNlpLockedBalancesResponse, G as GetEngineSubaccountProductOrdersParams, H as GetEngineSubaccountFeeRatesResponse, I as GetEngineNlpPoolInfoResponse, J as GetEngineSubaccountSummaryResponse, K as GetEngineSubaccountProductOrdersResponse, L as GetEngineNoncesParams, M as GetEngineMaxWithdrawableParams, N as GetEngineMaxWithdrawableResponse, O as GetEngineMaxMintNlpAmountParams, P as GetEngineNlpLockedBalancesParams, Q as SubaccountIsolatedPosition, R as GetEngineNoncesResponse, S as GetEngineMarketPriceParams, T as GetEngineMarketPricesResponse, U as GetEngineSubaccountOrdersParams, V as GetEngineSubaccountFeeRatesParams, W as GetEngineSubaccountOrdersResponse, X as GetEngineTimeResponse, Y as GetEngineSymbolsParams, Z as NlpPool, _ as GetEngineIsolatedPositionsResponse, a as EnginePriceTickLiquidity, at as ValidateSignedEngineOrderParams, b as GetEngineMarketLiquidityParams, c as EngineSymbolsResponse, d as GetEngineCountryCodeResponse, et as SubaccountProductDeltaTx, f as GetEngineEstimatedSubaccountSummaryParams, g as GetEngineIsolatedPositionsParams, h as GetEngineIpBlockStatusResponse, i as EngineOrder, it as ValidateEngineOrderResponse, j as GetEngineMaxOrderSizeResponse, k as GetEngineMaxMintNlpAmountResponse, l as GetEngineAllMarketsResponse, m as GetEngineInsuranceResponse, n as EngineNlpBalance, nt as SubaccountTx, o as EngineSubaccountOrders, p as GetEngineHealthGroupsResponse, q as GetEngineSubaccountSummaryParams, r as EngineNlpLockedBalance, rt as ValidateEngineOrderParams, s as EngineSymbol, t as EngineMarketPrice, tt as SubaccountSummaryState, u as GetEngineContractsResponse, v as GetEngineLinkedSignerParams, w as GetEngineMarketPricesParams, x as GetEngineMarketLiquidityResponse, y as GetEngineLinkedSignerResponse, z as GetEngineOrderParams } from "../clientQueryTypes-DlTtS_mX.cjs";
|
|
6
6
|
import { t as EngineServerFailureError } from "../EngineServerFailureError-DpPY0--L.cjs";
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as
|
|
9
|
-
export { ENGINE_SERVER_STATUS_VALUES, EngineBurnNlpParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerEdgeAllProductsResponse, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineWithdrawCollateralParams, GetEngineAllMarketsResponse, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParams, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature };
|
|
7
|
+
import { _ as PositionChangeReason, a as EngineServerSubscriptionBookDepthEvent, c as EngineServerSubscriptionFillEvent, d as EngineServerSubscriptionLatestCandlestickEvent, f as EngineServerSubscriptionLiquidationEvent, g as OrderUpdateReason, h as EngineServerSubscriptionTradeEvent, i as EngineServerSubscriptionBestBidOfferEvent, l as EngineServerSubscriptionFundingPaymentEvent, m as EngineServerSubscriptionPositionChangeEvent, n as EngineServerSubscriptionAllBboEvent, o as EngineServerSubscriptionEvent, p as EngineServerSubscriptionOrderUpdateEvent, r as EngineServerSubscriptionBaseEvent, s as EngineServerSubscriptionEventType, t as EngineServerAllBboEntry, u as EngineServerSubscriptionFundingRateEvent } from "../serverSubscriptionEventTypes-BkHxEDTz.cjs";
|
|
8
|
+
import { _ as EngineServerSubscriptionStream, a as EngineServerFundingPaymentStreamParams, b as EngineServerSubscriptionTimeResponse, c as EngineServerLiquidationStreamParams, d as EngineServerPositionChangeStreamParams, f as EngineServerSubscriptionParams, g as EngineServerSubscriptionRequestType, h as EngineServerSubscriptionRequestByType, i as EngineServerFillStreamParams, l as EngineServerOrderUpdateStreamParams, m as EngineServerSubscriptionRequest, n as EngineServerBestBidOfferStreamParams, o as EngineServerFundingRateStreamParams, p as EngineServerSubscriptionPingResponse, r as EngineServerBookDepthStreamParams, s as EngineServerLatestCandlestickStreamParams, t as EngineServerAllBboStreamParams, u as EngineServerPingParams, v as EngineServerSubscriptionStreamParamsByType, x as EngineServerTradeStreamParams, y as EngineServerSubscriptionStreamParamsType } from "../serverSubscriptionTypes-CE6BIS-C.cjs";
|
|
9
|
+
export { ENGINE_SERVER_STATUS_VALUES, EngineBurnNlpParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllBboEntry, EngineServerAllBboStreamParams, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerEdgeAllProductsResponse, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerFundingRateStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPingParams, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionAllBboEvent, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionFundingRateEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPingResponse, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTimeResponse, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineWithdrawCollateralParams, GetEngineAllMarketsResponse, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParams, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ import { a as EngineServerExecuteRequestByType, c as EngineServerExecuteResult,
|
|
|
4
4
|
import { _ as WithSignature, a as EngineExecuteRequestParamsByType, c as EngineMintNlpParams, d as EnginePlaceOrderResult, f as EnginePlaceOrdersParams, g as WithBaseEngineExecuteParams, h as SignatureParams, i as EngineCancelProductOrdersParams, l as EngineOrderParams, m as EngineWithdrawCollateralParams, n as EngineCancelAndPlaceParams, o as EngineLinkSignerParams, p as EngineTransferQuoteParams, r as EngineCancelOrdersParams, s as EngineLiquidateSubaccountParams, t as EngineBurnNlpParams, u as EnginePlaceOrderParams } from "../clientExecuteTypes-CJ08_c4q.js";
|
|
5
5
|
import { $ as SubaccountOrderFeeRates, A as GetEngineMaxOrderSizeParams, B as GetEngineOrderResponse, C as GetEngineMarketPriceResponse, D as GetEngineMaxBurnNlpAmountResponse, E as GetEngineMaxBurnNlpAmountParams, F as GetEngineNlpLockedBalancesResponse, G as GetEngineSubaccountProductOrdersParams, H as GetEngineSubaccountFeeRatesResponse, I as GetEngineNlpPoolInfoResponse, J as GetEngineSubaccountSummaryResponse, K as GetEngineSubaccountProductOrdersResponse, L as GetEngineNoncesParams, M as GetEngineMaxWithdrawableParams, N as GetEngineMaxWithdrawableResponse, O as GetEngineMaxMintNlpAmountParams, P as GetEngineNlpLockedBalancesParams, Q as SubaccountIsolatedPosition, R as GetEngineNoncesResponse, S as GetEngineMarketPriceParams, T as GetEngineMarketPricesResponse, U as GetEngineSubaccountOrdersParams, V as GetEngineSubaccountFeeRatesParams, W as GetEngineSubaccountOrdersResponse, X as GetEngineTimeResponse, Y as GetEngineSymbolsParams, Z as NlpPool, _ as GetEngineIsolatedPositionsResponse, a as EnginePriceTickLiquidity, at as ValidateSignedEngineOrderParams, b as GetEngineMarketLiquidityParams, c as EngineSymbolsResponse, d as GetEngineCountryCodeResponse, et as SubaccountProductDeltaTx, f as GetEngineEstimatedSubaccountSummaryParams, g as GetEngineIsolatedPositionsParams, h as GetEngineIpBlockStatusResponse, i as EngineOrder, it as ValidateEngineOrderResponse, j as GetEngineMaxOrderSizeResponse, k as GetEngineMaxMintNlpAmountResponse, l as GetEngineAllMarketsResponse, m as GetEngineInsuranceResponse, n as EngineNlpBalance, nt as SubaccountTx, o as EngineSubaccountOrders, p as GetEngineHealthGroupsResponse, q as GetEngineSubaccountSummaryParams, r as EngineNlpLockedBalance, rt as ValidateEngineOrderParams, s as EngineSymbol, t as EngineMarketPrice, tt as SubaccountSummaryState, u as GetEngineContractsResponse, v as GetEngineLinkedSignerParams, w as GetEngineMarketPricesParams, x as GetEngineMarketLiquidityResponse, y as GetEngineLinkedSignerResponse, z as GetEngineOrderParams } from "../clientQueryTypes-DuRgEeBT.js";
|
|
6
6
|
import { t as EngineServerFailureError } from "../EngineServerFailureError-CDabRrF4.js";
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as
|
|
9
|
-
export { ENGINE_SERVER_STATUS_VALUES, EngineBurnNlpParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerEdgeAllProductsResponse, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineWithdrawCollateralParams, GetEngineAllMarketsResponse, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParams, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature };
|
|
7
|
+
import { _ as PositionChangeReason, a as EngineServerSubscriptionBookDepthEvent, c as EngineServerSubscriptionFillEvent, d as EngineServerSubscriptionLatestCandlestickEvent, f as EngineServerSubscriptionLiquidationEvent, g as OrderUpdateReason, h as EngineServerSubscriptionTradeEvent, i as EngineServerSubscriptionBestBidOfferEvent, l as EngineServerSubscriptionFundingPaymentEvent, m as EngineServerSubscriptionPositionChangeEvent, n as EngineServerSubscriptionAllBboEvent, o as EngineServerSubscriptionEvent, p as EngineServerSubscriptionOrderUpdateEvent, r as EngineServerSubscriptionBaseEvent, s as EngineServerSubscriptionEventType, t as EngineServerAllBboEntry, u as EngineServerSubscriptionFundingRateEvent } from "../serverSubscriptionEventTypes-CO-0wVLL.js";
|
|
8
|
+
import { _ as EngineServerSubscriptionStream, a as EngineServerFundingPaymentStreamParams, b as EngineServerSubscriptionTimeResponse, c as EngineServerLiquidationStreamParams, d as EngineServerPositionChangeStreamParams, f as EngineServerSubscriptionParams, g as EngineServerSubscriptionRequestType, h as EngineServerSubscriptionRequestByType, i as EngineServerFillStreamParams, l as EngineServerOrderUpdateStreamParams, m as EngineServerSubscriptionRequest, n as EngineServerBestBidOfferStreamParams, o as EngineServerFundingRateStreamParams, p as EngineServerSubscriptionPingResponse, r as EngineServerBookDepthStreamParams, s as EngineServerLatestCandlestickStreamParams, t as EngineServerAllBboStreamParams, u as EngineServerPingParams, v as EngineServerSubscriptionStreamParamsByType, x as EngineServerTradeStreamParams, y as EngineServerSubscriptionStreamParamsType } from "../serverSubscriptionTypes-Cgz-h0ot.js";
|
|
9
|
+
export { ENGINE_SERVER_STATUS_VALUES, EngineBurnNlpParams, EngineCancelAndPlaceParams, EngineCancelOrdersParams, EngineCancelProductOrdersParams, EngineExecuteRequestParamsByType, EngineInsuranceResponse, EngineLinkSignerParams, EngineLiquidateSubaccountParams, EngineMarketPrice, EngineMintNlpParams, EngineNlpBalance, EngineNlpLockedBalance, EngineOrder, EngineOrderParams, EnginePlaceOrderParams, EnginePlaceOrderResult, EnginePlaceOrdersParams, EnginePriceTickLiquidity, EngineServerAllBboEntry, EngineServerAllBboStreamParams, EngineServerAllProductsResponse, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerBookInfo, EngineServerCancelOrdersParams, EngineServerCancelOrdersResponse, EngineServerContractsResponse, EngineServerEdgeAllProductsResponse, EngineServerExecuteFailureResult, EngineServerExecutePlaceOrderPayload, EngineServerExecuteRequestByType, EngineServerExecuteRequestType, EngineServerExecuteResponseDataByType, EngineServerExecuteResult, EngineServerExecuteSuccessResult, EngineServerFailureError, EngineServerFeeRatesResponse, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerFundingRateStreamParams, EngineServerGetOrderQueryParams, EngineServerHealthBreakdown, EngineServerHealthGroupsResponse, EngineServerIpBlockResponse, EngineServerIsolatedPosition, EngineServerIsolatedPositionsQueryParams, EngineServerIsolatedPositionsResponse, EngineServerLatestCandlestickStreamParams, EngineServerLinkedSignerParams, EngineServerLinkedSignerResponse, EngineServerLiquidationStreamParams, EngineServerMarketLiquidityQueryParams, EngineServerMarketLiquidityResponse, EngineServerMarketPrice, EngineServerMarketPriceQueryParams, EngineServerMarketPriceResponse, EngineServerMarketPricesQueryParams, EngineServerMarketPricesResponse, EngineServerMaxBurnNlpQueryParams, EngineServerMaxBurnNlpResponse, EngineServerMaxMintNlpQueryParams, EngineServerMaxMintNlpResponse, EngineServerMaxOrderSizeQueryParams, EngineServerMaxOrderSizeResponse, EngineServerMaxWithdrawableQueryParams, EngineServerMaxWithdrawableResponse, EngineServerNlpBalance, EngineServerNlpLockedBalance, EngineServerNlpLockedBalancesQueryParams, EngineServerNlpLockedBalancesResponse, EngineServerNlpPool, EngineServerNlpPoolInfoResponse, EngineServerNoncesParams, EngineServerNoncesResponse, EngineServerOrder, EngineServerOrderResponse, EngineServerOrderUpdateStreamParams, EngineServerOrdersQueryParams, EngineServerPerpBalance, EngineServerPerpBalanceData, EngineServerPerpProduct, EngineServerPerpState, EngineServerPingParams, EngineServerPlaceOrderParams, EngineServerPlaceOrderResponse, EngineServerPlaceOrdersResponse, EngineServerPositionChangeStreamParams, EngineServerPriceTickLiquidity, EngineServerProductOrdersResponse, EngineServerProductType, EngineServerQueryFailureResponse, EngineServerQueryRequest, EngineServerQueryRequestByType, EngineServerQueryRequestType, EngineServerQueryResponse, EngineServerQueryResponseByType, EngineServerQuerySuccessResponse, EngineServerRisk, EngineServerSpotBalance, EngineServerSpotBalanceData, EngineServerSpotConfig, EngineServerSpotProduct, EngineServerSpotState, EngineServerStatusResponse, EngineServerSubaccountFeeRatesParams, EngineServerSubaccountInfoQueryParams, EngineServerSubaccountInfoResponse, EngineServerSubaccountInfoState, EngineServerSubaccountOrders, EngineServerSubaccountOrdersQueryParams, EngineServerSubaccountOrdersResponse, EngineServerSubscriptionAllBboEvent, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionFundingRateEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionParams, EngineServerSubscriptionPingResponse, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTimeResponse, EngineServerSubscriptionTradeEvent, EngineServerSymbol, EngineServerSymbolsQueryParams, EngineServerSymbolsResponse, EngineServerTimeResponse, EngineServerTradeStreamParams, EngineServerValidateOrderQueryParams, EngineServerValidateOrderResponse, EngineServiceCancelAndPlaceParams, EngineSubaccountOrders, EngineSymbol, EngineSymbolsResponse, EngineTransferQuoteParams, EngineWithdrawCollateralParams, GetEngineAllMarketsResponse, GetEngineContractsResponse, GetEngineCountryCodeResponse, GetEngineEstimatedSubaccountSummaryParams, GetEngineHealthGroupsResponse, GetEngineInsuranceResponse, GetEngineIpBlockStatusResponse, GetEngineIsolatedPositionsParams, GetEngineIsolatedPositionsResponse, GetEngineLinkedSignerParams, GetEngineLinkedSignerResponse, GetEngineMarketLiquidityParams, GetEngineMarketLiquidityResponse, GetEngineMarketPriceParams, GetEngineMarketPriceResponse, GetEngineMarketPricesParams, GetEngineMarketPricesResponse, GetEngineMaxBurnNlpAmountParams, GetEngineMaxBurnNlpAmountResponse, GetEngineMaxMintNlpAmountParams, GetEngineMaxMintNlpAmountResponse, GetEngineMaxOrderSizeParams, GetEngineMaxOrderSizeResponse, GetEngineMaxWithdrawableParams, GetEngineMaxWithdrawableResponse, GetEngineNlpLockedBalancesParams, GetEngineNlpLockedBalancesResponse, GetEngineNlpPoolInfoResponse, GetEngineNoncesParams, GetEngineNoncesResponse, GetEngineOrderParams, GetEngineOrderResponse, GetEngineSubaccountFeeRatesParams, GetEngineSubaccountFeeRatesResponse, GetEngineSubaccountOrdersParams, GetEngineSubaccountOrdersResponse, GetEngineSubaccountProductOrdersParams, GetEngineSubaccountProductOrdersResponse, GetEngineSubaccountSummaryParams, GetEngineSubaccountSummaryResponse, GetEngineSymbolsParams, GetEngineTimeResponse, NlpPool, OrderUpdateReason, PositionChangeReason, SignatureParams, SubaccountIsolatedPosition, SubaccountOrderFeeRates, SubaccountProductDeltaTx, SubaccountSummaryState, SubaccountTx, ValidateEngineOrderParams, ValidateEngineOrderResponse, ValidateSignedEngineOrderParams, WithBaseEngineExecuteParams, WithSignature };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionTradeEvent, OrderUpdateReason, PositionChangeReason };
|
|
1
|
+
import { _ as PositionChangeReason, a as EngineServerSubscriptionBookDepthEvent, c as EngineServerSubscriptionFillEvent, d as EngineServerSubscriptionLatestCandlestickEvent, f as EngineServerSubscriptionLiquidationEvent, g as OrderUpdateReason, h as EngineServerSubscriptionTradeEvent, i as EngineServerSubscriptionBestBidOfferEvent, l as EngineServerSubscriptionFundingPaymentEvent, m as EngineServerSubscriptionPositionChangeEvent, n as EngineServerSubscriptionAllBboEvent, o as EngineServerSubscriptionEvent, p as EngineServerSubscriptionOrderUpdateEvent, r as EngineServerSubscriptionBaseEvent, s as EngineServerSubscriptionEventType, t as EngineServerAllBboEntry, u as EngineServerSubscriptionFundingRateEvent } from "../serverSubscriptionEventTypes-BkHxEDTz.cjs";
|
|
2
|
+
export { EngineServerAllBboEntry, EngineServerSubscriptionAllBboEvent, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionFundingRateEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionTradeEvent, OrderUpdateReason, PositionChangeReason };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionTradeEvent, OrderUpdateReason, PositionChangeReason };
|
|
1
|
+
import { _ as PositionChangeReason, a as EngineServerSubscriptionBookDepthEvent, c as EngineServerSubscriptionFillEvent, d as EngineServerSubscriptionLatestCandlestickEvent, f as EngineServerSubscriptionLiquidationEvent, g as OrderUpdateReason, h as EngineServerSubscriptionTradeEvent, i as EngineServerSubscriptionBestBidOfferEvent, l as EngineServerSubscriptionFundingPaymentEvent, m as EngineServerSubscriptionPositionChangeEvent, n as EngineServerSubscriptionAllBboEvent, o as EngineServerSubscriptionEvent, p as EngineServerSubscriptionOrderUpdateEvent, r as EngineServerSubscriptionBaseEvent, s as EngineServerSubscriptionEventType, t as EngineServerAllBboEntry, u as EngineServerSubscriptionFundingRateEvent } from "../serverSubscriptionEventTypes-CO-0wVLL.js";
|
|
2
|
+
export { EngineServerAllBboEntry, EngineServerSubscriptionAllBboEvent, EngineServerSubscriptionBaseEvent, EngineServerSubscriptionBestBidOfferEvent, EngineServerSubscriptionBookDepthEvent, EngineServerSubscriptionEvent, EngineServerSubscriptionEventType, EngineServerSubscriptionFillEvent, EngineServerSubscriptionFundingPaymentEvent, EngineServerSubscriptionFundingRateEvent, EngineServerSubscriptionLatestCandlestickEvent, EngineServerSubscriptionLiquidationEvent, EngineServerSubscriptionOrderUpdateEvent, EngineServerSubscriptionPositionChangeEvent, EngineServerSubscriptionTradeEvent, OrderUpdateReason, PositionChangeReason };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerLatestCandlestickStreamParams, EngineServerLiquidationStreamParams, EngineServerOrderUpdateStreamParams, EngineServerPositionChangeStreamParams, EngineServerSubscriptionParams, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerTradeStreamParams };
|
|
1
|
+
import { _ as EngineServerSubscriptionStream, a as EngineServerFundingPaymentStreamParams, b as EngineServerSubscriptionTimeResponse, c as EngineServerLiquidationStreamParams, d as EngineServerPositionChangeStreamParams, f as EngineServerSubscriptionParams, g as EngineServerSubscriptionRequestType, h as EngineServerSubscriptionRequestByType, i as EngineServerFillStreamParams, l as EngineServerOrderUpdateStreamParams, m as EngineServerSubscriptionRequest, n as EngineServerBestBidOfferStreamParams, o as EngineServerFundingRateStreamParams, p as EngineServerSubscriptionPingResponse, r as EngineServerBookDepthStreamParams, s as EngineServerLatestCandlestickStreamParams, t as EngineServerAllBboStreamParams, u as EngineServerPingParams, v as EngineServerSubscriptionStreamParamsByType, x as EngineServerTradeStreamParams, y as EngineServerSubscriptionStreamParamsType } from "../serverSubscriptionTypes-CE6BIS-C.cjs";
|
|
2
|
+
export { EngineServerAllBboStreamParams, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerFundingRateStreamParams, EngineServerLatestCandlestickStreamParams, EngineServerLiquidationStreamParams, EngineServerOrderUpdateStreamParams, EngineServerPingParams, EngineServerPositionChangeStreamParams, EngineServerSubscriptionParams, EngineServerSubscriptionPingResponse, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTimeResponse, EngineServerTradeStreamParams };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerLatestCandlestickStreamParams, EngineServerLiquidationStreamParams, EngineServerOrderUpdateStreamParams, EngineServerPositionChangeStreamParams, EngineServerSubscriptionParams, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerTradeStreamParams };
|
|
1
|
+
import { _ as EngineServerSubscriptionStream, a as EngineServerFundingPaymentStreamParams, b as EngineServerSubscriptionTimeResponse, c as EngineServerLiquidationStreamParams, d as EngineServerPositionChangeStreamParams, f as EngineServerSubscriptionParams, g as EngineServerSubscriptionRequestType, h as EngineServerSubscriptionRequestByType, i as EngineServerFillStreamParams, l as EngineServerOrderUpdateStreamParams, m as EngineServerSubscriptionRequest, n as EngineServerBestBidOfferStreamParams, o as EngineServerFundingRateStreamParams, p as EngineServerSubscriptionPingResponse, r as EngineServerBookDepthStreamParams, s as EngineServerLatestCandlestickStreamParams, t as EngineServerAllBboStreamParams, u as EngineServerPingParams, v as EngineServerSubscriptionStreamParamsByType, x as EngineServerTradeStreamParams, y as EngineServerSubscriptionStreamParamsType } from "../serverSubscriptionTypes-Cgz-h0ot.js";
|
|
2
|
+
export { EngineServerAllBboStreamParams, EngineServerBestBidOfferStreamParams, EngineServerBookDepthStreamParams, EngineServerFillStreamParams, EngineServerFundingPaymentStreamParams, EngineServerFundingRateStreamParams, EngineServerLatestCandlestickStreamParams, EngineServerLiquidationStreamParams, EngineServerOrderUpdateStreamParams, EngineServerPingParams, EngineServerPositionChangeStreamParams, EngineServerSubscriptionParams, EngineServerSubscriptionPingResponse, EngineServerSubscriptionRequest, EngineServerSubscriptionRequestByType, EngineServerSubscriptionRequestType, EngineServerSubscriptionStream, EngineServerSubscriptionStreamParamsByType, EngineServerSubscriptionStreamParamsType, EngineServerSubscriptionTimeResponse, EngineServerTradeStreamParams };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadohq/engine-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "HTTP client for the Nado off-chain matching engine",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"module": "./dist/index.js",
|
|
42
42
|
"types": "./dist/index.d.ts",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@nadohq/shared": "^0.
|
|
44
|
+
"@nadohq/shared": "^0.19.0",
|
|
45
45
|
"axios": "1.16.1",
|
|
46
46
|
"ts-mixer": "6.0.4"
|
|
47
47
|
},
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"bignumber.js": "11.1.1",
|
|
54
54
|
"viem": "2.50.4"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "9b5de5d883addd651cca54dc857ea2c35da12d59"
|
|
57
57
|
}
|
|
@@ -27,7 +27,9 @@ export type EngineServerSubscriptionEventType =
|
|
|
27
27
|
| 'order_update'
|
|
28
28
|
| 'liquidation'
|
|
29
29
|
| 'latest_candlestick'
|
|
30
|
-
| 'funding_payment'
|
|
30
|
+
| 'funding_payment'
|
|
31
|
+
| 'funding_rate'
|
|
32
|
+
| 'all_bbo';
|
|
31
33
|
|
|
32
34
|
export interface EngineServerSubscriptionBaseEvent<
|
|
33
35
|
T extends EngineServerSubscriptionEventType =
|
|
@@ -160,6 +162,49 @@ export interface EngineServerSubscriptionFundingPaymentEvent extends EngineServe
|
|
|
160
162
|
dt: string;
|
|
161
163
|
}
|
|
162
164
|
|
|
165
|
+
/**
|
|
166
|
+
* Event from subscribing to a `funding_rate` stream.
|
|
167
|
+
*/
|
|
168
|
+
export interface EngineServerSubscriptionFundingRateEvent extends EngineServerSubscriptionBaseEvent<'funding_rate'> {
|
|
169
|
+
/** Nanosecond timestamp when this event was emitted */
|
|
170
|
+
timestamp: string;
|
|
171
|
+
/**
|
|
172
|
+
* Current 24-hour funding rate (x18). E.g. "50000000000000000" = 5% annualized.
|
|
173
|
+
* Positive means longs pay shorts.
|
|
174
|
+
*/
|
|
175
|
+
funding_rate_x18: string;
|
|
176
|
+
/** Unix timestamp (seconds) when the rate was calculated */
|
|
177
|
+
update_time: string;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Top-of-book entry for a single product within an `all_bbo` snapshot.
|
|
182
|
+
*/
|
|
183
|
+
export interface EngineServerAllBboEntry {
|
|
184
|
+
/** Best bid price (x18). "0" if no bids exist. */
|
|
185
|
+
bid: string;
|
|
186
|
+
/** Best ask price (x18). MAX_I128 if no asks exist. */
|
|
187
|
+
ask: string;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Event from subscribing to an `all_bbo` stream.
|
|
192
|
+
*
|
|
193
|
+
* Unlike other events, this is a full-market snapshot pushed on a fixed ~300ms
|
|
194
|
+
* cadence and therefore carries no `product_id`.
|
|
195
|
+
*/
|
|
196
|
+
export interface EngineServerSubscriptionAllBboEvent {
|
|
197
|
+
type: 'all_bbo';
|
|
198
|
+
/** Snapshot time in milliseconds (note: not nanoseconds like other events) */
|
|
199
|
+
time: string;
|
|
200
|
+
/**
|
|
201
|
+
* Map of `product_id` (string key) to its top-of-book entry. Only includes
|
|
202
|
+
* products with a cached BBO, so it may be empty or partial right after
|
|
203
|
+
* subscribing.
|
|
204
|
+
*/
|
|
205
|
+
bbos: Record<string, EngineServerAllBboEntry>;
|
|
206
|
+
}
|
|
207
|
+
|
|
163
208
|
/**
|
|
164
209
|
* Union type for all engine server subscription events.
|
|
165
210
|
*/
|
|
@@ -172,4 +217,6 @@ export type EngineServerSubscriptionEvent =
|
|
|
172
217
|
| EngineServerSubscriptionOrderUpdateEvent
|
|
173
218
|
| EngineServerSubscriptionLiquidationEvent
|
|
174
219
|
| EngineServerSubscriptionLatestCandlestickEvent
|
|
175
|
-
| EngineServerSubscriptionFundingPaymentEvent
|
|
220
|
+
| EngineServerSubscriptionFundingPaymentEvent
|
|
221
|
+
| EngineServerSubscriptionFundingRateEvent
|
|
222
|
+
| EngineServerSubscriptionAllBboEvent;
|
|
@@ -42,6 +42,17 @@ export interface EngineServerFundingPaymentStreamParams {
|
|
|
42
42
|
product_id: number;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
export interface EngineServerFundingRateStreamParams {
|
|
46
|
+
/** when not provided, subscribes to all products */
|
|
47
|
+
product_id?: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The `all_bbo` stream pushes a full-market top-of-book snapshot on a fixed
|
|
52
|
+
* cadence, so it takes no params.
|
|
53
|
+
*/
|
|
54
|
+
export type EngineServerAllBboStreamParams = Record<string, never>;
|
|
55
|
+
|
|
45
56
|
/**
|
|
46
57
|
* Available subscription streams
|
|
47
58
|
*/
|
|
@@ -55,6 +66,8 @@ export interface EngineServerSubscriptionStreamParamsByType {
|
|
|
55
66
|
liquidation: EngineServerLiquidationStreamParams;
|
|
56
67
|
latest_candlestick: EngineServerLatestCandlestickStreamParams;
|
|
57
68
|
funding_payment: EngineServerFundingPaymentStreamParams;
|
|
69
|
+
funding_rate: EngineServerFundingRateStreamParams;
|
|
70
|
+
all_bbo: EngineServerAllBboStreamParams;
|
|
58
71
|
}
|
|
59
72
|
|
|
60
73
|
export type EngineServerSubscriptionStreamParamsType =
|
|
@@ -76,13 +89,32 @@ export interface EngineServerSubscriptionParams {
|
|
|
76
89
|
stream: EngineServerSubscriptionStream<EngineServerSubscriptionStreamParamsType>;
|
|
77
90
|
}
|
|
78
91
|
|
|
92
|
+
/**
|
|
93
|
+
* Params to provide to a `ping` control message.
|
|
94
|
+
*/
|
|
95
|
+
export interface EngineServerPingParams {
|
|
96
|
+
/**
|
|
97
|
+
* Optional client timestamp (epoch milliseconds, as a string). When provided,
|
|
98
|
+
* it is echoed back in the `pong` response so round-trip latency and clock
|
|
99
|
+
* offset can be measured.
|
|
100
|
+
*/
|
|
101
|
+
client_time?: string;
|
|
102
|
+
}
|
|
103
|
+
|
|
79
104
|
/**
|
|
80
105
|
* Available actions on the subscription API.
|
|
106
|
+
*
|
|
107
|
+
* Alongside the `subscribe` / `unsubscribe` / `list` actions, the socket also
|
|
108
|
+
* answers two control messages - `ping` and `time` - for measuring latency and
|
|
109
|
+
* aligning clocks. These are request/response (not streams) and require no
|
|
110
|
+
* authentication.
|
|
81
111
|
*/
|
|
82
112
|
export interface EngineServerSubscriptionRequestByType {
|
|
83
113
|
subscribe: EngineServerSubscriptionParams;
|
|
84
114
|
unsubscribe: EngineServerSubscriptionParams;
|
|
85
115
|
list: Record<string, never>;
|
|
116
|
+
ping: EngineServerPingParams;
|
|
117
|
+
time: Record<string, never>;
|
|
86
118
|
}
|
|
87
119
|
|
|
88
120
|
export type EngineServerSubscriptionRequestType =
|
|
@@ -97,3 +129,31 @@ export type EngineServerSubscriptionRequest<
|
|
|
97
129
|
id: number;
|
|
98
130
|
method: TRequestType;
|
|
99
131
|
} & EngineServerSubscriptionRequestByType[TRequestType];
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Response to a `ping` control message.
|
|
135
|
+
*/
|
|
136
|
+
export interface EngineServerSubscriptionPingResponse {
|
|
137
|
+
result: {
|
|
138
|
+
method: 'pong';
|
|
139
|
+
/** Server time when the response was generated (epoch milliseconds, as a string). */
|
|
140
|
+
server_time: string;
|
|
141
|
+
/** Echoes back the `client_time` from the request, when one was provided. */
|
|
142
|
+
client_time: string;
|
|
143
|
+
};
|
|
144
|
+
/** Echoes back the client-provided ID. */
|
|
145
|
+
id: number;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Response to a `time` control message.
|
|
150
|
+
*/
|
|
151
|
+
export interface EngineServerSubscriptionTimeResponse {
|
|
152
|
+
result: {
|
|
153
|
+
method: 'time';
|
|
154
|
+
/** Current server time (epoch milliseconds, as a string). */
|
|
155
|
+
server_time: string;
|
|
156
|
+
};
|
|
157
|
+
/** Echoes back the client-provided ID. */
|
|
158
|
+
id: number;
|
|
159
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serverSubscriptionTypes-BSuYa6z_.d.cts","names":[],"sources":["../src/types/src/types/serverSubscriptionTypes.ts"],"mappings":";UAAiB,mCAAA;EAAA;EAEf,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,6BAAA;EACf,UAAU;AAAA;AAAA,UAGK,oCAAA;EACf,UAAU;AAAA;AAAA,UAGK,4BAAA;EAJoC;EAMnD,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,sCAAA;EAN4B;EAQ3C,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,iCAAA;EACf,UAAU;AAAA;AAAA,UAGK,yCAAA;EACf,UAAA;EACA,WAAW;AAAA;AAAA,UAGI,mCAAA;EARL;EAUV,UAAU;AAAA;AAAA,UAGK,sCAAA;EACf,UAAU;AAAA;AATC;AAGb;;AAHa,UAeI,0CAAA;EACf,YAAA,EAAc,mCAAA;EACd,KAAA,EAAO,6BAAA;EACP,cAAA,EAAgB,oCAAA;EAChB,IAAA,EAAM,4BAAA;EACN,eAAA,EAAiB,sCAAA;EACjB,UAAA,EAAY,iCAAA;EACZ,WAAA,EAAa,mCAAA;EACb,kBAAA,EAAoB,yCAAA;EACpB,eAAA,EAAiB,sCAAA;AAAA;AAAA,KAGP,wCAAA,SACJ,0CAA0C;;;;KAKtC,8BAAA,qBACU,wCAAA;EAEpB,IAAA,EAAM,WAAA;AAAA,IACJ,0CAAA,CAA2C,WAAA;;;;UAK9B,8BAAA;EACf,MAAA,EAAQ,8BAA8B,CAAC,wCAAA;AAAA;;;;UAMxB,qCAAA;EACf,SAAA,EAAW,8BAAA;EACX,WAAA,EAAa,8BAAA;EACb,IAAA,EAAM,MAAA;AAAA;AAAA,KAGI,mCAAA,SACJ,qCAAqC;;;;KAKjC,+BAAA,sBACW,mCAAA;EAErB,EAAA;EACA,MAAA,EAAQ,YAAA;AAAA,IACN,qCAAA,CAAsC,YAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serverSubscriptionTypes-DoMWeKgY.d.ts","names":[],"sources":["../src/types/src/types/serverSubscriptionTypes.ts"],"mappings":";UAAiB,mCAAA;EAAA;EAEf,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,6BAAA;EACf,UAAU;AAAA;AAAA,UAGK,oCAAA;EACf,UAAU;AAAA;AAAA,UAGK,4BAAA;EAJoC;EAMnD,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,sCAAA;EAN4B;EAQ3C,UAAA;EACA,UAAU;AAAA;AAAA,UAGK,iCAAA;EACf,UAAU;AAAA;AAAA,UAGK,yCAAA;EACf,UAAA;EACA,WAAW;AAAA;AAAA,UAGI,mCAAA;EARL;EAUV,UAAU;AAAA;AAAA,UAGK,sCAAA;EACf,UAAU;AAAA;AATC;AAGb;;AAHa,UAeI,0CAAA;EACf,YAAA,EAAc,mCAAA;EACd,KAAA,EAAO,6BAAA;EACP,cAAA,EAAgB,oCAAA;EAChB,IAAA,EAAM,4BAAA;EACN,eAAA,EAAiB,sCAAA;EACjB,UAAA,EAAY,iCAAA;EACZ,WAAA,EAAa,mCAAA;EACb,kBAAA,EAAoB,yCAAA;EACpB,eAAA,EAAiB,sCAAA;AAAA;AAAA,KAGP,wCAAA,SACJ,0CAA0C;;;;KAKtC,8BAAA,qBACU,wCAAA;EAEpB,IAAA,EAAM,WAAA;AAAA,IACJ,0CAAA,CAA2C,WAAA;;;;UAK9B,8BAAA;EACf,MAAA,EAAQ,8BAA8B,CAAC,wCAAA;AAAA;;;;UAMxB,qCAAA;EACf,SAAA,EAAW,8BAAA;EACX,WAAA,EAAa,8BAAA;EACb,IAAA,EAAM,MAAA;AAAA;AAAA,KAGI,mCAAA,SACJ,qCAAqC;;;;KAKjC,+BAAA,sBACW,mCAAA;EAErB,EAAA;EACA,MAAA,EAAQ,YAAA;AAAA,IACN,qCAAA,CAAsC,YAAA"}
|