@liberfi.io/ui-predict 0.1.123 → 0.1.124
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 +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
package/dist/index.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ declare global {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
declare const _default: "0.1.
|
|
16
|
+
declare const _default: "0.1.124";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A single category entry in the static navigation model.
|
|
@@ -159,6 +159,8 @@ interface EventsWidgetProps {
|
|
|
159
159
|
minVolume?: string;
|
|
160
160
|
/** Client-side minimum liquidity filter (USD string, e.g. "10000"). */
|
|
161
161
|
minLiquidity?: string;
|
|
162
|
+
/** Max markets per event (sorted by volume DESC). Default: 3. */
|
|
163
|
+
markets_limit?: number;
|
|
162
164
|
/** Callback when an event card is selected */
|
|
163
165
|
onSelect?: (event: PredictEvent) => void;
|
|
164
166
|
/** Callback when an outcome button (yes/no) is pressed */
|
|
@@ -170,7 +172,7 @@ interface EventsWidgetProps {
|
|
|
170
172
|
/** Called when a card is hovered (for data prefetching). */
|
|
171
173
|
onHover?: (event: PredictEvent) => void;
|
|
172
174
|
}
|
|
173
|
-
declare function EventsWidget({ tagSlugSelection, limit, status, sort_by, sort_asc, source, with_markets, timeRemaining, minVolume, minLiquidity, onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, }: EventsWidgetProps): react_jsx_runtime.JSX.Element;
|
|
175
|
+
declare function EventsWidget({ tagSlugSelection, limit, status, sort_by, sort_asc, source, with_markets, timeRemaining, minVolume, minLiquidity, markets_limit, onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, }: EventsWidgetProps): react_jsx_runtime.JSX.Element;
|
|
174
176
|
|
|
175
177
|
/** Parameters for useEventsInfinite */
|
|
176
178
|
type UseEventsInfiniteParams = ResolveEventsParamsInput;
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare global {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
declare const _default: "0.1.
|
|
16
|
+
declare const _default: "0.1.124";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A single category entry in the static navigation model.
|
|
@@ -159,6 +159,8 @@ interface EventsWidgetProps {
|
|
|
159
159
|
minVolume?: string;
|
|
160
160
|
/** Client-side minimum liquidity filter (USD string, e.g. "10000"). */
|
|
161
161
|
minLiquidity?: string;
|
|
162
|
+
/** Max markets per event (sorted by volume DESC). Default: 3. */
|
|
163
|
+
markets_limit?: number;
|
|
162
164
|
/** Callback when an event card is selected */
|
|
163
165
|
onSelect?: (event: PredictEvent) => void;
|
|
164
166
|
/** Callback when an outcome button (yes/no) is pressed */
|
|
@@ -170,7 +172,7 @@ interface EventsWidgetProps {
|
|
|
170
172
|
/** Called when a card is hovered (for data prefetching). */
|
|
171
173
|
onHover?: (event: PredictEvent) => void;
|
|
172
174
|
}
|
|
173
|
-
declare function EventsWidget({ tagSlugSelection, limit, status, sort_by, sort_asc, source, with_markets, timeRemaining, minVolume, minLiquidity, onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, }: EventsWidgetProps): react_jsx_runtime.JSX.Element;
|
|
175
|
+
declare function EventsWidget({ tagSlugSelection, limit, status, sort_by, sort_asc, source, with_markets, timeRemaining, minVolume, minLiquidity, markets_limit, onSelect, onSelectOutcome, getEventHref, LinkComponent, onHover, }: EventsWidgetProps): react_jsx_runtime.JSX.Element;
|
|
174
176
|
|
|
175
177
|
/** Parameters for useEventsInfinite */
|
|
176
178
|
type UseEventsInfiniteParams = ResolveEventsParamsInput;
|