@agg-build/hooks 4.0.1 → 4.5.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/README.md +30 -13
- package/dist/{chunk-AZYAQIZB.mjs → chunk-IHMZHA2W.mjs} +1 -1
- package/dist/{chunk-SC6X5TL4.mjs → chunk-LVOL27OZ.mjs} +338 -49
- package/dist/{chunk-BR6NZSXN.mjs → chunk-O4RM4KKO.mjs} +1 -1
- package/dist/deposit.js +54 -5
- package/dist/deposit.mjs +2 -2
- package/dist/index.d.mts +481 -9
- package/dist/index.d.ts +481 -9
- package/dist/index.js +1014 -81
- package/dist/index.mjs +655 -22
- package/dist/withdraw.js +54 -5
- package/dist/withdraw.mjs +2 -2
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ import * as _tanstack_react_query from '@tanstack/react-query';
|
|
|
2
2
|
import { QueryClient } from '@tanstack/react-query';
|
|
3
3
|
export { QueryClient, QueryClientProvider, useQueryClient } from '@tanstack/react-query';
|
|
4
4
|
import * as _agg_build_sdk from '@agg-build/sdk';
|
|
5
|
-
import { CandleBuilder, AggAuthStartBody, AggAuthStartResult, AggClientSessionInput, AggClient, RampQuote, RampQuoteRequest, RampWidgetSession, RampSessionRequest, ExecuteManagedResponse, ExecuteManagedParams, PlaceLimitOrderResponse, PlaceLimitOrderParams, CancelManagedExecutionResponse, GetPositionsParams, WsOrderSubmitted, WsBalanceUpdate, CreateBalanceRefillPolicyParams, UpdateBalanceRefillPolicyParams, RedeemResponse, RedeemRequest, WsRedeemEvent, AggWebSocket, WsOrderEvent, WsWithdrawalLifecycleEvent, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, Venue as Venue$1, VenueKeyStatus, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountConfirmResult, Category, UserActivityQuery, UserActivityItem, PaginatedResponse, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, ExecutionMode, SmartRouteResponse, RecurrenceFilter, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse } from '@agg-build/sdk';
|
|
6
|
-
export { TurnstileChallengeError } from '@agg-build/sdk';
|
|
5
|
+
import { CandleBuilder, AggAuthStartBody, AggAuthStartResult, AggClientSessionInput, AggClient, RampQuote, RampQuoteRequest, RampWidgetSession, RampSessionRequest, ExecuteManagedResponse, ExecuteManagedParams, PlaceLimitOrderResponse, PlaceLimitOrderParams, CancelManagedExecutionResponse, GetPositionsParams, ExecutionStatusStep, WsOrderSubmitted, WsBalanceUpdate, ExecutionStatusOrder, CreateBalanceRefillPolicyParams, UpdateBalanceRefillPolicyParams, RedeemResponse, RedeemRequest, WsRedeemEvent, AggWebSocket, WsOrderEvent, WsWithdrawalLifecycleEvent, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, Venue as Venue$1, VenueKeyStatus, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountWalletConfirmBody, AggLinkAccountConfirmResult, Category, UserActivityQuery, UserActivityItem, PaginatedResponse, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, ExecutionMode, SmartRouteResponse, RecurringCryptoDuration, RecurringCryptoVenueMarket, RecurringCryptoWindowMarket, RecurrenceFilter, SportsLiveResponse, SportsLiveState, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse } from '@agg-build/sdk';
|
|
6
|
+
export { SportsGameStatus, SportsLiveParticipant, SportsLiveResponse, SportsLiveState, TurnstileChallengeError } from '@agg-build/sdk';
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
8
|
export { UseManagedBalancesOptions, UseWithdrawEstimateParams, UseWithdrawFlowOptions, UseWithdrawFlowResult, UseWithdrawManagedOptions, UseWithdrawPreviewParams, UseWithdrawalLifecycleResult, WithdrawFeeEstimate, WithdrawalLifecycleState, useManagedBalances, useWithdrawEstimate, useWithdrawFlow, useWithdrawManaged, useWithdrawPreview, useWithdrawalLifecycle } from './withdraw.mjs';
|
|
9
9
|
export { U as UseDepositAddressesOptions, g as getDepositAddress, u as useDepositAddresses } from './use-deposit-addresses-B9ICS-3U.mjs';
|
|
@@ -18,7 +18,8 @@ declare enum Venue {
|
|
|
18
18
|
predict = "predict",
|
|
19
19
|
probable = "probable",
|
|
20
20
|
myriad = "myriad",
|
|
21
|
-
hyperliquid = "hyperliquid"
|
|
21
|
+
hyperliquid = "hyperliquid",
|
|
22
|
+
novig = "novig"
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
declare enum AccountType {
|
|
@@ -161,9 +162,12 @@ type UnifiedBalanceResponse = {
|
|
|
161
162
|
};
|
|
162
163
|
type GetOrdersQuery = {
|
|
163
164
|
status?: OrderStatus | undefined;
|
|
165
|
+
orderType?: "market" | "limit" | undefined;
|
|
164
166
|
orderId?: string | undefined;
|
|
165
167
|
/** Filter to all legs of one quote (multi-venue split routes). */
|
|
166
168
|
quoteId?: string | undefined;
|
|
169
|
+
/** Filter to the order(s) carrying this partner trade id. */
|
|
170
|
+
externalId?: string | undefined;
|
|
167
171
|
cursor?: string | undefined;
|
|
168
172
|
limit?: number | undefined;
|
|
169
173
|
};
|
|
@@ -181,6 +185,10 @@ type OrderListItem = {
|
|
|
181
185
|
* standalone orders without a Quote row.
|
|
182
186
|
*/
|
|
183
187
|
quoteId: string | null;
|
|
188
|
+
/** Partner-supplied trade id from POST /execution/orders. */
|
|
189
|
+
externalId: string | null;
|
|
190
|
+
/** Partner-supplied order id from POST /execution/limit-orders. */
|
|
191
|
+
clientOrderId: string | null;
|
|
184
192
|
createdAt: Date;
|
|
185
193
|
updatedAt: Date;
|
|
186
194
|
venue: Venue;
|
|
@@ -392,6 +400,15 @@ type VenueEvent = {
|
|
|
392
400
|
venues?: Venue[];
|
|
393
401
|
venueCount?: number | undefined;
|
|
394
402
|
groupMarketCount?: number | undefined;
|
|
403
|
+
/**
|
|
404
|
+
* Same-venue companion grouping: the id of this event's group base. NULL means
|
|
405
|
+
* the event IS the base, or is standalone. A venue splits one game into several
|
|
406
|
+
* events (`… - More Markets`, `… : Spread`), and same-venue events never share
|
|
407
|
+
* a matched cluster — so on a companion, `matchedVenueEvents[]` lists the other
|
|
408
|
+
* venues' EQUIVALENT companions, not the game's cluster. Use this id (or the
|
|
409
|
+
* shared `aggKey`) to reach the base.
|
|
410
|
+
*/
|
|
411
|
+
groupParentId?: string | null | undefined;
|
|
395
412
|
marketCount?: number | undefined;
|
|
396
413
|
/**
|
|
397
414
|
* ISO-8601 duration denormalized from Series.recurrence. `null` means
|
|
@@ -919,6 +936,7 @@ interface AggUiLabels {
|
|
|
919
936
|
goodTilCanceled: string;
|
|
920
937
|
expired: string;
|
|
921
938
|
cancel: string;
|
|
939
|
+
pending: string;
|
|
922
940
|
cancelOrderAria: (orderId: string) => string;
|
|
923
941
|
loading: string;
|
|
924
942
|
loadingMore: string;
|
|
@@ -998,6 +1016,18 @@ interface AggUiLabels {
|
|
|
998
1016
|
marketSelectPlaceholder: string;
|
|
999
1017
|
marketSelectSearchPlaceholder: string;
|
|
1000
1018
|
marketSelectEmpty: string;
|
|
1019
|
+
moreMarkets: string;
|
|
1020
|
+
liveMarket: string;
|
|
1021
|
+
};
|
|
1022
|
+
sportsLive: {
|
|
1023
|
+
scoreAria: (firstName: string, firstScore: string, secondName: string, secondScore: string, status: string) => string;
|
|
1024
|
+
scheduled: string;
|
|
1025
|
+
live: string;
|
|
1026
|
+
paused: string;
|
|
1027
|
+
finished: string;
|
|
1028
|
+
cancelled: string;
|
|
1029
|
+
postponed: string;
|
|
1030
|
+
unknown: string;
|
|
1001
1031
|
};
|
|
1002
1032
|
settlementSummary: {
|
|
1003
1033
|
title: string;
|
|
@@ -1044,6 +1074,7 @@ interface AggUiLabels {
|
|
|
1044
1074
|
showOutcomeAria: (label: string) => string;
|
|
1045
1075
|
viewResolved: string;
|
|
1046
1076
|
hideResolved: string;
|
|
1077
|
+
resolvingBadge: string;
|
|
1047
1078
|
resolvingTitle: string;
|
|
1048
1079
|
resolvingDescription: string;
|
|
1049
1080
|
volumeUnavailable: string;
|
|
@@ -1118,7 +1149,9 @@ interface AggUiLabels {
|
|
|
1118
1149
|
orderDisabledNoOutcome: string;
|
|
1119
1150
|
orderDisabledNoEvent: string;
|
|
1120
1151
|
insufficientBalance: string;
|
|
1152
|
+
insufficientBalanceDetails: string;
|
|
1121
1153
|
lowLiquidityWarning: string;
|
|
1154
|
+
lowLiquiditySellWarning: string;
|
|
1122
1155
|
refreshQuote: string;
|
|
1123
1156
|
confirmOrder: string;
|
|
1124
1157
|
withdrawSubmitted: string;
|
|
@@ -1232,6 +1265,7 @@ interface AggUiLabels {
|
|
|
1232
1265
|
limitPrice: string;
|
|
1233
1266
|
limitPriceInputAria: string;
|
|
1234
1267
|
limitPriceInvalid: string;
|
|
1268
|
+
limitPriceAdjusted: (venueLabels: string[], tickSizeCents: number, originalPriceLabel: string, side: "buy" | "sell", adjustedPriceLabel: string) => string;
|
|
1235
1269
|
limitPriceDecreaseAria: string;
|
|
1236
1270
|
limitPriceIncreaseAria: string;
|
|
1237
1271
|
expiration: string;
|
|
@@ -1275,9 +1309,23 @@ interface AggUiLabels {
|
|
|
1275
1309
|
updatingRoute: string;
|
|
1276
1310
|
refreshingQuotes: string;
|
|
1277
1311
|
checkingBalance: string;
|
|
1312
|
+
executingOrder: string;
|
|
1278
1313
|
submittingOrderProgress: string;
|
|
1314
|
+
executionOrderSubmitted: string;
|
|
1279
1315
|
orderSubmittedProgress: (orderId: string) => string;
|
|
1280
1316
|
executingOnVenue: (venueLabel: string) => string;
|
|
1317
|
+
venueOrder: (venueLabel: string) => string;
|
|
1318
|
+
settingUpBridge: string;
|
|
1319
|
+
bridgeSetupComplete: string;
|
|
1320
|
+
bridgingFundsProgress: string;
|
|
1321
|
+
bridgeComplete: string;
|
|
1322
|
+
bridgingFunds: (amount: string, sourceChain: string, destinationChain: string, tokenSymbol?: string) => string;
|
|
1323
|
+
fundsBridged: (amount: string, sourceChain: string, destinationChain: string, tokenSymbol?: string) => string;
|
|
1324
|
+
depositingFunds: (amount: string, tokenSymbol: string, destinationChain: string) => string;
|
|
1325
|
+
fundsDeposited: (amount: string, tokenSymbol: string, destinationChain: string) => string;
|
|
1326
|
+
fillingOnVenue: (venueLabel: string) => string;
|
|
1327
|
+
venueFilledAtPriceWithAmount: (venueLabel: string, amountLabel: string, priceLabel: string) => string;
|
|
1328
|
+
executionShares: (value: string) => string;
|
|
1281
1329
|
confirmTransactionInWallet: string;
|
|
1282
1330
|
executionConfirmed: string;
|
|
1283
1331
|
orderSuccessTitle: string;
|
|
@@ -1298,12 +1346,20 @@ interface AggUiLabels {
|
|
|
1298
1346
|
orderSummaryAvgPrice: string;
|
|
1299
1347
|
orderSummaryEstCost: string;
|
|
1300
1348
|
orderSummaryVenue: string;
|
|
1349
|
+
orderAmountFilled: string;
|
|
1350
|
+
orderAmountFilledOf: (requestedAmount: string) => string;
|
|
1351
|
+
orderPayout: string;
|
|
1352
|
+
orderFullyFilled: string;
|
|
1353
|
+
orderPartiallyFilled: string;
|
|
1354
|
+
orderAveragePrice: (priceLabel: string) => string;
|
|
1301
1355
|
orderComplete: string;
|
|
1302
1356
|
orderFilledAtPrice: (venueLabel: string, priceLabel: string) => string;
|
|
1303
1357
|
orderFilledAtPriceWithAmount: (venueLabel: string, priceLabel: string, amountLabel: string) => string;
|
|
1304
1358
|
orderPartiallyFilledAtPriceWithAmount: (venueLabel: string, priceLabel: string, amountLabel: string) => string;
|
|
1305
1359
|
orderSkip: string;
|
|
1306
1360
|
orderRetryRemaining: string;
|
|
1361
|
+
orderTryRemaining: (remainingLabel: string) => string;
|
|
1362
|
+
orderClose: string;
|
|
1307
1363
|
resolvedEarningsTitle: string;
|
|
1308
1364
|
resolvedResolutionDateLabel: string;
|
|
1309
1365
|
resolvedSharesLabel: string;
|
|
@@ -1312,6 +1368,7 @@ interface AggUiLabels {
|
|
|
1312
1368
|
boughtOutcomeAtPrice: (label: string, priceLabel: string) => string;
|
|
1313
1369
|
soldOutcomeAtPrice: (label: string, priceLabel: string) => string;
|
|
1314
1370
|
potentialReturnBonus: (value: string) => string;
|
|
1371
|
+
potentialReturnBetter: (value: string) => string;
|
|
1315
1372
|
withSmartRouting: string;
|
|
1316
1373
|
buy: string;
|
|
1317
1374
|
sell: string;
|
|
@@ -1442,6 +1499,9 @@ interface AggUiLabels {
|
|
|
1442
1499
|
resolvedOutcome: (label: string) => string;
|
|
1443
1500
|
marketDetailsAriaByDate: (dateLabel: string) => string;
|
|
1444
1501
|
marketDetailsAriaByQuestion: (question: string) => string;
|
|
1502
|
+
recurringCountdownAria: (countdown: string) => string;
|
|
1503
|
+
goToLive: string;
|
|
1504
|
+
liveMarketUnavailable: string;
|
|
1445
1505
|
sports: {
|
|
1446
1506
|
summaryAria: string;
|
|
1447
1507
|
sectionTabsAria: string;
|
|
@@ -1831,6 +1891,8 @@ interface AggBalanceContextValue {
|
|
|
1831
1891
|
availableBalanceBreakdown: AggBalanceBreakdownItem[];
|
|
1832
1892
|
/** Raw response from GET /execution/balances for direct consumer use. */
|
|
1833
1893
|
managedBalances: UnifiedBalanceResponse;
|
|
1894
|
+
/** React Query snapshot timestamp used to scope balance-dependent quotes. */
|
|
1895
|
+
dataUpdatedAt: number;
|
|
1834
1896
|
/** Total cash, including reserved or otherwise held funds. */
|
|
1835
1897
|
totalBalance: number;
|
|
1836
1898
|
/** Cash immediately available for a new trade or withdrawal. */
|
|
@@ -2352,6 +2414,8 @@ interface ExecutionTerminalOrderEvent {
|
|
|
2352
2414
|
errorReason?: string;
|
|
2353
2415
|
timestamp: number;
|
|
2354
2416
|
}
|
|
2417
|
+
type ExecutionStepProgress = ExecutionStatusStep;
|
|
2418
|
+
type ExecutionRawStepProgress = Pick<ExecutionStatusStep, "sequence" | "stepType" | "status" | "attempt" | "startedAt" | "completedAt" | "errorReason">;
|
|
2355
2419
|
interface UseExecutionProgressOptions {
|
|
2356
2420
|
orderIds: string[] | null;
|
|
2357
2421
|
quoteId?: string | null;
|
|
@@ -2364,6 +2428,9 @@ interface UseExecutionProgressResult {
|
|
|
2364
2428
|
latestBalance: WsBalanceUpdate | null;
|
|
2365
2429
|
dagProgress: DagStepProgress | null;
|
|
2366
2430
|
terminalOrderEvents: ExecutionTerminalOrderEvent[];
|
|
2431
|
+
executionSteps: ExecutionStepProgress[];
|
|
2432
|
+
rawExecutionSteps: ExecutionRawStepProgress[];
|
|
2433
|
+
executionOrders: ExecutionStatusOrder[];
|
|
2367
2434
|
}
|
|
2368
2435
|
declare function useExecutionProgress({ orderIds, quoteId, enabled, mode, }: UseExecutionProgressOptions): UseExecutionProgressResult;
|
|
2369
2436
|
|
|
@@ -2802,16 +2869,20 @@ declare function useAggAuth(options?: UseAggAuthOptions): UseAggAuthReturn;
|
|
|
2802
2869
|
|
|
2803
2870
|
interface UseLinkAccountReturn {
|
|
2804
2871
|
startLink: (body: AggLinkAccountBody) => Promise<AggLinkAccountResult>;
|
|
2805
|
-
confirmLink: (
|
|
2872
|
+
confirmLink: (input: string | AggLinkAccountWalletConfirmBody) => Promise<AggLinkAccountConfirmResult>;
|
|
2806
2873
|
isLoading: boolean;
|
|
2807
2874
|
error: Error | null;
|
|
2808
2875
|
}
|
|
2809
2876
|
/**
|
|
2810
|
-
* Hook for initiating and completing an account-link flow (OAuth / email).
|
|
2877
|
+
* Hook for initiating and completing an account-link flow (OAuth / email / wallet).
|
|
2878
|
+
*
|
|
2879
|
+
* After an OAuth/email `startLink` call, the provider callback redirects the browser
|
|
2880
|
+
* back to the app's `redirectUrl` with a `link_confirm_token` query param. Read that
|
|
2881
|
+
* param on the redirect target route and pass it to `confirmLink`.
|
|
2811
2882
|
*
|
|
2812
|
-
*
|
|
2813
|
-
*
|
|
2814
|
-
*
|
|
2883
|
+
* Wallet providers (`siwe`/`siws`) instead return `{ type: "wallet_challenge", message }`
|
|
2884
|
+
* from `startLink`; sign that `message` verbatim and pass
|
|
2885
|
+
* `{ kind: "wallet_signature", message, signature }` to `confirmLink`.
|
|
2815
2886
|
*/
|
|
2816
2887
|
declare function useLinkAccount(): UseLinkAccountReturn;
|
|
2817
2888
|
|
|
@@ -4650,6 +4721,11 @@ interface UseSmartRouteOptions {
|
|
|
4650
4721
|
accountId?: string | null;
|
|
4651
4722
|
positionVersion?: number | null;
|
|
4652
4723
|
};
|
|
4724
|
+
/** Account balance freshness affects whether a server quote is executable. */
|
|
4725
|
+
balanceCacheScope?: {
|
|
4726
|
+
accountId?: string | null;
|
|
4727
|
+
balanceVersion?: number | null;
|
|
4728
|
+
};
|
|
4653
4729
|
/**
|
|
4654
4730
|
* Opt in to the deep cost-estimate surface — response `feeBreakdown`
|
|
4655
4731
|
* gains `setupCosts` (chain approvals + Kalshi ATAs) with `alreadyPaid`
|
|
@@ -4723,6 +4799,7 @@ interface UseLimitOrderVenueQuotesOptions {
|
|
|
4723
4799
|
interface LimitOrderVenueQuoteResult {
|
|
4724
4800
|
request: LimitOrderVenueQuoteRequest;
|
|
4725
4801
|
data: SmartRouteResponse | null;
|
|
4802
|
+
tickSize?: number | null;
|
|
4726
4803
|
isLoading: boolean;
|
|
4727
4804
|
isFetching: boolean;
|
|
4728
4805
|
error: Error | null;
|
|
@@ -5373,6 +5450,215 @@ declare function useEnrichedVenueEvent(options: UseEnrichedVenueEventOptions): {
|
|
|
5373
5450
|
promise: Promise<_agg_build_sdk.VenueEvent>;
|
|
5374
5451
|
};
|
|
5375
5452
|
|
|
5453
|
+
type RecurringCryptoIdentity = {
|
|
5454
|
+
asset: string | null;
|
|
5455
|
+
duration: RecurringCryptoDuration;
|
|
5456
|
+
windowStart: number | null;
|
|
5457
|
+
};
|
|
5458
|
+
type RecurringCryptoMarketInstance = {
|
|
5459
|
+
id: string;
|
|
5460
|
+
asset: string;
|
|
5461
|
+
duration: RecurringCryptoDuration;
|
|
5462
|
+
windowStart: string;
|
|
5463
|
+
windowEnd: string;
|
|
5464
|
+
status: MarketStatus;
|
|
5465
|
+
venueEventId: string;
|
|
5466
|
+
venueMarketId: string;
|
|
5467
|
+
venue: RecurringCryptoVenueMarket["venue"];
|
|
5468
|
+
};
|
|
5469
|
+
type RecurringCryptoTimeline = {
|
|
5470
|
+
all: RecurringCryptoMarketInstance[];
|
|
5471
|
+
visible: RecurringCryptoMarketInstance[];
|
|
5472
|
+
ended: RecurringCryptoMarketInstance | null;
|
|
5473
|
+
live: RecurringCryptoMarketInstance | null;
|
|
5474
|
+
upcoming: RecurringCryptoMarketInstance[];
|
|
5475
|
+
viewed: RecurringCryptoMarketInstance | null;
|
|
5476
|
+
};
|
|
5477
|
+
type UseRecurringCryptoMarketsOptions = {
|
|
5478
|
+
event: VenueEventWithMarkets | undefined;
|
|
5479
|
+
enabled?: boolean;
|
|
5480
|
+
};
|
|
5481
|
+
declare const resolveRecurringCryptoIdentity: (event: VenueEventWithMarkets) => RecurringCryptoIdentity | null;
|
|
5482
|
+
declare const mergeRecurringCryptoWindows: (windows: RecurringCryptoWindowMarket[]) => RecurringCryptoWindowMarket[];
|
|
5483
|
+
declare const resolveRecurringCryptoTimeline: (windows: RecurringCryptoWindowMarket[], event: VenueEventWithMarkets, now: number) => RecurringCryptoTimeline;
|
|
5484
|
+
declare const fetchRecurringCryptoMarkets: (client: AggClient, event: VenueEventWithMarkets, signal: AbortSignal, now?: number) => Promise<RecurringCryptoWindowMarket[]>;
|
|
5485
|
+
declare const recurringCryptoTransitionPollInterval: (windows: RecurringCryptoWindowMarket[] | undefined, event: VenueEventWithMarkets, now?: number) => number | false;
|
|
5486
|
+
declare const useRecurringCryptoMarkets: ({ event, enabled, }: UseRecurringCryptoMarketsOptions) => {
|
|
5487
|
+
windows: RecurringCryptoWindowMarket[];
|
|
5488
|
+
isRecurringCryptoMarket: boolean;
|
|
5489
|
+
data: RecurringCryptoWindowMarket[];
|
|
5490
|
+
error: Error;
|
|
5491
|
+
isError: true;
|
|
5492
|
+
isPending: false;
|
|
5493
|
+
isLoading: false;
|
|
5494
|
+
isLoadingError: false;
|
|
5495
|
+
isRefetchError: true;
|
|
5496
|
+
isSuccess: false;
|
|
5497
|
+
isPlaceholderData: false;
|
|
5498
|
+
status: "error";
|
|
5499
|
+
dataUpdatedAt: number;
|
|
5500
|
+
errorUpdatedAt: number;
|
|
5501
|
+
failureCount: number;
|
|
5502
|
+
failureReason: Error | null;
|
|
5503
|
+
errorUpdateCount: number;
|
|
5504
|
+
isFetched: boolean;
|
|
5505
|
+
isFetchedAfterMount: boolean;
|
|
5506
|
+
isFetching: boolean;
|
|
5507
|
+
isInitialLoading: boolean;
|
|
5508
|
+
isPaused: boolean;
|
|
5509
|
+
isRefetching: boolean;
|
|
5510
|
+
isStale: boolean;
|
|
5511
|
+
isEnabled: boolean;
|
|
5512
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
|
|
5513
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
5514
|
+
promise: Promise<RecurringCryptoWindowMarket[]>;
|
|
5515
|
+
} | {
|
|
5516
|
+
windows: RecurringCryptoWindowMarket[];
|
|
5517
|
+
isRecurringCryptoMarket: boolean;
|
|
5518
|
+
data: RecurringCryptoWindowMarket[];
|
|
5519
|
+
error: null;
|
|
5520
|
+
isError: false;
|
|
5521
|
+
isPending: false;
|
|
5522
|
+
isLoading: false;
|
|
5523
|
+
isLoadingError: false;
|
|
5524
|
+
isRefetchError: false;
|
|
5525
|
+
isSuccess: true;
|
|
5526
|
+
isPlaceholderData: false;
|
|
5527
|
+
status: "success";
|
|
5528
|
+
dataUpdatedAt: number;
|
|
5529
|
+
errorUpdatedAt: number;
|
|
5530
|
+
failureCount: number;
|
|
5531
|
+
failureReason: Error | null;
|
|
5532
|
+
errorUpdateCount: number;
|
|
5533
|
+
isFetched: boolean;
|
|
5534
|
+
isFetchedAfterMount: boolean;
|
|
5535
|
+
isFetching: boolean;
|
|
5536
|
+
isInitialLoading: boolean;
|
|
5537
|
+
isPaused: boolean;
|
|
5538
|
+
isRefetching: boolean;
|
|
5539
|
+
isStale: boolean;
|
|
5540
|
+
isEnabled: boolean;
|
|
5541
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
|
|
5542
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
5543
|
+
promise: Promise<RecurringCryptoWindowMarket[]>;
|
|
5544
|
+
} | {
|
|
5545
|
+
windows: RecurringCryptoWindowMarket[];
|
|
5546
|
+
isRecurringCryptoMarket: boolean;
|
|
5547
|
+
data: undefined;
|
|
5548
|
+
error: Error;
|
|
5549
|
+
isError: true;
|
|
5550
|
+
isPending: false;
|
|
5551
|
+
isLoading: false;
|
|
5552
|
+
isLoadingError: true;
|
|
5553
|
+
isRefetchError: false;
|
|
5554
|
+
isSuccess: false;
|
|
5555
|
+
isPlaceholderData: false;
|
|
5556
|
+
status: "error";
|
|
5557
|
+
dataUpdatedAt: number;
|
|
5558
|
+
errorUpdatedAt: number;
|
|
5559
|
+
failureCount: number;
|
|
5560
|
+
failureReason: Error | null;
|
|
5561
|
+
errorUpdateCount: number;
|
|
5562
|
+
isFetched: boolean;
|
|
5563
|
+
isFetchedAfterMount: boolean;
|
|
5564
|
+
isFetching: boolean;
|
|
5565
|
+
isInitialLoading: boolean;
|
|
5566
|
+
isPaused: boolean;
|
|
5567
|
+
isRefetching: boolean;
|
|
5568
|
+
isStale: boolean;
|
|
5569
|
+
isEnabled: boolean;
|
|
5570
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
|
|
5571
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
5572
|
+
promise: Promise<RecurringCryptoWindowMarket[]>;
|
|
5573
|
+
} | {
|
|
5574
|
+
windows: RecurringCryptoWindowMarket[];
|
|
5575
|
+
isRecurringCryptoMarket: boolean;
|
|
5576
|
+
data: undefined;
|
|
5577
|
+
error: null;
|
|
5578
|
+
isError: false;
|
|
5579
|
+
isPending: true;
|
|
5580
|
+
isLoading: true;
|
|
5581
|
+
isLoadingError: false;
|
|
5582
|
+
isRefetchError: false;
|
|
5583
|
+
isSuccess: false;
|
|
5584
|
+
isPlaceholderData: false;
|
|
5585
|
+
status: "pending";
|
|
5586
|
+
dataUpdatedAt: number;
|
|
5587
|
+
errorUpdatedAt: number;
|
|
5588
|
+
failureCount: number;
|
|
5589
|
+
failureReason: Error | null;
|
|
5590
|
+
errorUpdateCount: number;
|
|
5591
|
+
isFetched: boolean;
|
|
5592
|
+
isFetchedAfterMount: boolean;
|
|
5593
|
+
isFetching: boolean;
|
|
5594
|
+
isInitialLoading: boolean;
|
|
5595
|
+
isPaused: boolean;
|
|
5596
|
+
isRefetching: boolean;
|
|
5597
|
+
isStale: boolean;
|
|
5598
|
+
isEnabled: boolean;
|
|
5599
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
|
|
5600
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
5601
|
+
promise: Promise<RecurringCryptoWindowMarket[]>;
|
|
5602
|
+
} | {
|
|
5603
|
+
windows: RecurringCryptoWindowMarket[];
|
|
5604
|
+
isRecurringCryptoMarket: boolean;
|
|
5605
|
+
data: undefined;
|
|
5606
|
+
error: null;
|
|
5607
|
+
isError: false;
|
|
5608
|
+
isPending: true;
|
|
5609
|
+
isLoadingError: false;
|
|
5610
|
+
isRefetchError: false;
|
|
5611
|
+
isSuccess: false;
|
|
5612
|
+
isPlaceholderData: false;
|
|
5613
|
+
status: "pending";
|
|
5614
|
+
dataUpdatedAt: number;
|
|
5615
|
+
errorUpdatedAt: number;
|
|
5616
|
+
failureCount: number;
|
|
5617
|
+
failureReason: Error | null;
|
|
5618
|
+
errorUpdateCount: number;
|
|
5619
|
+
isFetched: boolean;
|
|
5620
|
+
isFetchedAfterMount: boolean;
|
|
5621
|
+
isFetching: boolean;
|
|
5622
|
+
isLoading: boolean;
|
|
5623
|
+
isInitialLoading: boolean;
|
|
5624
|
+
isPaused: boolean;
|
|
5625
|
+
isRefetching: boolean;
|
|
5626
|
+
isStale: boolean;
|
|
5627
|
+
isEnabled: boolean;
|
|
5628
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
|
|
5629
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
5630
|
+
promise: Promise<RecurringCryptoWindowMarket[]>;
|
|
5631
|
+
} | {
|
|
5632
|
+
windows: RecurringCryptoWindowMarket[];
|
|
5633
|
+
isRecurringCryptoMarket: boolean;
|
|
5634
|
+
data: RecurringCryptoWindowMarket[];
|
|
5635
|
+
isError: false;
|
|
5636
|
+
error: null;
|
|
5637
|
+
isPending: false;
|
|
5638
|
+
isLoading: false;
|
|
5639
|
+
isLoadingError: false;
|
|
5640
|
+
isRefetchError: false;
|
|
5641
|
+
isSuccess: true;
|
|
5642
|
+
isPlaceholderData: true;
|
|
5643
|
+
status: "success";
|
|
5644
|
+
dataUpdatedAt: number;
|
|
5645
|
+
errorUpdatedAt: number;
|
|
5646
|
+
failureCount: number;
|
|
5647
|
+
failureReason: Error | null;
|
|
5648
|
+
errorUpdateCount: number;
|
|
5649
|
+
isFetched: boolean;
|
|
5650
|
+
isFetchedAfterMount: boolean;
|
|
5651
|
+
isFetching: boolean;
|
|
5652
|
+
isInitialLoading: boolean;
|
|
5653
|
+
isPaused: boolean;
|
|
5654
|
+
isRefetching: boolean;
|
|
5655
|
+
isStale: boolean;
|
|
5656
|
+
isEnabled: boolean;
|
|
5657
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<RecurringCryptoWindowMarket[], Error>>;
|
|
5658
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
5659
|
+
promise: Promise<RecurringCryptoWindowMarket[]>;
|
|
5660
|
+
};
|
|
5661
|
+
|
|
5376
5662
|
interface UseVenueEventsOptions {
|
|
5377
5663
|
/** Optional query-key scope to isolate caches across different surfaces. */
|
|
5378
5664
|
queryKeyScope?: string;
|
|
@@ -5642,6 +5928,192 @@ declare function useVenueEvents(options?: UseVenueEventsOptions): {
|
|
|
5642
5928
|
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<_agg_build_sdk.VenueEvent>, unknown>>;
|
|
5643
5929
|
};
|
|
5644
5930
|
|
|
5931
|
+
declare const SPORTS_LIVE_POLL_INTERVAL_MS = 5000;
|
|
5932
|
+
declare const SPORTS_SCHEDULED_POLL_INTERVAL_MS = 30000;
|
|
5933
|
+
declare const sportsLiveQueryKey: (sortedEventIds: readonly string[]) => readonly ["sports-live", ...string[]];
|
|
5934
|
+
declare const sportsLiveRefetchInterval: (response: SportsLiveResponse | undefined) => number | false;
|
|
5935
|
+
declare const useSportsLive: (eventIds: readonly string[], enabled?: boolean) => {
|
|
5936
|
+
states: SportsLiveState[];
|
|
5937
|
+
stateByEventId: Map<string, SportsLiveState>;
|
|
5938
|
+
missingEventIds: string[];
|
|
5939
|
+
data: SportsLiveResponse;
|
|
5940
|
+
error: Error;
|
|
5941
|
+
isError: true;
|
|
5942
|
+
isPending: false;
|
|
5943
|
+
isLoading: false;
|
|
5944
|
+
isLoadingError: false;
|
|
5945
|
+
isRefetchError: true;
|
|
5946
|
+
isSuccess: false;
|
|
5947
|
+
isPlaceholderData: false;
|
|
5948
|
+
status: "error";
|
|
5949
|
+
dataUpdatedAt: number;
|
|
5950
|
+
errorUpdatedAt: number;
|
|
5951
|
+
failureCount: number;
|
|
5952
|
+
failureReason: Error | null;
|
|
5953
|
+
errorUpdateCount: number;
|
|
5954
|
+
isFetched: boolean;
|
|
5955
|
+
isFetchedAfterMount: boolean;
|
|
5956
|
+
isFetching: boolean;
|
|
5957
|
+
isInitialLoading: boolean;
|
|
5958
|
+
isPaused: boolean;
|
|
5959
|
+
isRefetching: boolean;
|
|
5960
|
+
isStale: boolean;
|
|
5961
|
+
isEnabled: boolean;
|
|
5962
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
|
|
5963
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
5964
|
+
promise: Promise<SportsLiveResponse>;
|
|
5965
|
+
} | {
|
|
5966
|
+
states: SportsLiveState[];
|
|
5967
|
+
stateByEventId: Map<string, SportsLiveState>;
|
|
5968
|
+
missingEventIds: string[];
|
|
5969
|
+
data: SportsLiveResponse;
|
|
5970
|
+
error: null;
|
|
5971
|
+
isError: false;
|
|
5972
|
+
isPending: false;
|
|
5973
|
+
isLoading: false;
|
|
5974
|
+
isLoadingError: false;
|
|
5975
|
+
isRefetchError: false;
|
|
5976
|
+
isSuccess: true;
|
|
5977
|
+
isPlaceholderData: false;
|
|
5978
|
+
status: "success";
|
|
5979
|
+
dataUpdatedAt: number;
|
|
5980
|
+
errorUpdatedAt: number;
|
|
5981
|
+
failureCount: number;
|
|
5982
|
+
failureReason: Error | null;
|
|
5983
|
+
errorUpdateCount: number;
|
|
5984
|
+
isFetched: boolean;
|
|
5985
|
+
isFetchedAfterMount: boolean;
|
|
5986
|
+
isFetching: boolean;
|
|
5987
|
+
isInitialLoading: boolean;
|
|
5988
|
+
isPaused: boolean;
|
|
5989
|
+
isRefetching: boolean;
|
|
5990
|
+
isStale: boolean;
|
|
5991
|
+
isEnabled: boolean;
|
|
5992
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
|
|
5993
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
5994
|
+
promise: Promise<SportsLiveResponse>;
|
|
5995
|
+
} | {
|
|
5996
|
+
states: SportsLiveState[];
|
|
5997
|
+
stateByEventId: Map<string, SportsLiveState>;
|
|
5998
|
+
missingEventIds: string[];
|
|
5999
|
+
data: undefined;
|
|
6000
|
+
error: Error;
|
|
6001
|
+
isError: true;
|
|
6002
|
+
isPending: false;
|
|
6003
|
+
isLoading: false;
|
|
6004
|
+
isLoadingError: true;
|
|
6005
|
+
isRefetchError: false;
|
|
6006
|
+
isSuccess: false;
|
|
6007
|
+
isPlaceholderData: false;
|
|
6008
|
+
status: "error";
|
|
6009
|
+
dataUpdatedAt: number;
|
|
6010
|
+
errorUpdatedAt: number;
|
|
6011
|
+
failureCount: number;
|
|
6012
|
+
failureReason: Error | null;
|
|
6013
|
+
errorUpdateCount: number;
|
|
6014
|
+
isFetched: boolean;
|
|
6015
|
+
isFetchedAfterMount: boolean;
|
|
6016
|
+
isFetching: boolean;
|
|
6017
|
+
isInitialLoading: boolean;
|
|
6018
|
+
isPaused: boolean;
|
|
6019
|
+
isRefetching: boolean;
|
|
6020
|
+
isStale: boolean;
|
|
6021
|
+
isEnabled: boolean;
|
|
6022
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
|
|
6023
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
6024
|
+
promise: Promise<SportsLiveResponse>;
|
|
6025
|
+
} | {
|
|
6026
|
+
states: SportsLiveState[];
|
|
6027
|
+
stateByEventId: Map<string, SportsLiveState>;
|
|
6028
|
+
missingEventIds: string[];
|
|
6029
|
+
data: undefined;
|
|
6030
|
+
error: null;
|
|
6031
|
+
isError: false;
|
|
6032
|
+
isPending: true;
|
|
6033
|
+
isLoading: true;
|
|
6034
|
+
isLoadingError: false;
|
|
6035
|
+
isRefetchError: false;
|
|
6036
|
+
isSuccess: false;
|
|
6037
|
+
isPlaceholderData: false;
|
|
6038
|
+
status: "pending";
|
|
6039
|
+
dataUpdatedAt: number;
|
|
6040
|
+
errorUpdatedAt: number;
|
|
6041
|
+
failureCount: number;
|
|
6042
|
+
failureReason: Error | null;
|
|
6043
|
+
errorUpdateCount: number;
|
|
6044
|
+
isFetched: boolean;
|
|
6045
|
+
isFetchedAfterMount: boolean;
|
|
6046
|
+
isFetching: boolean;
|
|
6047
|
+
isInitialLoading: boolean;
|
|
6048
|
+
isPaused: boolean;
|
|
6049
|
+
isRefetching: boolean;
|
|
6050
|
+
isStale: boolean;
|
|
6051
|
+
isEnabled: boolean;
|
|
6052
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
|
|
6053
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
6054
|
+
promise: Promise<SportsLiveResponse>;
|
|
6055
|
+
} | {
|
|
6056
|
+
states: SportsLiveState[];
|
|
6057
|
+
stateByEventId: Map<string, SportsLiveState>;
|
|
6058
|
+
missingEventIds: string[];
|
|
6059
|
+
data: undefined;
|
|
6060
|
+
error: null;
|
|
6061
|
+
isError: false;
|
|
6062
|
+
isPending: true;
|
|
6063
|
+
isLoadingError: false;
|
|
6064
|
+
isRefetchError: false;
|
|
6065
|
+
isSuccess: false;
|
|
6066
|
+
isPlaceholderData: false;
|
|
6067
|
+
status: "pending";
|
|
6068
|
+
dataUpdatedAt: number;
|
|
6069
|
+
errorUpdatedAt: number;
|
|
6070
|
+
failureCount: number;
|
|
6071
|
+
failureReason: Error | null;
|
|
6072
|
+
errorUpdateCount: number;
|
|
6073
|
+
isFetched: boolean;
|
|
6074
|
+
isFetchedAfterMount: boolean;
|
|
6075
|
+
isFetching: boolean;
|
|
6076
|
+
isLoading: boolean;
|
|
6077
|
+
isInitialLoading: boolean;
|
|
6078
|
+
isPaused: boolean;
|
|
6079
|
+
isRefetching: boolean;
|
|
6080
|
+
isStale: boolean;
|
|
6081
|
+
isEnabled: boolean;
|
|
6082
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
|
|
6083
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
6084
|
+
promise: Promise<SportsLiveResponse>;
|
|
6085
|
+
} | {
|
|
6086
|
+
states: SportsLiveState[];
|
|
6087
|
+
stateByEventId: Map<string, SportsLiveState>;
|
|
6088
|
+
missingEventIds: string[];
|
|
6089
|
+
data: SportsLiveResponse;
|
|
6090
|
+
isError: false;
|
|
6091
|
+
error: null;
|
|
6092
|
+
isPending: false;
|
|
6093
|
+
isLoading: false;
|
|
6094
|
+
isLoadingError: false;
|
|
6095
|
+
isRefetchError: false;
|
|
6096
|
+
isSuccess: true;
|
|
6097
|
+
isPlaceholderData: true;
|
|
6098
|
+
status: "success";
|
|
6099
|
+
dataUpdatedAt: number;
|
|
6100
|
+
errorUpdatedAt: number;
|
|
6101
|
+
failureCount: number;
|
|
6102
|
+
failureReason: Error | null;
|
|
6103
|
+
errorUpdateCount: number;
|
|
6104
|
+
isFetched: boolean;
|
|
6105
|
+
isFetchedAfterMount: boolean;
|
|
6106
|
+
isFetching: boolean;
|
|
6107
|
+
isInitialLoading: boolean;
|
|
6108
|
+
isPaused: boolean;
|
|
6109
|
+
isRefetching: boolean;
|
|
6110
|
+
isStale: boolean;
|
|
6111
|
+
isEnabled: boolean;
|
|
6112
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<SportsLiveResponse, Error>>;
|
|
6113
|
+
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
6114
|
+
promise: Promise<SportsLiveResponse>;
|
|
6115
|
+
};
|
|
6116
|
+
|
|
5645
6117
|
interface UseVenueMarketsOptions {
|
|
5646
6118
|
/** Filter by venue. */
|
|
5647
6119
|
venue?: Venue;
|
|
@@ -6238,4 +6710,4 @@ declare function useAppConfig(): UseAppConfigResult;
|
|
|
6238
6710
|
*/
|
|
6239
6711
|
declare function useCachedAppConfig(): UseAppConfigResult;
|
|
6240
6712
|
|
|
6241
|
-
export { AUTH_CHOOSER_OPEN_EVENT, type AggAuthContextValue, type AggAuthSignInOptions, type AggBalanceContextValue, AggBalanceProvider, AggProvider, type AggProviderProps, AggProvider as AggSdkProvider, type AggProviderProps as AggSdkProviderProps, type AggUiConfig, type AggUiConfigInput, type AggUiLabels, type AggUiLabelsInput, AggUiProvider, type AggUiTradingExecutionMode, CHART_TIME_RANGES, CONFIRMED_MATCH_STATUSES, type ChartTimeRange, type ClosedPositionTotals, type ComputePriceGapsOptions, DEFAULT_AGG_ROOT_CLASS_NAME, type DagStepProgress, type EventListStateContextValue, EventListStateProvider, type EventListStateSnapshot, type EventTradingContextValue, type EventTradingState, type ExecutionProgressPhase, type ExecutionTerminalOrderEvent, type GeoBlockState, type GetOrdersQuery, type GetPositionsQuery, type InvalidateUserActivityOptions, type InvalidateUserMoneyStateOptions, type LimitOrderVenueQuoteRequest, type LimitOrderVenueQuoteResult, type LiveBestPriceCandidate, type LiveBestPriceCandidates, type LiveBestPrices, type LiveCandle, MAX_PRICE_GAP_PCT, MIN_PRICE_GAP_PCT, type MarketChartCandle, type MarketChartData, type MarketChartVenueData, type MarketOrderbookData, type MarketOrderbookIntegrity, MarketStatus, type MarketTradingState, MatchStatus, MatchType, type OrderEligibility, type OrderEligibilityReason, type OrderListItem, type OrderbookResult, type PositionGroup, type PriceGapValue, type RedeemEvent, type RedeemLegLifecycle, type RedeemLifecycleState, RedeemRejectedError, type RollingChartWindow, type ScaledCandlePoint, type SdkUiConfig, type SdkUiConfigInput, type SdkUiProviderProps, type SettlementDiff, type SettlementDifference, type SmartRouteLoadingReason, type ThemeMode, TradeSide, type TradingAction, type TradingState, type TradingStateBase, type TradingStateKind, type UseAggAuthOptions, type UseAggAuthReturn, type UseAppConfigResult, type UseArbFeedResult, type UseCancelManagedOrderOptions, type UseCategoriesOptions, type UseCategoryChildrenOptions, type UseEnrichedVenueEventOptions, type UseExecuteManagedOptions, type UseExecutionOrdersOptions, type UseExecutionPositionsOptions, type UseExecutionProgressOptions, type UseExecutionProgressResult, type UseExternalIdOptions, type UseExternalIdReturn, type UseLimitOrderVenueQuotesOptions, type UseLimitOrderVenueQuotesResult, type UseLinkAccountReturn, type UseLiveCandleOverlayOptions, type UseLiveCandleOverlayResult, type UseLiveCandlesOptions, type UseLiveCandlesResult, type UseLiveMarketResult, type UseMarketArbResult, type UseMarketChartOptions, type UseMarketChartResult, type UseMarketOrderbookOptions, type UseMarketOrderbookResult, type UseMarketOrderbookVenueOutcome, type UseMarketSearchOptions, type UseMidpointsOptions, type UseMidpointsResult, type UseOrderBookOptions, type UseOrderbookQuoteOptions, type UseOrderbookQuoteResult, type UseOrdersOptions, type UsePlaceLimitOrderOptions, type UsePositionsOptions, type UseRedeemLifecycleInput, type UseRollingChartWindowOptions, type UseSearchOptions, type UseSmartRouteOptions, type UseSmartRouteResult, type UseUserActivityOptions, type UseUserHoldingsOptions, type UseVenueEventOptions, type UseVenueEventsOptions, type UseVenueMarketMidpointsOptions, type UseVenueMarketsOptions, type UseVenueSellQuotesOptions, type UseVenueSellQuotesResult, type UseViewportMidpointsOptions, type UseVisibleIdsOptions, type UseVisibleIdsResult, type UserActivityInvalidationStrategy, Venue, type VenueAvailabilityState, type VenueEvent, type VenueEventWithMarkets, type VenueMarket, type VenueMarketOutcome, type VenueSellQuoteRequest, type VenueSellQuoteResult, type WalletActionSendTokenParams, type WalletActions, buildLiveBestPriceCandidates, computeClosedPositionTotals, computePriceGaps, defaultAggUiConfig, defaultAggUiConfig as defaultSdkUiConfig, executionKeys, extractOutcomeBestCandidate, findLivePriceById, getBuilder, getOrCreateBuilder, getVenueAvailabilityState, getVisibleVenueIdsByConfig, getVisibleVenuesByConfig, getWalletAddressFromUserProfile, invalidateBalanceQueries, invalidatePositionQueries, invalidateUserActivityQueries, invalidateUserClaimState, invalidateUserMoneyState, isVenueDisabledByConfig, mergeBestPricesPreferringLive, normalizeVenueId, optimizedImageUrl, parseEmail, parseEmailStrict, rangeToSeconds, requestAggAuthChooserOpen, resolveAggUiLabels, resolveDefaultMarket as resolveDefaultTradingMarket, resolveEventTradingState, resolveMarketTradingState, resolveMarketWinningOutcome, resolveOrderEligibility, resolveRollingWindow, resolveTradingStateKind, sortVenues, timeRangeToInterval, tradingReducer, useAggAuth, useAggAuthContext, useAggAuthState, useAggBalance, useAggBalanceContext, useAggBalanceState, useAggClient, useAggLabels, useAggUiConfig, useAggWebSocket, useAppConfig, useArbFeed, useBalanceRefillPolicies, useCachedAppConfig, useCancelManagedOrder, useCategories, useCategoryChildren, useDebouncedValue, useEnrichedVenueEvent, useEventListState, useEventOrderbookData, useEventTradingContext, useExecuteManaged, useExecutionOrders, useExecutionPositions, useExecutionProgress, useExternalId, useGeoBlock, useLabels, useLimitOrderVenueQuotes, useLinkAccount, useLiveBestPriceCandidates, useLiveBestPrices, useLiveCandleOverlay, useLiveCandles, useLiveMarket, useLiveMarketStores, useLiveOutcomePrices, useLiveTrades, useMarketArb, useMarketChart, useMarketOrderbook, useMarketSearch, useMidpoints, useOnBalanceUpdate, useOnOrderEvent, useOnOrderSubmitted, useOnRedeemEvent, useOnWithdrawalLifecycle, useOptionalAggClient, useOrderBook, useOrderbookQuote, useOrders, usePlaceLimitOrder, usePositions, useRampQuotes, useRampSession, useRedeem, useRedeemEligibleCount, useRedeemLifecycle, useRedeemLifecycles, useRollingChartWindow, useSdkLabels, useSdkUiConfig, useSearch, useSmartRoute, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueKeyStatus, useVenueMarketMidpoints, useVenueMarkets, useVenueSellQuotes, useViewportMidpoints, useVisibleIds, userActivityQueryKeys, venueKeyQueryKeys };
|
|
6713
|
+
export { AUTH_CHOOSER_OPEN_EVENT, type AggAuthContextValue, type AggAuthSignInOptions, type AggBalanceContextValue, AggBalanceProvider, AggProvider, type AggProviderProps, AggProvider as AggSdkProvider, type AggProviderProps as AggSdkProviderProps, type AggUiConfig, type AggUiConfigInput, type AggUiLabels, type AggUiLabelsInput, AggUiProvider, type AggUiTradingExecutionMode, CHART_TIME_RANGES, CONFIRMED_MATCH_STATUSES, type ChartTimeRange, type ClosedPositionTotals, type ComputePriceGapsOptions, DEFAULT_AGG_ROOT_CLASS_NAME, type DagStepProgress, type EventListStateContextValue, EventListStateProvider, type EventListStateSnapshot, type EventTradingContextValue, type EventTradingState, type ExecutionProgressPhase, type ExecutionRawStepProgress, type ExecutionStepProgress, type ExecutionTerminalOrderEvent, type GeoBlockState, type GetOrdersQuery, type GetPositionsQuery, type InvalidateUserActivityOptions, type InvalidateUserMoneyStateOptions, type LimitOrderVenueQuoteRequest, type LimitOrderVenueQuoteResult, type LiveBestPriceCandidate, type LiveBestPriceCandidates, type LiveBestPrices, type LiveCandle, MAX_PRICE_GAP_PCT, MIN_PRICE_GAP_PCT, type MarketChartCandle, type MarketChartData, type MarketChartVenueData, type MarketOrderbookData, type MarketOrderbookIntegrity, MarketStatus, type MarketTradingState, MatchStatus, MatchType, type OrderEligibility, type OrderEligibilityReason, type OrderListItem, type OrderbookResult, type PositionGroup, type PriceGapValue, type RecurringCryptoIdentity, type RecurringCryptoMarketInstance, type RecurringCryptoTimeline, type RedeemEvent, type RedeemLegLifecycle, type RedeemLifecycleState, RedeemRejectedError, type RollingChartWindow, SPORTS_LIVE_POLL_INTERVAL_MS, SPORTS_SCHEDULED_POLL_INTERVAL_MS, type ScaledCandlePoint, type SdkUiConfig, type SdkUiConfigInput, type SdkUiProviderProps, type SettlementDiff, type SettlementDifference, type SmartRouteLoadingReason, type ThemeMode, TradeSide, type TradingAction, type TradingState, type TradingStateBase, type TradingStateKind, type UseAggAuthOptions, type UseAggAuthReturn, type UseAppConfigResult, type UseArbFeedResult, type UseCancelManagedOrderOptions, type UseCategoriesOptions, type UseCategoryChildrenOptions, type UseEnrichedVenueEventOptions, type UseExecuteManagedOptions, type UseExecutionOrdersOptions, type UseExecutionPositionsOptions, type UseExecutionProgressOptions, type UseExecutionProgressResult, type UseExternalIdOptions, type UseExternalIdReturn, type UseLimitOrderVenueQuotesOptions, type UseLimitOrderVenueQuotesResult, type UseLinkAccountReturn, type UseLiveCandleOverlayOptions, type UseLiveCandleOverlayResult, type UseLiveCandlesOptions, type UseLiveCandlesResult, type UseLiveMarketResult, type UseMarketArbResult, type UseMarketChartOptions, type UseMarketChartResult, type UseMarketOrderbookOptions, type UseMarketOrderbookResult, type UseMarketOrderbookVenueOutcome, type UseMarketSearchOptions, type UseMidpointsOptions, type UseMidpointsResult, type UseOrderBookOptions, type UseOrderbookQuoteOptions, type UseOrderbookQuoteResult, type UseOrdersOptions, type UsePlaceLimitOrderOptions, type UsePositionsOptions, type UseRecurringCryptoMarketsOptions, type UseRedeemLifecycleInput, type UseRollingChartWindowOptions, type UseSearchOptions, type UseSmartRouteOptions, type UseSmartRouteResult, type UseUserActivityOptions, type UseUserHoldingsOptions, type UseVenueEventOptions, type UseVenueEventsOptions, type UseVenueMarketMidpointsOptions, type UseVenueMarketsOptions, type UseVenueSellQuotesOptions, type UseVenueSellQuotesResult, type UseViewportMidpointsOptions, type UseVisibleIdsOptions, type UseVisibleIdsResult, type UserActivityInvalidationStrategy, Venue, type VenueAvailabilityState, type VenueEvent, type VenueEventWithMarkets, type VenueMarket, type VenueMarketOutcome, type VenueSellQuoteRequest, type VenueSellQuoteResult, type WalletActionSendTokenParams, type WalletActions, buildLiveBestPriceCandidates, computeClosedPositionTotals, computePriceGaps, defaultAggUiConfig, defaultAggUiConfig as defaultSdkUiConfig, executionKeys, extractOutcomeBestCandidate, fetchRecurringCryptoMarkets, findLivePriceById, getBuilder, getOrCreateBuilder, getVenueAvailabilityState, getVisibleVenueIdsByConfig, getVisibleVenuesByConfig, getWalletAddressFromUserProfile, invalidateBalanceQueries, invalidatePositionQueries, invalidateUserActivityQueries, invalidateUserClaimState, invalidateUserMoneyState, isVenueDisabledByConfig, mergeBestPricesPreferringLive, mergeRecurringCryptoWindows, normalizeVenueId, optimizedImageUrl, parseEmail, parseEmailStrict, rangeToSeconds, recurringCryptoTransitionPollInterval, requestAggAuthChooserOpen, resolveAggUiLabels, resolveDefaultMarket as resolveDefaultTradingMarket, resolveEventTradingState, resolveMarketTradingState, resolveMarketWinningOutcome, resolveOrderEligibility, resolveRecurringCryptoIdentity, resolveRecurringCryptoTimeline, resolveRollingWindow, resolveTradingStateKind, sortVenues, sportsLiveQueryKey, sportsLiveRefetchInterval, timeRangeToInterval, tradingReducer, useAggAuth, useAggAuthContext, useAggAuthState, useAggBalance, useAggBalanceContext, useAggBalanceState, useAggClient, useAggLabels, useAggUiConfig, useAggWebSocket, useAppConfig, useArbFeed, useBalanceRefillPolicies, useCachedAppConfig, useCancelManagedOrder, useCategories, useCategoryChildren, useDebouncedValue, useEnrichedVenueEvent, useEventListState, useEventOrderbookData, useEventTradingContext, useExecuteManaged, useExecutionOrders, useExecutionPositions, useExecutionProgress, useExternalId, useGeoBlock, useLabels, useLimitOrderVenueQuotes, useLinkAccount, useLiveBestPriceCandidates, useLiveBestPrices, useLiveCandleOverlay, useLiveCandles, useLiveMarket, useLiveMarketStores, useLiveOutcomePrices, useLiveTrades, useMarketArb, useMarketChart, useMarketOrderbook, useMarketSearch, useMidpoints, useOnBalanceUpdate, useOnOrderEvent, useOnOrderSubmitted, useOnRedeemEvent, useOnWithdrawalLifecycle, useOptionalAggClient, useOrderBook, useOrderbookQuote, useOrders, usePlaceLimitOrder, usePositions, useRampQuotes, useRampSession, useRecurringCryptoMarkets, useRedeem, useRedeemEligibleCount, useRedeemLifecycle, useRedeemLifecycles, useRollingChartWindow, useSdkLabels, useSdkUiConfig, useSearch, useSmartRoute, useSportsLive, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueKeyStatus, useVenueMarketMidpoints, useVenueMarkets, useVenueSellQuotes, useViewportMidpoints, useVisibleIds, userActivityQueryKeys, venueKeyQueryKeys };
|