@liberfi.io/react-predict 0.1.46 → 0.1.48
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{server-D-WAydlX.d.mts → server-Curi-jN1.d.mts} +1 -1
- package/dist/{server-D-WAydlX.d.ts → server-Curi-jN1.d.ts} +1 -1
- package/dist/server.d.mts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +1 -1
- package/dist/server.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PredictClient, a as PredictWsClient, L as ListEventsParams, b as PredictPage, c as PredictEvent, d as ProviderSource, E as EventStats, e as EventStatus, f as EventSortField, S as SimilarEventsParams, g as PredictMarket, O as Orderbook, h as ListMarketTradesParams, i as PredictTrade, j as PriceHistoryRange, k as PriceHistoryResponse, l as ListCandlesticksParams, C as Candlestick, m as PositionsResponse, B as BalanceResponse, n as ListOrdersParams, o as PredictOrder, p as CancelOrderResult, M as MatchesParams, q as MatchGroupPage, r as MatchGroup, s as MatchMarketParams, t as MatchMarketPage, u as ListTradesParams, D as DFlowQuoteRequest, v as DFlowQuoteResponse, w as DFlowSubmitResponse, x as DFlowSubmitRequest, y as DFlowKYCStatus, z as PolymarketSetupStatus, W as WithdrawBuildResponse, A as WithdrawBuildRequest, F as WithdrawSubmitResponse, G as WithdrawSubmitRequest, H as WithdrawStatusResponse, I as PolymarketDepositAddresses, J as PolymarketWithdrawResponse, K as PolymarketWithdrawRequest, T as TickSizeResponse, N as WsConnectionStatus, Q as WsDataMessage, R as WsPriceEvent, U as WsOrderbookEvent, V as WsTradeEvent, X as CreateOrderInput } from './server-
|
|
2
|
-
export { a_ as BuildClobAuthMessageInput, bb as BuildOrderMessageInput, aR as CLOB_AUTH_DOMAIN, aS as CLOB_AUTH_TYPES, a$ as CTF_EXCHANGE_ADDRESS, b4 as CTF_ORDER_TYPES, ba as ClobOrderPayload, ad as DFlowOrderContext, af as DepositBuildRequest, ag as DepositBuildResponse, aj as DepositStatusResponse, ah as DepositSubmitRequest, ai as DepositSubmitResponse, a7 as EventSummary, aX as HttpMethod, a4 as MarketOutcome, a3 as MarketResult, a2 as MarketStatus, a8 as MarketSummary, aq as MatchConfidenceTier, am as MatchGroupEntry, an as MatchGroupMarket, ar as MatchMarketFlat, ao as MatchSortField, al as MatchStatus, ap as MatchesStats, b0 as NEG_RISK_CTF_EXCHANGE_ADDRESS, b5 as ORDER_TYPE, bc as OrderMessage, ac as OrderSide, ab as OrderStatus, a5 as OrderbookLevel, b2 as POLYGON_CHAIN_ID, aZ as PolymarketL2Headers, aY as PolymarketL2HeadersInput, ae as PolymarketOrderType, aa as PredictPosition, a0 as PredictTag, _ as PredictWsClientConfig, a9 as PricePoint, $ as ProviderMeta, aI as ResolveEventsParamsInput, b6 as SIDE, a1 as SettlementSource, bd as SignedOrder, aJ as TagSlugSelection, a6 as TradeType, b1 as USDC_ADDRESS, ak as UnsignedTx, as as WsChannel, at as WsChannelEvent, au as WsClientMessage, aA as WsErrorCode, aB as WsErrorMessage, aw as WsPingMessage, ay as WsPongMessage, ax as WsServerMessage, av as WsSubscribeMessage, az as WsSubscribedMessage, aT as buildClobAuthMessage, b9 as buildClobPayload, b3 as buildCtfExchangeDomain, b7 as buildOrderMessage, aV as buildPolymarketL2Headers, b8 as buildSignedOrder, Y as createPredictClient, Z as createPredictWsClient, aW as derivePolymarketApiKey, aC as eventQueryKey, aD as fetchEvent, aH as fetchEventsPage, aL as fetchMarket, aQ as fetchMatchMarketsPage, aO as fetchMatchesPage, aU as hmacSha256Base64, aG as infiniteEventsQueryKey, aK as marketQueryKey, aP as matchMarketsQueryKey, aN as matchQueryKey, aM as matchesQueryKey, aF as resolveEventsParams, aE as resolveTagSlug } from './server-
|
|
1
|
+
import { P as PredictClient, a as PredictWsClient, L as ListEventsParams, b as PredictPage, c as PredictEvent, d as ProviderSource, E as EventStats, e as EventStatus, f as EventSortField, S as SimilarEventsParams, g as PredictMarket, O as Orderbook, h as ListMarketTradesParams, i as PredictTrade, j as PriceHistoryRange, k as PriceHistoryResponse, l as ListCandlesticksParams, C as Candlestick, m as PositionsResponse, B as BalanceResponse, n as ListOrdersParams, o as PredictOrder, p as CancelOrderResult, M as MatchesParams, q as MatchGroupPage, r as MatchGroup, s as MatchMarketParams, t as MatchMarketPage, u as ListTradesParams, D as DFlowQuoteRequest, v as DFlowQuoteResponse, w as DFlowSubmitResponse, x as DFlowSubmitRequest, y as DFlowKYCStatus, z as PolymarketSetupStatus, W as WithdrawBuildResponse, A as WithdrawBuildRequest, F as WithdrawSubmitResponse, G as WithdrawSubmitRequest, H as WithdrawStatusResponse, I as PolymarketDepositAddresses, J as PolymarketWithdrawResponse, K as PolymarketWithdrawRequest, T as TickSizeResponse, N as WsConnectionStatus, Q as WsDataMessage, R as WsPriceEvent, U as WsOrderbookEvent, V as WsTradeEvent, X as CreateOrderInput } from './server-Curi-jN1.mjs';
|
|
2
|
+
export { a_ as BuildClobAuthMessageInput, bb as BuildOrderMessageInput, aR as CLOB_AUTH_DOMAIN, aS as CLOB_AUTH_TYPES, a$ as CTF_EXCHANGE_ADDRESS, b4 as CTF_ORDER_TYPES, ba as ClobOrderPayload, ad as DFlowOrderContext, af as DepositBuildRequest, ag as DepositBuildResponse, aj as DepositStatusResponse, ah as DepositSubmitRequest, ai as DepositSubmitResponse, a7 as EventSummary, aX as HttpMethod, a4 as MarketOutcome, a3 as MarketResult, a2 as MarketStatus, a8 as MarketSummary, aq as MatchConfidenceTier, am as MatchGroupEntry, an as MatchGroupMarket, ar as MatchMarketFlat, ao as MatchSortField, al as MatchStatus, ap as MatchesStats, b0 as NEG_RISK_CTF_EXCHANGE_ADDRESS, b5 as ORDER_TYPE, bc as OrderMessage, ac as OrderSide, ab as OrderStatus, a5 as OrderbookLevel, b2 as POLYGON_CHAIN_ID, aZ as PolymarketL2Headers, aY as PolymarketL2HeadersInput, ae as PolymarketOrderType, aa as PredictPosition, a0 as PredictTag, _ as PredictWsClientConfig, a9 as PricePoint, $ as ProviderMeta, aI as ResolveEventsParamsInput, b6 as SIDE, a1 as SettlementSource, bd as SignedOrder, aJ as TagSlugSelection, a6 as TradeType, b1 as USDC_ADDRESS, ak as UnsignedTx, as as WsChannel, at as WsChannelEvent, au as WsClientMessage, aA as WsErrorCode, aB as WsErrorMessage, aw as WsPingMessage, ay as WsPongMessage, ax as WsServerMessage, av as WsSubscribeMessage, az as WsSubscribedMessage, aT as buildClobAuthMessage, b9 as buildClobPayload, b3 as buildCtfExchangeDomain, b7 as buildOrderMessage, aV as buildPolymarketL2Headers, b8 as buildSignedOrder, Y as createPredictClient, Z as createPredictWsClient, aW as derivePolymarketApiKey, aC as eventQueryKey, aD as fetchEvent, aH as fetchEventsPage, aL as fetchMarket, aQ as fetchMatchMarketsPage, aO as fetchMatchesPage, aU as hmacSha256Base64, aG as infiniteEventsQueryKey, aK as marketQueryKey, aP as matchMarketsQueryKey, aN as matchQueryKey, aM as matchesQueryKey, aF as resolveEventsParams, aE as resolveTagSlug } from './server-Curi-jN1.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { PropsWithChildren } from 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PredictClient, a as PredictWsClient, L as ListEventsParams, b as PredictPage, c as PredictEvent, d as ProviderSource, E as EventStats, e as EventStatus, f as EventSortField, S as SimilarEventsParams, g as PredictMarket, O as Orderbook, h as ListMarketTradesParams, i as PredictTrade, j as PriceHistoryRange, k as PriceHistoryResponse, l as ListCandlesticksParams, C as Candlestick, m as PositionsResponse, B as BalanceResponse, n as ListOrdersParams, o as PredictOrder, p as CancelOrderResult, M as MatchesParams, q as MatchGroupPage, r as MatchGroup, s as MatchMarketParams, t as MatchMarketPage, u as ListTradesParams, D as DFlowQuoteRequest, v as DFlowQuoteResponse, w as DFlowSubmitResponse, x as DFlowSubmitRequest, y as DFlowKYCStatus, z as PolymarketSetupStatus, W as WithdrawBuildResponse, A as WithdrawBuildRequest, F as WithdrawSubmitResponse, G as WithdrawSubmitRequest, H as WithdrawStatusResponse, I as PolymarketDepositAddresses, J as PolymarketWithdrawResponse, K as PolymarketWithdrawRequest, T as TickSizeResponse, N as WsConnectionStatus, Q as WsDataMessage, R as WsPriceEvent, U as WsOrderbookEvent, V as WsTradeEvent, X as CreateOrderInput } from './server-
|
|
2
|
-
export { a_ as BuildClobAuthMessageInput, bb as BuildOrderMessageInput, aR as CLOB_AUTH_DOMAIN, aS as CLOB_AUTH_TYPES, a$ as CTF_EXCHANGE_ADDRESS, b4 as CTF_ORDER_TYPES, ba as ClobOrderPayload, ad as DFlowOrderContext, af as DepositBuildRequest, ag as DepositBuildResponse, aj as DepositStatusResponse, ah as DepositSubmitRequest, ai as DepositSubmitResponse, a7 as EventSummary, aX as HttpMethod, a4 as MarketOutcome, a3 as MarketResult, a2 as MarketStatus, a8 as MarketSummary, aq as MatchConfidenceTier, am as MatchGroupEntry, an as MatchGroupMarket, ar as MatchMarketFlat, ao as MatchSortField, al as MatchStatus, ap as MatchesStats, b0 as NEG_RISK_CTF_EXCHANGE_ADDRESS, b5 as ORDER_TYPE, bc as OrderMessage, ac as OrderSide, ab as OrderStatus, a5 as OrderbookLevel, b2 as POLYGON_CHAIN_ID, aZ as PolymarketL2Headers, aY as PolymarketL2HeadersInput, ae as PolymarketOrderType, aa as PredictPosition, a0 as PredictTag, _ as PredictWsClientConfig, a9 as PricePoint, $ as ProviderMeta, aI as ResolveEventsParamsInput, b6 as SIDE, a1 as SettlementSource, bd as SignedOrder, aJ as TagSlugSelection, a6 as TradeType, b1 as USDC_ADDRESS, ak as UnsignedTx, as as WsChannel, at as WsChannelEvent, au as WsClientMessage, aA as WsErrorCode, aB as WsErrorMessage, aw as WsPingMessage, ay as WsPongMessage, ax as WsServerMessage, av as WsSubscribeMessage, az as WsSubscribedMessage, aT as buildClobAuthMessage, b9 as buildClobPayload, b3 as buildCtfExchangeDomain, b7 as buildOrderMessage, aV as buildPolymarketL2Headers, b8 as buildSignedOrder, Y as createPredictClient, Z as createPredictWsClient, aW as derivePolymarketApiKey, aC as eventQueryKey, aD as fetchEvent, aH as fetchEventsPage, aL as fetchMarket, aQ as fetchMatchMarketsPage, aO as fetchMatchesPage, aU as hmacSha256Base64, aG as infiniteEventsQueryKey, aK as marketQueryKey, aP as matchMarketsQueryKey, aN as matchQueryKey, aM as matchesQueryKey, aF as resolveEventsParams, aE as resolveTagSlug } from './server-
|
|
1
|
+
import { P as PredictClient, a as PredictWsClient, L as ListEventsParams, b as PredictPage, c as PredictEvent, d as ProviderSource, E as EventStats, e as EventStatus, f as EventSortField, S as SimilarEventsParams, g as PredictMarket, O as Orderbook, h as ListMarketTradesParams, i as PredictTrade, j as PriceHistoryRange, k as PriceHistoryResponse, l as ListCandlesticksParams, C as Candlestick, m as PositionsResponse, B as BalanceResponse, n as ListOrdersParams, o as PredictOrder, p as CancelOrderResult, M as MatchesParams, q as MatchGroupPage, r as MatchGroup, s as MatchMarketParams, t as MatchMarketPage, u as ListTradesParams, D as DFlowQuoteRequest, v as DFlowQuoteResponse, w as DFlowSubmitResponse, x as DFlowSubmitRequest, y as DFlowKYCStatus, z as PolymarketSetupStatus, W as WithdrawBuildResponse, A as WithdrawBuildRequest, F as WithdrawSubmitResponse, G as WithdrawSubmitRequest, H as WithdrawStatusResponse, I as PolymarketDepositAddresses, J as PolymarketWithdrawResponse, K as PolymarketWithdrawRequest, T as TickSizeResponse, N as WsConnectionStatus, Q as WsDataMessage, R as WsPriceEvent, U as WsOrderbookEvent, V as WsTradeEvent, X as CreateOrderInput } from './server-Curi-jN1.js';
|
|
2
|
+
export { a_ as BuildClobAuthMessageInput, bb as BuildOrderMessageInput, aR as CLOB_AUTH_DOMAIN, aS as CLOB_AUTH_TYPES, a$ as CTF_EXCHANGE_ADDRESS, b4 as CTF_ORDER_TYPES, ba as ClobOrderPayload, ad as DFlowOrderContext, af as DepositBuildRequest, ag as DepositBuildResponse, aj as DepositStatusResponse, ah as DepositSubmitRequest, ai as DepositSubmitResponse, a7 as EventSummary, aX as HttpMethod, a4 as MarketOutcome, a3 as MarketResult, a2 as MarketStatus, a8 as MarketSummary, aq as MatchConfidenceTier, am as MatchGroupEntry, an as MatchGroupMarket, ar as MatchMarketFlat, ao as MatchSortField, al as MatchStatus, ap as MatchesStats, b0 as NEG_RISK_CTF_EXCHANGE_ADDRESS, b5 as ORDER_TYPE, bc as OrderMessage, ac as OrderSide, ab as OrderStatus, a5 as OrderbookLevel, b2 as POLYGON_CHAIN_ID, aZ as PolymarketL2Headers, aY as PolymarketL2HeadersInput, ae as PolymarketOrderType, aa as PredictPosition, a0 as PredictTag, _ as PredictWsClientConfig, a9 as PricePoint, $ as ProviderMeta, aI as ResolveEventsParamsInput, b6 as SIDE, a1 as SettlementSource, bd as SignedOrder, aJ as TagSlugSelection, a6 as TradeType, b1 as USDC_ADDRESS, ak as UnsignedTx, as as WsChannel, at as WsChannelEvent, au as WsClientMessage, aA as WsErrorCode, aB as WsErrorMessage, aw as WsPingMessage, ay as WsPongMessage, ax as WsServerMessage, av as WsSubscribeMessage, az as WsSubscribedMessage, aT as buildClobAuthMessage, b9 as buildClobPayload, b3 as buildCtfExchangeDomain, b7 as buildOrderMessage, aV as buildPolymarketL2Headers, b8 as buildSignedOrder, Y as createPredictClient, Z as createPredictWsClient, aW as derivePolymarketApiKey, aC as eventQueryKey, aD as fetchEvent, aH as fetchEventsPage, aL as fetchMarket, aQ as fetchMatchMarketsPage, aO as fetchMatchesPage, aU as hmacSha256Base64, aG as infiniteEventsQueryKey, aK as marketQueryKey, aP as matchMarketsQueryKey, aN as matchQueryKey, aM as matchesQueryKey, aF as resolveEventsParams, aE as resolveTagSlug } from './server-Curi-jN1.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { PropsWithChildren } from 'react';
|
package/dist/index.js
CHANGED
|
@@ -927,7 +927,7 @@ function useEvents(params, queryOptions = {}) {
|
|
|
927
927
|
}
|
|
928
928
|
|
|
929
929
|
// src/hooks/predict/events.params.ts
|
|
930
|
-
var DEFAULT_PAGE_SIZE =
|
|
930
|
+
var DEFAULT_PAGE_SIZE = 24;
|
|
931
931
|
function resolveTagSlug(selection) {
|
|
932
932
|
if (!selection) return void 0;
|
|
933
933
|
return selection.tagSlug ?? selection.categorySlug ?? void 0;
|