@liberfi.io/react-predict 0.1.67 → 0.1.68
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 { b9 as BuildClobAuthMessageInput, bn as BuildOrderMessageInput, b0 as CLOB_AUTH_DOMAIN, b1 as CLOB_AUTH_TYPES, ba as CTF_EXCHANGE_ADDRESS, bf as CTF_ORDER_TYPES, bm as ClobOrderPayload, aj as DFlowOrderContext, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, ad as EventSummary, b6 as HttpMethod, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, au as MatchGroupEntry, av as MatchGroupMarket, az as MatchMarketFlat, aw as MatchSortField, at as MatchStatus, ax as MatchesStats, bb as NEG_RISK_CTF_EXCHANGE_ADDRESS, bg as ORDER_TYPE, bo as OrderMessage, ai as OrderSide, ah as OrderStatus, ab as OrderbookLevel, bd as POLYGON_CHAIN_ID, b8 as PolymarketL2Headers, b7 as PolymarketL2HeadersInput, ak as PolymarketOrderType, aM as PolymarketRedeemInput, aK as PolymarketRedeemPrepareInput, aL as PolymarketRedeemPrepareResponse, ar as PolymarketWithdrawPrepareRequest, as as PolymarketWithdrawPrepareResponse, ag as PredictPosition, a6 as PredictTag, a4 as PredictWsClientConfig, af as PricePoint, a5 as ProviderMeta, aT as ResolveEventsParamsInput, bh as SIDE, a7 as SettlementSource, bp as SignedOrder, aU as TagSlugSelection, ac as TradeType, bc as USDC_ADDRESS, aq as UnsignedTx, aA as WsChannel, aB as WsChannelEvent, aC as WsClientMessage, aI as WsErrorCode, aJ as WsErrorMessage, aE as WsPingMessage, aG as WsPongMessage, aF as WsServerMessage, aD as WsSubscribeMessage, aH as WsSubscribedMessage, b2 as buildClobAuthMessage, bk as buildClobPayload, be as buildCtfExchangeDomain, bi as buildOrderMessage, b4 as buildPolymarketL2Headers, bj as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b5 as derivePolymarketApiKey, aN as eventQueryKey, aO as fetchEvent, aS as fetchEventsPage, aW as fetchMarket, a$ as fetchMatchMarketsPage, aZ as fetchMatchesPage, bl as getPolymarketSharesPrecision, b3 as hmacSha256Base64, aR as infiniteEventsQueryKey, aV as marketQueryKey, a_ as matchMarketsQueryKey, aY as matchQueryKey, aX as matchesQueryKey, aQ as resolveEventsParams, aP 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-HRO1ViL3.mjs';
|
|
2
|
+
export { b9 as BuildClobAuthMessageInput, bn as BuildOrderMessageInput, b0 as CLOB_AUTH_DOMAIN, b1 as CLOB_AUTH_TYPES, ba as CTF_EXCHANGE_ADDRESS, bf as CTF_ORDER_TYPES, bm as ClobOrderPayload, aj as DFlowOrderContext, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, ad as EventSummary, b6 as HttpMethod, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, au as MatchGroupEntry, av as MatchGroupMarket, az as MatchMarketFlat, aw as MatchSortField, at as MatchStatus, ax as MatchesStats, bb as NEG_RISK_CTF_EXCHANGE_ADDRESS, bg as ORDER_TYPE, bo as OrderMessage, ai as OrderSide, ah as OrderStatus, ab as OrderbookLevel, bd as POLYGON_CHAIN_ID, b8 as PolymarketL2Headers, b7 as PolymarketL2HeadersInput, ak as PolymarketOrderType, aM as PolymarketRedeemInput, aK as PolymarketRedeemPrepareInput, aL as PolymarketRedeemPrepareResponse, ar as PolymarketWithdrawPrepareRequest, as as PolymarketWithdrawPrepareResponse, ag as PredictPosition, a6 as PredictTag, a4 as PredictWsClientConfig, af as PricePoint, a5 as ProviderMeta, aT as ResolveEventsParamsInput, bh as SIDE, a7 as SettlementSource, bp as SignedOrder, aU as TagSlugSelection, ac as TradeType, bc as USDC_ADDRESS, aq as UnsignedTx, aA as WsChannel, aB as WsChannelEvent, aC as WsClientMessage, aI as WsErrorCode, aJ as WsErrorMessage, aE as WsPingMessage, aG as WsPongMessage, aF as WsServerMessage, aD as WsSubscribeMessage, aH as WsSubscribedMessage, b2 as buildClobAuthMessage, bk as buildClobPayload, be as buildCtfExchangeDomain, bi as buildOrderMessage, b4 as buildPolymarketL2Headers, bj as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b5 as derivePolymarketApiKey, aN as eventQueryKey, aO as fetchEvent, aS as fetchEventsPage, aW as fetchMarket, a$ as fetchMatchMarketsPage, aZ as fetchMatchesPage, bl as getPolymarketSharesPrecision, b3 as hmacSha256Base64, aR as infiniteEventsQueryKey, aV as marketQueryKey, a_ as matchMarketsQueryKey, aY as matchQueryKey, aX as matchesQueryKey, aQ as resolveEventsParams, aP as resolveTagSlug } from './server-HRO1ViL3.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 { b9 as BuildClobAuthMessageInput, bn as BuildOrderMessageInput, b0 as CLOB_AUTH_DOMAIN, b1 as CLOB_AUTH_TYPES, ba as CTF_EXCHANGE_ADDRESS, bf as CTF_ORDER_TYPES, bm as ClobOrderPayload, aj as DFlowOrderContext, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, ad as EventSummary, b6 as HttpMethod, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, au as MatchGroupEntry, av as MatchGroupMarket, az as MatchMarketFlat, aw as MatchSortField, at as MatchStatus, ax as MatchesStats, bb as NEG_RISK_CTF_EXCHANGE_ADDRESS, bg as ORDER_TYPE, bo as OrderMessage, ai as OrderSide, ah as OrderStatus, ab as OrderbookLevel, bd as POLYGON_CHAIN_ID, b8 as PolymarketL2Headers, b7 as PolymarketL2HeadersInput, ak as PolymarketOrderType, aM as PolymarketRedeemInput, aK as PolymarketRedeemPrepareInput, aL as PolymarketRedeemPrepareResponse, ar as PolymarketWithdrawPrepareRequest, as as PolymarketWithdrawPrepareResponse, ag as PredictPosition, a6 as PredictTag, a4 as PredictWsClientConfig, af as PricePoint, a5 as ProviderMeta, aT as ResolveEventsParamsInput, bh as SIDE, a7 as SettlementSource, bp as SignedOrder, aU as TagSlugSelection, ac as TradeType, bc as USDC_ADDRESS, aq as UnsignedTx, aA as WsChannel, aB as WsChannelEvent, aC as WsClientMessage, aI as WsErrorCode, aJ as WsErrorMessage, aE as WsPingMessage, aG as WsPongMessage, aF as WsServerMessage, aD as WsSubscribeMessage, aH as WsSubscribedMessage, b2 as buildClobAuthMessage, bk as buildClobPayload, be as buildCtfExchangeDomain, bi as buildOrderMessage, b4 as buildPolymarketL2Headers, bj as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b5 as derivePolymarketApiKey, aN as eventQueryKey, aO as fetchEvent, aS as fetchEventsPage, aW as fetchMarket, a$ as fetchMatchMarketsPage, aZ as fetchMatchesPage, bl as getPolymarketSharesPrecision, b3 as hmacSha256Base64, aR as infiniteEventsQueryKey, aV as marketQueryKey, a_ as matchMarketsQueryKey, aY as matchQueryKey, aX as matchesQueryKey, aQ as resolveEventsParams, aP 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-HRO1ViL3.js';
|
|
2
|
+
export { b9 as BuildClobAuthMessageInput, bn as BuildOrderMessageInput, b0 as CLOB_AUTH_DOMAIN, b1 as CLOB_AUTH_TYPES, ba as CTF_EXCHANGE_ADDRESS, bf as CTF_ORDER_TYPES, bm as ClobOrderPayload, aj as DFlowOrderContext, al as DepositBuildRequest, am as DepositBuildResponse, ap as DepositStatusResponse, an as DepositSubmitRequest, ao as DepositSubmitResponse, ad as EventSummary, b6 as HttpMethod, aa as MarketOutcome, a9 as MarketResult, a8 as MarketStatus, ae as MarketSummary, ay as MatchConfidenceTier, au as MatchGroupEntry, av as MatchGroupMarket, az as MatchMarketFlat, aw as MatchSortField, at as MatchStatus, ax as MatchesStats, bb as NEG_RISK_CTF_EXCHANGE_ADDRESS, bg as ORDER_TYPE, bo as OrderMessage, ai as OrderSide, ah as OrderStatus, ab as OrderbookLevel, bd as POLYGON_CHAIN_ID, b8 as PolymarketL2Headers, b7 as PolymarketL2HeadersInput, ak as PolymarketOrderType, aM as PolymarketRedeemInput, aK as PolymarketRedeemPrepareInput, aL as PolymarketRedeemPrepareResponse, ar as PolymarketWithdrawPrepareRequest, as as PolymarketWithdrawPrepareResponse, ag as PredictPosition, a6 as PredictTag, a4 as PredictWsClientConfig, af as PricePoint, a5 as ProviderMeta, aT as ResolveEventsParamsInput, bh as SIDE, a7 as SettlementSource, bp as SignedOrder, aU as TagSlugSelection, ac as TradeType, bc as USDC_ADDRESS, aq as UnsignedTx, aA as WsChannel, aB as WsChannelEvent, aC as WsClientMessage, aI as WsErrorCode, aJ as WsErrorMessage, aE as WsPingMessage, aG as WsPongMessage, aF as WsServerMessage, aD as WsSubscribeMessage, aH as WsSubscribedMessage, b2 as buildClobAuthMessage, bk as buildClobPayload, be as buildCtfExchangeDomain, bi as buildOrderMessage, b4 as buildPolymarketL2Headers, bj as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b5 as derivePolymarketApiKey, aN as eventQueryKey, aO as fetchEvent, aS as fetchEventsPage, aW as fetchMarket, a$ as fetchMatchMarketsPage, aZ as fetchMatchesPage, bl as getPolymarketSharesPrecision, b3 as hmacSha256Base64, aR as infiniteEventsQueryKey, aV as marketQueryKey, a_ as matchMarketsQueryKey, aY as matchQueryKey, aX as matchesQueryKey, aQ as resolveEventsParams, aP as resolveTagSlug } from './server-HRO1ViL3.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';
|
|
@@ -286,6 +286,7 @@ interface MatchGroupMarket {
|
|
|
286
286
|
spread?: number;
|
|
287
287
|
spread_percent?: number;
|
|
288
288
|
arb_profit?: number;
|
|
289
|
+
reject_reason?: string;
|
|
289
290
|
}
|
|
290
291
|
/**
|
|
291
292
|
* A group of matched events across N providers referring to the same
|
|
@@ -358,6 +359,7 @@ interface MatchMarketFlat {
|
|
|
358
359
|
arb_profit?: number;
|
|
359
360
|
combined_volume?: number;
|
|
360
361
|
combined_volume_24h?: number;
|
|
362
|
+
reject_reason?: string;
|
|
361
363
|
}
|
|
362
364
|
/** Paginated result for flattened market pairs. */
|
|
363
365
|
interface MatchMarketPage {
|
|
@@ -286,6 +286,7 @@ interface MatchGroupMarket {
|
|
|
286
286
|
spread?: number;
|
|
287
287
|
spread_percent?: number;
|
|
288
288
|
arb_profit?: number;
|
|
289
|
+
reject_reason?: string;
|
|
289
290
|
}
|
|
290
291
|
/**
|
|
291
292
|
* A group of matched events across N providers referring to the same
|
|
@@ -358,6 +359,7 @@ interface MatchMarketFlat {
|
|
|
358
359
|
arb_profit?: number;
|
|
359
360
|
combined_volume?: number;
|
|
360
361
|
combined_volume_24h?: number;
|
|
362
|
+
reject_reason?: string;
|
|
361
363
|
}
|
|
362
364
|
/** Paginated result for flattened market pairs. */
|
|
363
365
|
interface MatchMarketPage {
|
package/dist/server.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { B as BalanceResponse, b9 as BuildClobAuthMessageInput, bn as BuildOrderMessageInput, b0 as CLOB_AUTH_DOMAIN, b1 as CLOB_AUTH_TYPES, ba as CTF_EXCHANGE_ADDRESS, bf as CTF_ORDER_TYPES, r as CancelOrderResult, C as Candlestick, bm as ClobOrderPayload, a1 as CreateOrderInput, bq 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, b6 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, az as MatchMarketFlat, v as MatchMarketPage, u as MatchMarketParams, aw as MatchSortField, at as MatchStatus, M as MatchesParams, ax as MatchesStats, bb as NEG_RISK_CTF_EXCHANGE_ADDRESS, bg as ORDER_TYPE, bo as OrderMessage, ai as OrderSide, ah as OrderStatus, O as Orderbook, ab as OrderbookLevel, bd as POLYGON_CHAIN_ID, b8 as PolymarketL2Headers, b7 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, aT as ResolveEventsParamsInput, bh as SIDE, a7 as SettlementSource, bp as SignedOrder, S as SimilarEventsParams, aU as TagSlugSelection, ac as TradeType, bc as USDC_ADDRESS, aq as UnsignedTx, aA as WsChannel, aB as WsChannelEvent, aC as WsClientMessage, Y as WsConnectionStatus, Z as WsDataMessage, aI as WsErrorCode, aJ as WsErrorMessage, $ as WsOrderbookEvent, aE as WsPingMessage, aG as WsPongMessage, _ as WsPriceEvent, aF as WsServerMessage, aD as WsSubscribeMessage, aH as WsSubscribedMessage, a0 as WsTradeEvent, b2 as buildClobAuthMessage, bk as buildClobPayload, be as buildCtfExchangeDomain, bi as buildOrderMessage, b4 as buildPolymarketL2Headers, bj as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b5 as derivePolymarketApiKey, aN as eventQueryKey, aO as fetchEvent, aS as fetchEventsPage, aW as fetchMarket, a$ as fetchMatchMarketsPage, aZ as fetchMatchesPage, b3 as hmacSha256Base64, aR as infiniteEventsQueryKey, aV as marketQueryKey, a_ as matchMarketsQueryKey, aY as matchQueryKey, aX as matchesQueryKey, aQ as resolveEventsParams, aP as resolveTagSlug } from './server-
|
|
1
|
+
export { B as BalanceResponse, b9 as BuildClobAuthMessageInput, bn as BuildOrderMessageInput, b0 as CLOB_AUTH_DOMAIN, b1 as CLOB_AUTH_TYPES, ba as CTF_EXCHANGE_ADDRESS, bf as CTF_ORDER_TYPES, r as CancelOrderResult, C as Candlestick, bm as ClobOrderPayload, a1 as CreateOrderInput, bq 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, b6 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, az as MatchMarketFlat, v as MatchMarketPage, u as MatchMarketParams, aw as MatchSortField, at as MatchStatus, M as MatchesParams, ax as MatchesStats, bb as NEG_RISK_CTF_EXCHANGE_ADDRESS, bg as ORDER_TYPE, bo as OrderMessage, ai as OrderSide, ah as OrderStatus, O as Orderbook, ab as OrderbookLevel, bd as POLYGON_CHAIN_ID, b8 as PolymarketL2Headers, b7 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, aT as ResolveEventsParamsInput, bh as SIDE, a7 as SettlementSource, bp as SignedOrder, S as SimilarEventsParams, aU as TagSlugSelection, ac as TradeType, bc as USDC_ADDRESS, aq as UnsignedTx, aA as WsChannel, aB as WsChannelEvent, aC as WsClientMessage, Y as WsConnectionStatus, Z as WsDataMessage, aI as WsErrorCode, aJ as WsErrorMessage, $ as WsOrderbookEvent, aE as WsPingMessage, aG as WsPongMessage, _ as WsPriceEvent, aF as WsServerMessage, aD as WsSubscribeMessage, aH as WsSubscribedMessage, a0 as WsTradeEvent, b2 as buildClobAuthMessage, bk as buildClobPayload, be as buildCtfExchangeDomain, bi as buildOrderMessage, b4 as buildPolymarketL2Headers, bj as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b5 as derivePolymarketApiKey, aN as eventQueryKey, aO as fetchEvent, aS as fetchEventsPage, aW as fetchMarket, a$ as fetchMatchMarketsPage, aZ as fetchMatchesPage, b3 as hmacSha256Base64, aR as infiniteEventsQueryKey, aV as marketQueryKey, a_ as matchMarketsQueryKey, aY as matchQueryKey, aX as matchesQueryKey, aQ as resolveEventsParams, aP as resolveTagSlug } from './server-HRO1ViL3.mjs';
|
package/dist/server.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { B as BalanceResponse, b9 as BuildClobAuthMessageInput, bn as BuildOrderMessageInput, b0 as CLOB_AUTH_DOMAIN, b1 as CLOB_AUTH_TYPES, ba as CTF_EXCHANGE_ADDRESS, bf as CTF_ORDER_TYPES, r as CancelOrderResult, C as Candlestick, bm as ClobOrderPayload, a1 as CreateOrderInput, bq 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, b6 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, az as MatchMarketFlat, v as MatchMarketPage, u as MatchMarketParams, aw as MatchSortField, at as MatchStatus, M as MatchesParams, ax as MatchesStats, bb as NEG_RISK_CTF_EXCHANGE_ADDRESS, bg as ORDER_TYPE, bo as OrderMessage, ai as OrderSide, ah as OrderStatus, O as Orderbook, ab as OrderbookLevel, bd as POLYGON_CHAIN_ID, b8 as PolymarketL2Headers, b7 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, aT as ResolveEventsParamsInput, bh as SIDE, a7 as SettlementSource, bp as SignedOrder, S as SimilarEventsParams, aU as TagSlugSelection, ac as TradeType, bc as USDC_ADDRESS, aq as UnsignedTx, aA as WsChannel, aB as WsChannelEvent, aC as WsClientMessage, Y as WsConnectionStatus, Z as WsDataMessage, aI as WsErrorCode, aJ as WsErrorMessage, $ as WsOrderbookEvent, aE as WsPingMessage, aG as WsPongMessage, _ as WsPriceEvent, aF as WsServerMessage, aD as WsSubscribeMessage, aH as WsSubscribedMessage, a0 as WsTradeEvent, b2 as buildClobAuthMessage, bk as buildClobPayload, be as buildCtfExchangeDomain, bi as buildOrderMessage, b4 as buildPolymarketL2Headers, bj as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b5 as derivePolymarketApiKey, aN as eventQueryKey, aO as fetchEvent, aS as fetchEventsPage, aW as fetchMarket, a$ as fetchMatchMarketsPage, aZ as fetchMatchesPage, b3 as hmacSha256Base64, aR as infiniteEventsQueryKey, aV as marketQueryKey, a_ as matchMarketsQueryKey, aY as matchQueryKey, aX as matchesQueryKey, aQ as resolveEventsParams, aP as resolveTagSlug } from './server-
|
|
1
|
+
export { B as BalanceResponse, b9 as BuildClobAuthMessageInput, bn as BuildOrderMessageInput, b0 as CLOB_AUTH_DOMAIN, b1 as CLOB_AUTH_TYPES, ba as CTF_EXCHANGE_ADDRESS, bf as CTF_ORDER_TYPES, r as CancelOrderResult, C as Candlestick, bm as ClobOrderPayload, a1 as CreateOrderInput, bq 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, b6 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, az as MatchMarketFlat, v as MatchMarketPage, u as MatchMarketParams, aw as MatchSortField, at as MatchStatus, M as MatchesParams, ax as MatchesStats, bb as NEG_RISK_CTF_EXCHANGE_ADDRESS, bg as ORDER_TYPE, bo as OrderMessage, ai as OrderSide, ah as OrderStatus, O as Orderbook, ab as OrderbookLevel, bd as POLYGON_CHAIN_ID, b8 as PolymarketL2Headers, b7 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, aT as ResolveEventsParamsInput, bh as SIDE, a7 as SettlementSource, bp as SignedOrder, S as SimilarEventsParams, aU as TagSlugSelection, ac as TradeType, bc as USDC_ADDRESS, aq as UnsignedTx, aA as WsChannel, aB as WsChannelEvent, aC as WsClientMessage, Y as WsConnectionStatus, Z as WsDataMessage, aI as WsErrorCode, aJ as WsErrorMessage, $ as WsOrderbookEvent, aE as WsPingMessage, aG as WsPongMessage, _ as WsPriceEvent, aF as WsServerMessage, aD as WsSubscribeMessage, aH as WsSubscribedMessage, a0 as WsTradeEvent, b2 as buildClobAuthMessage, bk as buildClobPayload, be as buildCtfExchangeDomain, bi as buildOrderMessage, b4 as buildPolymarketL2Headers, bj as buildSignedOrder, a2 as createPredictClient, a3 as createPredictWsClient, b5 as derivePolymarketApiKey, aN as eventQueryKey, aO as fetchEvent, aS as fetchEventsPage, aW as fetchMarket, a$ as fetchMatchMarketsPage, aZ as fetchMatchesPage, b3 as hmacSha256Base64, aR as infiniteEventsQueryKey, aV as marketQueryKey, a_ as matchMarketsQueryKey, aY as matchQueryKey, aX as matchesQueryKey, aQ as resolveEventsParams, aP as resolveTagSlug } from './server-HRO1ViL3.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liberfi.io/react-predict",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.68",
|
|
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.153"
|
|
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.144"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|