@liberfi.io/ui-predict 4.0.50 → 4.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +26 -13
- package/dist/index.d.ts +26 -13
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
package/dist/index.d.mts
CHANGED
|
@@ -314,11 +314,18 @@ declare function roundToTickSize(price: number, tickSize: string): number;
|
|
|
314
314
|
declare function floorToDecimals(value: number, decimals: number): number;
|
|
315
315
|
/**
|
|
316
316
|
* Price-dependent factor in Polymarket's taker-fee formula:
|
|
317
|
-
* `
|
|
318
|
-
*
|
|
319
|
-
* worst case (1) when the price is unknown/degenerate.
|
|
317
|
+
* `1 − price`, after simplifying the share-based formula for a USDC spend
|
|
318
|
+
* amount. Falls back to the worst case (1) when the price is unknown/degenerate.
|
|
320
319
|
*/
|
|
321
320
|
declare function polymarketFeeFactor(pricePerShare: number): number;
|
|
321
|
+
declare const POLYMARKET_SPORTS_TAKER_FEE_BPS = 300;
|
|
322
|
+
type PolymarketFeeMeta = Record<string, unknown> | null | undefined;
|
|
323
|
+
/**
|
|
324
|
+
* Resolve the user-facing Polymarket taker fee rate. Indexed CLOB market-info
|
|
325
|
+
* wins because `/fee-rate` and Gamma `takerBaseFee` can return conservative
|
|
326
|
+
* order-signing values for sports markets.
|
|
327
|
+
*/
|
|
328
|
+
declare function resolvePolymarketDisplayFeeRateBps(meta: PolymarketFeeMeta): number;
|
|
322
329
|
interface ComputeMaxBuyAmountParams {
|
|
323
330
|
source: string;
|
|
324
331
|
usdcBalance: number | null | undefined;
|
|
@@ -351,8 +358,8 @@ interface EstimatePolymarketBuyFeeParams {
|
|
|
351
358
|
*
|
|
352
359
|
* fee = baseFeeRate × min(price, 1 − price) × shares, shares = amount / price
|
|
353
360
|
*
|
|
354
|
-
* which simplifies to `amount × r ×
|
|
355
|
-
*
|
|
361
|
+
* which simplifies to `amount × r × (1 − price)`. When the price is
|
|
362
|
+
* unknown/degenerate we fall back to the worst case (`amount × r`).
|
|
356
363
|
*/
|
|
357
364
|
declare function estimatePolymarketBuyFee({ usdcAmount, pricePerShare, feeRateBps, }: EstimatePolymarketBuyFeeParams): number;
|
|
358
365
|
/**
|
|
@@ -997,11 +1004,17 @@ declare function RedeemFormWidget({ event, market, position, onSuccess, onCancel
|
|
|
997
1004
|
|
|
998
1005
|
interface CategoryItem {
|
|
999
1006
|
category: string;
|
|
1000
|
-
|
|
1007
|
+
/** Stable filter slug. Defaults to `category` for backward compatibility. */
|
|
1008
|
+
slug?: string;
|
|
1009
|
+
/** Display label. Defaults to `category` for backward compatibility. */
|
|
1010
|
+
label?: string;
|
|
1011
|
+
tags: Array<string | TagItem>;
|
|
1001
1012
|
/** Optional badge text displayed above the tab (e.g. "New", "Hot") */
|
|
1002
1013
|
badge?: string;
|
|
1003
1014
|
}
|
|
1004
1015
|
interface TagItem {
|
|
1016
|
+
/** Stable filter slug. Defaults to `label` for backward compatibility. */
|
|
1017
|
+
slug?: string;
|
|
1005
1018
|
label: string;
|
|
1006
1019
|
/** Optional Phosphor icon class name (e.g. "ph--basketball-bold") */
|
|
1007
1020
|
icon?: string;
|
|
@@ -1009,16 +1022,16 @@ interface TagItem {
|
|
|
1009
1022
|
interface CategoriesUIProps {
|
|
1010
1023
|
/** List of categories to display */
|
|
1011
1024
|
categories: CategoryItem[];
|
|
1012
|
-
/** Currently selected category
|
|
1025
|
+
/** Currently selected category slug (null = "Trending") */
|
|
1013
1026
|
selectedCategory: string | null;
|
|
1014
|
-
/** Currently selected tag within the category (null = all tags) */
|
|
1027
|
+
/** Currently selected tag slug within the category (null = all tags) */
|
|
1015
1028
|
selectedTag: string | null;
|
|
1016
1029
|
/** Tags of the currently selected category */
|
|
1017
1030
|
activeTags: TagItem[];
|
|
1018
|
-
/** Callback when a category is selected (null = "Trending") */
|
|
1019
|
-
onCategorySelect: (
|
|
1020
|
-
/** Callback when a tag is selected (null = deselect) */
|
|
1021
|
-
onTagSelect: (
|
|
1031
|
+
/** Callback when a category slug is selected (null = "Trending") */
|
|
1032
|
+
onCategorySelect: (categorySlug: string | null) => void;
|
|
1033
|
+
/** Callback when a tag slug is selected (null = deselect) */
|
|
1034
|
+
onTagSelect: (tagSlug: string | null) => void;
|
|
1022
1035
|
/** Content rendered at the end of the primary chip row (e.g. sort/filter controls) */
|
|
1023
1036
|
trailing?: React.ReactNode;
|
|
1024
1037
|
/** Name of the tab that shows a pulsing dot (default: "Trending") */
|
|
@@ -1431,4 +1444,4 @@ type PredictWalletProviderProps = PropsWithChildren<{
|
|
|
1431
1444
|
}>;
|
|
1432
1445
|
declare function PredictWalletProvider({ pollingInterval, enabled, enableKalshi, children, }: PredictWalletProviderProps): react_jsx_runtime.JSX.Element;
|
|
1433
1446
|
|
|
1434
|
-
export { CHART_RANGE_DURATION, CHART_RANGE_PERIOD, CHART_RANGE_SAMPLE_INTERVAL, CandlestickPeriod, type CandlestickPeriodType, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, type CategoryItem, type CategoryListItem, type CategoryTagItem, ChartRange, type ChartRangeType, CommentItemUI, type CommentItemUIProps, type ComputeMaxBuyAmountParams, DEFAULT_CHART_RANGE, DEFAULT_FILTER_STATE, DEFAULT_PAGE_SIZE, DEFAULT_PRICE_HISTORY_INTERVAL, type DepthLevel, type DepthSlot, type DurationUnit, type EstimatePolymarketBuyFeeParams, EventCommentsWidget, type EventCommentsWidgetProps, EventDetailPage, type EventDetailPageProps, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailWidget, type EventDetailWidgetProps, EventItem, type EventItemProps, EventMarketDepthChartUI, type EventMarketDepthChartUIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventPriceChart, type EventPriceChartProps, type EventsFilterState, EventsFilterUI, type EventsFilterUIProps, EventsHero, type EventsHeroProps, EventsPage, type EventsPageProps, EventsPageSkeleton, type EventsPageSkeletonProps, EventsSkeleton, type EventsSkeletonProps, EventsToolbarUI, type EventsToolbarUIProps, EventsUI, type EventsUIProps, EventsWidget, type EventsWidgetProps, type ExpirationPreset, KycModal, type KycModalProps, MAX_PRICE_HISTORY_MARKETS, MatchGroupCard, type MatchGroupCardProps, MatchMarketCard, type MatchMarketCardProps, MatchesFilterBar, type MatchesFilterBarProps, MatchesHero, type MatchesHeroProps, type MatchesHeroStats, MatchesPage, type MatchesPageProps, MatchesStatsBar, type MatchesStatsBarProps, MatchesWidget, type MatchesWidgetProps, type MatchesWidgetRef, ORDER_MAX_PRICE, ORDER_MIN_PRICE, ORDER_MIN_QUANTITY, ORDER_MIN_USDC, ORDER_PRICE_STEP, type OddsFormatter, type OrderType, PREDICT_REDEEM_MODAL_ID, PREDICT_SEARCH_MODAL_ID, PREDICT_SELL_MODAL_ID, PREDICT_TRADE_MODAL_ID, PRICE_HISTORY_SAMPLE_INTERVAL, PredictRedeemModal, type PredictRedeemModalParams, type PredictRedeemModalResult, PredictSearchModal, type PredictSearchModalParams, type PredictSearchModalResult, PredictSellModal, type PredictSellModalParams, type PredictSellModalResult, PredictTradeModal, type PredictTradeModalParams, type PredictTradeModalResult, type PredictWalletContextValue, PredictWalletProvider, type PredictWalletProviderProps, PriceHistoryInterval, type PriceHistoryIntervalType, ProfilePage, type ProfilePageProps, RedeemFormWidget, type RedeemFormWidgetProps, SORT_PRESETS, STATIC_CATEGORIES, SearchEventsButton, type SearchEventsButtonProps, SearchHistoryUI, type SearchHistoryUIProps, SearchHistoryWidget, type SearchHistoryWidgetProps, SearchInputUI, type SearchInputUIProps, SearchResultItemUI, type SearchResultItemUIProps, SearchResultListWidget, type SearchResultListWidgetProps, SearchWidget, type SearchWidgetProps, SellFormUI, type SellFormUIProps, SellFormWidget, type SellFormWidgetProps, SetupModal, type SetupModalProps, SimilarEventCard, type SimilarEventCardProps, SimilarEventsSection, type SimilarEventsSectionProps, type SortPreset, SourceBadge, type SourceBadgeProps, SpreadIndicator, type SpreadIndicatorProps, type TagItem, type TagSlugSelection, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, type TradeOutcome, type TradeSide, type UseEventDetailParams, type UseEventsInfiniteParams, type UseEventsInfiniteResult, type UseSearchResultListScriptParams, type UseSearchScriptParams, type UseSellFormParams, type UseSellFormResult, type UseTradeFormParams, type UseTradeFormResult, UserActivitySection, type UserActivitySectionProps, computeMaxBuyAmount, countActiveFilters, estimatePolymarketBuyFee, fireCelebration, floorToDecimals, formatKMB, formatShares, getSourceMeta, parsePolymarketError, polymarketFeeFactor, resolveExpiration, roundToTickSize, useEventDetail, useEventsInfinite, usePredictSearchHistory, usePredictWallet, useSearchResultListScript, useSearchScript, useSellForm, useTradeForm };
|
|
1447
|
+
export { CHART_RANGE_DURATION, CHART_RANGE_PERIOD, CHART_RANGE_SAMPLE_INTERVAL, CandlestickPeriod, type CandlestickPeriodType, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, type CategoryItem, type CategoryListItem, type CategoryTagItem, ChartRange, type ChartRangeType, CommentItemUI, type CommentItemUIProps, type ComputeMaxBuyAmountParams, DEFAULT_CHART_RANGE, DEFAULT_FILTER_STATE, DEFAULT_PAGE_SIZE, DEFAULT_PRICE_HISTORY_INTERVAL, type DepthLevel, type DepthSlot, type DurationUnit, type EstimatePolymarketBuyFeeParams, EventCommentsWidget, type EventCommentsWidgetProps, EventDetailPage, type EventDetailPageProps, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailWidget, type EventDetailWidgetProps, EventItem, type EventItemProps, EventMarketDepthChartUI, type EventMarketDepthChartUIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventPriceChart, type EventPriceChartProps, type EventsFilterState, EventsFilterUI, type EventsFilterUIProps, EventsHero, type EventsHeroProps, EventsPage, type EventsPageProps, EventsPageSkeleton, type EventsPageSkeletonProps, EventsSkeleton, type EventsSkeletonProps, EventsToolbarUI, type EventsToolbarUIProps, EventsUI, type EventsUIProps, EventsWidget, type EventsWidgetProps, type ExpirationPreset, KycModal, type KycModalProps, MAX_PRICE_HISTORY_MARKETS, MatchGroupCard, type MatchGroupCardProps, MatchMarketCard, type MatchMarketCardProps, MatchesFilterBar, type MatchesFilterBarProps, MatchesHero, type MatchesHeroProps, type MatchesHeroStats, MatchesPage, type MatchesPageProps, MatchesStatsBar, type MatchesStatsBarProps, MatchesWidget, type MatchesWidgetProps, type MatchesWidgetRef, ORDER_MAX_PRICE, ORDER_MIN_PRICE, ORDER_MIN_QUANTITY, ORDER_MIN_USDC, ORDER_PRICE_STEP, type OddsFormatter, type OrderType, POLYMARKET_SPORTS_TAKER_FEE_BPS, PREDICT_REDEEM_MODAL_ID, PREDICT_SEARCH_MODAL_ID, PREDICT_SELL_MODAL_ID, PREDICT_TRADE_MODAL_ID, PRICE_HISTORY_SAMPLE_INTERVAL, PredictRedeemModal, type PredictRedeemModalParams, type PredictRedeemModalResult, PredictSearchModal, type PredictSearchModalParams, type PredictSearchModalResult, PredictSellModal, type PredictSellModalParams, type PredictSellModalResult, PredictTradeModal, type PredictTradeModalParams, type PredictTradeModalResult, type PredictWalletContextValue, PredictWalletProvider, type PredictWalletProviderProps, PriceHistoryInterval, type PriceHistoryIntervalType, ProfilePage, type ProfilePageProps, RedeemFormWidget, type RedeemFormWidgetProps, SORT_PRESETS, STATIC_CATEGORIES, SearchEventsButton, type SearchEventsButtonProps, SearchHistoryUI, type SearchHistoryUIProps, SearchHistoryWidget, type SearchHistoryWidgetProps, SearchInputUI, type SearchInputUIProps, SearchResultItemUI, type SearchResultItemUIProps, SearchResultListWidget, type SearchResultListWidgetProps, SearchWidget, type SearchWidgetProps, SellFormUI, type SellFormUIProps, SellFormWidget, type SellFormWidgetProps, SetupModal, type SetupModalProps, SimilarEventCard, type SimilarEventCardProps, SimilarEventsSection, type SimilarEventsSectionProps, type SortPreset, SourceBadge, type SourceBadgeProps, SpreadIndicator, type SpreadIndicatorProps, type TagItem, type TagSlugSelection, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, type TradeOutcome, type TradeSide, type UseEventDetailParams, type UseEventsInfiniteParams, type UseEventsInfiniteResult, type UseSearchResultListScriptParams, type UseSearchScriptParams, type UseSellFormParams, type UseSellFormResult, type UseTradeFormParams, type UseTradeFormResult, UserActivitySection, type UserActivitySectionProps, computeMaxBuyAmount, countActiveFilters, estimatePolymarketBuyFee, fireCelebration, floorToDecimals, formatKMB, formatShares, getSourceMeta, parsePolymarketError, polymarketFeeFactor, resolveExpiration, resolvePolymarketDisplayFeeRateBps, roundToTickSize, useEventDetail, useEventsInfinite, usePredictSearchHistory, usePredictWallet, useSearchResultListScript, useSearchScript, useSellForm, useTradeForm };
|
package/dist/index.d.ts
CHANGED
|
@@ -314,11 +314,18 @@ declare function roundToTickSize(price: number, tickSize: string): number;
|
|
|
314
314
|
declare function floorToDecimals(value: number, decimals: number): number;
|
|
315
315
|
/**
|
|
316
316
|
* Price-dependent factor in Polymarket's taker-fee formula:
|
|
317
|
-
* `
|
|
318
|
-
*
|
|
319
|
-
* worst case (1) when the price is unknown/degenerate.
|
|
317
|
+
* `1 − price`, after simplifying the share-based formula for a USDC spend
|
|
318
|
+
* amount. Falls back to the worst case (1) when the price is unknown/degenerate.
|
|
320
319
|
*/
|
|
321
320
|
declare function polymarketFeeFactor(pricePerShare: number): number;
|
|
321
|
+
declare const POLYMARKET_SPORTS_TAKER_FEE_BPS = 300;
|
|
322
|
+
type PolymarketFeeMeta = Record<string, unknown> | null | undefined;
|
|
323
|
+
/**
|
|
324
|
+
* Resolve the user-facing Polymarket taker fee rate. Indexed CLOB market-info
|
|
325
|
+
* wins because `/fee-rate` and Gamma `takerBaseFee` can return conservative
|
|
326
|
+
* order-signing values for sports markets.
|
|
327
|
+
*/
|
|
328
|
+
declare function resolvePolymarketDisplayFeeRateBps(meta: PolymarketFeeMeta): number;
|
|
322
329
|
interface ComputeMaxBuyAmountParams {
|
|
323
330
|
source: string;
|
|
324
331
|
usdcBalance: number | null | undefined;
|
|
@@ -351,8 +358,8 @@ interface EstimatePolymarketBuyFeeParams {
|
|
|
351
358
|
*
|
|
352
359
|
* fee = baseFeeRate × min(price, 1 − price) × shares, shares = amount / price
|
|
353
360
|
*
|
|
354
|
-
* which simplifies to `amount × r ×
|
|
355
|
-
*
|
|
361
|
+
* which simplifies to `amount × r × (1 − price)`. When the price is
|
|
362
|
+
* unknown/degenerate we fall back to the worst case (`amount × r`).
|
|
356
363
|
*/
|
|
357
364
|
declare function estimatePolymarketBuyFee({ usdcAmount, pricePerShare, feeRateBps, }: EstimatePolymarketBuyFeeParams): number;
|
|
358
365
|
/**
|
|
@@ -997,11 +1004,17 @@ declare function RedeemFormWidget({ event, market, position, onSuccess, onCancel
|
|
|
997
1004
|
|
|
998
1005
|
interface CategoryItem {
|
|
999
1006
|
category: string;
|
|
1000
|
-
|
|
1007
|
+
/** Stable filter slug. Defaults to `category` for backward compatibility. */
|
|
1008
|
+
slug?: string;
|
|
1009
|
+
/** Display label. Defaults to `category` for backward compatibility. */
|
|
1010
|
+
label?: string;
|
|
1011
|
+
tags: Array<string | TagItem>;
|
|
1001
1012
|
/** Optional badge text displayed above the tab (e.g. "New", "Hot") */
|
|
1002
1013
|
badge?: string;
|
|
1003
1014
|
}
|
|
1004
1015
|
interface TagItem {
|
|
1016
|
+
/** Stable filter slug. Defaults to `label` for backward compatibility. */
|
|
1017
|
+
slug?: string;
|
|
1005
1018
|
label: string;
|
|
1006
1019
|
/** Optional Phosphor icon class name (e.g. "ph--basketball-bold") */
|
|
1007
1020
|
icon?: string;
|
|
@@ -1009,16 +1022,16 @@ interface TagItem {
|
|
|
1009
1022
|
interface CategoriesUIProps {
|
|
1010
1023
|
/** List of categories to display */
|
|
1011
1024
|
categories: CategoryItem[];
|
|
1012
|
-
/** Currently selected category
|
|
1025
|
+
/** Currently selected category slug (null = "Trending") */
|
|
1013
1026
|
selectedCategory: string | null;
|
|
1014
|
-
/** Currently selected tag within the category (null = all tags) */
|
|
1027
|
+
/** Currently selected tag slug within the category (null = all tags) */
|
|
1015
1028
|
selectedTag: string | null;
|
|
1016
1029
|
/** Tags of the currently selected category */
|
|
1017
1030
|
activeTags: TagItem[];
|
|
1018
|
-
/** Callback when a category is selected (null = "Trending") */
|
|
1019
|
-
onCategorySelect: (
|
|
1020
|
-
/** Callback when a tag is selected (null = deselect) */
|
|
1021
|
-
onTagSelect: (
|
|
1031
|
+
/** Callback when a category slug is selected (null = "Trending") */
|
|
1032
|
+
onCategorySelect: (categorySlug: string | null) => void;
|
|
1033
|
+
/** Callback when a tag slug is selected (null = deselect) */
|
|
1034
|
+
onTagSelect: (tagSlug: string | null) => void;
|
|
1022
1035
|
/** Content rendered at the end of the primary chip row (e.g. sort/filter controls) */
|
|
1023
1036
|
trailing?: React.ReactNode;
|
|
1024
1037
|
/** Name of the tab that shows a pulsing dot (default: "Trending") */
|
|
@@ -1431,4 +1444,4 @@ type PredictWalletProviderProps = PropsWithChildren<{
|
|
|
1431
1444
|
}>;
|
|
1432
1445
|
declare function PredictWalletProvider({ pollingInterval, enabled, enableKalshi, children, }: PredictWalletProviderProps): react_jsx_runtime.JSX.Element;
|
|
1433
1446
|
|
|
1434
|
-
export { CHART_RANGE_DURATION, CHART_RANGE_PERIOD, CHART_RANGE_SAMPLE_INTERVAL, CandlestickPeriod, type CandlestickPeriodType, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, type CategoryItem, type CategoryListItem, type CategoryTagItem, ChartRange, type ChartRangeType, CommentItemUI, type CommentItemUIProps, type ComputeMaxBuyAmountParams, DEFAULT_CHART_RANGE, DEFAULT_FILTER_STATE, DEFAULT_PAGE_SIZE, DEFAULT_PRICE_HISTORY_INTERVAL, type DepthLevel, type DepthSlot, type DurationUnit, type EstimatePolymarketBuyFeeParams, EventCommentsWidget, type EventCommentsWidgetProps, EventDetailPage, type EventDetailPageProps, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailWidget, type EventDetailWidgetProps, EventItem, type EventItemProps, EventMarketDepthChartUI, type EventMarketDepthChartUIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventPriceChart, type EventPriceChartProps, type EventsFilterState, EventsFilterUI, type EventsFilterUIProps, EventsHero, type EventsHeroProps, EventsPage, type EventsPageProps, EventsPageSkeleton, type EventsPageSkeletonProps, EventsSkeleton, type EventsSkeletonProps, EventsToolbarUI, type EventsToolbarUIProps, EventsUI, type EventsUIProps, EventsWidget, type EventsWidgetProps, type ExpirationPreset, KycModal, type KycModalProps, MAX_PRICE_HISTORY_MARKETS, MatchGroupCard, type MatchGroupCardProps, MatchMarketCard, type MatchMarketCardProps, MatchesFilterBar, type MatchesFilterBarProps, MatchesHero, type MatchesHeroProps, type MatchesHeroStats, MatchesPage, type MatchesPageProps, MatchesStatsBar, type MatchesStatsBarProps, MatchesWidget, type MatchesWidgetProps, type MatchesWidgetRef, ORDER_MAX_PRICE, ORDER_MIN_PRICE, ORDER_MIN_QUANTITY, ORDER_MIN_USDC, ORDER_PRICE_STEP, type OddsFormatter, type OrderType, PREDICT_REDEEM_MODAL_ID, PREDICT_SEARCH_MODAL_ID, PREDICT_SELL_MODAL_ID, PREDICT_TRADE_MODAL_ID, PRICE_HISTORY_SAMPLE_INTERVAL, PredictRedeemModal, type PredictRedeemModalParams, type PredictRedeemModalResult, PredictSearchModal, type PredictSearchModalParams, type PredictSearchModalResult, PredictSellModal, type PredictSellModalParams, type PredictSellModalResult, PredictTradeModal, type PredictTradeModalParams, type PredictTradeModalResult, type PredictWalletContextValue, PredictWalletProvider, type PredictWalletProviderProps, PriceHistoryInterval, type PriceHistoryIntervalType, ProfilePage, type ProfilePageProps, RedeemFormWidget, type RedeemFormWidgetProps, SORT_PRESETS, STATIC_CATEGORIES, SearchEventsButton, type SearchEventsButtonProps, SearchHistoryUI, type SearchHistoryUIProps, SearchHistoryWidget, type SearchHistoryWidgetProps, SearchInputUI, type SearchInputUIProps, SearchResultItemUI, type SearchResultItemUIProps, SearchResultListWidget, type SearchResultListWidgetProps, SearchWidget, type SearchWidgetProps, SellFormUI, type SellFormUIProps, SellFormWidget, type SellFormWidgetProps, SetupModal, type SetupModalProps, SimilarEventCard, type SimilarEventCardProps, SimilarEventsSection, type SimilarEventsSectionProps, type SortPreset, SourceBadge, type SourceBadgeProps, SpreadIndicator, type SpreadIndicatorProps, type TagItem, type TagSlugSelection, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, type TradeOutcome, type TradeSide, type UseEventDetailParams, type UseEventsInfiniteParams, type UseEventsInfiniteResult, type UseSearchResultListScriptParams, type UseSearchScriptParams, type UseSellFormParams, type UseSellFormResult, type UseTradeFormParams, type UseTradeFormResult, UserActivitySection, type UserActivitySectionProps, computeMaxBuyAmount, countActiveFilters, estimatePolymarketBuyFee, fireCelebration, floorToDecimals, formatKMB, formatShares, getSourceMeta, parsePolymarketError, polymarketFeeFactor, resolveExpiration, roundToTickSize, useEventDetail, useEventsInfinite, usePredictSearchHistory, usePredictWallet, useSearchResultListScript, useSearchScript, useSellForm, useTradeForm };
|
|
1447
|
+
export { CHART_RANGE_DURATION, CHART_RANGE_PERIOD, CHART_RANGE_SAMPLE_INTERVAL, CandlestickPeriod, type CandlestickPeriodType, CategoriesSkeleton, CategoriesUI, type CategoriesUIProps, CategoriesWidget, type CategoriesWidgetProps, type CategoryItem, type CategoryListItem, type CategoryTagItem, ChartRange, type ChartRangeType, CommentItemUI, type CommentItemUIProps, type ComputeMaxBuyAmountParams, DEFAULT_CHART_RANGE, DEFAULT_FILTER_STATE, DEFAULT_PAGE_SIZE, DEFAULT_PRICE_HISTORY_INTERVAL, type DepthLevel, type DepthSlot, type DurationUnit, type EstimatePolymarketBuyFeeParams, EventCommentsWidget, type EventCommentsWidgetProps, EventDetailPage, type EventDetailPageProps, EventDetailSkeleton, type EventDetailSkeletonProps, EventDetailUI, type EventDetailUIProps, EventDetailWidget, type EventDetailWidgetProps, EventItem, type EventItemProps, EventMarketDepthChartUI, type EventMarketDepthChartUIProps, EventMarketDetailWidget, type EventMarketDetailWidgetProps, EventPriceChart, type EventPriceChartProps, type EventsFilterState, EventsFilterUI, type EventsFilterUIProps, EventsHero, type EventsHeroProps, EventsPage, type EventsPageProps, EventsPageSkeleton, type EventsPageSkeletonProps, EventsSkeleton, type EventsSkeletonProps, EventsToolbarUI, type EventsToolbarUIProps, EventsUI, type EventsUIProps, EventsWidget, type EventsWidgetProps, type ExpirationPreset, KycModal, type KycModalProps, MAX_PRICE_HISTORY_MARKETS, MatchGroupCard, type MatchGroupCardProps, MatchMarketCard, type MatchMarketCardProps, MatchesFilterBar, type MatchesFilterBarProps, MatchesHero, type MatchesHeroProps, type MatchesHeroStats, MatchesPage, type MatchesPageProps, MatchesStatsBar, type MatchesStatsBarProps, MatchesWidget, type MatchesWidgetProps, type MatchesWidgetRef, ORDER_MAX_PRICE, ORDER_MIN_PRICE, ORDER_MIN_QUANTITY, ORDER_MIN_USDC, ORDER_PRICE_STEP, type OddsFormatter, type OrderType, POLYMARKET_SPORTS_TAKER_FEE_BPS, PREDICT_REDEEM_MODAL_ID, PREDICT_SEARCH_MODAL_ID, PREDICT_SELL_MODAL_ID, PREDICT_TRADE_MODAL_ID, PRICE_HISTORY_SAMPLE_INTERVAL, PredictRedeemModal, type PredictRedeemModalParams, type PredictRedeemModalResult, PredictSearchModal, type PredictSearchModalParams, type PredictSearchModalResult, PredictSellModal, type PredictSellModalParams, type PredictSellModalResult, PredictTradeModal, type PredictTradeModalParams, type PredictTradeModalResult, type PredictWalletContextValue, PredictWalletProvider, type PredictWalletProviderProps, PriceHistoryInterval, type PriceHistoryIntervalType, ProfilePage, type ProfilePageProps, RedeemFormWidget, type RedeemFormWidgetProps, SORT_PRESETS, STATIC_CATEGORIES, SearchEventsButton, type SearchEventsButtonProps, SearchHistoryUI, type SearchHistoryUIProps, SearchHistoryWidget, type SearchHistoryWidgetProps, SearchInputUI, type SearchInputUIProps, SearchResultItemUI, type SearchResultItemUIProps, SearchResultListWidget, type SearchResultListWidgetProps, SearchWidget, type SearchWidgetProps, SellFormUI, type SellFormUIProps, SellFormWidget, type SellFormWidgetProps, SetupModal, type SetupModalProps, SimilarEventCard, type SimilarEventCardProps, SimilarEventsSection, type SimilarEventsSectionProps, type SortPreset, SourceBadge, type SourceBadgeProps, SpreadIndicator, type SpreadIndicatorProps, type TagItem, type TagSlugSelection, TradeFormSkeleton, TradeFormUI, type TradeFormUIProps, type TradeFormValidation, TradeFormWidget, type TradeFormWidgetProps, type TradeOutcome, type TradeSide, type UseEventDetailParams, type UseEventsInfiniteParams, type UseEventsInfiniteResult, type UseSearchResultListScriptParams, type UseSearchScriptParams, type UseSellFormParams, type UseSellFormResult, type UseTradeFormParams, type UseTradeFormResult, UserActivitySection, type UserActivitySectionProps, computeMaxBuyAmount, countActiveFilters, estimatePolymarketBuyFee, fireCelebration, floorToDecimals, formatKMB, formatShares, getSourceMeta, parsePolymarketError, polymarketFeeFactor, resolveExpiration, resolvePolymarketDisplayFeeRateBps, roundToTickSize, useEventDetail, useEventsInfinite, usePredictSearchHistory, usePredictWallet, useSearchResultListScript, useSearchScript, useSellForm, useTradeForm };
|