@agg-build/hooks 1.2.12 → 1.3.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/{chunk-R6VANZRA.mjs → chunk-KXO3JOXF.mjs} +1 -1
- package/dist/{chunk-V34QGQBO.mjs → chunk-OBHXWQ6L.mjs} +1 -1
- package/dist/{chunk-2C7JR5OH.mjs → chunk-VLYLQSDD.mjs} +117 -55
- package/dist/deposit.js +48 -19
- package/dist/deposit.mjs +2 -2
- package/dist/index.d.mts +177 -59
- package/dist/index.d.ts +177 -59
- package/dist/index.js +484 -219
- package/dist/index.mjs +267 -74
- package/dist/withdraw.d.mts +3 -3
- package/dist/withdraw.d.ts +3 -3
- package/dist/withdraw.js +51 -22
- package/dist/withdraw.mjs +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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, QuoteManagedResponse, QuoteManagedParams, ExecuteManagedResponse, ExecuteManagedParams, GetPositionsParams, WsOrderSubmitted, WsBalanceUpdate, RedeemResponse, RedeemRequest, WsRedeemEvent, AggWebSocket, WsOrderEvent, WsWithdrawalLifecycleEvent, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountConfirmResult, UserActivityQuery, UserActivityItem, PaginatedResponse, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, SmartRouteResponse, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse } from '@agg-build/sdk';
|
|
5
|
+
import { CandleBuilder, AggAuthStartBody, AggAuthStartResult, AggClientSessionInput, AggClient, RampQuote, RampQuoteRequest, RampWidgetSession, RampSessionRequest, QuoteManagedResponse, QuoteManagedParams, ExecuteManagedResponse, ExecuteManagedParams, GetPositionsParams, WsOrderSubmitted, WsBalanceUpdate, RedeemResponse, RedeemRequest, WsRedeemEvent, AggWebSocket, WsOrderEvent, WsWithdrawalLifecycleEvent, WsCandleInterval, WsTrade, AggregatedOrderbookResponse, AggLinkAccountBody, AggLinkAccountResult, AggLinkAccountConfirmResult, Category, UserActivityQuery, UserActivityItem, PaginatedResponse, CandleInterval, OrderbookState, OrderbookQuoteResponse, OrderListQuery, TradeExecutorOrder, SmartRouteSide, ExecutionMode, SmartRouteResponse, MidpointRow, BatchMidpointsResponse, AppClientConfigResponse } from '@agg-build/sdk';
|
|
6
6
|
export { TurnstileChallengeError } from '@agg-build/sdk';
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
8
|
export { UseManagedBalancesOptions, UseWithdrawEstimateParams, UseWithdrawFlowOptions, UseWithdrawFlowResult, UseWithdrawManagedOptions, UseWithdrawalLifecycleResult, WithdrawFeeEstimate, WithdrawalLifecycleState, useManagedBalances, useWithdrawEstimate, useWithdrawFlow, useWithdrawManaged, useWithdrawalLifecycle } from './withdraw.js';
|
|
@@ -296,6 +296,7 @@ type VenueEvent = {
|
|
|
296
296
|
category: {
|
|
297
297
|
id: string;
|
|
298
298
|
name: string;
|
|
299
|
+
displayName: string | null;
|
|
299
300
|
parentId: string | null;
|
|
300
301
|
eventCount: number;
|
|
301
302
|
};
|
|
@@ -656,7 +657,14 @@ interface AggUiLabels {
|
|
|
656
657
|
userProfile: {
|
|
657
658
|
activity: {
|
|
658
659
|
depositType: string;
|
|
660
|
+
redeemType: string;
|
|
659
661
|
withdrawalType: string;
|
|
662
|
+
redeemStatusTitles: {
|
|
663
|
+
pending: string;
|
|
664
|
+
completed: string;
|
|
665
|
+
failed: string;
|
|
666
|
+
canceled: string;
|
|
667
|
+
};
|
|
660
668
|
depositTitles: {
|
|
661
669
|
connectedWallet: string;
|
|
662
670
|
externalWallet: string;
|
|
@@ -772,6 +780,8 @@ interface AggUiLabels {
|
|
|
772
780
|
marketPlural: string;
|
|
773
781
|
venueSingular: string;
|
|
774
782
|
venuePlural: string;
|
|
783
|
+
matched: string;
|
|
784
|
+
matchedCount: (count: number) => string;
|
|
775
785
|
priceGap: string;
|
|
776
786
|
};
|
|
777
787
|
eventItemDetails: {
|
|
@@ -944,7 +954,7 @@ interface AggUiLabels {
|
|
|
944
954
|
/**
|
|
945
955
|
* Source-chain balance changed between quote and submit. Covers
|
|
946
956
|
* Limitless Base USDC, Polymarket pUSD, Solana SPL InsufficientFunds,
|
|
947
|
-
* BNB BEP20 transfer-exceeds-balance.
|
|
957
|
+
* BNB BEP20 transfer-exceeds-balance/allowance.
|
|
948
958
|
*/
|
|
949
959
|
sourceBalanceChanged: string;
|
|
950
960
|
/**
|
|
@@ -1008,6 +1018,8 @@ interface AggUiLabels {
|
|
|
1008
1018
|
feeBreakdownVenueFees: string;
|
|
1009
1019
|
feeBreakdownBridgeFees: string;
|
|
1010
1020
|
feeBreakdownExecutionGas: string;
|
|
1021
|
+
feeBreakdownAggMarket: string;
|
|
1022
|
+
feeBreakdownPlatformFeeBadge: string;
|
|
1011
1023
|
feeBreakdownTotalFees: string;
|
|
1012
1024
|
toWin: (tab: "buy" | "sell") => string;
|
|
1013
1025
|
buyingOutcome: (label: string) => string;
|
|
@@ -1231,6 +1243,19 @@ interface AggUiLabels {
|
|
|
1231
1243
|
failedTitle: string;
|
|
1232
1244
|
failedMessage: (errorReason?: string) => string;
|
|
1233
1245
|
};
|
|
1246
|
+
claim: {
|
|
1247
|
+
pendingTitle: string;
|
|
1248
|
+
pendingMessage: string;
|
|
1249
|
+
submittedTitle: string;
|
|
1250
|
+
submittedMessage: string;
|
|
1251
|
+
successTitle: string;
|
|
1252
|
+
successMessage: string;
|
|
1253
|
+
partialTitle: string;
|
|
1254
|
+
partialMessage: (errorReason?: string) => string;
|
|
1255
|
+
failedTitle: string;
|
|
1256
|
+
failedMessage: (errorReason?: string) => string;
|
|
1257
|
+
missingOutcomeMessage: string;
|
|
1258
|
+
};
|
|
1234
1259
|
};
|
|
1235
1260
|
}
|
|
1236
1261
|
type DeepPartial<TValue> = {
|
|
@@ -1260,6 +1285,8 @@ interface AggUiFeatureFlagsConfig {
|
|
|
1260
1285
|
enableAnimations: boolean;
|
|
1261
1286
|
/** Enable live updates */
|
|
1262
1287
|
enableLiveUpdates: boolean;
|
|
1288
|
+
/** Enable compact price-gap signals on aggregated event tiles. */
|
|
1289
|
+
enablePriceGap: boolean;
|
|
1263
1290
|
/** Enable fee UI in trading flows */
|
|
1264
1291
|
showFeesBreakdown: boolean;
|
|
1265
1292
|
/** Enable gradients */
|
|
@@ -1653,6 +1680,7 @@ declare const invalidateBalanceQueries: (queryClient: QueryClient, options?: Inv
|
|
|
1653
1680
|
declare const invalidatePositionQueries: (queryClient: QueryClient, options?: InvalidateBalanceQueriesOptions) => void;
|
|
1654
1681
|
declare const userActivityQueryKeys: {
|
|
1655
1682
|
all: () => readonly ["user-activity"];
|
|
1683
|
+
feed: (type?: string | null, limit?: number | null) => readonly ["user-activity", string, number];
|
|
1656
1684
|
};
|
|
1657
1685
|
type UserActivityInvalidationStrategy = "remove" | "invalidate";
|
|
1658
1686
|
interface InvalidateUserActivityOptions {
|
|
@@ -1694,6 +1722,13 @@ interface InvalidateUserMoneyStateOptions {
|
|
|
1694
1722
|
* current-user (no money fields change on deposit/withdraw today).
|
|
1695
1723
|
*/
|
|
1696
1724
|
declare const invalidateUserMoneyState: (queryClient: QueryClient, options?: InvalidateUserMoneyStateOptions) => void;
|
|
1725
|
+
/**
|
|
1726
|
+
* Refresh every user-facing cache touched by a winnings claim attempt. Claims
|
|
1727
|
+
* can change the visible claimable count, the active/closed position buckets,
|
|
1728
|
+
* balances, and activity rows. Run this from mutation `onSettled` so rejected
|
|
1729
|
+
* attempts also clear stale pending UI.
|
|
1730
|
+
*/
|
|
1731
|
+
declare const invalidateUserClaimState: (queryClient: QueryClient, options?: InvalidateUserMoneyStateOptions) => void;
|
|
1697
1732
|
|
|
1698
1733
|
declare function useRampQuotes(): _tanstack_react_query.UseMutationResult<RampQuote[], Error, RampQuoteRequest, unknown>;
|
|
1699
1734
|
|
|
@@ -1701,9 +1736,16 @@ declare function useRampSession(): _tanstack_react_query.UseMutationResult<RampW
|
|
|
1701
1736
|
|
|
1702
1737
|
declare const executionKeys: {
|
|
1703
1738
|
all: () => readonly ["execution"];
|
|
1704
|
-
balances: () => readonly ["execution", "balances"];
|
|
1705
|
-
positions: (cursor?: string | null, limit?: number | null, status?: "active" | "closed" | null) => readonly ["execution", "positions", string | null, number | null, "closed" | "active" | null];
|
|
1739
|
+
balances: (mode?: string | null) => readonly ["execution", "balances", string] | readonly ["execution", "balances"];
|
|
1740
|
+
positions: (cursor?: string | null, limit?: number | null, status?: "active" | "closed" | null, mode?: string | null) => readonly ["execution", "positions", string | null, number | null, "closed" | "active" | null, string] | readonly ["execution", "positions", string | null, number | null, "closed" | "active" | null];
|
|
1706
1741
|
positionsPrefix: () => readonly ["execution", "positions"];
|
|
1742
|
+
claimablePositionsCount: () => readonly ["execution", "positions", "claimable-count"];
|
|
1743
|
+
/**
|
|
1744
|
+
* @deprecated Misnomer — claimable (redeemStatus "eligible") groups live in
|
|
1745
|
+
* the ACTIVE bucket, not closed (won-but-unclaimed stays Active until a
|
|
1746
|
+
* redeem stamps redeemedAt). Same key value as `claimablePositionsCount`;
|
|
1747
|
+
* kept so existing invalidation call sites keep matching.
|
|
1748
|
+
*/
|
|
1707
1749
|
claimableClosedPositionsCount: () => readonly ["execution", "positions", "claimable-count"];
|
|
1708
1750
|
orders: (status?: string | null, cursor?: string | null, limit?: number | null) => readonly ["execution", "orders", string | null, string | null, number | null];
|
|
1709
1751
|
ordersPrefix: () => readonly ["execution", "orders"];
|
|
@@ -1955,6 +1997,7 @@ interface ExecutionTerminalOrderEvent {
|
|
|
1955
1997
|
interface UseExecutionProgressOptions {
|
|
1956
1998
|
orderIds: string[] | null;
|
|
1957
1999
|
enabled: boolean;
|
|
2000
|
+
mode?: "live" | "paper";
|
|
1958
2001
|
}
|
|
1959
2002
|
interface UseExecutionProgressResult {
|
|
1960
2003
|
phase: ExecutionProgressPhase;
|
|
@@ -1963,7 +2006,7 @@ interface UseExecutionProgressResult {
|
|
|
1963
2006
|
dagProgress: DagStepProgress | null;
|
|
1964
2007
|
terminalOrderEvents: ExecutionTerminalOrderEvent[];
|
|
1965
2008
|
}
|
|
1966
|
-
declare function useExecutionProgress({ orderIds, enabled, }: UseExecutionProgressOptions): UseExecutionProgressResult;
|
|
2009
|
+
declare function useExecutionProgress({ orderIds, enabled, mode, }: UseExecutionProgressOptions): UseExecutionProgressResult;
|
|
1967
2010
|
|
|
1968
2011
|
interface ClosedPositionTotals {
|
|
1969
2012
|
totalTraded: number;
|
|
@@ -2154,6 +2197,19 @@ interface GeoBlockState {
|
|
|
2154
2197
|
*/
|
|
2155
2198
|
declare function useGeoBlock(): GeoBlockState;
|
|
2156
2199
|
|
|
2200
|
+
type VenueAvailabilityState = "available" | "geoblocked" | "hidden";
|
|
2201
|
+
declare const normalizeVenueId: (venueId: string) => string;
|
|
2202
|
+
declare const isVenueDisabledByConfig: (venueId: string, disabledVenues?: readonly string[]) => boolean;
|
|
2203
|
+
declare const getVisibleVenuesByConfig: <TVenue extends {
|
|
2204
|
+
id: string;
|
|
2205
|
+
}>(venues: readonly TVenue[], disabledVenues?: readonly string[]) => TVenue[];
|
|
2206
|
+
declare const getVisibleVenueIdsByConfig: <TVenueId extends string>(venueIds: readonly TVenueId[], disabledVenues?: readonly string[]) => TVenueId[];
|
|
2207
|
+
declare const getVenueAvailabilityState: ({ venueId, disabledVenues, isLocationBlocked, }: {
|
|
2208
|
+
venueId: string;
|
|
2209
|
+
disabledVenues?: readonly string[];
|
|
2210
|
+
isLocationBlocked?: boolean;
|
|
2211
|
+
}) => VenueAvailabilityState;
|
|
2212
|
+
|
|
2157
2213
|
interface UseAggAuthOptions {
|
|
2158
2214
|
signMessage?: (message: string) => Promise<string>;
|
|
2159
2215
|
address?: string;
|
|
@@ -2198,14 +2254,23 @@ interface UseCategoriesOptions {
|
|
|
2198
2254
|
/** Page size when using cursor pagination. Default 20. */
|
|
2199
2255
|
limit?: number;
|
|
2200
2256
|
}
|
|
2257
|
+
interface UseCategoryChildrenOptions {
|
|
2258
|
+
/** Optional query-key scope to isolate caches across different surfaces. */
|
|
2259
|
+
queryKeyScope?: string;
|
|
2260
|
+
/** Parent category ids whose first child page should be fetched. */
|
|
2261
|
+
parentIds?: readonly (string | null | undefined)[];
|
|
2262
|
+
enabled?: boolean;
|
|
2263
|
+
/** Page size for each child query. Default 20. */
|
|
2264
|
+
limit?: number;
|
|
2265
|
+
}
|
|
2201
2266
|
/**
|
|
2202
2267
|
* Fetch categories via the API with cursor-based pagination.
|
|
2203
2268
|
* Use fetchNextPage for "Load more". Same pattern as useVenueEvents.
|
|
2204
2269
|
*/
|
|
2205
2270
|
declare function useCategories(options?: UseCategoriesOptions): {
|
|
2206
|
-
categories:
|
|
2271
|
+
categories: Category[];
|
|
2207
2272
|
hasNextPage: boolean;
|
|
2208
|
-
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2273
|
+
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>;
|
|
2209
2274
|
error: Error;
|
|
2210
2275
|
isError: true;
|
|
2211
2276
|
isPending: false;
|
|
@@ -2215,8 +2280,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2215
2280
|
isSuccess: false;
|
|
2216
2281
|
isPlaceholderData: false;
|
|
2217
2282
|
status: "error";
|
|
2218
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2219
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2283
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2284
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2220
2285
|
hasPreviousPage: boolean;
|
|
2221
2286
|
isFetchNextPageError: boolean;
|
|
2222
2287
|
isFetchingNextPage: boolean;
|
|
@@ -2235,13 +2300,13 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2235
2300
|
isRefetching: boolean;
|
|
2236
2301
|
isStale: boolean;
|
|
2237
2302
|
isEnabled: boolean;
|
|
2238
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2303
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2239
2304
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2240
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2305
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2241
2306
|
} | {
|
|
2242
|
-
categories:
|
|
2307
|
+
categories: Category[];
|
|
2243
2308
|
hasNextPage: boolean;
|
|
2244
|
-
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2309
|
+
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>;
|
|
2245
2310
|
error: null;
|
|
2246
2311
|
isError: false;
|
|
2247
2312
|
isPending: false;
|
|
@@ -2253,8 +2318,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2253
2318
|
isSuccess: true;
|
|
2254
2319
|
isPlaceholderData: false;
|
|
2255
2320
|
status: "success";
|
|
2256
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2257
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2321
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2322
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2258
2323
|
hasPreviousPage: boolean;
|
|
2259
2324
|
isFetchingNextPage: boolean;
|
|
2260
2325
|
isFetchingPreviousPage: boolean;
|
|
@@ -2271,11 +2336,11 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2271
2336
|
isRefetching: boolean;
|
|
2272
2337
|
isStale: boolean;
|
|
2273
2338
|
isEnabled: boolean;
|
|
2274
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2339
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2275
2340
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2276
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2341
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2277
2342
|
} | {
|
|
2278
|
-
categories:
|
|
2343
|
+
categories: Category[];
|
|
2279
2344
|
hasNextPage: boolean;
|
|
2280
2345
|
data: undefined;
|
|
2281
2346
|
error: Error;
|
|
@@ -2289,8 +2354,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2289
2354
|
isSuccess: false;
|
|
2290
2355
|
isPlaceholderData: false;
|
|
2291
2356
|
status: "error";
|
|
2292
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2293
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2357
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2358
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2294
2359
|
hasPreviousPage: boolean;
|
|
2295
2360
|
isFetchingNextPage: boolean;
|
|
2296
2361
|
isFetchingPreviousPage: boolean;
|
|
@@ -2307,11 +2372,11 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2307
2372
|
isRefetching: boolean;
|
|
2308
2373
|
isStale: boolean;
|
|
2309
2374
|
isEnabled: boolean;
|
|
2310
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2375
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2311
2376
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2312
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2377
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2313
2378
|
} | {
|
|
2314
|
-
categories:
|
|
2379
|
+
categories: Category[];
|
|
2315
2380
|
hasNextPage: boolean;
|
|
2316
2381
|
data: undefined;
|
|
2317
2382
|
error: null;
|
|
@@ -2325,8 +2390,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2325
2390
|
isSuccess: false;
|
|
2326
2391
|
isPlaceholderData: false;
|
|
2327
2392
|
status: "pending";
|
|
2328
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2329
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2393
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2394
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2330
2395
|
hasPreviousPage: boolean;
|
|
2331
2396
|
isFetchingNextPage: boolean;
|
|
2332
2397
|
isFetchingPreviousPage: boolean;
|
|
@@ -2343,11 +2408,11 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2343
2408
|
isRefetching: boolean;
|
|
2344
2409
|
isStale: boolean;
|
|
2345
2410
|
isEnabled: boolean;
|
|
2346
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2411
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2347
2412
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2348
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2413
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2349
2414
|
} | {
|
|
2350
|
-
categories:
|
|
2415
|
+
categories: Category[];
|
|
2351
2416
|
hasNextPage: boolean;
|
|
2352
2417
|
data: undefined;
|
|
2353
2418
|
error: null;
|
|
@@ -2360,8 +2425,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2360
2425
|
isSuccess: false;
|
|
2361
2426
|
isPlaceholderData: false;
|
|
2362
2427
|
status: "pending";
|
|
2363
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2364
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2428
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2429
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2365
2430
|
hasPreviousPage: boolean;
|
|
2366
2431
|
isFetchingNextPage: boolean;
|
|
2367
2432
|
isFetchingPreviousPage: boolean;
|
|
@@ -2379,13 +2444,13 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2379
2444
|
isRefetching: boolean;
|
|
2380
2445
|
isStale: boolean;
|
|
2381
2446
|
isEnabled: boolean;
|
|
2382
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2447
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2383
2448
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2384
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2449
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2385
2450
|
} | {
|
|
2386
|
-
categories:
|
|
2451
|
+
categories: Category[];
|
|
2387
2452
|
hasNextPage: boolean;
|
|
2388
|
-
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2453
|
+
data: _tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>;
|
|
2389
2454
|
isError: false;
|
|
2390
2455
|
error: null;
|
|
2391
2456
|
isPending: false;
|
|
@@ -2397,8 +2462,8 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2397
2462
|
isFetchNextPageError: false;
|
|
2398
2463
|
isFetchPreviousPageError: false;
|
|
2399
2464
|
status: "success";
|
|
2400
|
-
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2401
|
-
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2465
|
+
fetchNextPage: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2466
|
+
fetchPreviousPage: (options?: _tanstack_react_query.FetchPreviousPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2402
2467
|
hasPreviousPage: boolean;
|
|
2403
2468
|
isFetchingNextPage: boolean;
|
|
2404
2469
|
isFetchingPreviousPage: boolean;
|
|
@@ -2415,15 +2480,27 @@ declare function useCategories(options?: UseCategoriesOptions): {
|
|
|
2415
2480
|
isRefetching: boolean;
|
|
2416
2481
|
isStale: boolean;
|
|
2417
2482
|
isEnabled: boolean;
|
|
2418
|
-
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2483
|
+
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>, Error>>;
|
|
2419
2484
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
2420
|
-
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<
|
|
2485
|
+
promise: Promise<_tanstack_react_query.InfiniteData<_agg_build_sdk.PaginatedResponse<Category>, unknown>>;
|
|
2486
|
+
};
|
|
2487
|
+
/**
|
|
2488
|
+
* Fetch the first page of children for multiple parent categories.
|
|
2489
|
+
* This is intentionally first-page only: it is used to render folder affordances
|
|
2490
|
+
* and keep already-open branches visible without issuing one-off queries inside
|
|
2491
|
+
* the component tree for every rendered row.
|
|
2492
|
+
*/
|
|
2493
|
+
declare function useCategoryChildren(options?: UseCategoryChildrenOptions): {
|
|
2494
|
+
queries: _tanstack_react_query.UseQueryResult<_agg_build_sdk.PaginatedResponse<Category>, Error>[];
|
|
2495
|
+
childrenByParentId: Map<string, Category[]>;
|
|
2496
|
+
isLoading: boolean;
|
|
2421
2497
|
};
|
|
2422
2498
|
|
|
2423
2499
|
declare function useDebouncedValue<T>(value: T, delay: number): T;
|
|
2424
2500
|
|
|
2425
2501
|
interface UseExecutionOrdersOptions extends Omit<GetOrdersQuery, "cursor"> {
|
|
2426
2502
|
enabled?: boolean;
|
|
2503
|
+
mode?: "live" | "paper";
|
|
2427
2504
|
refetchIntervalMs?: number | false;
|
|
2428
2505
|
}
|
|
2429
2506
|
declare function useExecutionOrders(options?: UseExecutionOrdersOptions): {
|
|
@@ -2891,6 +2968,7 @@ declare function useExternalId(options?: UseExternalIdOptions): UseExternalIdRet
|
|
|
2891
2968
|
|
|
2892
2969
|
interface UseExecutionPositionsOptions extends Omit<GetPositionsQuery, "cursor"> {
|
|
2893
2970
|
enabled?: boolean;
|
|
2971
|
+
mode?: "live" | "paper";
|
|
2894
2972
|
}
|
|
2895
2973
|
declare function useExecutionPositions(options?: UseExecutionPositionsOptions): {
|
|
2896
2974
|
positions: PositionGroup[];
|
|
@@ -3523,6 +3601,51 @@ interface UseMarketOrderbookResult {
|
|
|
3523
3601
|
*/
|
|
3524
3602
|
declare function useMarketOrderbook(options: UseMarketOrderbookOptions): UseMarketOrderbookResult;
|
|
3525
3603
|
|
|
3604
|
+
interface UseMarketArbResult {
|
|
3605
|
+
/** Live arbReturn for the market, or null if no data received yet. */
|
|
3606
|
+
arbReturn: number | null;
|
|
3607
|
+
/** True once at least one live update (or a cached seed) has been received. */
|
|
3608
|
+
isLive: boolean;
|
|
3609
|
+
}
|
|
3610
|
+
interface UseArbFeedResult {
|
|
3611
|
+
/**
|
|
3612
|
+
* Live arbReturn keyed by marketId.
|
|
3613
|
+
* Values are the most-recently received arbReturn for each market.
|
|
3614
|
+
*/
|
|
3615
|
+
byMarket: Map<string, number>;
|
|
3616
|
+
/**
|
|
3617
|
+
* MAX arbReturn keyed by venueEventId.
|
|
3618
|
+
* Derived from byMarket by scanning all markets that share a venueEventId and
|
|
3619
|
+
* taking the maximum. Rebuilt fully on every batch so it is correct even when
|
|
3620
|
+
* a market's arb DROPS between batches.
|
|
3621
|
+
*/
|
|
3622
|
+
byEvent: Map<string, number>;
|
|
3623
|
+
}
|
|
3624
|
+
/**
|
|
3625
|
+
* Subscribe to real-time arbReturn updates for a single market.
|
|
3626
|
+
*
|
|
3627
|
+
* Seeds initial state from the WS cache (`ws.getArb`) if available, then
|
|
3628
|
+
* streams live updates via `ws.subscribeArb`. Unsubscribes on unmount or when
|
|
3629
|
+
* `marketId` changes.
|
|
3630
|
+
*
|
|
3631
|
+
* Returns `{ arbReturn: number | null; isLive: boolean }`.
|
|
3632
|
+
* `isLive` is true once at least one value (cached or live) is received.
|
|
3633
|
+
*/
|
|
3634
|
+
declare function useMarketArb(marketId: string | null): UseMarketArbResult;
|
|
3635
|
+
/**
|
|
3636
|
+
* Subscribe to the coalesced arb-return feed.
|
|
3637
|
+
*
|
|
3638
|
+
* Maintains a `byMarket` map (marketId → arbReturn) and derives a `byEvent`
|
|
3639
|
+
* map (venueEventId → max arbReturn across all markets in that event).
|
|
3640
|
+
*
|
|
3641
|
+
* `byEvent` is ALWAYS fully rebuilt from `byMarket` on each batch so that
|
|
3642
|
+
* dropping arb values (e.g. m2 goes from 0.30 → 0.02) are reflected correctly
|
|
3643
|
+
* — there is no stale running-max accumulation.
|
|
3644
|
+
*
|
|
3645
|
+
* Returns `{ byMarket: Map<string, number>; byEvent: Map<string, number> }`.
|
|
3646
|
+
*/
|
|
3647
|
+
declare function useArbFeed(): UseArbFeedResult;
|
|
3648
|
+
|
|
3526
3649
|
interface OrderbookResult {
|
|
3527
3650
|
market: VenueMarket;
|
|
3528
3651
|
outcome: VenueMarketOutcome;
|
|
@@ -3892,6 +4015,8 @@ interface UseSmartRouteOptions {
|
|
|
3892
4015
|
side?: SmartRouteSide | null;
|
|
3893
4016
|
/** Trade direction: "buy" (default) or "sell". */
|
|
3894
4017
|
tradeSide?: "buy" | "sell" | null;
|
|
4018
|
+
/** Trading mode. Defaults to live. */
|
|
4019
|
+
mode?: ExecutionMode | null;
|
|
3895
4020
|
/** Maximum USDC spend for the quote. Required for buy; optional for sell when sellShares is given. */
|
|
3896
4021
|
maxSpend?: number;
|
|
3897
4022
|
/** Sell only: target number of contracts to sell. */
|
|
@@ -5236,26 +5361,14 @@ declare function useVenueMarketMidpoints(options: UseVenueMarketMidpointsOptions
|
|
|
5236
5361
|
promise: Promise<BatchMidpointsResponse>;
|
|
5237
5362
|
};
|
|
5238
5363
|
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
midpointsByVenueMarketId: Map<string, number | null>;
|
|
5248
|
-
}
|
|
5249
|
-
/**
|
|
5250
|
-
* Returns Map<targetVenueMarketId, gapPct> for markets whose gap is >= MIN_PRICE_GAP_PCT.
|
|
5251
|
-
*
|
|
5252
|
-
* Gap = max over matched siblings of
|
|
5253
|
-
* `Math.abs(ownMidpoint - siblingMidpoint) / ownMidpoint * 100`
|
|
5254
|
-
*
|
|
5255
|
-
* Skip markets whose own midpoint is null/<=0. Skip sibling pairings whose
|
|
5256
|
-
* midpoint is null/<=0. Omit markets whose resulting gap is < MIN_PRICE_GAP_PCT.
|
|
5257
|
-
*/
|
|
5258
|
-
declare function computePriceGaps(input: ComputePriceGapsInput): Map<string, number>;
|
|
5364
|
+
declare const MIN_PRICE_GAP_PCT = 3;
|
|
5365
|
+
declare const MAX_PRICE_GAP_PCT = 50;
|
|
5366
|
+
type PriceGapValue = number;
|
|
5367
|
+
type ComputePriceGapsOptions = {
|
|
5368
|
+
markets: readonly VenueMarket[];
|
|
5369
|
+
midpointsByVenueMarketId: ReadonlyMap<string, number | null | undefined>;
|
|
5370
|
+
};
|
|
5371
|
+
declare const computePriceGaps: ({ markets, midpointsByVenueMarketId, }: ComputePriceGapsOptions) => Map<string, PriceGapValue>;
|
|
5259
5372
|
|
|
5260
5373
|
/**
|
|
5261
5374
|
* Fetch REST midpoints for a *dynamic* set of venue markets and cache them
|
|
@@ -5323,5 +5436,10 @@ interface UseAppConfigResult {
|
|
|
5323
5436
|
* Cached for 5 minutes — config rarely changes at runtime.
|
|
5324
5437
|
*/
|
|
5325
5438
|
declare function useAppConfig(): UseAppConfigResult;
|
|
5439
|
+
/**
|
|
5440
|
+
* Read the current App's UI config from the React Query cache without starting a fetch.
|
|
5441
|
+
* Use this in surfaces that open after config has already been loaded by a parent screen.
|
|
5442
|
+
*/
|
|
5443
|
+
declare function useCachedAppConfig(): UseAppConfigResult;
|
|
5326
5444
|
|
|
5327
|
-
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, CHART_TIME_RANGES, CONFIRMED_MATCH_STATUSES, type ChartTimeRange, type ClosedPositionTotals, type
|
|
5445
|
+
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, 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 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 UseMidpointsResult, type UseOrderBookOptions, type UseOrderbookQuoteOptions, type UseOrderbookQuoteResult, type UseOrdersOptions, type UsePositionsOptions, type UseQuoteManagedOptions, type UseRedeemLifecycleInput, type UseRollingChartWindowOptions, type UseSearchOptions, type UseSmartRouteOptions, type UseSmartRouteResult, type UseTradableVenuesResult, type UseUserActivityOptions, type UseUserHoldingsOptions, type UseVenueEventOptions, type UseVenueEventsOptions, type UseVenueMarketMidpointsOptions, type UseVenueMarketsOptions, type UseVisibleIdsOptions, type UseVisibleIdsResult, type UserActivityInvalidationStrategy, Venue, type VenueAvailabilityState, type VenueEvent, type VenueEventWithMarkets, type VenueMarket, type VenueMarketOutcome, type WalletActionSendTokenParams, type WalletActions, computeClosedPositionTotals, computePriceGaps, defaultAggUiConfig, defaultAggUiConfig as defaultSdkUiConfig, executionKeys, 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, 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, useTradableVenues, useUserActivity, useUserHoldings, useVenueEvent, useVenueEvents, useVenueMarketMidpoints, useVenueMarkets, useViewportMidpoints, useVisibleIds, userActivityQueryKeys };
|