@agg-build/hooks 2.1.1 → 2.1.3
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/{chunk-FYEPQHKO.mjs → chunk-56RISN73.mjs} +408 -16
- package/dist/{chunk-5P53A3NQ.mjs → chunk-NZEXGOFC.mjs} +1 -1
- package/dist/{chunk-AFZD3GIQ.mjs → chunk-SN4AO5D7.mjs} +1 -1
- package/dist/deposit.d.mts +1 -1
- package/dist/deposit.d.ts +1 -1
- package/dist/deposit.js +91 -19
- package/dist/deposit.mjs +32 -10
- package/dist/index.d.mts +175 -37
- package/dist/index.d.ts +175 -37
- package/dist/index.js +813 -104
- package/dist/index.mjs +363 -48
- package/dist/withdraw.js +50 -2
- package/dist/withdraw.mjs +2 -2
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -118,6 +118,7 @@ type UnifiedBalanceResponse = {
|
|
|
118
118
|
chains: {
|
|
119
119
|
chainId: number;
|
|
120
120
|
tokenAddress: string;
|
|
121
|
+
tokenSymbol?: string | undefined;
|
|
121
122
|
balanceRaw: string;
|
|
122
123
|
heldRaw?: string | undefined;
|
|
123
124
|
availableRaw?: string | undefined;
|
|
@@ -271,6 +272,16 @@ type VenueMarket = {
|
|
|
271
272
|
sportsMarketType?: string | null | undefined;
|
|
272
273
|
/** Sort rank within a sports section (0=moneyline, 1=spread, 2=total, 3+=other). */
|
|
273
274
|
sectionRank?: number | null | undefined;
|
|
275
|
+
/** Period identifier for sports markets (e.g., "1H", "2H", "Q1", etc.). */
|
|
276
|
+
period?: string | null | undefined;
|
|
277
|
+
/** Normalized subject category for prop-tab grouping (e.g., game_lines, exact_score, etc.). */
|
|
278
|
+
marketCategory?: string | null | undefined;
|
|
279
|
+
/** Section/tab grouping key for sports markets (e.g. "player_props", "totals"). */
|
|
280
|
+
marketGroup?: string | null | undefined;
|
|
281
|
+
/** Fine-grained sub-classification within a marketGroup (e.g. "moneyline", "rushing_yards"). */
|
|
282
|
+
marketSubtype?: string | null | undefined;
|
|
283
|
+
/** Line value for spread/total markets (e.g., 2.5 for totals, 3 for spreads). */
|
|
284
|
+
lineValue?: number | null | undefined;
|
|
274
285
|
matchedVenueMarkets?: {
|
|
275
286
|
id: string;
|
|
276
287
|
venue: Venue;
|
|
@@ -324,10 +335,18 @@ type VenueEvent = {
|
|
|
324
335
|
startDate?: string | null | undefined;
|
|
325
336
|
endDate?: string | null | undefined;
|
|
326
337
|
creationDate?: string | null | undefined;
|
|
338
|
+
/**
|
|
339
|
+
* Scheduled kickoff/start of the underlying game (sports events only).
|
|
340
|
+
* Distinct from `endDate` (market close/expiration), which can sit well
|
|
341
|
+
* after the game. The FE prefers this over `endDate` for the game-date
|
|
342
|
+
* title suffix. Null for non-sports events.
|
|
343
|
+
*/
|
|
344
|
+
gameStartTime?: string | null | undefined;
|
|
327
345
|
slug?: string | null | undefined;
|
|
328
346
|
subtitle?: string | null | undefined;
|
|
329
347
|
venues?: Venue[];
|
|
330
348
|
venueCount?: number | undefined;
|
|
349
|
+
groupMarketCount?: number | undefined;
|
|
331
350
|
marketCount?: number | undefined;
|
|
332
351
|
/**
|
|
333
352
|
* ISO-8601 duration denormalized from Series.recurrence. `null` means
|
|
@@ -336,8 +355,12 @@ type VenueEvent = {
|
|
|
336
355
|
* enum values.
|
|
337
356
|
*/
|
|
338
357
|
recurrence?: string | null | undefined;
|
|
358
|
+
/** Deterministic game-level canonical key for cross-venue sports detail loading. */
|
|
359
|
+
aggKey?: string | null | undefined;
|
|
339
360
|
/** Type-aware structure classification used to sort markets under this event. */
|
|
340
361
|
structureType?: "candidate" | "sport" | "axis" | "dates" | null | undefined;
|
|
362
|
+
/** Canonical sport slug for sports events (e.g. "basketball", "soccer"); null for non-sports. */
|
|
363
|
+
sport?: string | null | undefined;
|
|
341
364
|
};
|
|
342
365
|
type Orderbook = {
|
|
343
366
|
bids: {
|
|
@@ -878,6 +901,8 @@ interface AggUiLabels {
|
|
|
878
901
|
showOutcomeAria: (label: string) => string;
|
|
879
902
|
viewResolved: string;
|
|
880
903
|
hideResolved: string;
|
|
904
|
+
resolvingTitle: string;
|
|
905
|
+
resolvingDescription: string;
|
|
881
906
|
volumeUnavailable: string;
|
|
882
907
|
tabs: {
|
|
883
908
|
orderBook: string;
|
|
@@ -1087,6 +1112,7 @@ interface AggUiLabels {
|
|
|
1087
1112
|
orderSkip: string;
|
|
1088
1113
|
orderRetryRemaining: string;
|
|
1089
1114
|
resolvedEarningsTitle: string;
|
|
1115
|
+
resolvedResolutionDateLabel: string;
|
|
1090
1116
|
resolvedSharesLabel: string;
|
|
1091
1117
|
resolvedTotalPayoutLabel: string;
|
|
1092
1118
|
claimWinnings: string;
|
|
@@ -1218,6 +1244,50 @@ interface AggUiLabels {
|
|
|
1218
1244
|
resolvedOutcome: (label: string) => string;
|
|
1219
1245
|
marketDetailsAriaByDate: (dateLabel: string) => string;
|
|
1220
1246
|
marketDetailsAriaByQuestion: (question: string) => string;
|
|
1247
|
+
sports: {
|
|
1248
|
+
summaryAria: string;
|
|
1249
|
+
sectionTabsAria: string;
|
|
1250
|
+
lineSelectorAria: (marketTitle: string) => string;
|
|
1251
|
+
previousLineAria: (marketTitle: string) => string;
|
|
1252
|
+
nextLineAria: (marketTitle: string) => string;
|
|
1253
|
+
comparisonToggleAria: (marketTitle: string, expanded: boolean) => string;
|
|
1254
|
+
comparisonTitle: string;
|
|
1255
|
+
compareVenues: (count: number) => string;
|
|
1256
|
+
marketCount: (count: number) => string;
|
|
1257
|
+
venueCount: (count: number) => string;
|
|
1258
|
+
volumeShort: string;
|
|
1259
|
+
totalVolumeShort: string;
|
|
1260
|
+
gameStarts: string;
|
|
1261
|
+
moreMarketsTitle: string;
|
|
1262
|
+
gameLinesTab: string;
|
|
1263
|
+
halvesTab: string;
|
|
1264
|
+
exactScoreTab: string;
|
|
1265
|
+
cornersTab: string;
|
|
1266
|
+
goalsTab: string;
|
|
1267
|
+
assistsTab: string;
|
|
1268
|
+
shotsTab: string;
|
|
1269
|
+
otherTab: string;
|
|
1270
|
+
moneylineTitle: string;
|
|
1271
|
+
spreadTitle: string;
|
|
1272
|
+
totalTitle: string;
|
|
1273
|
+
fullPeriod: string;
|
|
1274
|
+
firstHalfPeriod: string;
|
|
1275
|
+
secondHalfPeriod: string;
|
|
1276
|
+
quarterOnePeriod: string;
|
|
1277
|
+
quarterTwoPeriod: string;
|
|
1278
|
+
quarterThreePeriod: string;
|
|
1279
|
+
quarterFourPeriod: string;
|
|
1280
|
+
overtimePeriod: string;
|
|
1281
|
+
otherPeriod: string;
|
|
1282
|
+
loadingTitle: string;
|
|
1283
|
+
loadingDescription: string;
|
|
1284
|
+
emptyTitle: string;
|
|
1285
|
+
emptyDescription: (sectionLabel: string) => string;
|
|
1286
|
+
loadMore: string;
|
|
1287
|
+
loadingMore: string;
|
|
1288
|
+
bestPriceBadge: string;
|
|
1289
|
+
selectOutcomeAria: (marketTitle: string, outcomeLabel: string, priceLabel: string) => string;
|
|
1290
|
+
};
|
|
1221
1291
|
};
|
|
1222
1292
|
header: {
|
|
1223
1293
|
bannerAria: string;
|
|
@@ -1332,6 +1402,14 @@ interface AggUiFeatureFlagsConfig {
|
|
|
1332
1402
|
* for ad-hoc partner-fired toasts).
|
|
1333
1403
|
*/
|
|
1334
1404
|
enableNotifications: boolean;
|
|
1405
|
+
/**
|
|
1406
|
+
* Enable the experimental sports event-details view. When `true` and the
|
|
1407
|
+
* event's `structureType === "sport"`, the event page renders the sports
|
|
1408
|
+
* market browser; otherwise the default event-details page is used. Defaults
|
|
1409
|
+
* to `false` (feature-flagged). Driven by `NEXT_PUBLIC_AGG_SHOW_SPORT_MARKETS`
|
|
1410
|
+
* in the demo app / Storybook, threaded through this config.
|
|
1411
|
+
*/
|
|
1412
|
+
showSportsMarkets: boolean;
|
|
1335
1413
|
}
|
|
1336
1414
|
type AggUiFeatureFlagsConfigInput = Partial<AggUiFeatureFlagsConfig>;
|
|
1337
1415
|
interface AggUiMarketConfig {
|
|
@@ -2042,6 +2120,7 @@ interface ExecutionTerminalOrderEvent {
|
|
|
2042
2120
|
}
|
|
2043
2121
|
interface UseExecutionProgressOptions {
|
|
2044
2122
|
orderIds: string[] | null;
|
|
2123
|
+
quoteId?: string | null;
|
|
2045
2124
|
enabled: boolean;
|
|
2046
2125
|
mode?: "live" | "paper";
|
|
2047
2126
|
}
|
|
@@ -2052,7 +2131,7 @@ interface UseExecutionProgressResult {
|
|
|
2052
2131
|
dagProgress: DagStepProgress | null;
|
|
2053
2132
|
terminalOrderEvents: ExecutionTerminalOrderEvent[];
|
|
2054
2133
|
}
|
|
2055
|
-
declare function useExecutionProgress({ orderIds, enabled, mode, }: UseExecutionProgressOptions): UseExecutionProgressResult;
|
|
2134
|
+
declare function useExecutionProgress({ orderIds, quoteId, enabled, mode, }: UseExecutionProgressOptions): UseExecutionProgressResult;
|
|
2056
2135
|
|
|
2057
2136
|
interface ClosedPositionTotals {
|
|
2058
2137
|
totalTraded: number;
|
|
@@ -3350,10 +3429,42 @@ declare function useLiveOutcomePrices(venueMarkets: VenueMarket[] | null | undef
|
|
|
3350
3429
|
*/
|
|
3351
3430
|
declare function findLivePriceById(livePrices: Map<string, number>, id: string): number | undefined;
|
|
3352
3431
|
|
|
3432
|
+
interface MarketLiveState {
|
|
3433
|
+
marketId: string;
|
|
3434
|
+
orderbook: OrderbookState | null;
|
|
3435
|
+
orderbookSnapshotVersion: number;
|
|
3436
|
+
orderbookError: string | null;
|
|
3437
|
+
trades: WsTrade[];
|
|
3438
|
+
isConnected: boolean;
|
|
3439
|
+
integrity: "ok" | "resyncing";
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3353
3442
|
type LiveBestPrices = ReadonlyMap<string, {
|
|
3354
3443
|
bestBid?: number;
|
|
3355
3444
|
bestAsk?: number;
|
|
3356
3445
|
}>;
|
|
3446
|
+
/**
|
|
3447
|
+
* A WS-derived best-price candidate for one outcome, carrying the venue that
|
|
3448
|
+
* produced each side *and* a freshness stamp. This is the richer companion to
|
|
3449
|
+
* {@link LiveBestPrices}: it keeps the venue attribution that the bare
|
|
3450
|
+
* `{ bestBid, bestAsk }` map throws away, so display surfaces can switch the
|
|
3451
|
+
* venue logo to whichever venue currently owns the best live price — keeping
|
|
3452
|
+
* the logo paired with the price instead of pinned to the REST snapshot.
|
|
3453
|
+
*/
|
|
3454
|
+
interface LiveBestPriceCandidate {
|
|
3455
|
+
bestBid?: number;
|
|
3456
|
+
bestAsk?: number;
|
|
3457
|
+
/** Venue that owns the cross-venue best bid (best place to sell). */
|
|
3458
|
+
bestBidVenue?: string;
|
|
3459
|
+
/** Venue that owns the cross-venue best ask (cheapest place to buy). */
|
|
3460
|
+
bestAskVenue?: string;
|
|
3461
|
+
midpoint?: number;
|
|
3462
|
+
/** Venue the midpoint is attributed to (cheapest-ask side, then best-bid). */
|
|
3463
|
+
midpointVenue?: string;
|
|
3464
|
+
/** Orderbook timestamp (seconds) of the freshest book backing this candidate. */
|
|
3465
|
+
updatedAt?: number;
|
|
3466
|
+
}
|
|
3467
|
+
type LiveBestPriceCandidates = ReadonlyMap<string, LiveBestPriceCandidate>;
|
|
3357
3468
|
/**
|
|
3358
3469
|
* WS-derived cross-venue + cross-outcome best bid/ask per outcome.
|
|
3359
3470
|
*
|
|
@@ -3381,6 +3492,35 @@ declare function mergeBestPricesPreferringLive(rest: ReadonlyMap<string, {
|
|
|
3381
3492
|
bestBid?: number;
|
|
3382
3493
|
bestAsk?: number;
|
|
3383
3494
|
}>;
|
|
3495
|
+
/**
|
|
3496
|
+
* Pull the per-outcome best bid/ask, attributed venues, midpoint and freshness
|
|
3497
|
+
* out of a single live orderbook state. Pure — exported for unit tests.
|
|
3498
|
+
*/
|
|
3499
|
+
declare const extractOutcomeBestCandidate: (state: MarketLiveState | undefined) => LiveBestPriceCandidate;
|
|
3500
|
+
/**
|
|
3501
|
+
* Cross-venue + cross-outcome venue-attributed best-price candidates.
|
|
3502
|
+
*
|
|
3503
|
+
* Pure (no React) so the cross-venue fold can be unit-tested directly:
|
|
3504
|
+
* - Pass 1: per-outcome candidate from each outcome's own aggregated book.
|
|
3505
|
+
* - Pass 2: fold across MVMO groups. Lowest ask wins (cheapest to buy),
|
|
3506
|
+
* highest bid wins (best to sell), and the *winning venue* + freshest
|
|
3507
|
+
* timestamp travel with the chosen price to every member of the group.
|
|
3508
|
+
* This is what lets a different venue's live book switch both the price
|
|
3509
|
+
* and the venue logo on every WS update.
|
|
3510
|
+
*
|
|
3511
|
+
* Mirrors the price fold in {@link useLiveBestPrices} and the REST fold in
|
|
3512
|
+
* `useMidpoints.extractBestPrices`, but additionally tracks venue + freshness.
|
|
3513
|
+
*/
|
|
3514
|
+
declare function buildLiveBestPriceCandidates(outcomeIds: string[], states: Array<MarketLiveState | undefined>, venueMarkets: VenueMarket[] | null | undefined): Map<string, LiveBestPriceCandidate>;
|
|
3515
|
+
/**
|
|
3516
|
+
* React hook companion to {@link useLiveBestPrices} that additionally carries
|
|
3517
|
+
* venue attribution + freshness per outcome. Recomputes on every WS update
|
|
3518
|
+
* (snapshot/delta) that moves price, venue ownership, or timestamp.
|
|
3519
|
+
*
|
|
3520
|
+
* Empty until WS books land for the subscribed outcomes. Designed to feed a
|
|
3521
|
+
* unified price+venue selector so the venue logo always follows the live price.
|
|
3522
|
+
*/
|
|
3523
|
+
declare function useLiveBestPriceCandidates(venueMarkets: VenueMarket[] | null | undefined): LiveBestPriceCandidates;
|
|
3384
3524
|
|
|
3385
3525
|
/**
|
|
3386
3526
|
* Subscribe to real-time trade feed for a canonical market.
|
|
@@ -3454,41 +3594,6 @@ interface UseMidpointsResult {
|
|
|
3454
3594
|
*/
|
|
3455
3595
|
declare function useMidpoints(venueMarkets: VenueMarket[] | null | undefined, options?: UseMidpointsOptions): UseMidpointsResult;
|
|
3456
3596
|
|
|
3457
|
-
interface UseTradableVenuesResult {
|
|
3458
|
-
/**
|
|
3459
|
-
* Set of venue strings that have at least one outcome with a non-null
|
|
3460
|
-
* midpoint from the engine. When non-null, this is the authoritative
|
|
3461
|
-
* set of venues that have a live orderbook for the given cluster.
|
|
3462
|
-
*
|
|
3463
|
-
* `null` while midpoints are still loading — callers should treat this
|
|
3464
|
-
* as "unknown, don't filter yet" and show all venues optimistically.
|
|
3465
|
-
*/
|
|
3466
|
-
tradableVenues: ReadonlySet<string> | null;
|
|
3467
|
-
/** True while the underlying midpoints fetch is in flight. */
|
|
3468
|
-
isLoading: boolean;
|
|
3469
|
-
}
|
|
3470
|
-
/**
|
|
3471
|
-
* Dynamic venue-orderbook availability check.
|
|
3472
|
-
*
|
|
3473
|
-
* Walks the cluster's midpoints (already fetched via /midpoints by the
|
|
3474
|
-
* surrounding component, or fetched fresh here if not) and returns the
|
|
3475
|
-
* set of venues that have at least one outcome with a non-null midpoint.
|
|
3476
|
-
* A venue with NO non-null midpoints across all its outcomes is treated
|
|
3477
|
-
* as "no live orderbook" — it appeared in matching/discovery but the
|
|
3478
|
-
* engine isn't quoting it (e.g. opinion).
|
|
3479
|
-
*
|
|
3480
|
-
* The signal is purely runtime: no hardcoded venue allowlist. New
|
|
3481
|
-
* venues that join without orderbook support get filtered automatically;
|
|
3482
|
-
* venues whose orderbook stream temporarily drops also get filtered
|
|
3483
|
-
* until midpoints come back. This keeps the FE in lockstep with what the
|
|
3484
|
-
* engine is actually able to quote, without coordinating constants
|
|
3485
|
-
* across BE/FE on every venue addition.
|
|
3486
|
-
*
|
|
3487
|
-
* Use this in surfaces that need to show "X tradeable venues" or filter
|
|
3488
|
-
* a venue logo strip — see `getVenueSummary`'s `tradableVenues` option.
|
|
3489
|
-
*/
|
|
3490
|
-
declare function useTradableVenues(venueMarkets: VenueMarket[] | null | undefined): UseTradableVenuesResult;
|
|
3491
|
-
|
|
3492
3597
|
interface UseMarketChartOptions {
|
|
3493
3598
|
/** VenueMarketOutcome.id */
|
|
3494
3599
|
marketId: string | null;
|
|
@@ -4088,6 +4193,21 @@ interface UseSmartRouteOptions {
|
|
|
4088
4193
|
enabled?: boolean;
|
|
4089
4194
|
/** Cache freshness and polling interval in milliseconds. Defaults to SMART_ROUTE_STALE_TIME_MS. */
|
|
4090
4195
|
staleTimeMs?: number;
|
|
4196
|
+
/**
|
|
4197
|
+
* UI activity hints used by the centralized refresh policy. These do not
|
|
4198
|
+
* affect the fetched payload, only whether quote polling should stay active
|
|
4199
|
+
* and whether thin-liquidity quotes should refresh more aggressively.
|
|
4200
|
+
*/
|
|
4201
|
+
refreshContext?: {
|
|
4202
|
+
/** True when the quote panel is the visible/active surface. Defaults to true. */
|
|
4203
|
+
isPanelActive?: boolean;
|
|
4204
|
+
/** True while the user is actively editing the quote inputs. Defaults to false. */
|
|
4205
|
+
isEditing?: boolean;
|
|
4206
|
+
/** True when the market is open for trading. Defaults to true. */
|
|
4207
|
+
isMarketOpen?: boolean;
|
|
4208
|
+
/** True while the trade is being submitted or executed. Defaults to false. */
|
|
4209
|
+
isSubmitting?: boolean;
|
|
4210
|
+
};
|
|
4091
4211
|
}
|
|
4092
4212
|
/**
|
|
4093
4213
|
* Why the smart route query is currently loading.
|
|
@@ -4736,6 +4856,11 @@ interface UseVenueEventsOptions {
|
|
|
4736
4856
|
maxYesPrice?: number;
|
|
4737
4857
|
/** ISO-8601 timestamp. When set, hides events with endDate <= value; NULL-endDate events are kept. */
|
|
4738
4858
|
endDateFrom?: string;
|
|
4859
|
+
/**
|
|
4860
|
+
* When true, fold same-venue companion events into one tile per game
|
|
4861
|
+
* (`groupParentId IS NULL`). Default (omitted/false) = ungrouped.
|
|
4862
|
+
*/
|
|
4863
|
+
grouped?: boolean;
|
|
4739
4864
|
/**
|
|
4740
4865
|
* When restoring from a navigation snapshot, eagerly fetch this many pages
|
|
4741
4866
|
* on mount (pages are likely cached by React Query from the prior visit).
|
|
@@ -4984,6 +5109,16 @@ interface UseVenueMarketsOptions {
|
|
|
4984
5109
|
matchStatus?: MatchStatus;
|
|
4985
5110
|
/** Filter by category IDs. */
|
|
4986
5111
|
categoryIds?: string[];
|
|
5112
|
+
/** Canonical game or market key filter. */
|
|
5113
|
+
aggKey?: string[];
|
|
5114
|
+
/** Sports section filter: moneyline, spread, total, prop, ... */
|
|
5115
|
+
sportsMarketType?: string[];
|
|
5116
|
+
/** Sports period filter: full, 1h, 2h, q1, ... */
|
|
5117
|
+
period?: string[];
|
|
5118
|
+
/** Sports prop-category filter: corners, goals, assists, ... */
|
|
5119
|
+
marketCategory?: string[];
|
|
5120
|
+
/** Sports section/tab grouping filter: game_lines, spreads, totals, player_props, ... */
|
|
5121
|
+
marketGroup?: string[];
|
|
4987
5122
|
/** Page size when using cursor pagination. Default 20. */
|
|
4988
5123
|
limit?: number;
|
|
4989
5124
|
/** Enable/disable the query. Default true. */
|
|
@@ -4992,6 +5127,9 @@ interface UseVenueMarketsOptions {
|
|
|
4992
5127
|
sortBy?: "volume" | "volume24hr" | "createdAt" | "yesPrice" | "updatedAt";
|
|
4993
5128
|
/** Sort direction: "asc" or "desc". */
|
|
4994
5129
|
sortDir?: "asc" | "desc";
|
|
5130
|
+
/** Sort surface. "list" makes axis/dates events sort by volume (matches the
|
|
5131
|
+
* tile top-3); omit or "detail" on the detail page to keep structured order. */
|
|
5132
|
+
context?: "list" | "detail";
|
|
4995
5133
|
}
|
|
4996
5134
|
/**
|
|
4997
5135
|
* Fetch venue markets with cursor-based pagination.
|
|
@@ -5504,4 +5642,4 @@ declare function useAppConfig(): UseAppConfigResult;
|
|
|
5504
5642
|
*/
|
|
5505
5643
|
declare function useCachedAppConfig(): UseAppConfigResult;
|
|
5506
5644
|
|
|
5507
|
-
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 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 SmartRouteLoadingReason, type ThemeMode, TradeSide, type TradingAction, type TradingState, type TradingStateBase, type TradingStateKind, type UseAggAuthOptions, type UseAggAuthReturn, type UseAppConfigResult, type UseArbFeedResult, type UseCategoriesOptions, type UseCategoryChildrenOptions, type UseEnrichedVenueEventOptions, type UseExecuteManagedOptions, type UseExecutionOrdersOptions, type UseExecutionPositionsOptions, type UseExecutionProgressOptions, type UseExecutionProgressResult, type UseExternalIdOptions, type UseExternalIdReturn, 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 UsePositionsOptions, type UseQuoteManagedOptions, type UseRedeemLifecycleInput, type UseRollingChartWindowOptions, type UseSearchOptions, type UseSmartRouteOptions, type UseSmartRouteResult, type
|
|
5645
|
+
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 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 SmartRouteLoadingReason, type ThemeMode, TradeSide, type TradingAction, type TradingState, type TradingStateBase, type TradingStateKind, type UseAggAuthOptions, type UseAggAuthReturn, type UseAppConfigResult, type UseArbFeedResult, type UseCategoriesOptions, type UseCategoryChildrenOptions, type UseEnrichedVenueEventOptions, type UseExecuteManagedOptions, type UseExecutionOrdersOptions, type UseExecutionPositionsOptions, type UseExecutionProgressOptions, type UseExecutionProgressResult, type UseExternalIdOptions, type UseExternalIdReturn, 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 UsePositionsOptions, type UseQuoteManagedOptions, type UseRedeemLifecycleInput, type UseRollingChartWindowOptions, type UseSearchOptions, type UseSmartRouteOptions, type UseSmartRouteResult, type UseUserActivityOptions, type UseUserHoldingsOptions, type UseVenueEventOptions, type UseVenueEventsOptions, type UseVenueMarketMidpointsOptions, type UseVenueMarketsOptions, type UseViewportMidpointsOptions, type UseVisibleIdsOptions, type UseVisibleIdsResult, type UserActivityInvalidationStrategy, Venue, type VenueAvailabilityState, type VenueEvent, type VenueEventWithMarkets, type VenueMarket, type VenueMarketOutcome, 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, useCachedAppConfig, useCategories, useCategoryChildren, useDebouncedValue, useEnrichedVenueEvent, useEventListState, useEventOrderbookData, useEventTradingContext, useExecuteManaged, useExecutionOrders, useExecutionPositions, useExecutionProgress, useExternalId, useGeoBlock, useLabels, useLinkAccount, useLiveBestPriceCandidates, useLiveBestPrices, useLiveCandleOverlay, useLiveCandles, useLiveMarket, useLiveMarketStores, useLiveOutcomePrices, useLiveTrades, useMarketArb, useMarketChart, useMarketOrderbook, useMarketSearch, useMidpoints, useOnBalanceUpdate, useOnOrderEvent, useOnOrderSubmitted, useOnRedeemEvent, useOnWithdrawalLifecycle, useOptionalAggClient, useOrderBook, useOrderbookQuote, useOrders, usePositions, useQuoteManaged, useRampQuotes, useRampSession, useRedeem, useRedeemEligibleCount, useRedeemLifecycle, useRedeemLifecycles, useRollingChartWindow, useSdkLabels, useSdkUiConfig, useSearch, useSmartRoute, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueMarketMidpoints, useVenueMarkets, useViewportMidpoints, useVisibleIds, userActivityQueryKeys };
|