@liberfi.io/ui-predict 0.1.52 → 0.1.53
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/client/index.d.mts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/{index-D3Ek8yK4.d.mts → index-DIcC-37S.d.mts} +1 -1
- package/dist/{index-D3Ek8yK4.d.ts → index-DIcC-37S.d.ts} +1 -1
- package/dist/index.d.mts +60 -7
- package/dist/index.d.ts +60 -7
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
package/dist/client/index.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aR as BasePredictClient, aU as DflowPredictClient, aV as DflowPredictWsClient, aU as PredictClient, P as PredictClientV2, aV as PredictWsClient, c as V2Event, V as V2EventSortField, e as V2EventStatus, k as V2ListEventsParams, d as V2Market, aZ as V2MarketResult, a_ as V2MarketStatus, a$ as V2Outcome, l as V2Page, b0 as V2ProviderMeta, b as V2ProviderSource, b1 as V2SettlementSource, b2 as V2Tag, aX as WsClientConfig, aS as buildQuery, aW as createDflowPredictWsClient, aY as createPredictClientV2, aW as createPredictWsClient, aT as toRecord } from '../index-DIcC-37S.mjs';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aR as BasePredictClient, aU as DflowPredictClient, aV as DflowPredictWsClient, aU as PredictClient, P as PredictClientV2, aV as PredictWsClient, c as V2Event, V as V2EventSortField, e as V2EventStatus, k as V2ListEventsParams, d as V2Market, aZ as V2MarketResult, a_ as V2MarketStatus, a$ as V2Outcome, l as V2Page, b0 as V2ProviderMeta, b as V2ProviderSource, b1 as V2SettlementSource, b2 as V2Tag, aX as WsClientConfig, aS as buildQuery, aW as createDflowPredictWsClient, aY as createPredictClientV2, aW as createPredictWsClient, aT as toRecord } from '../index-DIcC-37S.js';
|
|
@@ -1601,4 +1601,4 @@ declare class DflowPredictWsClient implements IPredictWsClient {
|
|
|
1601
1601
|
*/
|
|
1602
1602
|
declare function createDflowPredictWsClient(config: WsClientConfig): DflowPredictWsClient;
|
|
1603
1603
|
|
|
1604
|
-
export { type
|
|
1604
|
+
export { type QuoteResponse as $, type LiveDataByEventQueryParams as A, type LiveDataByMintQueryParams as B, type CandlesticksResponse as C, type SeriesQueryParams as D, type EventQueryParams as E, type ForecastPercentileHistoryQueryParams as F, type SeriesListResponse as G, type TagsByCategoriesResponse as H, type IPredictClient as I, type FiltersBySportsResponse as J, type SearchQueryParams as K, type LiveDataQueryParams as L, type MarketQueryParams as M, type SearchResponse as N, type OrderResponse as O, PredictClientV2 as P, type PositionsByWalletQueryParams as Q, type WalletPositionsResponse as R, type StandardEvent as S, type TradesQueryParams as T, type OutcomeMintsQueryParams as U, type V2EventSortField as V, type WalletPositionItem as W, type OutcomeMintsResponse as X, type FilterOutcomeMintsRequest as Y, type FilterOutcomeMintsResponse as Z, type QuoteQueryParams as _, type StandardMarket as a, type V2Outcome as a$, type SwapRequestBody as a0, type SwapResponse as a1, type SwapInstructionsResponse as a2, type OrderQueryParams as a3, type OrderStatusQueryParams as a4, type IntentQuoteQueryParams as a5, type IntentQuoteResponse as a6, type IntentSwapRequestBody as a7, type IntentSwapResponse as a8, type PredictionMarketInitQueryParams as a9, type RoutePlanLeg as aA, type PlatformFee as aB, type ComputeBudgetInfo as aC, type PrioritizationType as aD, type AccountMetaResponse as aE, type InstructionResponse as aF, type BlockhashWithMetadata as aG, type OrderFill as aH, type OrderRevert as aI, type IntentExpiry as aJ, type TokenWithDecimals as aK, type OrderbookQueryParams as aL, type PrioritizationFeeLamports as aM, type DestinationTokenAccountParam as aN, type CreateFeeAccountParams as aO, type PositiveSlippageParams as aP, type WsSubscribeOptions as aQ, BasePredictClient as aR, buildQuery as aS, toRecord as aT, DflowPredictClient as aU, DflowPredictWsClient as aV, createDflowPredictWsClient as aW, type WsClientConfig as aX, createPredictClientV2 as aY, type V2MarketResult as aZ, type V2MarketStatus as a_, type PredictionMarketInitResponse as aa, type TokenListResponse as ab, type TokenListWithDecimalsResponse as ac, type VenueListResponse as ad, type WsConnectionStatus as ae, type WsPriceUpdate as af, type WsTradeUpdate as ag, type WsOrderbookUpdate as ah, type ProviderType as ai, type MarketStatus as aj, type SortField as ak, type SortOrder as al, type OrderStatus as am, type PlatformFeeMode as an, type SlippageTolerance as ao, type PriorityLevel as ap, type ExecutionMode as aq, type SettlementSource as ar, type MarketAccountInfo as as, type OnchainTrade as at, type OnchainTradeSortBy as au, type OnchainTradesBaseQueryParams as av, type CandlestickOHLC as aw, type CandlestickDataPoint as ax, type ForecastPercentileDataPoint as ay, type SeriesSettlementSource as az, type V2ProviderSource as b, type V2ProviderMeta as b0, type V2SettlementSource as b1, type V2Tag as b2, type V2Event as c, type V2Market as d, type V2EventStatus as e, type OrderStatusResponse as f, type SeriesResponse as g, type OrderbookLevel as h, type SingleTradeResponse as i, type IPredictWsClient as j, type V2ListEventsParams as k, type V2Page as l, type StandardEventsResponse as m, type StandardMarketsResponse as n, type MarketsBatchRequest as o, type OrderbookResponse as p, type MultiTradeResponse as q, type TradesByMintQueryParams as r, type OnchainTradesByWalletQueryParams as s, type MultiOnchainTradeResponse as t, type OnchainTradesByEventQueryParams as u, type OnchainTradesByMarketQueryParams as v, type CandlesticksQueryParams as w, type ForecastPercentileHistoryResponse as x, type ForecastPercentileHistoryByMintQueryParams as y, type LiveDataResponse as z };
|
|
@@ -1601,4 +1601,4 @@ declare class DflowPredictWsClient implements IPredictWsClient {
|
|
|
1601
1601
|
*/
|
|
1602
1602
|
declare function createDflowPredictWsClient(config: WsClientConfig): DflowPredictWsClient;
|
|
1603
1603
|
|
|
1604
|
-
export { type
|
|
1604
|
+
export { type QuoteResponse as $, type LiveDataByEventQueryParams as A, type LiveDataByMintQueryParams as B, type CandlesticksResponse as C, type SeriesQueryParams as D, type EventQueryParams as E, type ForecastPercentileHistoryQueryParams as F, type SeriesListResponse as G, type TagsByCategoriesResponse as H, type IPredictClient as I, type FiltersBySportsResponse as J, type SearchQueryParams as K, type LiveDataQueryParams as L, type MarketQueryParams as M, type SearchResponse as N, type OrderResponse as O, PredictClientV2 as P, type PositionsByWalletQueryParams as Q, type WalletPositionsResponse as R, type StandardEvent as S, type TradesQueryParams as T, type OutcomeMintsQueryParams as U, type V2EventSortField as V, type WalletPositionItem as W, type OutcomeMintsResponse as X, type FilterOutcomeMintsRequest as Y, type FilterOutcomeMintsResponse as Z, type QuoteQueryParams as _, type StandardMarket as a, type V2Outcome as a$, type SwapRequestBody as a0, type SwapResponse as a1, type SwapInstructionsResponse as a2, type OrderQueryParams as a3, type OrderStatusQueryParams as a4, type IntentQuoteQueryParams as a5, type IntentQuoteResponse as a6, type IntentSwapRequestBody as a7, type IntentSwapResponse as a8, type PredictionMarketInitQueryParams as a9, type RoutePlanLeg as aA, type PlatformFee as aB, type ComputeBudgetInfo as aC, type PrioritizationType as aD, type AccountMetaResponse as aE, type InstructionResponse as aF, type BlockhashWithMetadata as aG, type OrderFill as aH, type OrderRevert as aI, type IntentExpiry as aJ, type TokenWithDecimals as aK, type OrderbookQueryParams as aL, type PrioritizationFeeLamports as aM, type DestinationTokenAccountParam as aN, type CreateFeeAccountParams as aO, type PositiveSlippageParams as aP, type WsSubscribeOptions as aQ, BasePredictClient as aR, buildQuery as aS, toRecord as aT, DflowPredictClient as aU, DflowPredictWsClient as aV, createDflowPredictWsClient as aW, type WsClientConfig as aX, createPredictClientV2 as aY, type V2MarketResult as aZ, type V2MarketStatus as a_, type PredictionMarketInitResponse as aa, type TokenListResponse as ab, type TokenListWithDecimalsResponse as ac, type VenueListResponse as ad, type WsConnectionStatus as ae, type WsPriceUpdate as af, type WsTradeUpdate as ag, type WsOrderbookUpdate as ah, type ProviderType as ai, type MarketStatus as aj, type SortField as ak, type SortOrder as al, type OrderStatus as am, type PlatformFeeMode as an, type SlippageTolerance as ao, type PriorityLevel as ap, type ExecutionMode as aq, type SettlementSource as ar, type MarketAccountInfo as as, type OnchainTrade as at, type OnchainTradeSortBy as au, type OnchainTradesBaseQueryParams as av, type CandlestickOHLC as aw, type CandlestickDataPoint as ax, type ForecastPercentileDataPoint as ay, type SeriesSettlementSource as az, type V2ProviderSource as b, type V2ProviderMeta as b0, type V2SettlementSource as b1, type V2Tag as b2, type V2Event as c, type V2Market as d, type V2EventStatus as e, type OrderStatusResponse as f, type SeriesResponse as g, type OrderbookLevel as h, type SingleTradeResponse as i, type IPredictWsClient as j, type V2ListEventsParams as k, type V2Page as l, type StandardEventsResponse as m, type StandardMarketsResponse as n, type MarketsBatchRequest as o, type OrderbookResponse as p, type MultiTradeResponse as q, type TradesByMintQueryParams as r, type OnchainTradesByWalletQueryParams as s, type MultiOnchainTradeResponse as t, type OnchainTradesByEventQueryParams as u, type OnchainTradesByMarketQueryParams as v, type CandlesticksQueryParams as w, type ForecastPercentileHistoryResponse as x, type ForecastPercentileHistoryByMintQueryParams as y, type LiveDataResponse as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as StandardEvent, a as StandardMarket, E as EventQueryParams, V as
|
|
3
|
-
export {
|
|
2
|
+
import { S as StandardEvent, a as StandardMarket, E as EventQueryParams, V as V2EventSortField, b as V2ProviderSource, c as V2Event, d as V2Market, e as V2EventStatus, O as OrderResponse, f as OrderStatusResponse, g as SeriesResponse, C as CandlesticksResponse, h as OrderbookLevel, i as SingleTradeResponse, I as IPredictClient, j as IPredictWsClient, W as WalletPositionItem, P as PredictClientV2, k as V2ListEventsParams, l as V2Page, m as StandardEventsResponse, M as MarketQueryParams, n as StandardMarketsResponse, o as MarketsBatchRequest, p as OrderbookResponse, T as TradesQueryParams, q as MultiTradeResponse, r as TradesByMintQueryParams, s as OnchainTradesByWalletQueryParams, t as MultiOnchainTradeResponse, u as OnchainTradesByEventQueryParams, v as OnchainTradesByMarketQueryParams, w as CandlesticksQueryParams, F as ForecastPercentileHistoryQueryParams, x as ForecastPercentileHistoryResponse, y as ForecastPercentileHistoryByMintQueryParams, L as LiveDataQueryParams, z as LiveDataResponse, A as LiveDataByEventQueryParams, B as LiveDataByMintQueryParams, D as SeriesQueryParams, G as SeriesListResponse, H as TagsByCategoriesResponse, J as FiltersBySportsResponse, K as SearchQueryParams, N as SearchResponse, Q as PositionsByWalletQueryParams, R as WalletPositionsResponse, U as OutcomeMintsQueryParams, X as OutcomeMintsResponse, Y as FilterOutcomeMintsRequest, Z as FilterOutcomeMintsResponse, _ as QuoteQueryParams, $ as QuoteResponse, a0 as SwapRequestBody, a1 as SwapResponse, a2 as SwapInstructionsResponse, a3 as OrderQueryParams, a4 as OrderStatusQueryParams, a5 as IntentQuoteQueryParams, a6 as IntentQuoteResponse, a7 as IntentSwapRequestBody, a8 as IntentSwapResponse, a9 as PredictionMarketInitQueryParams, aa as PredictionMarketInitResponse, ab as TokenListResponse, ac as TokenListWithDecimalsResponse, ad as VenueListResponse, ae as WsConnectionStatus, af as WsPriceUpdate, ag as WsTradeUpdate, ah as WsOrderbookUpdate } from './index-DIcC-37S.mjs';
|
|
3
|
+
export { aE as AccountMetaResponse, aR as BasePredictClient, aG as BlockhashWithMetadata, ax as CandlestickDataPoint, aw as CandlestickOHLC, aC as ComputeBudgetInfo, aO as CreateFeeAccountParams, aN as DestinationTokenAccountParam, aU as DflowPredictClient, aV as DflowPredictWsClient, aq as ExecutionMode, ay as ForecastPercentileDataPoint, aF as InstructionResponse, aJ as IntentExpiry, as as MarketAccountInfo, aj as MarketStatus, at as OnchainTrade, au as OnchainTradeSortBy, av as OnchainTradesBaseQueryParams, aH as OrderFill, aI as OrderRevert, am as OrderStatus, aL as OrderbookQueryParams, aB as PlatformFee, an as PlatformFeeMode, aP as PositiveSlippageParams, aU as PredictClient, aV as PredictWsClient, aM as PrioritizationFeeLamports, aD as PrioritizationType, ap as PriorityLevel, ai as ProviderType, aA as RoutePlanLeg, az as SeriesSettlementSource, ar as SettlementSource, ao as SlippageTolerance, ak as SortField, al as SortOrder, aK as TokenWithDecimals, aZ as V2MarketResult, a_ as V2MarketStatus, a$ as V2Outcome, b0 as V2ProviderMeta, b1 as V2SettlementSource, b2 as V2Tag, aX as WsClientConfig, aQ as WsSubscribeOptions, aS as buildQuery, aW as createDflowPredictWsClient, aY as createPredictClientV2, aW as createPredictWsClient, aT as toRecord } from './index-DIcC-37S.mjs';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { PropsWithChildren } from 'react';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
@@ -13,7 +13,7 @@ declare global {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
declare const _default: "0.1.
|
|
16
|
+
declare const _default: "0.1.53";
|
|
17
17
|
|
|
18
18
|
interface EventsPageProps {
|
|
19
19
|
/** Callback when an event is selected */
|
|
@@ -163,6 +163,51 @@ interface TagSlugSelection {
|
|
|
163
163
|
tagSlug: string | null;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
+
type SortPreset = "trending" | "volume" | "newest" | "ending_soon" | "liquidity";
|
|
167
|
+
declare const SORT_PRESETS: Record<SortPreset, {
|
|
168
|
+
sort_by: V2EventSortField;
|
|
169
|
+
sort_asc: boolean;
|
|
170
|
+
}>;
|
|
171
|
+
interface EventsToolbarV2UIProps {
|
|
172
|
+
/** Currently active platform source */
|
|
173
|
+
source?: V2ProviderSource;
|
|
174
|
+
/** Callback when the user picks a different platform */
|
|
175
|
+
onSourceChange: (source?: V2ProviderSource) => void;
|
|
176
|
+
/** Currently active sort preset */
|
|
177
|
+
sortPreset: SortPreset;
|
|
178
|
+
/** Callback when the user picks a different sort preset */
|
|
179
|
+
onSortChange: (preset: SortPreset) => void;
|
|
180
|
+
/** Callback when the filter button is pressed */
|
|
181
|
+
onFilterPress: () => void;
|
|
182
|
+
/** Number of currently active filters (shown as badge count) */
|
|
183
|
+
filterCount?: number;
|
|
184
|
+
/** Optional class name for the root element */
|
|
185
|
+
className?: string;
|
|
186
|
+
}
|
|
187
|
+
declare function EventsToolbarV2UI({ source, onSourceChange, sortPreset, onSortChange, onFilterPress, filterCount, className, }: EventsToolbarV2UIProps): react_jsx_runtime.JSX.Element;
|
|
188
|
+
|
|
189
|
+
interface EventsFilterState {
|
|
190
|
+
sortPreset: SortPreset;
|
|
191
|
+
source?: V2ProviderSource;
|
|
192
|
+
timeRemaining?: string;
|
|
193
|
+
minVolume?: string;
|
|
194
|
+
minLiquidity?: string;
|
|
195
|
+
}
|
|
196
|
+
declare const DEFAULT_FILTER_STATE: EventsFilterState;
|
|
197
|
+
/** Count how many non-default filters are active (excluding sortPreset) */
|
|
198
|
+
declare function countActiveFilters(state: EventsFilterState): number;
|
|
199
|
+
interface EventsFilterV2UIProps {
|
|
200
|
+
/** Whether the modal is open */
|
|
201
|
+
isOpen: boolean;
|
|
202
|
+
/** Callback to close the modal */
|
|
203
|
+
onClose: () => void;
|
|
204
|
+
/** Current committed filter state */
|
|
205
|
+
value: EventsFilterState;
|
|
206
|
+
/** Callback when "Show Results" is pressed with the new filter state */
|
|
207
|
+
onChange: (state: EventsFilterState) => void;
|
|
208
|
+
}
|
|
209
|
+
declare function EventsFilterV2UI({ isOpen, onClose, value, onChange, }: EventsFilterV2UIProps): react_jsx_runtime.JSX.Element;
|
|
210
|
+
|
|
166
211
|
interface EventsPageV2Props {
|
|
167
212
|
/** Callback when an event card is selected */
|
|
168
213
|
onSelect?: (event: V2Event) => void;
|
|
@@ -185,6 +230,8 @@ interface EventsWidgetV2Props {
|
|
|
185
230
|
sort_by?: V2EventSortField;
|
|
186
231
|
/** Ascending sort order (default: false → descending) */
|
|
187
232
|
sort_asc?: boolean;
|
|
233
|
+
/** Filter by upstream provider (undefined = all providers) */
|
|
234
|
+
source?: V2ProviderSource;
|
|
188
235
|
/** Include nested markets in the response (default: true) */
|
|
189
236
|
with_markets?: boolean;
|
|
190
237
|
/** Callback when an event card is selected */
|
|
@@ -192,7 +239,7 @@ interface EventsWidgetV2Props {
|
|
|
192
239
|
/** Callback when an outcome button (yes/no) is pressed */
|
|
193
240
|
onSelectOutcome?: (event: V2Event, market: V2Market, side: "yes" | "no") => void;
|
|
194
241
|
}
|
|
195
|
-
declare function EventsWidgetV2({ tagSlugSelection, limit, status, sort_by, sort_asc, with_markets, onSelect, onSelectOutcome, }: EventsWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
242
|
+
declare function EventsWidgetV2({ tagSlugSelection, limit, status, sort_by, sort_asc, source, with_markets, onSelect, onSelectOutcome, }: EventsWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
196
243
|
|
|
197
244
|
/** Parameters for useEventsV2 */
|
|
198
245
|
interface UseEventsV2Params {
|
|
@@ -213,6 +260,8 @@ interface UseEventsV2Params {
|
|
|
213
260
|
sort_by?: V2EventSortField;
|
|
214
261
|
/** Ascending sort (default: false → descending) */
|
|
215
262
|
sort_asc?: boolean;
|
|
263
|
+
/** Filter by upstream provider (undefined = all providers) */
|
|
264
|
+
source?: V2ProviderSource;
|
|
216
265
|
/** Include nested markets (default: true) */
|
|
217
266
|
with_markets?: boolean;
|
|
218
267
|
}
|
|
@@ -849,10 +898,12 @@ interface CategoriesUIProps {
|
|
|
849
898
|
onCategorySelect: (category: string | null) => void;
|
|
850
899
|
/** Callback when a tag is selected (null = deselect) */
|
|
851
900
|
onTagSelect: (tag: string | null) => void;
|
|
901
|
+
/** Content rendered at the end of the primary chip row (e.g. sort/filter controls) */
|
|
902
|
+
trailing?: React.ReactNode;
|
|
852
903
|
/** Optional class name for the root element */
|
|
853
904
|
className?: string;
|
|
854
905
|
}
|
|
855
|
-
declare function CategoriesUI({ categories, selectedCategory, selectedTag, activeTags, onCategorySelect, onTagSelect, className, }: CategoriesUIProps): react_jsx_runtime.JSX.Element;
|
|
906
|
+
declare function CategoriesUI({ categories, selectedCategory, selectedTag, activeTags, onCategorySelect, onTagSelect, trailing, className, }: CategoriesUIProps): react_jsx_runtime.JSX.Element;
|
|
856
907
|
declare function CategoriesSkeleton({ count }: {
|
|
857
908
|
count?: number;
|
|
858
909
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -886,10 +937,12 @@ interface CategoriesWidgetV2Props {
|
|
|
886
937
|
* - `{ categorySlug: "Crypto", tagSlug: "BTC" }` → specific tag selected
|
|
887
938
|
*/
|
|
888
939
|
onSelect?: (selection: TagSlugSelection) => void;
|
|
940
|
+
/** Content rendered at the end of the primary chip row (e.g. sort/filter controls) */
|
|
941
|
+
trailing?: React.ReactNode;
|
|
889
942
|
/** Optional class name applied to the root element */
|
|
890
943
|
className?: string;
|
|
891
944
|
}
|
|
892
|
-
declare function CategoriesWidgetV2({ onSelect, className, }: CategoriesWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
945
|
+
declare function CategoriesWidgetV2({ onSelect, trailing, className, }: CategoriesWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
893
946
|
|
|
894
947
|
interface PredictContextValue {
|
|
895
948
|
/** The predict API client instance */
|
|
@@ -1375,4 +1428,4 @@ interface UseOrderbookSubscriptionResult {
|
|
|
1375
1428
|
*/
|
|
1376
1429
|
declare function useOrderbookSubscription({ client, all, tickers, enabled, onUpdate, }: UseOrderbookSubscriptionParams): UseOrderbookSubscriptionResult;
|
|
1377
1430
|
|
|
1378
|
-
export { CATEGORIES_V2, CHART_RANGE_DURATION, CHART_RANGE_PERIOD, CHART_RANGE_SAMPLE_INTERVAL, CandlestickPeriod, type CandlestickPeriodType, CandlesticksQueryParams, CandlesticksResponse, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, CategoriesWidgetV2, type CategoriesWidgetV2Props, type CategoryItemV2, type CategorySelection, ChartRange, type ChartRangeType, DEFAULT_CHART_RANGE, DEFAULT_PAGE_SIZE, DEFAULT_PRICE_HISTORY_INTERVAL, type EventCategory, EventDetailPage, type EventDetailPageProps, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailWidget, type EventDetailWidgetProps, EventItemSkeleton, type EventItemSkeletonProps, EventItemUI, type EventItemUIProps, EventItemV2UI, type EventItemV2UIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventQueryParams, EventsPage, type EventsPageProps, EventsPageV2, type EventsPageV2Props, EventsSkeleton, type EventsSkeletonProps, EventsUI, type EventsUIProps, EventsV2UI, type EventsV2UIProps, EventsWidget, type EventsWidgetProps, EventsWidgetV2, type EventsWidgetV2Props, FilterOutcomeMintsRequest, FilterOutcomeMintsResponse, FiltersBySportsResponse, ForecastPercentileHistoryByMintQueryParams, ForecastPercentileHistoryQueryParams, ForecastPercentileHistoryResponse, IPredictClient, IPredictWsClient, IntentQuoteQueryParams, IntentQuoteResponse, IntentSwapRequestBody, IntentSwapResponse, LiveDataByEventQueryParams, LiveDataByMintQueryParams, LiveDataQueryParams, LiveDataResponse, MAX_PRICE_HISTORY_MARKETS, type MarketPositionsResult, MarketQueryParams, MarketsBatchRequest, MultiOnchainTradeResponse, MultiTradeResponse, ORDER_MAX_PRICE, ORDER_MIN_PRICE, ORDER_MIN_QUANTITY, ORDER_PRICE_STEP, OnchainTradesByEventQueryParams, OnchainTradesByMarketQueryParams, OnchainTradesByWalletQueryParams, OpenOrdersUI, type OpenOrdersUIProps, OpenOrdersWidget, type OpenOrdersWidgetProps, type Order, type OrderBookRow, OrderBookUI, type OrderBookUIProps, OrderBookWidget, type OrderBookWidgetProps, OrderQueryParams, OrderResponse, OrderStatusQueryParams, OrderStatusResponse, type OrderbookData, OrderbookLevel, OrderbookResponse, OutcomeMintsQueryParams, OutcomeMintsResponse, PRICE_HISTORY_SAMPLE_INTERVAL, type Position, PositionsByWalletQueryParams, type PositionsSummary, PositionsUI, type PositionsUIProps, PositionsWidget, type PositionsWidgetProps, PredictClientV2, PredictContext, type PredictContextValue, PredictProvider, type PredictProviderProps, PredictV2Context, type PredictV2ContextValue, PredictV2Provider, type PredictV2ProviderProps, PredictionMarketInitQueryParams, PredictionMarketInitResponse, type PriceData, PriceHistoryInterval, type PriceHistoryIntervalType, QuoteQueryParams, QuoteResponse, SearchQueryParams, SearchResponse, SeriesListResponse, SeriesQueryParams, SeriesResponse, SingleTradeResponse, StandardEvent, StandardEventsResponse, StandardMarket, StandardMarketsResponse, SwapInstructionsResponse, SwapRequestBody, SwapResponse, type TagItemV2, type TagSlugSelection, TagsByCategoriesResponse, TokenListResponse, TokenListWithDecimalsResponse, type TradeData, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, TradeHistoryUI, type TradeHistoryUIProps, TradeHistoryWidget, type TradeHistoryWidgetProps, type TradeOutcome, type TradeSide, TradesByMintQueryParams, TradesQueryParams, type UseEventByIdQueryParams, type UseEventCandlesticksParams, type UseEventDetailParams, type UseEventV2QueryParams, type UseEventsCategoriesResult, type UseEventsParams, type UseEventsResult, type UseEventsV2Params, type UseEventsV2Result, type UseMarketByIdQueryParams, type UseMarketCandlesticksByMintParams, type UseMarketCandlesticksParams, type UseOpenOrdersParams, type UseOpenOrdersResult, type UseOrderBookParams, type UseOrderBookResult, type UseOrderbookSubscriptionParams, type UseOrderbookSubscriptionResult, type UsePositionsParams, type UsePositionsResult, type UsePricesSubscriptionParams, type UsePricesSubscriptionResult, type UseTradeFormParams, type UseTradeFormResult, type UseTradeHistoryParams, type UseTradeHistoryResult, type UseTradesSubscriptionParams, type UseTradesSubscriptionResult, type UseWsClientResult, type UseWsConnectionParams, type UseWsConnectionResult, UserPredictContext, type UserPredictContextValue, UserPredictProvider, type UserPredictProviderProps, V2Event, V2EventSortField, V2EventStatus, V2ListEventsParams, V2Market, V2Page, VenueListResponse, WalletPositionItem, WalletPositionsResponse, WsConnectionStatus, WsOrderbookUpdate, WsPriceUpdate, WsTradeUpdate, createSwap, createSwapInstructions, eventByIdQueryKey, eventCandlesticksQueryKey, eventV2QueryKey, eventsInfiniteQueryKey, eventsQueryKey, eventsV2QueryKey, fetchEventById, fetchEventCandlesticks, fetchEventV2, fetchEvents, fetchEventsV2, fetchFiltersBySports, fetchForecastPercentileHistory, fetchForecastPercentileHistoryByMint, fetchIntentQuote, fetchLiveData, fetchLiveDataByEvent, fetchLiveDataByMint, fetchMarketById, fetchMarketByMint, fetchMarketCandlesticks, fetchMarketCandlesticksByMint, fetchMarkets, fetchMarketsBatch, fetchOnchainTradesByEvent, fetchOnchainTradesByMarket, fetchOnchainTradesByWallet, fetchOrder, fetchOrderBook, fetchOrderBookByMint, fetchOrderStatus, fetchOutcomeMints, fetchPositionsByWallet, fetchQuote, fetchSearch, fetchSeries, fetchSeriesByTicker, fetchTagsByCategories, fetchTokens, fetchTokensWithDecimals, fetchTrades, fetchTradesByMint, fetchVenues, filterOutcomeMints, filtersBySportsQueryKey, forecastPercentileHistoryByMintQueryKey, forecastPercentileHistoryQueryKey, initPredictionMarket, intentQuoteQueryKey, liveDataByEventQueryKey, liveDataByMintQueryKey, liveDataQueryKey, marketByIdQueryKey, marketByMintQueryKey, marketCandlesticksByMintQueryKey, marketCandlesticksQueryKey, marketsBatchQueryKey, marketsQueryKey, onchainTradesByEventInfiniteQueryKey, onchainTradesByEventQueryKey, onchainTradesByMarketInfiniteQueryKey, onchainTradesByMarketQueryKey, onchainTradesByWalletInfiniteQueryKey, onchainTradesByWalletQueryKey, orderBookByMintQueryKey, orderBookQueryKey, orderQueryKey, orderStatusQueryKey, outcomeMintsQueryKey, positionsByWalletQueryKey, quoteQueryKey, searchQueryKey, seriesByTickerQueryKey, seriesQueryKey, submitIntentSwap, tagsByCategoriesQueryKey, tokensQueryKey, tokensWithDecimalsQueryKey, tradesByMintQueryKey, tradesQueryKey, useCategoriesQuery, useCreateSwapInstructionsMutation, useCreateSwapMutation, useEventByIdQuery, useEventCandlesticksQuery, useEventDetail, useEventV2Query, useEvents, useEventsCategories, useEventsInfiniteQuery, useEventsQuery, useEventsV2, useEventsV2Query, useFilterOutcomeMintsMutation, useFiltersBySportsQuery, useForecastPercentileHistoryByMintQuery, useForecastPercentileHistoryQuery, useInitPredictionMarketMutation, useIntentQuoteQuery, useLiveDataByEventQuery, useLiveDataByMintQuery, useLiveDataQuery, useMarketByIdQuery, useMarketByMintQuery, useMarketCandlesticksByMintQuery, useMarketCandlesticksQuery, useMarketPositions, useMarketsBatchQuery, useMarketsQuery, useOnchainTradesByEventInfiniteQuery, useOnchainTradesByEventQuery, useOnchainTradesByMarketInfiniteQuery, useOnchainTradesByMarketQuery, useOnchainTradesByWalletInfiniteQuery, useOnchainTradesByWalletQuery, useOpenOrders, useOrderBook, useOrderBookByMintQuery, useOrderBookQuery, useOrderQuery, useOrderStatusQuery, useOrderbookSubscription, useOutcomeMintsQuery, usePositions, usePositionsByWalletQuery, usePredictClient, usePredictContext, usePredictV2Client, usePredictV2Context, usePriceHistoryQuery, usePricesSubscription, useQuoteQuery, useSearchQuery, useSeriesByTickerQuery, useSeriesQuery, useSubmitIntentSwapMutation, useTagsByCategoriesQuery, useTokensQuery, useTokensWithDecimalsQuery, useTradeForm, useTradeHistory, useTradesByMintQuery, useTradesQuery, useTradesSubscription, useUserPredictContext, useVenuesQuery, useWsClient, useWsConnection, venuesQueryKey, _default as version };
|
|
1431
|
+
export { CATEGORIES_V2, CHART_RANGE_DURATION, CHART_RANGE_PERIOD, CHART_RANGE_SAMPLE_INTERVAL, CandlestickPeriod, type CandlestickPeriodType, CandlesticksQueryParams, CandlesticksResponse, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, CategoriesWidgetV2, type CategoriesWidgetV2Props, type CategoryItemV2, type CategorySelection, ChartRange, type ChartRangeType, DEFAULT_CHART_RANGE, DEFAULT_FILTER_STATE, DEFAULT_PAGE_SIZE, DEFAULT_PRICE_HISTORY_INTERVAL, type EventCategory, EventDetailPage, type EventDetailPageProps, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailWidget, type EventDetailWidgetProps, EventItemSkeleton, type EventItemSkeletonProps, EventItemUI, type EventItemUIProps, EventItemV2UI, type EventItemV2UIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventQueryParams, type EventsFilterState, EventsFilterV2UI, type EventsFilterV2UIProps, EventsPage, type EventsPageProps, EventsPageV2, type EventsPageV2Props, EventsSkeleton, type EventsSkeletonProps, EventsToolbarV2UI, type EventsToolbarV2UIProps, EventsUI, type EventsUIProps, EventsV2UI, type EventsV2UIProps, EventsWidget, type EventsWidgetProps, EventsWidgetV2, type EventsWidgetV2Props, FilterOutcomeMintsRequest, FilterOutcomeMintsResponse, FiltersBySportsResponse, ForecastPercentileHistoryByMintQueryParams, ForecastPercentileHistoryQueryParams, ForecastPercentileHistoryResponse, IPredictClient, IPredictWsClient, IntentQuoteQueryParams, IntentQuoteResponse, IntentSwapRequestBody, IntentSwapResponse, LiveDataByEventQueryParams, LiveDataByMintQueryParams, LiveDataQueryParams, LiveDataResponse, MAX_PRICE_HISTORY_MARKETS, type MarketPositionsResult, MarketQueryParams, MarketsBatchRequest, MultiOnchainTradeResponse, MultiTradeResponse, ORDER_MAX_PRICE, ORDER_MIN_PRICE, ORDER_MIN_QUANTITY, ORDER_PRICE_STEP, OnchainTradesByEventQueryParams, OnchainTradesByMarketQueryParams, OnchainTradesByWalletQueryParams, OpenOrdersUI, type OpenOrdersUIProps, OpenOrdersWidget, type OpenOrdersWidgetProps, type Order, type OrderBookRow, OrderBookUI, type OrderBookUIProps, OrderBookWidget, type OrderBookWidgetProps, OrderQueryParams, OrderResponse, OrderStatusQueryParams, OrderStatusResponse, type OrderbookData, OrderbookLevel, OrderbookResponse, OutcomeMintsQueryParams, OutcomeMintsResponse, PRICE_HISTORY_SAMPLE_INTERVAL, type Position, PositionsByWalletQueryParams, type PositionsSummary, PositionsUI, type PositionsUIProps, PositionsWidget, type PositionsWidgetProps, PredictClientV2, PredictContext, type PredictContextValue, PredictProvider, type PredictProviderProps, PredictV2Context, type PredictV2ContextValue, PredictV2Provider, type PredictV2ProviderProps, PredictionMarketInitQueryParams, PredictionMarketInitResponse, type PriceData, PriceHistoryInterval, type PriceHistoryIntervalType, QuoteQueryParams, QuoteResponse, SORT_PRESETS, SearchQueryParams, SearchResponse, SeriesListResponse, SeriesQueryParams, SeriesResponse, SingleTradeResponse, type SortPreset, StandardEvent, StandardEventsResponse, StandardMarket, StandardMarketsResponse, SwapInstructionsResponse, SwapRequestBody, SwapResponse, type TagItemV2, type TagSlugSelection, TagsByCategoriesResponse, TokenListResponse, TokenListWithDecimalsResponse, type TradeData, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, TradeHistoryUI, type TradeHistoryUIProps, TradeHistoryWidget, type TradeHistoryWidgetProps, type TradeOutcome, type TradeSide, TradesByMintQueryParams, TradesQueryParams, type UseEventByIdQueryParams, type UseEventCandlesticksParams, type UseEventDetailParams, type UseEventV2QueryParams, type UseEventsCategoriesResult, type UseEventsParams, type UseEventsResult, type UseEventsV2Params, type UseEventsV2Result, type UseMarketByIdQueryParams, type UseMarketCandlesticksByMintParams, type UseMarketCandlesticksParams, type UseOpenOrdersParams, type UseOpenOrdersResult, type UseOrderBookParams, type UseOrderBookResult, type UseOrderbookSubscriptionParams, type UseOrderbookSubscriptionResult, type UsePositionsParams, type UsePositionsResult, type UsePricesSubscriptionParams, type UsePricesSubscriptionResult, type UseTradeFormParams, type UseTradeFormResult, type UseTradeHistoryParams, type UseTradeHistoryResult, type UseTradesSubscriptionParams, type UseTradesSubscriptionResult, type UseWsClientResult, type UseWsConnectionParams, type UseWsConnectionResult, UserPredictContext, type UserPredictContextValue, UserPredictProvider, type UserPredictProviderProps, V2Event, V2EventSortField, V2EventStatus, V2ListEventsParams, V2Market, V2Page, V2ProviderSource, VenueListResponse, WalletPositionItem, WalletPositionsResponse, WsConnectionStatus, WsOrderbookUpdate, WsPriceUpdate, WsTradeUpdate, countActiveFilters, createSwap, createSwapInstructions, eventByIdQueryKey, eventCandlesticksQueryKey, eventV2QueryKey, eventsInfiniteQueryKey, eventsQueryKey, eventsV2QueryKey, fetchEventById, fetchEventCandlesticks, fetchEventV2, fetchEvents, fetchEventsV2, fetchFiltersBySports, fetchForecastPercentileHistory, fetchForecastPercentileHistoryByMint, fetchIntentQuote, fetchLiveData, fetchLiveDataByEvent, fetchLiveDataByMint, fetchMarketById, fetchMarketByMint, fetchMarketCandlesticks, fetchMarketCandlesticksByMint, fetchMarkets, fetchMarketsBatch, fetchOnchainTradesByEvent, fetchOnchainTradesByMarket, fetchOnchainTradesByWallet, fetchOrder, fetchOrderBook, fetchOrderBookByMint, fetchOrderStatus, fetchOutcomeMints, fetchPositionsByWallet, fetchQuote, fetchSearch, fetchSeries, fetchSeriesByTicker, fetchTagsByCategories, fetchTokens, fetchTokensWithDecimals, fetchTrades, fetchTradesByMint, fetchVenues, filterOutcomeMints, filtersBySportsQueryKey, forecastPercentileHistoryByMintQueryKey, forecastPercentileHistoryQueryKey, initPredictionMarket, intentQuoteQueryKey, liveDataByEventQueryKey, liveDataByMintQueryKey, liveDataQueryKey, marketByIdQueryKey, marketByMintQueryKey, marketCandlesticksByMintQueryKey, marketCandlesticksQueryKey, marketsBatchQueryKey, marketsQueryKey, onchainTradesByEventInfiniteQueryKey, onchainTradesByEventQueryKey, onchainTradesByMarketInfiniteQueryKey, onchainTradesByMarketQueryKey, onchainTradesByWalletInfiniteQueryKey, onchainTradesByWalletQueryKey, orderBookByMintQueryKey, orderBookQueryKey, orderQueryKey, orderStatusQueryKey, outcomeMintsQueryKey, positionsByWalletQueryKey, quoteQueryKey, searchQueryKey, seriesByTickerQueryKey, seriesQueryKey, submitIntentSwap, tagsByCategoriesQueryKey, tokensQueryKey, tokensWithDecimalsQueryKey, tradesByMintQueryKey, tradesQueryKey, useCategoriesQuery, useCreateSwapInstructionsMutation, useCreateSwapMutation, useEventByIdQuery, useEventCandlesticksQuery, useEventDetail, useEventV2Query, useEvents, useEventsCategories, useEventsInfiniteQuery, useEventsQuery, useEventsV2, useEventsV2Query, useFilterOutcomeMintsMutation, useFiltersBySportsQuery, useForecastPercentileHistoryByMintQuery, useForecastPercentileHistoryQuery, useInitPredictionMarketMutation, useIntentQuoteQuery, useLiveDataByEventQuery, useLiveDataByMintQuery, useLiveDataQuery, useMarketByIdQuery, useMarketByMintQuery, useMarketCandlesticksByMintQuery, useMarketCandlesticksQuery, useMarketPositions, useMarketsBatchQuery, useMarketsQuery, useOnchainTradesByEventInfiniteQuery, useOnchainTradesByEventQuery, useOnchainTradesByMarketInfiniteQuery, useOnchainTradesByMarketQuery, useOnchainTradesByWalletInfiniteQuery, useOnchainTradesByWalletQuery, useOpenOrders, useOrderBook, useOrderBookByMintQuery, useOrderBookQuery, useOrderQuery, useOrderStatusQuery, useOrderbookSubscription, useOutcomeMintsQuery, usePositions, usePositionsByWalletQuery, usePredictClient, usePredictContext, usePredictV2Client, usePredictV2Context, usePriceHistoryQuery, usePricesSubscription, useQuoteQuery, useSearchQuery, useSeriesByTickerQuery, useSeriesQuery, useSubmitIntentSwapMutation, useTagsByCategoriesQuery, useTokensQuery, useTokensWithDecimalsQuery, useTradeForm, useTradeHistory, useTradesByMintQuery, useTradesQuery, useTradesSubscription, useUserPredictContext, useVenuesQuery, useWsClient, useWsConnection, venuesQueryKey, _default as version };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { S as StandardEvent, a as StandardMarket, E as EventQueryParams, V as
|
|
3
|
-
export {
|
|
2
|
+
import { S as StandardEvent, a as StandardMarket, E as EventQueryParams, V as V2EventSortField, b as V2ProviderSource, c as V2Event, d as V2Market, e as V2EventStatus, O as OrderResponse, f as OrderStatusResponse, g as SeriesResponse, C as CandlesticksResponse, h as OrderbookLevel, i as SingleTradeResponse, I as IPredictClient, j as IPredictWsClient, W as WalletPositionItem, P as PredictClientV2, k as V2ListEventsParams, l as V2Page, m as StandardEventsResponse, M as MarketQueryParams, n as StandardMarketsResponse, o as MarketsBatchRequest, p as OrderbookResponse, T as TradesQueryParams, q as MultiTradeResponse, r as TradesByMintQueryParams, s as OnchainTradesByWalletQueryParams, t as MultiOnchainTradeResponse, u as OnchainTradesByEventQueryParams, v as OnchainTradesByMarketQueryParams, w as CandlesticksQueryParams, F as ForecastPercentileHistoryQueryParams, x as ForecastPercentileHistoryResponse, y as ForecastPercentileHistoryByMintQueryParams, L as LiveDataQueryParams, z as LiveDataResponse, A as LiveDataByEventQueryParams, B as LiveDataByMintQueryParams, D as SeriesQueryParams, G as SeriesListResponse, H as TagsByCategoriesResponse, J as FiltersBySportsResponse, K as SearchQueryParams, N as SearchResponse, Q as PositionsByWalletQueryParams, R as WalletPositionsResponse, U as OutcomeMintsQueryParams, X as OutcomeMintsResponse, Y as FilterOutcomeMintsRequest, Z as FilterOutcomeMintsResponse, _ as QuoteQueryParams, $ as QuoteResponse, a0 as SwapRequestBody, a1 as SwapResponse, a2 as SwapInstructionsResponse, a3 as OrderQueryParams, a4 as OrderStatusQueryParams, a5 as IntentQuoteQueryParams, a6 as IntentQuoteResponse, a7 as IntentSwapRequestBody, a8 as IntentSwapResponse, a9 as PredictionMarketInitQueryParams, aa as PredictionMarketInitResponse, ab as TokenListResponse, ac as TokenListWithDecimalsResponse, ad as VenueListResponse, ae as WsConnectionStatus, af as WsPriceUpdate, ag as WsTradeUpdate, ah as WsOrderbookUpdate } from './index-DIcC-37S.js';
|
|
3
|
+
export { aE as AccountMetaResponse, aR as BasePredictClient, aG as BlockhashWithMetadata, ax as CandlestickDataPoint, aw as CandlestickOHLC, aC as ComputeBudgetInfo, aO as CreateFeeAccountParams, aN as DestinationTokenAccountParam, aU as DflowPredictClient, aV as DflowPredictWsClient, aq as ExecutionMode, ay as ForecastPercentileDataPoint, aF as InstructionResponse, aJ as IntentExpiry, as as MarketAccountInfo, aj as MarketStatus, at as OnchainTrade, au as OnchainTradeSortBy, av as OnchainTradesBaseQueryParams, aH as OrderFill, aI as OrderRevert, am as OrderStatus, aL as OrderbookQueryParams, aB as PlatformFee, an as PlatformFeeMode, aP as PositiveSlippageParams, aU as PredictClient, aV as PredictWsClient, aM as PrioritizationFeeLamports, aD as PrioritizationType, ap as PriorityLevel, ai as ProviderType, aA as RoutePlanLeg, az as SeriesSettlementSource, ar as SettlementSource, ao as SlippageTolerance, ak as SortField, al as SortOrder, aK as TokenWithDecimals, aZ as V2MarketResult, a_ as V2MarketStatus, a$ as V2Outcome, b0 as V2ProviderMeta, b1 as V2SettlementSource, b2 as V2Tag, aX as WsClientConfig, aQ as WsSubscribeOptions, aS as buildQuery, aW as createDflowPredictWsClient, aY as createPredictClientV2, aW as createPredictWsClient, aT as toRecord } from './index-DIcC-37S.js';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { PropsWithChildren } from 'react';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
@@ -13,7 +13,7 @@ declare global {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
declare const _default: "0.1.
|
|
16
|
+
declare const _default: "0.1.53";
|
|
17
17
|
|
|
18
18
|
interface EventsPageProps {
|
|
19
19
|
/** Callback when an event is selected */
|
|
@@ -163,6 +163,51 @@ interface TagSlugSelection {
|
|
|
163
163
|
tagSlug: string | null;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
+
type SortPreset = "trending" | "volume" | "newest" | "ending_soon" | "liquidity";
|
|
167
|
+
declare const SORT_PRESETS: Record<SortPreset, {
|
|
168
|
+
sort_by: V2EventSortField;
|
|
169
|
+
sort_asc: boolean;
|
|
170
|
+
}>;
|
|
171
|
+
interface EventsToolbarV2UIProps {
|
|
172
|
+
/** Currently active platform source */
|
|
173
|
+
source?: V2ProviderSource;
|
|
174
|
+
/** Callback when the user picks a different platform */
|
|
175
|
+
onSourceChange: (source?: V2ProviderSource) => void;
|
|
176
|
+
/** Currently active sort preset */
|
|
177
|
+
sortPreset: SortPreset;
|
|
178
|
+
/** Callback when the user picks a different sort preset */
|
|
179
|
+
onSortChange: (preset: SortPreset) => void;
|
|
180
|
+
/** Callback when the filter button is pressed */
|
|
181
|
+
onFilterPress: () => void;
|
|
182
|
+
/** Number of currently active filters (shown as badge count) */
|
|
183
|
+
filterCount?: number;
|
|
184
|
+
/** Optional class name for the root element */
|
|
185
|
+
className?: string;
|
|
186
|
+
}
|
|
187
|
+
declare function EventsToolbarV2UI({ source, onSourceChange, sortPreset, onSortChange, onFilterPress, filterCount, className, }: EventsToolbarV2UIProps): react_jsx_runtime.JSX.Element;
|
|
188
|
+
|
|
189
|
+
interface EventsFilterState {
|
|
190
|
+
sortPreset: SortPreset;
|
|
191
|
+
source?: V2ProviderSource;
|
|
192
|
+
timeRemaining?: string;
|
|
193
|
+
minVolume?: string;
|
|
194
|
+
minLiquidity?: string;
|
|
195
|
+
}
|
|
196
|
+
declare const DEFAULT_FILTER_STATE: EventsFilterState;
|
|
197
|
+
/** Count how many non-default filters are active (excluding sortPreset) */
|
|
198
|
+
declare function countActiveFilters(state: EventsFilterState): number;
|
|
199
|
+
interface EventsFilterV2UIProps {
|
|
200
|
+
/** Whether the modal is open */
|
|
201
|
+
isOpen: boolean;
|
|
202
|
+
/** Callback to close the modal */
|
|
203
|
+
onClose: () => void;
|
|
204
|
+
/** Current committed filter state */
|
|
205
|
+
value: EventsFilterState;
|
|
206
|
+
/** Callback when "Show Results" is pressed with the new filter state */
|
|
207
|
+
onChange: (state: EventsFilterState) => void;
|
|
208
|
+
}
|
|
209
|
+
declare function EventsFilterV2UI({ isOpen, onClose, value, onChange, }: EventsFilterV2UIProps): react_jsx_runtime.JSX.Element;
|
|
210
|
+
|
|
166
211
|
interface EventsPageV2Props {
|
|
167
212
|
/** Callback when an event card is selected */
|
|
168
213
|
onSelect?: (event: V2Event) => void;
|
|
@@ -185,6 +230,8 @@ interface EventsWidgetV2Props {
|
|
|
185
230
|
sort_by?: V2EventSortField;
|
|
186
231
|
/** Ascending sort order (default: false → descending) */
|
|
187
232
|
sort_asc?: boolean;
|
|
233
|
+
/** Filter by upstream provider (undefined = all providers) */
|
|
234
|
+
source?: V2ProviderSource;
|
|
188
235
|
/** Include nested markets in the response (default: true) */
|
|
189
236
|
with_markets?: boolean;
|
|
190
237
|
/** Callback when an event card is selected */
|
|
@@ -192,7 +239,7 @@ interface EventsWidgetV2Props {
|
|
|
192
239
|
/** Callback when an outcome button (yes/no) is pressed */
|
|
193
240
|
onSelectOutcome?: (event: V2Event, market: V2Market, side: "yes" | "no") => void;
|
|
194
241
|
}
|
|
195
|
-
declare function EventsWidgetV2({ tagSlugSelection, limit, status, sort_by, sort_asc, with_markets, onSelect, onSelectOutcome, }: EventsWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
242
|
+
declare function EventsWidgetV2({ tagSlugSelection, limit, status, sort_by, sort_asc, source, with_markets, onSelect, onSelectOutcome, }: EventsWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
196
243
|
|
|
197
244
|
/** Parameters for useEventsV2 */
|
|
198
245
|
interface UseEventsV2Params {
|
|
@@ -213,6 +260,8 @@ interface UseEventsV2Params {
|
|
|
213
260
|
sort_by?: V2EventSortField;
|
|
214
261
|
/** Ascending sort (default: false → descending) */
|
|
215
262
|
sort_asc?: boolean;
|
|
263
|
+
/** Filter by upstream provider (undefined = all providers) */
|
|
264
|
+
source?: V2ProviderSource;
|
|
216
265
|
/** Include nested markets (default: true) */
|
|
217
266
|
with_markets?: boolean;
|
|
218
267
|
}
|
|
@@ -849,10 +898,12 @@ interface CategoriesUIProps {
|
|
|
849
898
|
onCategorySelect: (category: string | null) => void;
|
|
850
899
|
/** Callback when a tag is selected (null = deselect) */
|
|
851
900
|
onTagSelect: (tag: string | null) => void;
|
|
901
|
+
/** Content rendered at the end of the primary chip row (e.g. sort/filter controls) */
|
|
902
|
+
trailing?: React.ReactNode;
|
|
852
903
|
/** Optional class name for the root element */
|
|
853
904
|
className?: string;
|
|
854
905
|
}
|
|
855
|
-
declare function CategoriesUI({ categories, selectedCategory, selectedTag, activeTags, onCategorySelect, onTagSelect, className, }: CategoriesUIProps): react_jsx_runtime.JSX.Element;
|
|
906
|
+
declare function CategoriesUI({ categories, selectedCategory, selectedTag, activeTags, onCategorySelect, onTagSelect, trailing, className, }: CategoriesUIProps): react_jsx_runtime.JSX.Element;
|
|
856
907
|
declare function CategoriesSkeleton({ count }: {
|
|
857
908
|
count?: number;
|
|
858
909
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -886,10 +937,12 @@ interface CategoriesWidgetV2Props {
|
|
|
886
937
|
* - `{ categorySlug: "Crypto", tagSlug: "BTC" }` → specific tag selected
|
|
887
938
|
*/
|
|
888
939
|
onSelect?: (selection: TagSlugSelection) => void;
|
|
940
|
+
/** Content rendered at the end of the primary chip row (e.g. sort/filter controls) */
|
|
941
|
+
trailing?: React.ReactNode;
|
|
889
942
|
/** Optional class name applied to the root element */
|
|
890
943
|
className?: string;
|
|
891
944
|
}
|
|
892
|
-
declare function CategoriesWidgetV2({ onSelect, className, }: CategoriesWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
945
|
+
declare function CategoriesWidgetV2({ onSelect, trailing, className, }: CategoriesWidgetV2Props): react_jsx_runtime.JSX.Element;
|
|
893
946
|
|
|
894
947
|
interface PredictContextValue {
|
|
895
948
|
/** The predict API client instance */
|
|
@@ -1375,4 +1428,4 @@ interface UseOrderbookSubscriptionResult {
|
|
|
1375
1428
|
*/
|
|
1376
1429
|
declare function useOrderbookSubscription({ client, all, tickers, enabled, onUpdate, }: UseOrderbookSubscriptionParams): UseOrderbookSubscriptionResult;
|
|
1377
1430
|
|
|
1378
|
-
export { CATEGORIES_V2, CHART_RANGE_DURATION, CHART_RANGE_PERIOD, CHART_RANGE_SAMPLE_INTERVAL, CandlestickPeriod, type CandlestickPeriodType, CandlesticksQueryParams, CandlesticksResponse, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, CategoriesWidgetV2, type CategoriesWidgetV2Props, type CategoryItemV2, type CategorySelection, ChartRange, type ChartRangeType, DEFAULT_CHART_RANGE, DEFAULT_PAGE_SIZE, DEFAULT_PRICE_HISTORY_INTERVAL, type EventCategory, EventDetailPage, type EventDetailPageProps, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailWidget, type EventDetailWidgetProps, EventItemSkeleton, type EventItemSkeletonProps, EventItemUI, type EventItemUIProps, EventItemV2UI, type EventItemV2UIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventQueryParams, EventsPage, type EventsPageProps, EventsPageV2, type EventsPageV2Props, EventsSkeleton, type EventsSkeletonProps, EventsUI, type EventsUIProps, EventsV2UI, type EventsV2UIProps, EventsWidget, type EventsWidgetProps, EventsWidgetV2, type EventsWidgetV2Props, FilterOutcomeMintsRequest, FilterOutcomeMintsResponse, FiltersBySportsResponse, ForecastPercentileHistoryByMintQueryParams, ForecastPercentileHistoryQueryParams, ForecastPercentileHistoryResponse, IPredictClient, IPredictWsClient, IntentQuoteQueryParams, IntentQuoteResponse, IntentSwapRequestBody, IntentSwapResponse, LiveDataByEventQueryParams, LiveDataByMintQueryParams, LiveDataQueryParams, LiveDataResponse, MAX_PRICE_HISTORY_MARKETS, type MarketPositionsResult, MarketQueryParams, MarketsBatchRequest, MultiOnchainTradeResponse, MultiTradeResponse, ORDER_MAX_PRICE, ORDER_MIN_PRICE, ORDER_MIN_QUANTITY, ORDER_PRICE_STEP, OnchainTradesByEventQueryParams, OnchainTradesByMarketQueryParams, OnchainTradesByWalletQueryParams, OpenOrdersUI, type OpenOrdersUIProps, OpenOrdersWidget, type OpenOrdersWidgetProps, type Order, type OrderBookRow, OrderBookUI, type OrderBookUIProps, OrderBookWidget, type OrderBookWidgetProps, OrderQueryParams, OrderResponse, OrderStatusQueryParams, OrderStatusResponse, type OrderbookData, OrderbookLevel, OrderbookResponse, OutcomeMintsQueryParams, OutcomeMintsResponse, PRICE_HISTORY_SAMPLE_INTERVAL, type Position, PositionsByWalletQueryParams, type PositionsSummary, PositionsUI, type PositionsUIProps, PositionsWidget, type PositionsWidgetProps, PredictClientV2, PredictContext, type PredictContextValue, PredictProvider, type PredictProviderProps, PredictV2Context, type PredictV2ContextValue, PredictV2Provider, type PredictV2ProviderProps, PredictionMarketInitQueryParams, PredictionMarketInitResponse, type PriceData, PriceHistoryInterval, type PriceHistoryIntervalType, QuoteQueryParams, QuoteResponse, SearchQueryParams, SearchResponse, SeriesListResponse, SeriesQueryParams, SeriesResponse, SingleTradeResponse, StandardEvent, StandardEventsResponse, StandardMarket, StandardMarketsResponse, SwapInstructionsResponse, SwapRequestBody, SwapResponse, type TagItemV2, type TagSlugSelection, TagsByCategoriesResponse, TokenListResponse, TokenListWithDecimalsResponse, type TradeData, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, TradeHistoryUI, type TradeHistoryUIProps, TradeHistoryWidget, type TradeHistoryWidgetProps, type TradeOutcome, type TradeSide, TradesByMintQueryParams, TradesQueryParams, type UseEventByIdQueryParams, type UseEventCandlesticksParams, type UseEventDetailParams, type UseEventV2QueryParams, type UseEventsCategoriesResult, type UseEventsParams, type UseEventsResult, type UseEventsV2Params, type UseEventsV2Result, type UseMarketByIdQueryParams, type UseMarketCandlesticksByMintParams, type UseMarketCandlesticksParams, type UseOpenOrdersParams, type UseOpenOrdersResult, type UseOrderBookParams, type UseOrderBookResult, type UseOrderbookSubscriptionParams, type UseOrderbookSubscriptionResult, type UsePositionsParams, type UsePositionsResult, type UsePricesSubscriptionParams, type UsePricesSubscriptionResult, type UseTradeFormParams, type UseTradeFormResult, type UseTradeHistoryParams, type UseTradeHistoryResult, type UseTradesSubscriptionParams, type UseTradesSubscriptionResult, type UseWsClientResult, type UseWsConnectionParams, type UseWsConnectionResult, UserPredictContext, type UserPredictContextValue, UserPredictProvider, type UserPredictProviderProps, V2Event, V2EventSortField, V2EventStatus, V2ListEventsParams, V2Market, V2Page, VenueListResponse, WalletPositionItem, WalletPositionsResponse, WsConnectionStatus, WsOrderbookUpdate, WsPriceUpdate, WsTradeUpdate, createSwap, createSwapInstructions, eventByIdQueryKey, eventCandlesticksQueryKey, eventV2QueryKey, eventsInfiniteQueryKey, eventsQueryKey, eventsV2QueryKey, fetchEventById, fetchEventCandlesticks, fetchEventV2, fetchEvents, fetchEventsV2, fetchFiltersBySports, fetchForecastPercentileHistory, fetchForecastPercentileHistoryByMint, fetchIntentQuote, fetchLiveData, fetchLiveDataByEvent, fetchLiveDataByMint, fetchMarketById, fetchMarketByMint, fetchMarketCandlesticks, fetchMarketCandlesticksByMint, fetchMarkets, fetchMarketsBatch, fetchOnchainTradesByEvent, fetchOnchainTradesByMarket, fetchOnchainTradesByWallet, fetchOrder, fetchOrderBook, fetchOrderBookByMint, fetchOrderStatus, fetchOutcomeMints, fetchPositionsByWallet, fetchQuote, fetchSearch, fetchSeries, fetchSeriesByTicker, fetchTagsByCategories, fetchTokens, fetchTokensWithDecimals, fetchTrades, fetchTradesByMint, fetchVenues, filterOutcomeMints, filtersBySportsQueryKey, forecastPercentileHistoryByMintQueryKey, forecastPercentileHistoryQueryKey, initPredictionMarket, intentQuoteQueryKey, liveDataByEventQueryKey, liveDataByMintQueryKey, liveDataQueryKey, marketByIdQueryKey, marketByMintQueryKey, marketCandlesticksByMintQueryKey, marketCandlesticksQueryKey, marketsBatchQueryKey, marketsQueryKey, onchainTradesByEventInfiniteQueryKey, onchainTradesByEventQueryKey, onchainTradesByMarketInfiniteQueryKey, onchainTradesByMarketQueryKey, onchainTradesByWalletInfiniteQueryKey, onchainTradesByWalletQueryKey, orderBookByMintQueryKey, orderBookQueryKey, orderQueryKey, orderStatusQueryKey, outcomeMintsQueryKey, positionsByWalletQueryKey, quoteQueryKey, searchQueryKey, seriesByTickerQueryKey, seriesQueryKey, submitIntentSwap, tagsByCategoriesQueryKey, tokensQueryKey, tokensWithDecimalsQueryKey, tradesByMintQueryKey, tradesQueryKey, useCategoriesQuery, useCreateSwapInstructionsMutation, useCreateSwapMutation, useEventByIdQuery, useEventCandlesticksQuery, useEventDetail, useEventV2Query, useEvents, useEventsCategories, useEventsInfiniteQuery, useEventsQuery, useEventsV2, useEventsV2Query, useFilterOutcomeMintsMutation, useFiltersBySportsQuery, useForecastPercentileHistoryByMintQuery, useForecastPercentileHistoryQuery, useInitPredictionMarketMutation, useIntentQuoteQuery, useLiveDataByEventQuery, useLiveDataByMintQuery, useLiveDataQuery, useMarketByIdQuery, useMarketByMintQuery, useMarketCandlesticksByMintQuery, useMarketCandlesticksQuery, useMarketPositions, useMarketsBatchQuery, useMarketsQuery, useOnchainTradesByEventInfiniteQuery, useOnchainTradesByEventQuery, useOnchainTradesByMarketInfiniteQuery, useOnchainTradesByMarketQuery, useOnchainTradesByWalletInfiniteQuery, useOnchainTradesByWalletQuery, useOpenOrders, useOrderBook, useOrderBookByMintQuery, useOrderBookQuery, useOrderQuery, useOrderStatusQuery, useOrderbookSubscription, useOutcomeMintsQuery, usePositions, usePositionsByWalletQuery, usePredictClient, usePredictContext, usePredictV2Client, usePredictV2Context, usePriceHistoryQuery, usePricesSubscription, useQuoteQuery, useSearchQuery, useSeriesByTickerQuery, useSeriesQuery, useSubmitIntentSwapMutation, useTagsByCategoriesQuery, useTokensQuery, useTokensWithDecimalsQuery, useTradeForm, useTradeHistory, useTradesByMintQuery, useTradesQuery, useTradesSubscription, useUserPredictContext, useVenuesQuery, useWsClient, useWsConnection, venuesQueryKey, _default as version };
|
|
1431
|
+
export { CATEGORIES_V2, CHART_RANGE_DURATION, CHART_RANGE_PERIOD, CHART_RANGE_SAMPLE_INTERVAL, CandlestickPeriod, type CandlestickPeriodType, CandlesticksQueryParams, CandlesticksResponse, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, CategoriesWidgetV2, type CategoriesWidgetV2Props, type CategoryItemV2, type CategorySelection, ChartRange, type ChartRangeType, DEFAULT_CHART_RANGE, DEFAULT_FILTER_STATE, DEFAULT_PAGE_SIZE, DEFAULT_PRICE_HISTORY_INTERVAL, type EventCategory, EventDetailPage, type EventDetailPageProps, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailWidget, type EventDetailWidgetProps, EventItemSkeleton, type EventItemSkeletonProps, EventItemUI, type EventItemUIProps, EventItemV2UI, type EventItemV2UIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventQueryParams, type EventsFilterState, EventsFilterV2UI, type EventsFilterV2UIProps, EventsPage, type EventsPageProps, EventsPageV2, type EventsPageV2Props, EventsSkeleton, type EventsSkeletonProps, EventsToolbarV2UI, type EventsToolbarV2UIProps, EventsUI, type EventsUIProps, EventsV2UI, type EventsV2UIProps, EventsWidget, type EventsWidgetProps, EventsWidgetV2, type EventsWidgetV2Props, FilterOutcomeMintsRequest, FilterOutcomeMintsResponse, FiltersBySportsResponse, ForecastPercentileHistoryByMintQueryParams, ForecastPercentileHistoryQueryParams, ForecastPercentileHistoryResponse, IPredictClient, IPredictWsClient, IntentQuoteQueryParams, IntentQuoteResponse, IntentSwapRequestBody, IntentSwapResponse, LiveDataByEventQueryParams, LiveDataByMintQueryParams, LiveDataQueryParams, LiveDataResponse, MAX_PRICE_HISTORY_MARKETS, type MarketPositionsResult, MarketQueryParams, MarketsBatchRequest, MultiOnchainTradeResponse, MultiTradeResponse, ORDER_MAX_PRICE, ORDER_MIN_PRICE, ORDER_MIN_QUANTITY, ORDER_PRICE_STEP, OnchainTradesByEventQueryParams, OnchainTradesByMarketQueryParams, OnchainTradesByWalletQueryParams, OpenOrdersUI, type OpenOrdersUIProps, OpenOrdersWidget, type OpenOrdersWidgetProps, type Order, type OrderBookRow, OrderBookUI, type OrderBookUIProps, OrderBookWidget, type OrderBookWidgetProps, OrderQueryParams, OrderResponse, OrderStatusQueryParams, OrderStatusResponse, type OrderbookData, OrderbookLevel, OrderbookResponse, OutcomeMintsQueryParams, OutcomeMintsResponse, PRICE_HISTORY_SAMPLE_INTERVAL, type Position, PositionsByWalletQueryParams, type PositionsSummary, PositionsUI, type PositionsUIProps, PositionsWidget, type PositionsWidgetProps, PredictClientV2, PredictContext, type PredictContextValue, PredictProvider, type PredictProviderProps, PredictV2Context, type PredictV2ContextValue, PredictV2Provider, type PredictV2ProviderProps, PredictionMarketInitQueryParams, PredictionMarketInitResponse, type PriceData, PriceHistoryInterval, type PriceHistoryIntervalType, QuoteQueryParams, QuoteResponse, SORT_PRESETS, SearchQueryParams, SearchResponse, SeriesListResponse, SeriesQueryParams, SeriesResponse, SingleTradeResponse, type SortPreset, StandardEvent, StandardEventsResponse, StandardMarket, StandardMarketsResponse, SwapInstructionsResponse, SwapRequestBody, SwapResponse, type TagItemV2, type TagSlugSelection, TagsByCategoriesResponse, TokenListResponse, TokenListWithDecimalsResponse, type TradeData, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, TradeHistoryUI, type TradeHistoryUIProps, TradeHistoryWidget, type TradeHistoryWidgetProps, type TradeOutcome, type TradeSide, TradesByMintQueryParams, TradesQueryParams, type UseEventByIdQueryParams, type UseEventCandlesticksParams, type UseEventDetailParams, type UseEventV2QueryParams, type UseEventsCategoriesResult, type UseEventsParams, type UseEventsResult, type UseEventsV2Params, type UseEventsV2Result, type UseMarketByIdQueryParams, type UseMarketCandlesticksByMintParams, type UseMarketCandlesticksParams, type UseOpenOrdersParams, type UseOpenOrdersResult, type UseOrderBookParams, type UseOrderBookResult, type UseOrderbookSubscriptionParams, type UseOrderbookSubscriptionResult, type UsePositionsParams, type UsePositionsResult, type UsePricesSubscriptionParams, type UsePricesSubscriptionResult, type UseTradeFormParams, type UseTradeFormResult, type UseTradeHistoryParams, type UseTradeHistoryResult, type UseTradesSubscriptionParams, type UseTradesSubscriptionResult, type UseWsClientResult, type UseWsConnectionParams, type UseWsConnectionResult, UserPredictContext, type UserPredictContextValue, UserPredictProvider, type UserPredictProviderProps, V2Event, V2EventSortField, V2EventStatus, V2ListEventsParams, V2Market, V2Page, V2ProviderSource, VenueListResponse, WalletPositionItem, WalletPositionsResponse, WsConnectionStatus, WsOrderbookUpdate, WsPriceUpdate, WsTradeUpdate, countActiveFilters, createSwap, createSwapInstructions, eventByIdQueryKey, eventCandlesticksQueryKey, eventV2QueryKey, eventsInfiniteQueryKey, eventsQueryKey, eventsV2QueryKey, fetchEventById, fetchEventCandlesticks, fetchEventV2, fetchEvents, fetchEventsV2, fetchFiltersBySports, fetchForecastPercentileHistory, fetchForecastPercentileHistoryByMint, fetchIntentQuote, fetchLiveData, fetchLiveDataByEvent, fetchLiveDataByMint, fetchMarketById, fetchMarketByMint, fetchMarketCandlesticks, fetchMarketCandlesticksByMint, fetchMarkets, fetchMarketsBatch, fetchOnchainTradesByEvent, fetchOnchainTradesByMarket, fetchOnchainTradesByWallet, fetchOrder, fetchOrderBook, fetchOrderBookByMint, fetchOrderStatus, fetchOutcomeMints, fetchPositionsByWallet, fetchQuote, fetchSearch, fetchSeries, fetchSeriesByTicker, fetchTagsByCategories, fetchTokens, fetchTokensWithDecimals, fetchTrades, fetchTradesByMint, fetchVenues, filterOutcomeMints, filtersBySportsQueryKey, forecastPercentileHistoryByMintQueryKey, forecastPercentileHistoryQueryKey, initPredictionMarket, intentQuoteQueryKey, liveDataByEventQueryKey, liveDataByMintQueryKey, liveDataQueryKey, marketByIdQueryKey, marketByMintQueryKey, marketCandlesticksByMintQueryKey, marketCandlesticksQueryKey, marketsBatchQueryKey, marketsQueryKey, onchainTradesByEventInfiniteQueryKey, onchainTradesByEventQueryKey, onchainTradesByMarketInfiniteQueryKey, onchainTradesByMarketQueryKey, onchainTradesByWalletInfiniteQueryKey, onchainTradesByWalletQueryKey, orderBookByMintQueryKey, orderBookQueryKey, orderQueryKey, orderStatusQueryKey, outcomeMintsQueryKey, positionsByWalletQueryKey, quoteQueryKey, searchQueryKey, seriesByTickerQueryKey, seriesQueryKey, submitIntentSwap, tagsByCategoriesQueryKey, tokensQueryKey, tokensWithDecimalsQueryKey, tradesByMintQueryKey, tradesQueryKey, useCategoriesQuery, useCreateSwapInstructionsMutation, useCreateSwapMutation, useEventByIdQuery, useEventCandlesticksQuery, useEventDetail, useEventV2Query, useEvents, useEventsCategories, useEventsInfiniteQuery, useEventsQuery, useEventsV2, useEventsV2Query, useFilterOutcomeMintsMutation, useFiltersBySportsQuery, useForecastPercentileHistoryByMintQuery, useForecastPercentileHistoryQuery, useInitPredictionMarketMutation, useIntentQuoteQuery, useLiveDataByEventQuery, useLiveDataByMintQuery, useLiveDataQuery, useMarketByIdQuery, useMarketByMintQuery, useMarketCandlesticksByMintQuery, useMarketCandlesticksQuery, useMarketPositions, useMarketsBatchQuery, useMarketsQuery, useOnchainTradesByEventInfiniteQuery, useOnchainTradesByEventQuery, useOnchainTradesByMarketInfiniteQuery, useOnchainTradesByMarketQuery, useOnchainTradesByWalletInfiniteQuery, useOnchainTradesByWalletQuery, useOpenOrders, useOrderBook, useOrderBookByMintQuery, useOrderBookQuery, useOrderQuery, useOrderStatusQuery, useOrderbookSubscription, useOutcomeMintsQuery, usePositions, usePositionsByWalletQuery, usePredictClient, usePredictContext, usePredictV2Client, usePredictV2Context, usePriceHistoryQuery, usePricesSubscription, useQuoteQuery, useSearchQuery, useSeriesByTickerQuery, useSeriesQuery, useSubmitIntentSwapMutation, useTagsByCategoriesQuery, useTokensQuery, useTokensWithDecimalsQuery, useTradeForm, useTradeHistory, useTradesByMintQuery, useTradesQuery, useTradesSubscription, useUserPredictContext, useVenuesQuery, useWsClient, useWsConnection, venuesQueryKey, _default as version };
|