@liberfi.io/react-predict 0.2.1 → 0.2.3
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
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, A as AvailableSharesResponse, B as BalanceResponse, n as ListOrdersParams, o as PredictOrder, p as ListOrdersMultiParams, q as PredictOrdersResponse, r as CancelOrderResult, M as MatchesParams, s as MatchGroupPage, t as MatchGroup, u as MatchMarketParams, v as MatchMarketPage, w as ListTradesParams, x as ListTradesMultiParams, D as DFlowQuoteRequest, y as DFlowQuoteResponse, z as DFlowSubmitResponse, F as DFlowSubmitRequest, G as DFlowKYCStatus, H as PolymarketSetupStatus, W as WithdrawBuildResponse, I as WithdrawBuildRequest, J as WithdrawSubmitResponse, K as WithdrawSubmitRequest, N as WithdrawStatusResponse, Q as PolymarketDepositAddresses, R as PolymarketWithdrawResponse, T as PolymarketWithdrawRequest, U as PolymarketRedeemResponse, V as TickSizeResponse, X as FeeRateResponse, Y as WsConnectionStatus, Z as WsDataMessage, _ as WsPriceEvent, $ as WsOrderbookEvent, a0 as WsTradeEvent, a1 as CreateOrderInput } from './server-
|
|
2
|
-
export { bb as BuildClobAuthMessageInput, bp as BuildOrderMessageInput, b2 as CLOB_AUTH_DOMAIN, b3 as CLOB_AUTH_TYPES, bc as CTF_EXCHANGE_ADDRESS, bh as CTF_ORDER_TYPES, bo as ClobOrderPayload, aj as DFlowOrderContext, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, ad as EventSummary, b8 as HttpMethod, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, au as MatchGroupEntry, av as MatchGroupMarket, aA as MatchLeg, aB as MatchMarketFlat, aw as MatchSortField, at as MatchStatus, ax as MatchesStats, bd as NEG_RISK_CTF_EXCHANGE_ADDRESS, bi as ORDER_TYPE, bq as OrderMessage, ai as OrderSide, ah as OrderStatus, ab as OrderbookLevel, bf as POLYGON_CHAIN_ID, ba as PolymarketL2Headers, b9 as PolymarketL2HeadersInput, ak as PolymarketOrderType, aO as PolymarketRedeemInput, aM as PolymarketRedeemPrepareInput, aN as PolymarketRedeemPrepareResponse, ar as PolymarketWithdrawPrepareRequest, as as PolymarketWithdrawPrepareResponse, ag as PredictPosition, a6 as PredictTag, a4 as PredictWsClientConfig, af as PricePoint, a5 as ProviderMeta, aV as ResolveEventsParamsInput, bj as SIDE, a7 as SettlementSource, az as SignalTag, br as SignedOrder, aW as TagSlugSelection, ac as TradeType, be as USDC_ADDRESS, aq as UnsignedTx, aC as WsChannel, aD as WsChannelEvent, aE as WsClientMessage, aK as WsErrorCode, aL as WsErrorMessage, aG as WsPingMessage, aI as WsPongMessage, aH as WsServerMessage, aF as WsSubscribeMessage, aJ as WsSubscribedMessage, b4 as buildClobAuthMessage, bm as buildClobPayload, bg as buildCtfExchangeDomain, bk as buildOrderMessage, b6 as buildPolymarketL2Headers, bl as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b7 as derivePolymarketApiKey, aP as eventQueryKey, aQ as fetchEvent, aU as fetchEventsPage, aY as fetchMarket, b1 as fetchMatchMarketsPage, a$ as fetchMatchesPage, bn as getPolymarketSharesPrecision, b5 as hmacSha256Base64, aT as infiniteEventsQueryKey, aX as marketQueryKey, b0 as matchMarketsQueryKey, a_ as matchQueryKey, aZ as matchesQueryKey, aS as resolveEventsParams, aR 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, A as AvailableSharesResponse, B as BalanceResponse, n as ListOrdersParams, o as PredictOrder, p as ListOrdersMultiParams, q as PredictOrdersResponse, r as CancelOrderResult, M as MatchesParams, s as MatchGroupPage, t as MatchGroup, u as MatchMarketParams, v as MatchMarketPage, w as ListTradesParams, x as ListTradesMultiParams, D as DFlowQuoteRequest, y as DFlowQuoteResponse, z as DFlowSubmitResponse, F as DFlowSubmitRequest, G as DFlowKYCStatus, H as PolymarketSetupStatus, W as WithdrawBuildResponse, I as WithdrawBuildRequest, J as WithdrawSubmitResponse, K as WithdrawSubmitRequest, N as WithdrawStatusResponse, Q as PolymarketDepositAddresses, R as PolymarketWithdrawResponse, T as PolymarketWithdrawRequest, U as PolymarketRedeemResponse, V as TickSizeResponse, X as FeeRateResponse, Y as WsConnectionStatus, Z as WsDataMessage, _ as WsPriceEvent, $ as WsOrderbookEvent, a0 as WsTradeEvent, a1 as CreateOrderInput } from './server-rd8X_X_4.mjs';
|
|
2
|
+
export { bb as BuildClobAuthMessageInput, bp as BuildOrderMessageInput, b2 as CLOB_AUTH_DOMAIN, b3 as CLOB_AUTH_TYPES, bc as CTF_EXCHANGE_ADDRESS, bh as CTF_ORDER_TYPES, bo as ClobOrderPayload, aj as DFlowOrderContext, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, ad as EventSummary, b8 as HttpMethod, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, au as MatchGroupEntry, av as MatchGroupMarket, aA as MatchLeg, aB as MatchMarketFlat, aw as MatchSortField, at as MatchStatus, ax as MatchesStats, bd as NEG_RISK_CTF_EXCHANGE_ADDRESS, bi as ORDER_TYPE, bq as OrderMessage, ai as OrderSide, ah as OrderStatus, ab as OrderbookLevel, bf as POLYGON_CHAIN_ID, ba as PolymarketL2Headers, b9 as PolymarketL2HeadersInput, ak as PolymarketOrderType, aO as PolymarketRedeemInput, aM as PolymarketRedeemPrepareInput, aN as PolymarketRedeemPrepareResponse, ar as PolymarketWithdrawPrepareRequest, as as PolymarketWithdrawPrepareResponse, ag as PredictPosition, a6 as PredictTag, a4 as PredictWsClientConfig, af as PricePoint, a5 as ProviderMeta, aV as ResolveEventsParamsInput, bj as SIDE, a7 as SettlementSource, az as SignalTag, br as SignedOrder, aW as TagSlugSelection, ac as TradeType, be as USDC_ADDRESS, aq as UnsignedTx, aC as WsChannel, aD as WsChannelEvent, aE as WsClientMessage, aK as WsErrorCode, aL as WsErrorMessage, aG as WsPingMessage, aI as WsPongMessage, aH as WsServerMessage, aF as WsSubscribeMessage, aJ as WsSubscribedMessage, b4 as buildClobAuthMessage, bm as buildClobPayload, bg as buildCtfExchangeDomain, bk as buildOrderMessage, b6 as buildPolymarketL2Headers, bl as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b7 as derivePolymarketApiKey, aP as eventQueryKey, aQ as fetchEvent, aU as fetchEventsPage, aY as fetchMarket, b1 as fetchMatchMarketsPage, a$ as fetchMatchesPage, bn as getPolymarketSharesPrecision, b5 as hmacSha256Base64, aT as infiniteEventsQueryKey, aX as marketQueryKey, b0 as matchMarketsQueryKey, a_ as matchQueryKey, aZ as matchesQueryKey, aS as resolveEventsParams, aR as resolveTagSlug } from './server-rd8X_X_4.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, A as AvailableSharesResponse, B as BalanceResponse, n as ListOrdersParams, o as PredictOrder, p as ListOrdersMultiParams, q as PredictOrdersResponse, r as CancelOrderResult, M as MatchesParams, s as MatchGroupPage, t as MatchGroup, u as MatchMarketParams, v as MatchMarketPage, w as ListTradesParams, x as ListTradesMultiParams, D as DFlowQuoteRequest, y as DFlowQuoteResponse, z as DFlowSubmitResponse, F as DFlowSubmitRequest, G as DFlowKYCStatus, H as PolymarketSetupStatus, W as WithdrawBuildResponse, I as WithdrawBuildRequest, J as WithdrawSubmitResponse, K as WithdrawSubmitRequest, N as WithdrawStatusResponse, Q as PolymarketDepositAddresses, R as PolymarketWithdrawResponse, T as PolymarketWithdrawRequest, U as PolymarketRedeemResponse, V as TickSizeResponse, X as FeeRateResponse, Y as WsConnectionStatus, Z as WsDataMessage, _ as WsPriceEvent, $ as WsOrderbookEvent, a0 as WsTradeEvent, a1 as CreateOrderInput } from './server-
|
|
2
|
-
export { bb as BuildClobAuthMessageInput, bp as BuildOrderMessageInput, b2 as CLOB_AUTH_DOMAIN, b3 as CLOB_AUTH_TYPES, bc as CTF_EXCHANGE_ADDRESS, bh as CTF_ORDER_TYPES, bo as ClobOrderPayload, aj as DFlowOrderContext, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, ad as EventSummary, b8 as HttpMethod, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, au as MatchGroupEntry, av as MatchGroupMarket, aA as MatchLeg, aB as MatchMarketFlat, aw as MatchSortField, at as MatchStatus, ax as MatchesStats, bd as NEG_RISK_CTF_EXCHANGE_ADDRESS, bi as ORDER_TYPE, bq as OrderMessage, ai as OrderSide, ah as OrderStatus, ab as OrderbookLevel, bf as POLYGON_CHAIN_ID, ba as PolymarketL2Headers, b9 as PolymarketL2HeadersInput, ak as PolymarketOrderType, aO as PolymarketRedeemInput, aM as PolymarketRedeemPrepareInput, aN as PolymarketRedeemPrepareResponse, ar as PolymarketWithdrawPrepareRequest, as as PolymarketWithdrawPrepareResponse, ag as PredictPosition, a6 as PredictTag, a4 as PredictWsClientConfig, af as PricePoint, a5 as ProviderMeta, aV as ResolveEventsParamsInput, bj as SIDE, a7 as SettlementSource, az as SignalTag, br as SignedOrder, aW as TagSlugSelection, ac as TradeType, be as USDC_ADDRESS, aq as UnsignedTx, aC as WsChannel, aD as WsChannelEvent, aE as WsClientMessage, aK as WsErrorCode, aL as WsErrorMessage, aG as WsPingMessage, aI as WsPongMessage, aH as WsServerMessage, aF as WsSubscribeMessage, aJ as WsSubscribedMessage, b4 as buildClobAuthMessage, bm as buildClobPayload, bg as buildCtfExchangeDomain, bk as buildOrderMessage, b6 as buildPolymarketL2Headers, bl as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b7 as derivePolymarketApiKey, aP as eventQueryKey, aQ as fetchEvent, aU as fetchEventsPage, aY as fetchMarket, b1 as fetchMatchMarketsPage, a$ as fetchMatchesPage, bn as getPolymarketSharesPrecision, b5 as hmacSha256Base64, aT as infiniteEventsQueryKey, aX as marketQueryKey, b0 as matchMarketsQueryKey, a_ as matchQueryKey, aZ as matchesQueryKey, aS as resolveEventsParams, aR 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, A as AvailableSharesResponse, B as BalanceResponse, n as ListOrdersParams, o as PredictOrder, p as ListOrdersMultiParams, q as PredictOrdersResponse, r as CancelOrderResult, M as MatchesParams, s as MatchGroupPage, t as MatchGroup, u as MatchMarketParams, v as MatchMarketPage, w as ListTradesParams, x as ListTradesMultiParams, D as DFlowQuoteRequest, y as DFlowQuoteResponse, z as DFlowSubmitResponse, F as DFlowSubmitRequest, G as DFlowKYCStatus, H as PolymarketSetupStatus, W as WithdrawBuildResponse, I as WithdrawBuildRequest, J as WithdrawSubmitResponse, K as WithdrawSubmitRequest, N as WithdrawStatusResponse, Q as PolymarketDepositAddresses, R as PolymarketWithdrawResponse, T as PolymarketWithdrawRequest, U as PolymarketRedeemResponse, V as TickSizeResponse, X as FeeRateResponse, Y as WsConnectionStatus, Z as WsDataMessage, _ as WsPriceEvent, $ as WsOrderbookEvent, a0 as WsTradeEvent, a1 as CreateOrderInput } from './server-rd8X_X_4.js';
|
|
2
|
+
export { bb as BuildClobAuthMessageInput, bp as BuildOrderMessageInput, b2 as CLOB_AUTH_DOMAIN, b3 as CLOB_AUTH_TYPES, bc as CTF_EXCHANGE_ADDRESS, bh as CTF_ORDER_TYPES, bo as ClobOrderPayload, aj as DFlowOrderContext, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, ad as EventSummary, b8 as HttpMethod, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, au as MatchGroupEntry, av as MatchGroupMarket, aA as MatchLeg, aB as MatchMarketFlat, aw as MatchSortField, at as MatchStatus, ax as MatchesStats, bd as NEG_RISK_CTF_EXCHANGE_ADDRESS, bi as ORDER_TYPE, bq as OrderMessage, ai as OrderSide, ah as OrderStatus, ab as OrderbookLevel, bf as POLYGON_CHAIN_ID, ba as PolymarketL2Headers, b9 as PolymarketL2HeadersInput, ak as PolymarketOrderType, aO as PolymarketRedeemInput, aM as PolymarketRedeemPrepareInput, aN as PolymarketRedeemPrepareResponse, ar as PolymarketWithdrawPrepareRequest, as as PolymarketWithdrawPrepareResponse, ag as PredictPosition, a6 as PredictTag, a4 as PredictWsClientConfig, af as PricePoint, a5 as ProviderMeta, aV as ResolveEventsParamsInput, bj as SIDE, a7 as SettlementSource, az as SignalTag, br as SignedOrder, aW as TagSlugSelection, ac as TradeType, be as USDC_ADDRESS, aq as UnsignedTx, aC as WsChannel, aD as WsChannelEvent, aE as WsClientMessage, aK as WsErrorCode, aL as WsErrorMessage, aG as WsPingMessage, aI as WsPongMessage, aH as WsServerMessage, aF as WsSubscribeMessage, aJ as WsSubscribedMessage, b4 as buildClobAuthMessage, bm as buildClobPayload, bg as buildCtfExchangeDomain, bk as buildOrderMessage, b6 as buildPolymarketL2Headers, bl as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b7 as derivePolymarketApiKey, aP as eventQueryKey, aQ as fetchEvent, aU as fetchEventsPage, aY as fetchMarket, b1 as fetchMatchMarketsPage, a$ as fetchMatchesPage, bn as getPolymarketSharesPrecision, b5 as hmacSha256Base64, aT as infiniteEventsQueryKey, aX as marketQueryKey, b0 as matchMarketsQueryKey, a_ as matchQueryKey, aZ as matchesQueryKey, aS as resolveEventsParams, aR as resolveTagSlug } from './server-rd8X_X_4.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';
|
|
@@ -570,10 +570,14 @@ interface DepositStatusResponse {
|
|
|
570
570
|
}
|
|
571
571
|
/** Multi-chain deposit addresses from the Polymarket Bridge API. */
|
|
572
572
|
interface PolymarketDepositAddresses {
|
|
573
|
+
/** EVM bridge address — accepts USDC/USDT on Ethereum, Polygon, Base, Arbitrum, Optimism, BNB, etc. */
|
|
573
574
|
evm: string;
|
|
575
|
+
/** Solana bridge address — accepts USDC on Solana. */
|
|
574
576
|
svm: string;
|
|
577
|
+
/** Bitcoin bridge address — accepts BTC. */
|
|
575
578
|
btc: string;
|
|
576
|
-
|
|
579
|
+
/** Tron bridge address — accepts USDT-TRC20 (optional, may be absent). */
|
|
580
|
+
tron?: string;
|
|
577
581
|
}
|
|
578
582
|
/** Request body for `POST /api/v1/withdraw/polymarket/prepare`. */
|
|
579
583
|
interface PolymarketWithdrawPrepareRequest {
|
|
@@ -570,10 +570,14 @@ interface DepositStatusResponse {
|
|
|
570
570
|
}
|
|
571
571
|
/** Multi-chain deposit addresses from the Polymarket Bridge API. */
|
|
572
572
|
interface PolymarketDepositAddresses {
|
|
573
|
+
/** EVM bridge address — accepts USDC/USDT on Ethereum, Polygon, Base, Arbitrum, Optimism, BNB, etc. */
|
|
573
574
|
evm: string;
|
|
575
|
+
/** Solana bridge address — accepts USDC on Solana. */
|
|
574
576
|
svm: string;
|
|
577
|
+
/** Bitcoin bridge address — accepts BTC. */
|
|
575
578
|
btc: string;
|
|
576
|
-
|
|
579
|
+
/** Tron bridge address — accepts USDT-TRC20 (optional, may be absent). */
|
|
580
|
+
tron?: string;
|
|
577
581
|
}
|
|
578
582
|
/** Request body for `POST /api/v1/withdraw/polymarket/prepare`. */
|
|
579
583
|
interface PolymarketWithdrawPrepareRequest {
|
package/dist/server.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { B as BalanceResponse, bb as BuildClobAuthMessageInput, bp as BuildOrderMessageInput, b2 as CLOB_AUTH_DOMAIN, b3 as CLOB_AUTH_TYPES, bc as CTF_EXCHANGE_ADDRESS, bh as CTF_ORDER_TYPES, r as CancelOrderResult, C as Candlestick, bo as ClobOrderPayload, a1 as CreateOrderInput, bs as DEFAULT_PAGE_SIZE, aj as DFlowOrderContext, D as DFlowQuoteRequest, y as DFlowQuoteResponse, F as DFlowSubmitRequest, z as DFlowSubmitResponse, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, f as EventSortField, e as EventStatus, ad as EventSummary, b8 as HttpMethod, l as ListCandlesticksParams, L as ListEventsParams, h as ListMarketTradesParams, n as ListOrdersParams, w as ListTradesParams, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, t as MatchGroup, au as MatchGroupEntry, av as MatchGroupMarket, s as MatchGroupPage, aA as MatchLeg, aB as MatchMarketFlat, v as MatchMarketPage, u as MatchMarketParams, aw as MatchSortField, at as MatchStatus, M as MatchesParams, ax as MatchesStats, bd as NEG_RISK_CTF_EXCHANGE_ADDRESS, bi as ORDER_TYPE, bq as OrderMessage, ai as OrderSide, ah as OrderStatus, O as Orderbook, ab as OrderbookLevel, bf as POLYGON_CHAIN_ID, ba as PolymarketL2Headers, b9 as PolymarketL2HeadersInput, ak as PolymarketOrderType, m as PositionsResponse, P as PredictClient, c as PredictEvent, g as PredictMarket, o as PredictOrder, b as PredictPage, ag as PredictPosition, a6 as PredictTag, i as PredictTrade, a as PredictWsClient, a4 as PredictWsClientConfig, j as PriceHistoryRange, k as PriceHistoryResponse, af as PricePoint, a5 as ProviderMeta, d as ProviderSource, aV as ResolveEventsParamsInput, bj as SIDE, a7 as SettlementSource, az as SignalTag, br as SignedOrder, S as SimilarEventsParams, aW as TagSlugSelection, ac as TradeType, be as USDC_ADDRESS, aq as UnsignedTx, aC as WsChannel, aD as WsChannelEvent, aE as WsClientMessage, Y as WsConnectionStatus, Z as WsDataMessage, aK as WsErrorCode, aL as WsErrorMessage, $ as WsOrderbookEvent, aG as WsPingMessage, aI as WsPongMessage, _ as WsPriceEvent, aH as WsServerMessage, aF as WsSubscribeMessage, aJ as WsSubscribedMessage, a0 as WsTradeEvent, b4 as buildClobAuthMessage, bm as buildClobPayload, bg as buildCtfExchangeDomain, bk as buildOrderMessage, b6 as buildPolymarketL2Headers, bl as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b7 as derivePolymarketApiKey, aP as eventQueryKey, aQ as fetchEvent, aU as fetchEventsPage, aY as fetchMarket, b1 as fetchMatchMarketsPage, a$ as fetchMatchesPage, b5 as hmacSha256Base64, aT as infiniteEventsQueryKey, aX as marketQueryKey, b0 as matchMarketsQueryKey, a_ as matchQueryKey, aZ as matchesQueryKey, aS as resolveEventsParams, aR as resolveTagSlug } from './server-
|
|
1
|
+
export { B as BalanceResponse, bb as BuildClobAuthMessageInput, bp as BuildOrderMessageInput, b2 as CLOB_AUTH_DOMAIN, b3 as CLOB_AUTH_TYPES, bc as CTF_EXCHANGE_ADDRESS, bh as CTF_ORDER_TYPES, r as CancelOrderResult, C as Candlestick, bo as ClobOrderPayload, a1 as CreateOrderInput, bs as DEFAULT_PAGE_SIZE, aj as DFlowOrderContext, D as DFlowQuoteRequest, y as DFlowQuoteResponse, F as DFlowSubmitRequest, z as DFlowSubmitResponse, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, f as EventSortField, e as EventStatus, ad as EventSummary, b8 as HttpMethod, l as ListCandlesticksParams, L as ListEventsParams, h as ListMarketTradesParams, n as ListOrdersParams, w as ListTradesParams, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, t as MatchGroup, au as MatchGroupEntry, av as MatchGroupMarket, s as MatchGroupPage, aA as MatchLeg, aB as MatchMarketFlat, v as MatchMarketPage, u as MatchMarketParams, aw as MatchSortField, at as MatchStatus, M as MatchesParams, ax as MatchesStats, bd as NEG_RISK_CTF_EXCHANGE_ADDRESS, bi as ORDER_TYPE, bq as OrderMessage, ai as OrderSide, ah as OrderStatus, O as Orderbook, ab as OrderbookLevel, bf as POLYGON_CHAIN_ID, ba as PolymarketL2Headers, b9 as PolymarketL2HeadersInput, ak as PolymarketOrderType, m as PositionsResponse, P as PredictClient, c as PredictEvent, g as PredictMarket, o as PredictOrder, b as PredictPage, ag as PredictPosition, a6 as PredictTag, i as PredictTrade, a as PredictWsClient, a4 as PredictWsClientConfig, j as PriceHistoryRange, k as PriceHistoryResponse, af as PricePoint, a5 as ProviderMeta, d as ProviderSource, aV as ResolveEventsParamsInput, bj as SIDE, a7 as SettlementSource, az as SignalTag, br as SignedOrder, S as SimilarEventsParams, aW as TagSlugSelection, ac as TradeType, be as USDC_ADDRESS, aq as UnsignedTx, aC as WsChannel, aD as WsChannelEvent, aE as WsClientMessage, Y as WsConnectionStatus, Z as WsDataMessage, aK as WsErrorCode, aL as WsErrorMessage, $ as WsOrderbookEvent, aG as WsPingMessage, aI as WsPongMessage, _ as WsPriceEvent, aH as WsServerMessage, aF as WsSubscribeMessage, aJ as WsSubscribedMessage, a0 as WsTradeEvent, b4 as buildClobAuthMessage, bm as buildClobPayload, bg as buildCtfExchangeDomain, bk as buildOrderMessage, b6 as buildPolymarketL2Headers, bl as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b7 as derivePolymarketApiKey, aP as eventQueryKey, aQ as fetchEvent, aU as fetchEventsPage, aY as fetchMarket, b1 as fetchMatchMarketsPage, a$ as fetchMatchesPage, b5 as hmacSha256Base64, aT as infiniteEventsQueryKey, aX as marketQueryKey, b0 as matchMarketsQueryKey, a_ as matchQueryKey, aZ as matchesQueryKey, aS as resolveEventsParams, aR as resolveTagSlug } from './server-rd8X_X_4.mjs';
|
package/dist/server.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { B as BalanceResponse, bb as BuildClobAuthMessageInput, bp as BuildOrderMessageInput, b2 as CLOB_AUTH_DOMAIN, b3 as CLOB_AUTH_TYPES, bc as CTF_EXCHANGE_ADDRESS, bh as CTF_ORDER_TYPES, r as CancelOrderResult, C as Candlestick, bo as ClobOrderPayload, a1 as CreateOrderInput, bs as DEFAULT_PAGE_SIZE, aj as DFlowOrderContext, D as DFlowQuoteRequest, y as DFlowQuoteResponse, F as DFlowSubmitRequest, z as DFlowSubmitResponse, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, f as EventSortField, e as EventStatus, ad as EventSummary, b8 as HttpMethod, l as ListCandlesticksParams, L as ListEventsParams, h as ListMarketTradesParams, n as ListOrdersParams, w as ListTradesParams, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, t as MatchGroup, au as MatchGroupEntry, av as MatchGroupMarket, s as MatchGroupPage, aA as MatchLeg, aB as MatchMarketFlat, v as MatchMarketPage, u as MatchMarketParams, aw as MatchSortField, at as MatchStatus, M as MatchesParams, ax as MatchesStats, bd as NEG_RISK_CTF_EXCHANGE_ADDRESS, bi as ORDER_TYPE, bq as OrderMessage, ai as OrderSide, ah as OrderStatus, O as Orderbook, ab as OrderbookLevel, bf as POLYGON_CHAIN_ID, ba as PolymarketL2Headers, b9 as PolymarketL2HeadersInput, ak as PolymarketOrderType, m as PositionsResponse, P as PredictClient, c as PredictEvent, g as PredictMarket, o as PredictOrder, b as PredictPage, ag as PredictPosition, a6 as PredictTag, i as PredictTrade, a as PredictWsClient, a4 as PredictWsClientConfig, j as PriceHistoryRange, k as PriceHistoryResponse, af as PricePoint, a5 as ProviderMeta, d as ProviderSource, aV as ResolveEventsParamsInput, bj as SIDE, a7 as SettlementSource, az as SignalTag, br as SignedOrder, S as SimilarEventsParams, aW as TagSlugSelection, ac as TradeType, be as USDC_ADDRESS, aq as UnsignedTx, aC as WsChannel, aD as WsChannelEvent, aE as WsClientMessage, Y as WsConnectionStatus, Z as WsDataMessage, aK as WsErrorCode, aL as WsErrorMessage, $ as WsOrderbookEvent, aG as WsPingMessage, aI as WsPongMessage, _ as WsPriceEvent, aH as WsServerMessage, aF as WsSubscribeMessage, aJ as WsSubscribedMessage, a0 as WsTradeEvent, b4 as buildClobAuthMessage, bm as buildClobPayload, bg as buildCtfExchangeDomain, bk as buildOrderMessage, b6 as buildPolymarketL2Headers, bl as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b7 as derivePolymarketApiKey, aP as eventQueryKey, aQ as fetchEvent, aU as fetchEventsPage, aY as fetchMarket, b1 as fetchMatchMarketsPage, a$ as fetchMatchesPage, b5 as hmacSha256Base64, aT as infiniteEventsQueryKey, aX as marketQueryKey, b0 as matchMarketsQueryKey, a_ as matchQueryKey, aZ as matchesQueryKey, aS as resolveEventsParams, aR as resolveTagSlug } from './server-
|
|
1
|
+
export { B as BalanceResponse, bb as BuildClobAuthMessageInput, bp as BuildOrderMessageInput, b2 as CLOB_AUTH_DOMAIN, b3 as CLOB_AUTH_TYPES, bc as CTF_EXCHANGE_ADDRESS, bh as CTF_ORDER_TYPES, r as CancelOrderResult, C as Candlestick, bo as ClobOrderPayload, a1 as CreateOrderInput, bs as DEFAULT_PAGE_SIZE, aj as DFlowOrderContext, D as DFlowQuoteRequest, y as DFlowQuoteResponse, F as DFlowSubmitRequest, z as DFlowSubmitResponse, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, f as EventSortField, e as EventStatus, ad as EventSummary, b8 as HttpMethod, l as ListCandlesticksParams, L as ListEventsParams, h as ListMarketTradesParams, n as ListOrdersParams, w as ListTradesParams, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, t as MatchGroup, au as MatchGroupEntry, av as MatchGroupMarket, s as MatchGroupPage, aA as MatchLeg, aB as MatchMarketFlat, v as MatchMarketPage, u as MatchMarketParams, aw as MatchSortField, at as MatchStatus, M as MatchesParams, ax as MatchesStats, bd as NEG_RISK_CTF_EXCHANGE_ADDRESS, bi as ORDER_TYPE, bq as OrderMessage, ai as OrderSide, ah as OrderStatus, O as Orderbook, ab as OrderbookLevel, bf as POLYGON_CHAIN_ID, ba as PolymarketL2Headers, b9 as PolymarketL2HeadersInput, ak as PolymarketOrderType, m as PositionsResponse, P as PredictClient, c as PredictEvent, g as PredictMarket, o as PredictOrder, b as PredictPage, ag as PredictPosition, a6 as PredictTag, i as PredictTrade, a as PredictWsClient, a4 as PredictWsClientConfig, j as PriceHistoryRange, k as PriceHistoryResponse, af as PricePoint, a5 as ProviderMeta, d as ProviderSource, aV as ResolveEventsParamsInput, bj as SIDE, a7 as SettlementSource, az as SignalTag, br as SignedOrder, S as SimilarEventsParams, aW as TagSlugSelection, ac as TradeType, be as USDC_ADDRESS, aq as UnsignedTx, aC as WsChannel, aD as WsChannelEvent, aE as WsClientMessage, Y as WsConnectionStatus, Z as WsDataMessage, aK as WsErrorCode, aL as WsErrorMessage, $ as WsOrderbookEvent, aG as WsPingMessage, aI as WsPongMessage, _ as WsPriceEvent, aH as WsServerMessage, aF as WsSubscribeMessage, aJ as WsSubscribedMessage, a0 as WsTradeEvent, b4 as buildClobAuthMessage, bm as buildClobPayload, bg as buildCtfExchangeDomain, bk as buildOrderMessage, b6 as buildPolymarketL2Headers, bl as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b7 as derivePolymarketApiKey, aP as eventQueryKey, aQ as fetchEvent, aU as fetchEventsPage, aY as fetchMarket, b1 as fetchMatchMarketsPage, a$ as fetchMatchesPage, b5 as hmacSha256Base64, aT as infiniteEventsQueryKey, aX as marketQueryKey, b0 as matchMarketsQueryKey, a_ as matchQueryKey, aZ as matchesQueryKey, aS as resolveEventsParams, aR as resolveTagSlug } from './server-rd8X_X_4.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liberfi.io/react-predict",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "React hooks and client for prediction markets (prediction-server backend), including Polymarket and DFlow order flows",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"react-dom": ">=18"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@liberfi.io/utils": "0.1.
|
|
40
|
+
"@liberfi.io/utils": "0.1.160"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@tanstack/react-query": "^5.90.2",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"rimraf": "^5.0.5",
|
|
49
49
|
"tsup": "^8.5.0",
|
|
50
50
|
"typescript": "^5.9.2",
|
|
51
|
-
"tsconfig": "0.1.
|
|
51
|
+
"tsconfig": "0.1.151"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|