@polymarket/client 0.11.0 → 0.13.0
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/actions/index.d.ts +6 -6
- package/dist/actions/index.js +1 -1
- package/dist/chunk-6GBGW5CG.js +2 -0
- package/dist/chunk-6GBGW5CG.js.map +1 -0
- package/dist/chunk-MY66WYAN.js +3 -0
- package/dist/chunk-MY66WYAN.js.map +1 -0
- package/dist/chunk-VLNLVY4C.js +6 -0
- package/dist/chunk-VLNLVY4C.js.map +1 -0
- package/dist/ethers-v5.d.ts +2 -2
- package/dist/ethers-v5.js +1 -1
- package/dist/ethers-v5.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/node.js +1 -1
- package/dist/privy.js +1 -1
- package/dist/{sports-C7mI-H0Z.d.ts → sports-DxgyI41A.d.ts} +1 -1
- package/dist/{types-BE9qerqa.d.ts → types-BGxCI8uu.d.ts} +6435 -5405
- package/dist/viem.d.ts +2 -2
- package/dist/viem.js +1 -1
- package/dist/viem.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-HWJ7BEKG.js +0 -2
- package/dist/chunk-HWJ7BEKG.js.map +0 -1
- package/dist/chunk-IPPWXOOG.js +0 -6
- package/dist/chunk-IPPWXOOG.js.map +0 -1
- package/dist/chunk-WZQAMVAC.js +0 -3
- package/dist/chunk-WZQAMVAC.js.map +0 -1
package/dist/actions/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { c as AcceptComboQuoteError, d as AcceptComboQuoteParams, e as AcceptComboQuoteResult, h as ApproveErc1155ForAllError, i as ApproveErc20Error, j as ArmPerpsAutoCancelError, k as ArmPerpsAutoCancelRequest, l as AuthorizeSessionKeyError, m as AuthorizeSessionKeyRequest, n as AuthorizeSessionKeyResult, C as CancelAllError, s as CancelAllPerpsOrdersRequest, t as CancelMarketOrdersError, e4 as CancelMarketOrdersRequest, u as CancelOrderError, e5 as CancelOrderRequest, v as CancelOrdersError, e6 as CancelOrdersRequest, w as CancelPerpsOrderRequest, x as CancelPerpsOrdersRequest, e7 as CollateralReturnExecutionWorkflow, G as ComboPositionStatusFilter, H as ComboQuote, e8 as CommentsEventType, J as CommentsSubscription, M as CreatePerpsSessionRequest, O as CryptoPriceSubscription, P as CryptoPricesChainlinkTwapSubscription, e9 as CryptoPricesEventType, Q as CryptoPricesSubscription, R as CryptoTwapPriceSubscription, ea as DeployDepositWalletError, W as DepositToPerpsError, X as DepositToPerpsRequest, Y as DisarmPerpsAutoCancelRequest, _ as DownloadAccountingSnapshotError, eb as DownloadAccountingSnapshotRequest, $ as DropNotificationsError, ec as DropNotificationsRequest, a3 as EquityPriceSubscription, ed as EquityPricesEventType, a4 as EquityPricesSubscription, ee as Erc1155ApprovalForAllWorkflow, ef as Erc1155ApprovalForAllWorkflowRequest, a5 as Erc1155TradingApproval, eg as Erc20ApprovalWorkflow, eh as Erc20ApprovalWorkflowRequest, a6 as Erc20TradingApproval, ei as Erc20TransferWorkflow, ej as Erc20TransferWorkflowRequest, ek as EstimateMarketBuyPriceRequest, a7 as EstimateMarketPriceError, el as EstimateMarketPriceRequest, em as EstimateMarketSellPriceRequest, en as EventForSubscriptionSpec, eo as EventForSubscriptionSpecs, a8 as ExecuteCollateralReturnPlanError, a9 as ExecuteCollateralReturnPlanRequest, ep as FetchBalanceAllowanceError, eq as FetchBalanceAllowanceRequest, er as FetchBuilderFeeRatesError, es as FetchBuilderFeeRatesRequest, aa as FetchBuilderVolumeError, et as FetchBuilderVolumeRequest, ab as FetchClosedOnlyModeError, ac as FetchCommentsByIdError, eu as FetchCommentsByIdRequest, ad as FetchEventError, ae as FetchEventLiveVolumeError, ev as FetchEventLiveVolumeRequest, ew as FetchEventRequest, af as FetchEventTagsError, ex as FetchEventTagsRequest, ey as FetchExecuteParamsError, ez as FetchExecuteParamsRequest, eA as FetchGaslessTransactionRequest, ag as FetchLastTradePriceError, eB as FetchLastTradePriceRequest, ah as FetchLastTradePricesError, eC as FetchLastTradePricesRequest, ai as FetchMarketError, eD as FetchMarketInfoError, eE as FetchMarketInfoRequest, eF as FetchMarketRequest, aj as FetchMarketTagsError, eG as FetchMarketTagsRequest, ak as FetchMidpointError, eH as FetchMidpointRequest, al as FetchMidpointsError, eI as FetchMidpointsRequest, eJ as FetchNegRiskError, eK as FetchNegRiskRequest, am as FetchNotificationsError, an as FetchOpenInterestError, eL as FetchOpenInterestRequest, ao as FetchOrderBookError, eM as FetchOrderBookRequest, ap as FetchOrderBooksError, eN as FetchOrderBooksRequest, aq as FetchOrderError, eO as FetchOrderRequest, ar as FetchOrderScoringError, eP as FetchOrderScoringRequest, as as FetchOrdersScoringError, eQ as FetchOrdersScoringRequest, at as FetchPerpsAccountConfigRequest, au as FetchPerpsBookError, av as FetchPerpsBookRequest, aw as FetchPerpsFeesError, ax as FetchPerpsInstrumentsError, ay as FetchPerpsInstrumentsRequest, az as FetchPerpsOpenOrdersRequest, aA as FetchPerpsOrdersRequest, aB as FetchPerpsTickerError, aC as FetchPerpsTickerRequest, aD as FetchPerpsTickersError, aE as FetchPerpsTickersRequest, aF as FetchPortfolioValueError, eR as FetchPortfolioValueRequest, aG as FetchPriceError, eS as FetchPriceRequest, aH as FetchPricesError, eT as FetchPricesRequest, aI as FetchPublicProfileError, eU as FetchPublicProfileRequest, aJ as FetchRelatedTagResourcesError, eV as FetchRelatedTagResourcesRequest, aK as FetchRelatedTagsError, eW as FetchRelatedTagsRequest, eX as FetchResolutionsByConditionRequest, eY as FetchResolutionsByEventRequest, eZ as FetchResolutionsByQuestionRequest, aL as FetchResolutionsError, e_ as FetchResolutionsRequest, aM as FetchRewardPercentagesError, aN as FetchRfqStatusError, aO as FetchRfqStatusParams, aP as FetchSeriesError, e$ as FetchSeriesRequest, aQ as FetchSessionKeysError, aR as FetchSpreadError, f0 as FetchSpreadRequest, aS as FetchSpreadsError, f1 as FetchSpreadsRequest, aT as FetchTagError, f2 as FetchTagRequest, f3 as FetchTickSizeError, f4 as FetchTickSizeRequest, aU as FetchTotalEarningsForUserForDayError, f5 as FetchTotalEarningsForUserForDayRequest, aV as FetchTraderLeaderboardStandingError, f6 as FetchTraderLeaderboardStandingRequest, aW as FetchTradingApprovalsStateError, aX as FetchTradingApprovalsStateRequest, aY as FetchUserPnlError, f7 as FetchUserPnlRequest, aZ as FetchUserStatsError, f8 as FetchUserStatsRequest, a_ as FetchUserVolumeError, f9 as FetchUserVolumeRequest, fa as GaslessTransactionMetadataSchema, fb as GaslessWorkflow, fc as GaslessWorkflowRequest, fd as IsWalletDeployedError, fe as IsWalletDeployedRequest, b0 as ListAccountTradesError, ff as ListAccountTradesRequest, b1 as ListActivityError, fg as ListActivityRequest, b2 as ListBiggestWinnersError, fh as ListBiggestWinnersRequest, b3 as ListBuilderLeaderboardError, fi as ListBuilderLeaderboardRequest, b4 as ListBuilderTradesError, fj as ListBuilderTradesRequest, b5 as ListComboActivityError, fk as ListComboActivityRequest, b6 as ListComboMarketsError, fl as ListComboMarketsRequest, b7 as ListComboPositionsError, fm as ListComboPositionsRequest, b8 as ListCommentsByUserAddressError, fn as ListCommentsByUserAddressRequest, b9 as ListCommentsError, fo as ListCommentsRequest, ba as ListCurrentRewardsError, fp as ListCurrentRewardsRequest, bb as ListEventsError, fq as ListEventsRequest, fr as ListMarketClarificationsError, fs as ListMarketClarificationsRequest, bc as ListMarketHoldersError, ft as ListMarketHoldersRequest, bd as ListMarketRewardsError, fu as ListMarketRewardsRequest, be as ListMarketsError, fv as ListMarketsRequest, bf as ListOpenOrdersError, fw as ListOpenOrdersRequest, bg as ListPerpsCandlesError, bh as ListPerpsCandlesRequest, bi as ListPerpsDepositsRequest, bj as ListPerpsEquityHistoryRequest, bk as ListPerpsFillsRequest, bl as ListPerpsFundingHistoryError, bm as ListPerpsFundingHistoryRequest, bn as ListPerpsFundingPaymentsRequest, bo as ListPerpsNotificationsRequest, bp as ListPerpsPnlHistoryRequest, bq as ListPerpsTradesError, br as ListPerpsTradesRequest, bs as ListPerpsWithdrawalsRequest, bt as ListPositionsError, fx as ListPositionsRequest, bu as ListPriceHistoryError, fy as ListPriceHistoryRequest, bv as ListSeriesError, fz as ListSeriesRequest, bw as ListTagsError, fA as ListTagsRequest, bx as ListTeamsError, fB as ListTeamsRequest, by as ListTraderLeaderboardError, fC as ListTraderLeaderboardRequest, bz as ListTradesError, fD as ListTradesRequest, bA as ListUserEarningsAndMarketsConfigError, fE as ListUserEarningsAndMarketsConfigRequest, bB as ListUserEarningsForDayError, fF as ListUserEarningsForDayRequest, bC as MarkPerpsNotificationsReadRequest, fG as MarketEventType, fH as MarketSubscription, fI as MergeComboPositionError, fJ as MergeMarketPositionError, bD as MergePositionsError, fK as MergePositionsWorkflow, fL as MergePositionsWorkflowRequest, bE as OpenPerpsSessionError, bF as OpenPerpsSessionRequest, bG as OpenRfqSessionError, fM as OrderPostingWorkflow, bH as OrderSignature, fN as OrderWorkflow, fO as OrderWorkflowRequest, fP as PerpsBboSubscription, bM as PerpsBookDepth, fQ as PerpsBookSubscription, fR as PerpsCandlesSubscription, fS as PerpsDepositWorkflow, fT as PerpsDepositWorkflowRequest, fU as PerpsMarketDataEventType, fV as PerpsMarketDataSubscription, bO as PerpsOrderRequest, bP as PerpsPlaceFokOrderRequest, bQ as PerpsPlaceGtcOrderRequest, bR as PerpsPlaceIocOrderRequest, bS as PerpsPlacedTpSlOrder, bT as PerpsPlacedTpSlOrders, bU as PerpsPositionTpSlTrigger, bV as PerpsSession, bW as PerpsSessionAccountError, bX as PerpsSessionLifecycleError, bY as PerpsSessionTradingError, fW as PerpsStatisticsSubscription, fX as PerpsStreamingCandleInterval, fY as PerpsTickersSubscription, bZ as PerpsTpSlTrigger, fZ as PerpsTradesSubscription, b_ as PlacePerpsOrderRequest, b$ as PlacePerpsOrderResult, c0 as PlacePerpsOrderWithTpSlRequest, c1 as PlacePerpsOrderWithTpSlResult, c2 as PlacePerpsPositionTpSlRequest, c3 as PlacePerpsPositionTpSlResult, c4 as PlanCollateralReturnError, c5 as PostOrderError, c6 as PostOrdersError, f_ as PostOrdersRequest, c7 as PostPerpsOrdersRequest, f$ as PrepareCollateralReturnExecutionError, g0 as PrepareErc1155ApprovalForAllError, g1 as PrepareErc1155ApprovalForAllRequest, g2 as PrepareErc20ApprovalError, g3 as PrepareErc20ApprovalRequest, g4 as PrepareErc20TransferError, g5 as PrepareErc20TransferRequest, g6 as PrepareGaslessTransactionError, g7 as PrepareGaslessTransactionRequest, g8 as PrepareLimitOrderRequest, g9 as PrepareMarketBuyOrderRequest, ga as PrepareMarketOrderRequest, gb as PrepareMarketSellOrderRequest, gc as PrepareMergeComboPositionError, gd as PrepareMergeComboPositionRequest, ge as PrepareMergeMarketPositionError, gf as PrepareMergeMarketPositionRequest, gg as PrepareMergePositionsError, gh as PrepareMergePositionsRequest, gi as PreparePerpsDepositError, gj as PrepareRedeemComboPositionError, gk as PrepareRedeemComboPositionRequest, gl as PrepareRedeemMarketPositionsByConditionIdRequest, gm as PrepareRedeemMarketPositionsByMarketIdRequest, gn as PrepareRedeemMarketPositionsError, go as PrepareRedeemMarketPositionsRequest, gp as PrepareRedeemPositionRequest, gq as PrepareRedeemPositionsError, gr as PrepareRedeemPositionsRequest, gs as PrepareSplitComboPositionError, gt as PrepareSplitComboPositionRequest, gu as PrepareSplitMarketPositionError, gv as PrepareSplitMarketPositionRequest, gw as PrepareSplitPositionError, gx as PrepareSplitPositionRequest, gy as PrepareTradingApprovalsError, c8 as PriceSubscription, gz as PublicRealtimeEvent, gA as PublicRealtimeTopic, gB as PublicSubscriptionSpec, cm as RedeemPositionsError, gC as RedeemPositionsWorkflow, gD as RedeemPositionsWorkflowRequest, cn as RequestComboQuoteError, co as RequestComboQuoteParams, cp as RequestComboQuoteResult, gE as ResolveConditionByTokenError, gF as ResolveConditionByTokenRequest, ct as ResumePerpsSessionRequest, cu as RevokePerpsCredentialsError, cv as RevokePerpsCredentialsRequest, cw as RevokeSessionKeyError, cx as RevokeSessionKeyRequest, cy as RfqCancelQuoteAck, cz as RfqCancelQuoteError, cA as RfqCancelQuoteRejectedError, cB as RfqCancelQuoteRejectedErrorOptions, cC as RfqConfirmationAck, cD as RfqConfirmationError, cE as RfqConfirmationRejectedError, gG as RfqConfirmationRejectedErrorOptions, cF as RfqConfirmationRequestEvent, cG as RfqEvent, gH as RfqExecutionUpdateEvent, cH as RfqQuoteError, cI as RfqQuoteReference, cJ as RfqQuoteRejectedError, cK as RfqQuoteRejectedErrorOptions, cL as RfqQuoteRequestEvent, cM as RfqQuoteResponse, cN as RfqQuoteSource, cO as RfqRequestRejectedError, cP as RfqRequestRejectedErrorOptions, cQ as RfqSession, cR as RfqStatusResult, cS as RfqTradeEvent, cT as SearchError, gI as SearchRequest, gJ as SearchResults, cU as SearchSort, gK as SecureRealtimeEvent, gL as SecureRealtimeTopic, gM as SecureSubscriptionSpec, dd as SessionKey, dg as SetupTradingApprovalsError, dh as SignedOrder, gN as SplitComboPositionError, gO as SplitMarketPositionError, dl as SplitPositionError, gP as SplitPositionWorkflow, gQ as SplitPositionWorkflowRequest, gR as SportsEventType, gS as SportsSubscription, dm as SubscribeError, gT as SubscriptionHandle, dp as TradingApprovalRequirements, dq as TradingApprovalsState, gU as TradingApprovalsWorkflow, gV as TradingApprovalsWorkflowRequest, dv as TransferErc20Error, gW as UpdateBalanceAllowanceError, gX as UpdateBalanceAllowanceRequest, dA as UpdatePerpsLeverageError, dB as UpdatePerpsLeverageRequest, dC as UpdatePerpsMarginError, dD as UpdatePerpsMarginRequest, gY as UserEventType, gZ as UserSubscription, dE as WaitForComboFillError, dF as WaitForComboFillParams, dG as WaitForComboFillResult, g_ as WaitForGaslessTransactionError, dH as WaitForOrderFillSettlementError, g$ as WaitForOrderFillSettlementRequest, dN as WithdrawFromPerpsError, dO as WithdrawFromPerpsRequest, h0 as acceptComboQuote, h1 as approveErc1155ForAll, h2 as approveErc20, h3 as authorizeSessionKey, h4 as cancelAll, h5 as cancelMarketOrders, h6 as cancelOrder, h7 as cancelOrders, h8 as deployDepositWallet, h9 as depositToPerps, ha as downloadAccountingSnapshot, hb as dropNotifications, hc as estimateMarketPrice, hd as executeCollateralReturnPlan, he as fetchBalanceAllowance, hf as fetchBuilderFeeRates, hg as fetchBuilderVolume, hh as fetchClosedOnlyMode, hi as fetchCommentsById, hj as fetchEvent, hk as fetchEventLiveVolume, hl as fetchEventTags, hm as fetchExecuteParams, hn as fetchLastTradePrice, ho as fetchLastTradePrices, hp as fetchMarket, hq as fetchMarketInfo, hr as fetchMarketTags, hs as fetchMidpoint, ht as fetchMidpoints, hu as fetchNegRisk, hv as fetchNotifications, hw as fetchOpenInterest, hx as fetchOrder, hy as fetchOrderBook, hz as fetchOrderBooks, hA as fetchOrderScoring, hB as fetchOrdersScoring, hC as fetchPerpsBook, hD as fetchPerpsFees, hE as fetchPerpsInstruments, hF as fetchPerpsTicker, hG as fetchPerpsTickers, hH as fetchPortfolioValue, hI as fetchPrice, hJ as fetchPrices, hK as fetchPublicProfile, hL as fetchRelatedTagResources, hM as fetchRelatedTags, hN as fetchResolutions, hO as fetchRewardPercentages, hP as fetchRfqStatus, hQ as fetchSeries, hR as fetchSessionKeys, hS as fetchSpread, hT as fetchSpreads, hU as fetchTag, hV as fetchTickSize, hW as fetchTotalEarningsForUserForDay, hX as fetchTraderLeaderboardStanding, hY as fetchTradingApprovalsState, hZ as fetchTransaction, h_ as fetchUserPnl, h$ as fetchUserStats, i0 as fetchUserVolume, i1 as isWalletDeployed, i2 as listAccountTrades, i3 as listActivity, i4 as listBiggestWinners, i5 as listBuilderLeaderboard, i6 as listBuilderTrades, i7 as listComboActivity, i8 as listComboMarkets, i9 as listComboPositions, ia as listComments, ib as listCommentsByUserAddress, ic as listCurrentRewards, id as listEvents, ie as listMarketClarifications, ig as listMarketHolders, ih as listMarketRewards, ii as listMarkets, ij as listOpenOrders, ik as listPerpsCandles, il as listPerpsFundingHistory, im as listPerpsTrades, io as listPositions, ip as listPriceHistory, iq as listSeries, ir as listTags, is as listTeams, it as listTraderLeaderboard, iu as listTrades, iv as listUserEarningsAndMarketsConfig, iw as listUserEarningsForDay, ix as mergeComboPosition, iy as mergeMarketPosition, iz as mergePositions, iA as openPerpsSession, iB as openRfqSession, iC as planCollateralReturn, iD as postOrder, iE as postOrders, iF as prepareCollateralReturnExecution, iG as prepareErc1155ApprovalForAll, iH as prepareErc20Approval, iI as prepareErc20Transfer, iJ as prepareGaslessTransaction, iK as prepareMergeComboPosition, iL as prepareMergeMarketPosition, iM as prepareMergePositions, iN as preparePerpsDeposit, iO as prepareRedeemComboPosition, iP as prepareRedeemMarketPositions, iQ as prepareRedeemPosition, iR as prepareRedeemPositions, iS as prepareSplitComboPosition, iT as prepareSplitMarketPosition, iU as prepareSplitPosition, iV as prepareTradingApprovals, iW as redeemPositions, iX as requestComboQuote, iY as resolveConditionByToken, iZ as revokePerpsCredentials, i_ as revokeSessionKey, i$ as search, j0 as setupTradingApprovals, j1 as splitComboPosition, j2 as splitMarketPosition, j3 as splitPosition, j4 as subscribe, j5 as transferErc20, j6 as updateBalanceAllowance, j7 as waitForComboFill, j8 as waitForOrderFillSettlement, j9 as withdrawFromPerps } from '../types-BE9qerqa.js';
|
|
1
|
+
import { cX as RateLimitError, d3 as RequestRejectedError, ef as TransportError, ei as UnexpectedResponseError, e1 as SigningError, B as BaseClient, s as BaseSecureClient } from '../types-BGxCI8uu.js';
|
|
2
|
+
export { c as AcceptComboQuoteError, d as AcceptComboQuoteParams, e as AcceptComboQuoteResult, h as ApproveErc1155ForAllError, i as ApproveErc20Error, j as ApprovePerpsBuilderFeeError, k as ApprovePerpsBuilderFeeRequest, l as ArmPerpsAutoCancelError, m as ArmPerpsAutoCancelRequest, n as AuthorizeSessionKeyError, o as AuthorizeSessionKeyRequest, p as AuthorizeSessionKeyResult, C as CancelAllError, u as CancelAllPerpsOrdersRequest, v as CancelMarketOrdersError, eR as CancelMarketOrdersRequest, w as CancelOrderError, eS as CancelOrderRequest, x as CancelOrdersError, eT as CancelOrdersRequest, y as CancelPerpsChaseError, z as CancelPerpsChaseRequest, D as CancelPerpsOrderRequest, E as CancelPerpsOrdersRequest, F as CancelPerpsTwapError, G as CancelPerpsTwapRequest, eU as CollateralReturnExecutionWorkflow, M as ComboPositionStatusFilter, N as ComboQuote, eV as CommentsEventType, P as CommentsSubscription, V as CreatePerpsChaseError, W as CreatePerpsChaseRequest, X as CreatePerpsSessionRequest, Y as CreatePerpsTwapError, Z as CreatePerpsTwapRequest, $ as CryptoPriceSubscription, a0 as CryptoPricesChainlinkTwapSubscription, eW as CryptoPricesEventType, a1 as CryptoPricesSubscription, a2 as CryptoTwapPriceSubscription, eX as DeployDepositWalletError, a4 as DepositToPerpsError, a5 as DepositToPerpsRequest, a6 as DisarmPerpsAutoCancelRequest, a8 as DownloadAccountingSnapshotError, eY as DownloadAccountingSnapshotRequest, a9 as DropNotificationsError, eZ as DropNotificationsRequest, ad as EquityPriceSubscription, e_ as EquityPricesEventType, ae as EquityPricesSubscription, af as EquityTwapPriceSubscription, e$ as Erc1155ApprovalForAllWorkflow, f0 as Erc1155ApprovalForAllWorkflowRequest, ag as Erc1155TradingApproval, f1 as Erc20ApprovalWorkflow, f2 as Erc20ApprovalWorkflowRequest, ah as Erc20TradingApproval, f3 as Erc20TransferWorkflow, f4 as Erc20TransferWorkflowRequest, f5 as EstimateMarketBuyPriceRequest, ai as EstimateMarketPriceError, f6 as EstimateMarketPriceRequest, f7 as EstimateMarketSellPriceRequest, f8 as EventForSubscriptionSpec, f9 as EventForSubscriptionSpecs, aj as ExecuteCollateralReturnPlanError, ak as ExecuteCollateralReturnPlanRequest, fa as FetchBalanceAllowanceError, fb as FetchBalanceAllowanceRequest, fc as FetchBuilderFeeRatesError, fd as FetchBuilderFeeRatesRequest, al as FetchBuilderVolumeError, fe as FetchBuilderVolumeRequest, am as FetchClosedOnlyModeError, an as FetchCommentsByIdError, ff as FetchCommentsByIdRequest, ao as FetchEventError, ap as FetchEventLiveVolumeError, fg as FetchEventLiveVolumeRequest, fh as FetchEventRequest, aq as FetchEventTagsError, fi as FetchEventTagsRequest, fj as FetchExecuteParamsError, fk as FetchExecuteParamsRequest, fl as FetchGaslessTransactionRequest, ar as FetchLastTradePriceError, fm as FetchLastTradePriceRequest, as as FetchLastTradePricesError, fn as FetchLastTradePricesRequest, at as FetchMarketError, fo as FetchMarketInfoError, fp as FetchMarketInfoRequest, fq as FetchMarketRequest, au as FetchMarketTagsError, fr as FetchMarketTagsRequest, av as FetchMidpointError, fs as FetchMidpointRequest, aw as FetchMidpointsError, ft as FetchMidpointsRequest, fu as FetchNegRiskError, fv as FetchNegRiskRequest, ax as FetchNotificationsError, ay as FetchOpenInterestError, fw as FetchOpenInterestRequest, az as FetchOrderBookError, fx as FetchOrderBookRequest, aA as FetchOrderBooksError, fy as FetchOrderBooksRequest, aB as FetchOrderError, fz as FetchOrderRequest, aC as FetchOrderScoringError, fA as FetchOrderScoringRequest, aD as FetchOrdersScoringError, fB as FetchOrdersScoringRequest, aE as FetchPerpsAccountConfigRequest, aF as FetchPerpsBookError, aG as FetchPerpsBookRequest, aH as FetchPerpsBuilderApprovalsError, aI as FetchPerpsBuilderApprovalsRequest, aJ as FetchPerpsBuilderEarningsSummaryError, aK as FetchPerpsBuilderEarningsSummaryRequest, aL as FetchPerpsBuilderStatusError, aM as FetchPerpsBuilderStatusRequest, aN as FetchPerpsChasesError, aO as FetchPerpsFeesError, aP as FetchPerpsInstrumentsError, aQ as FetchPerpsInstrumentsRequest, aR as FetchPerpsOpenOrdersRequest, aS as FetchPerpsOrdersRequest, aT as FetchPerpsPositionSnapshotsError, aU as FetchPerpsPositionSnapshotsRequest, aV as FetchPerpsRegistrationError, aW as FetchPerpsRegistrationRequest, aX as FetchPerpsTickerError, aY as FetchPerpsTickerRequest, aZ as FetchPerpsTickersError, a_ as FetchPerpsTickersRequest, a$ as FetchPerpsTwapsError, b0 as FetchPortfolioValueError, fC as FetchPortfolioValueRequest, b1 as FetchPriceError, fD as FetchPriceRequest, b2 as FetchPricesError, fE as FetchPricesRequest, b3 as FetchPublicProfileError, fF as FetchPublicProfileRequest, b4 as FetchRelatedTagResourcesError, fG as FetchRelatedTagResourcesRequest, b5 as FetchRelatedTagsError, fH as FetchRelatedTagsRequest, fI as FetchResolutionsByConditionRequest, fJ as FetchResolutionsByEventRequest, fK as FetchResolutionsByQuestionRequest, b6 as FetchResolutionsError, fL as FetchResolutionsRequest, b7 as FetchRewardPercentagesError, b8 as FetchRfqStatusError, b9 as FetchRfqStatusParams, ba as FetchSeriesError, fM as FetchSeriesRequest, bb as FetchSessionKeysError, bc as FetchSpreadError, fN as FetchSpreadRequest, bd as FetchSpreadsError, fO as FetchSpreadsRequest, be as FetchTagError, fP as FetchTagRequest, fQ as FetchTickSizeError, fR as FetchTickSizeRequest, bf as FetchTotalEarningsForUserForDayError, fS as FetchTotalEarningsForUserForDayRequest, bg as FetchTraderLeaderboardStandingError, fT as FetchTraderLeaderboardStandingRequest, bh as FetchTradingApprovalsStateError, bi as FetchTradingApprovalsStateRequest, bj as FetchUserPnlError, fU as FetchUserPnlRequest, bk as FetchUserStatsError, fV as FetchUserStatsRequest, bl as FetchUserVolumeError, fW as FetchUserVolumeRequest, fX as GaslessTransactionMetadataSchema, fY as GaslessWorkflow, fZ as GaslessWorkflowRequest, f_ as IsWalletDeployedError, f$ as IsWalletDeployedRequest, bn as ListAccountTradesError, g0 as ListAccountTradesRequest, bo as ListActivityError, g1 as ListActivityRequest, bp as ListBiggestWinnersError, g2 as ListBiggestWinnersRequest, bq as ListBuilderLeaderboardError, g3 as ListBuilderLeaderboardRequest, br as ListBuilderTradesError, g4 as ListBuilderTradesRequest, bs as ListComboActivityError, g5 as ListComboActivityRequest, bt as ListComboMarketsError, g6 as ListComboMarketsRequest, bu as ListComboPositionsError, g7 as ListComboPositionsRequest, bv as ListCommentsByUserAddressError, g8 as ListCommentsByUserAddressRequest, bw as ListCommentsError, g9 as ListCommentsRequest, bx as ListCurrentRewardsError, ga as ListCurrentRewardsRequest, by as ListEventsError, gb as ListEventsRequest, gc as ListMarketClarificationsError, gd as ListMarketClarificationsRequest, bz as ListMarketHoldersError, ge as ListMarketHoldersRequest, bA as ListMarketRewardsError, gf as ListMarketRewardsRequest, bB as ListMarketsError, gg as ListMarketsRequest, bC as ListOpenOrdersError, gh as ListOpenOrdersRequest, bD as ListPerpsBuilderEarningsError, bE as ListPerpsBuilderEarningsRequest, bF as ListPerpsCandlesError, bG as ListPerpsCandlesRequest, bH as ListPerpsDepositsRequest, bI as ListPerpsEquityHistoryRequest, bJ as ListPerpsFillsRequest, bK as ListPerpsFundingHistoryError, bL as ListPerpsFundingHistoryRequest, bM as ListPerpsFundingPaymentsRequest, bN as ListPerpsInternalTransfersRequest, bO as ListPerpsNotificationsRequest, bP as ListPerpsPnlHistoryRequest, bQ as ListPerpsTradesError, bR as ListPerpsTradesRequest, bS as ListPerpsWithdrawalsRequest, bT as ListPositionsError, gi as ListPositionsRequest, bU as ListPriceHistoryError, gj as ListPriceHistoryRequest, bV as ListSeriesError, gk as ListSeriesRequest, bW as ListTagsError, gl as ListTagsRequest, bX as ListTeamsError, gm as ListTeamsRequest, bY as ListTraderLeaderboardError, gn as ListTraderLeaderboardRequest, bZ as ListTradesError, go as ListTradesRequest, b_ as ListUserEarningsAndMarketsConfigError, gp as ListUserEarningsAndMarketsConfigRequest, b$ as ListUserEarningsForDayError, gq as ListUserEarningsForDayRequest, c0 as MarkPerpsNotificationsReadRequest, gr as MarketEventType, gs as MarketSubscription, gt as MergeComboPositionError, gu as MergeMarketPositionError, c1 as MergePositionsError, gv as MergePositionsWorkflow, gw as MergePositionsWorkflowRequest, c2 as OpenPerpsSessionError, c3 as OpenPerpsSessionRequest, c4 as OpenRfqSessionError, gx as OrderPostingWorkflow, c6 as OrderSignature, gy as OrderWorkflow, gz as OrderWorkflowRequest, cb as PausePerpsTwapError, cc as PausePerpsTwapRequest, gA as PerpsBboSubscription, ce as PerpsBookDepth, gB as PerpsBookSubscription, cf as PerpsBuilderTermsInput, cg as PerpsCancelOptions, cj as PerpsCancelRetryOptions, gC as PerpsCandlesSubscription, gD as PerpsDepositWorkflow, gE as PerpsDepositWorkflowRequest, gF as PerpsMarketDataEventType, gG as PerpsMarketDataSubscription, cl as PerpsOrderRequest, cm as PerpsPlaceFokOrderRequest, cn as PerpsPlaceGtcOrderRequest, co as PerpsPlaceGtdOrderRequest, cp as PerpsPlaceIocOrderRequest, cq as PerpsPlacedTpSlOrder, cr as PerpsPlacedTpSlOrders, cs as PerpsPositionSnapshotFill, ct as PerpsPositionSnapshotSelection, cu as PerpsPositionTpSlTrigger, cv as PerpsPositionTrailingStop, cw as PerpsSession, cx as PerpsSessionAccountError, cy as PerpsSessionLifecycleError, cz as PerpsSessionTradingError, gH as PerpsStatisticsSubscription, gI as PerpsStreamingCandleInterval, gJ as PerpsTickersSubscription, cA as PerpsTpSlTrigger, gK as PerpsTradesSubscription, cB as PerpsTrailingStop, cC as PlacePerpsOrderRequest, cD as PlacePerpsOrderResult, cE as PlacePerpsOrderWithTpSlRequest, cF as PlacePerpsOrderWithTpSlResult, cG as PlacePerpsPositionTpSlRequest, cH as PlacePerpsPositionTpSlResult, cI as PlanCollateralReturnError, cJ as PostOrderError, cK as PostOrdersError, gL as PostOrdersRequest, cL as PostPerpsOrdersRequest, gM as PrepareCollateralReturnExecutionError, gN as PrepareErc1155ApprovalForAllError, gO as PrepareErc1155ApprovalForAllRequest, gP as PrepareErc20ApprovalError, gQ as PrepareErc20ApprovalRequest, gR as PrepareErc20TransferError, gS as PrepareErc20TransferRequest, gT as PrepareGaslessTransactionError, gU as PrepareGaslessTransactionRequest, gV as PrepareLimitOrderRequest, gW as PrepareMarketBuyOrderRequest, gX as PrepareMarketOrderRequest, gY as PrepareMarketSellOrderRequest, gZ as PrepareMergeComboPositionError, g_ as PrepareMergeComboPositionRequest, g$ as PrepareMergeMarketPositionError, h0 as PrepareMergeMarketPositionRequest, h1 as PrepareMergePositionsError, h2 as PrepareMergePositionsRequest, h3 as PreparePerpsDepositError, h4 as PrepareRedeemComboPositionError, h5 as PrepareRedeemComboPositionRequest, h6 as PrepareRedeemMarketPositionsByConditionIdRequest, h7 as PrepareRedeemMarketPositionsByMarketIdRequest, h8 as PrepareRedeemMarketPositionsError, h9 as PrepareRedeemMarketPositionsRequest, ha as PrepareRedeemPositionRequest, hb as PrepareRedeemPositionsError, hc as PrepareRedeemPositionsRequest, hd as PrepareSplitComboPositionError, he as PrepareSplitComboPositionRequest, hf as PrepareSplitMarketPositionError, hg as PrepareSplitMarketPositionRequest, hh as PrepareSplitPositionError, hi as PrepareSplitPositionRequest, hj as PrepareTradingApprovalsError, cM as PriceSubscription, cN as PriceSubscriptionConfirmation, hk as PublicRealtimeEvent, hl as PublicRealtimeTopic, hm as PublicSubscriptionSpec, c$ as RedeemPositionsError, hn as RedeemPositionsWorkflow, ho as RedeemPositionsWorkflowRequest, d0 as RequestComboQuoteError, d1 as RequestComboQuoteParams, d2 as RequestComboQuoteResult, hp as ResolveConditionByTokenError, hq as ResolveConditionByTokenRequest, d6 as ResumePerpsSessionRequest, d7 as ResumePerpsTwapError, d8 as ResumePerpsTwapRequest, d9 as RevokePerpsBuilderFeeError, da as RevokePerpsCredentialsError, db as RevokePerpsCredentialsRequest, dc as RevokeSessionKeyError, dd as RevokeSessionKeyRequest, de as RfqCancelQuoteAck, df as RfqCancelQuoteError, dg as RfqCancelQuoteRejectedError, dh as RfqCancelQuoteRejectedErrorOptions, di as RfqConfirmationAck, dj as RfqConfirmationError, dk as RfqConfirmationRejectedError, hr as RfqConfirmationRejectedErrorOptions, dl as RfqConfirmationRequestEvent, dm as RfqEvent, hs as RfqExecutionUpdateEvent, dn as RfqQuoteError, dp as RfqQuoteReference, dq as RfqQuoteRejectedError, dr as RfqQuoteRejectedErrorOptions, ds as RfqQuoteRequestEvent, dt as RfqQuoteResponse, du as RfqQuoteSource, dv as RfqRequestRejectedError, dw as RfqRequestRejectedErrorOptions, dx as RfqSession, dy as RfqStatusResult, dz as RfqTradeEvent, dA as SearchError, ht as SearchRequest, hu as SearchResults, dB as SearchSort, hv as SecureRealtimeEvent, hw as SecureRealtimeTopic, hx as SecureSubscriptionSpec, dW as SessionKey, dZ as SetupTradingApprovalsError, d_ as SignedOrder, hy as SplitComboPositionError, hz as SplitMarketPositionError, e2 as SplitPositionError, hA as SplitPositionWorkflow, hB as SplitPositionWorkflowRequest, hC as SportsEventType, hD as SportsSubscription, e3 as SubscribeError, e4 as SubscriptionHandle, e6 as TradingApprovalRequirements, e7 as TradingApprovalsState, hE as TradingApprovalsWorkflow, hF as TradingApprovalsWorkflowRequest, ec as TransferErc20Error, ed as TransferPerpsCollateralError, ee as TransferPerpsCollateralRequest, hG as UpdateBalanceAllowanceError, hH as UpdateBalanceAllowanceRequest, ej as UpdatePerpsLeverageError, ek as UpdatePerpsLeverageRequest, el as UpdatePerpsLeveragesError, em as UpdatePerpsLeveragesRequest, en as UpdatePerpsMarginError, eo as UpdatePerpsMarginRequest, hI as UserEventType, hJ as UserSubscription, ep as WaitForComboFillError, eq as WaitForComboFillParams, er as WaitForComboFillResult, hK as WaitForGaslessTransactionError, es as WaitForOrderFillSettlementError, hL as WaitForOrderFillSettlementRequest, ey as WithdrawFromPerpsError, ez as WithdrawFromPerpsRequest, hM as acceptComboQuote, hN as approveErc1155ForAll, hO as approveErc20, hP as authorizeSessionKey, hQ as cancelAll, hR as cancelMarketOrders, hS as cancelOrder, hT as cancelOrders, hU as deployDepositWallet, hV as depositToPerps, hW as downloadAccountingSnapshot, hX as dropNotifications, hY as estimateMarketPrice, hZ as executeCollateralReturnPlan, h_ as fetchBalanceAllowance, h$ as fetchBuilderFeeRates, i0 as fetchBuilderVolume, i1 as fetchClosedOnlyMode, i2 as fetchCommentsById, i3 as fetchEvent, i4 as fetchEventLiveVolume, i5 as fetchEventTags, i6 as fetchExecuteParams, i7 as fetchLastTradePrice, i8 as fetchLastTradePrices, i9 as fetchMarket, ia as fetchMarketInfo, ib as fetchMarketTags, ic as fetchMidpoint, id as fetchMidpoints, ie as fetchNegRisk, ig as fetchNotifications, ih as fetchOpenInterest, ii as fetchOrder, ij as fetchOrderBook, ik as fetchOrderBooks, il as fetchOrderScoring, im as fetchOrdersScoring, io as fetchPerpsBook, ip as fetchPerpsBuilderStatus, iq as fetchPerpsFees, ir as fetchPerpsInstruments, is as fetchPerpsPositionSnapshots, it as fetchPerpsRegistration, iu as fetchPerpsTicker, iv as fetchPerpsTickers, iw as fetchPortfolioValue, ix as fetchPrice, iy as fetchPrices, iz as fetchPublicProfile, iA as fetchRelatedTagResources, iB as fetchRelatedTags, iC as fetchResolutions, iD as fetchRewardPercentages, iE as fetchRfqStatus, iF as fetchSeries, iG as fetchSessionKeys, iH as fetchSpread, iI as fetchSpreads, iJ as fetchTag, iK as fetchTickSize, iL as fetchTotalEarningsForUserForDay, iM as fetchTraderLeaderboardStanding, iN as fetchTradingApprovalsState, iO as fetchTransaction, iP as fetchUserPnl, iQ as fetchUserStats, iR as fetchUserVolume, iS as isWalletDeployed, iT as listAccountTrades, iU as listActivity, iV as listBiggestWinners, iW as listBuilderLeaderboard, iX as listBuilderTrades, iY as listComboActivity, iZ as listComboMarkets, i_ as listComboPositions, i$ as listComments, j0 as listCommentsByUserAddress, j1 as listCurrentRewards, j2 as listEvents, j3 as listMarketClarifications, j4 as listMarketHolders, j5 as listMarketRewards, j6 as listMarkets, j7 as listOpenOrders, j8 as listPerpsCandles, j9 as listPerpsFundingHistory, ja as listPerpsTrades, jb as listPositions, jc as listPriceHistory, jd as listSeries, je as listTags, jf as listTeams, jg as listTraderLeaderboard, jh as listTrades, ji as listUserEarningsAndMarketsConfig, jj as listUserEarningsForDay, jk as mergeComboPosition, jl as mergeMarketPosition, jm as mergePositions, jn as openPerpsSession, jo as openRfqSession, jp as planCollateralReturn, jq as postOrder, jr as postOrders, js as prepareCollateralReturnExecution, jt as prepareErc1155ApprovalForAll, ju as prepareErc20Approval, jv as prepareErc20Transfer, jw as prepareGaslessTransaction, jx as prepareMergeComboPosition, jy as prepareMergeMarketPosition, jz as prepareMergePositions, jA as preparePerpsDeposit, jB as prepareRedeemComboPosition, jC as prepareRedeemMarketPositions, jD as prepareRedeemPosition, jE as prepareRedeemPositions, jF as prepareSplitComboPosition, jG as prepareSplitMarketPosition, jH as prepareSplitPosition, jI as prepareTradingApprovals, jJ as redeemPositions, jK as requestComboQuote, jL as resolveConditionByToken, jM as revokePerpsCredentials, jN as revokeSessionKey, jO as search, jP as setupTradingApprovals, jQ as splitComboPosition, jR as splitMarketPosition, jS as splitPosition, jT as subscribe, jU as transferErc20, jV as transferPerpsCollateral, jW as updateBalanceAllowance, jX as waitForComboFill, jY as waitForOrderFillSettlement, jZ as withdrawFromPerps } from '../types-BGxCI8uu.js';
|
|
3
3
|
import { ApiKey } from '@polymarket/bindings';
|
|
4
4
|
export { SessionSignerKnownScope as SessionKeyKnownScope, SessionSignerScope as SessionKeyScope } from '@polymarket/bindings';
|
|
5
5
|
import { ApiKeyCreds, BuilderApiKeyCreds, BuilderApiKey } from '@polymarket/bindings/clob';
|
|
6
6
|
import { EvmAddress, EvmSignature } from '@polymarket/types';
|
|
7
|
-
export { C as CreateLimitOrderError, a as CreateMarketOrderError, F as FetchSportsMarketTypesError, L as ListSportsError, P as PlaceLimitOrderError, b as PlaceMarketOrderError, c as PrepareLimitOrderError, d as PrepareLimitOrderPostingError, e as PrepareMarketOrderError, f as PrepareMarketOrderPostingError, g as createLimitOrder, h as createMarketOrder, i as fetchSportsMarketTypes, l as listSports, p as placeLimitOrder, j as placeMarketOrder, k as prepareLimitOrder, m as prepareLimitOrderPosting, n as prepareMarketOrder, o as prepareMarketOrderPosting } from '../sports-
|
|
8
|
-
export { BiggestWinnerKind, BuilderVolumeInterval, ComboActivityType, ComboPositionSortBy, ComboPositionStatus, LeaderboardWindow, PositionFilterType, PositionSortBy, PositionStatus, PriceHistoryInterval, ResolutionMarketType, ResolutionReporter, ResolutionSource, ResolutionStatus, SortDirection, TipSide, TradeFilterType, TraderLeaderboardSort, UserPnlFidelity, UserPnlInterval } from '@polymarket/bindings/data';
|
|
7
|
+
export { C as CreateLimitOrderError, a as CreateMarketOrderError, F as FetchSportsMarketTypesError, L as ListSportsError, P as PlaceLimitOrderError, b as PlaceMarketOrderError, c as PrepareLimitOrderError, d as PrepareLimitOrderPostingError, e as PrepareMarketOrderError, f as PrepareMarketOrderPostingError, g as createLimitOrder, h as createMarketOrder, i as fetchSportsMarketTypes, l as listSports, p as placeLimitOrder, j as placeMarketOrder, k as prepareLimitOrder, m as prepareLimitOrderPosting, n as prepareMarketOrder, o as prepareMarketOrderPosting } from '../sports-DxgyI41A.js';
|
|
8
|
+
export { BiggestWinnerKind, BuilderVolumeInterval, ComboActivityType, ComboPositionSortBy, ComboPositionStatus, LeaderboardWindow, PositionFilterType, PositionSortBy, PositionStatus, PriceHistoryInterval, ResolutionMarketType, ResolutionReporter, ResolutionSettlementTimeBasis, ResolutionSource, ResolutionStatus, SortDirection, TipSide, TradeFilterType, TraderLeaderboardSort, UserPnlFidelity, UserPnlInterval } from '@polymarket/bindings/data';
|
|
9
9
|
export { BuilderRfqError, CollateralReturnKnownOperationKind, CollateralReturnOperation, CollateralReturnOperationKind, CollateralReturnPlanResponse, CollateralReturnPositionAmount, CollateralReturnPositionSummary, CollateralReturnRouterCall, ComboAcceptFailureReason, ComboQuoteUnavailableReason, RfqConfirmationDecision, RfqConfirmationRequest, RfqDirection, RfqErrorCode, RfqExecutionStatus, RfqExecutionUpdate, RfqId, RfqKnownErrorCode, RfqQuoteId, RfqQuoteRequest, RfqRejectionCode, RfqRequestedSize, RfqRequestedSizeUnit, RfqRequestorPublicId, RfqSide, RfqStatus, RfqTrade } from '@polymarket/bindings/combos';
|
|
10
|
-
export { CommentsEvent, CryptoPriceEvent, CryptoPriceSnapshotEvent, CryptoPricesBinanceEvent, CryptoPricesChainlinkEvent, CryptoPricesChainlinkTwapEvent, CryptoPricesChainlinkTwapSixtyEvent, CryptoPricesChainlinkTwapThirtyEvent, CryptoPricesChainlinkTwapWindowSeconds, CryptoPricesEvent, CryptoTwapPriceEvent, CryptoTwapPriceSnapshotEvent, CustomMarketEvent, EquityPriceEvent, EquityPricesEvent, MarketEvent, PerpsBboEvent, PerpsBookEvent, PerpsCandleEvent, PerpsMarketDataEvent, PerpsSessionEvent, PerpsStatisticEvent, PerpsTickerEvent, PerpsTradeEvent, SportsEvent, StandardMarketEvent, UserEvent } from '@polymarket/bindings/subscriptions';
|
|
11
|
-
export { PerpsAutoCancelStatus, PerpsCancelOrderResult, PerpsPostOrderAck, PerpsUpdateLeverageResult } from '@polymarket/bindings/perps';
|
|
10
|
+
export { CommentsEvent, CryptoPriceEvent, CryptoPriceSnapshotEvent, CryptoPricesBinanceEvent, CryptoPricesChainlinkEvent, CryptoPricesChainlinkTwapEvent, CryptoPricesChainlinkTwapSixtyEvent, CryptoPricesChainlinkTwapThirtyEvent, CryptoPricesChainlinkTwapWindowSeconds, CryptoPricesEvent, CryptoTwapPriceEvent, CryptoTwapPriceSnapshotEvent, CustomMarketEvent, EquityPriceEvent, EquityPricesEvent, EquityTwapPriceEvent, EquityTwapPriceSnapshotEvent, KnownPriceSource, MarketEvent, PerpsBboEvent, PerpsBookEvent, PerpsBuilderFillUpdateEvent, PerpsCandleEvent, PerpsMarketDataEvent, PerpsSessionEvent, PerpsStatisticEvent, PerpsTickerEvent, PerpsTradeEvent, PriceProvider, PriceSource, SportsEvent, StandardMarketEvent, UserEvent } from '@polymarket/bindings/subscriptions';
|
|
11
|
+
export { PerpsAutoCancelStatus, PerpsCancelOrderResult, PerpsChase, PerpsChaseAccepted, PerpsChaseId, PerpsPostOrderAck, PerpsTwap, PerpsTwapAccepted, PerpsTwapId, PerpsTwapStatus, PerpsUpdateLeverageBatchResult, PerpsUpdateLeverageRejection, PerpsUpdateLeverageResult } from '@polymarket/bindings/perps';
|
|
12
12
|
import '@polymarket/bindings/gamma';
|
|
13
13
|
import '@polymarket/bindings/relayer';
|
|
14
14
|
import 'zod';
|
package/dist/actions/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Vf as AcceptComboQuoteError,$a as ApproveErc1155ForAllError,Xa as ApproveErc20Error,ee as ArmPerpsAutoCancelError,tg as AuthorizeSessionKeyError,Qc as BiggestWinnerKind,Rc as BuilderVolumeInterval,nd as CancelAllError,pd as CancelMarketOrdersError,jd as CancelOrderError,ld as CancelOrdersError,lc as CollateralReturnKnownOperationKind,$f as ComboAcceptFailureReason,va as ComboActivityType,We as ComboPositionSortBy,Xe as ComboPositionStatus,ag as ComboQuoteUnavailableReason,hb as CreateApiKeyError,rb as CreateBuilderApiKeyError,Ud as CreateLimitOrderError,Qd as CreateMarketOrderError,lb as CreateOrDeriveApiKeyError,pb as DeleteApiKeyError,Ia as DeployDepositWalletError,Be as DepositToPerpsError,jb as DeriveApiKeyError,Ue as DownloadAccountingSnapshotError,Z as DropNotificationsError,rd as EstimateMarketPriceError,jc as ExecuteCollateralReturnPlanError,nb as FetchApiKeysError,$ as FetchBalanceAllowanceError,tb as FetchBuilderApiKeysError,Lb as FetchBuilderFeeRatesError,Ic as FetchBuilderVolumeError,P as FetchClosedOnlyModeError,oc as FetchCommentsByIdError,uc as FetchEventError,Ac as FetchEventLiveVolumeError,wc as FetchEventTagsError,Da as FetchExecuteParamsError,Zb as FetchLastTradePriceError,$b as FetchLastTradePricesError,$c as FetchMarketError,Jb as FetchMarketInfoError,bd as FetchMarketTagsError,zb as FetchMidpointError,Bb as FetchMidpointsError,Fb as FetchNegRiskError,X as FetchNotificationsError,hd as FetchOpenInterestError,Rb as FetchOrderBookError,Tb as FetchOrderBooksError,T as FetchOrderError,da as FetchOrderScoringError,fa as FetchOrdersScoringError,oe as FetchPerpsBookError,we as FetchPerpsFeesError,ie as FetchPerpsInstrumentsError,ke as FetchPerpsTickerError,me as FetchPerpsTickersError,Me as FetchPortfolioValueError,Nb as FetchPriceError,Pb as FetchPricesError,If as FetchPublicProfileError,Jg as FetchRelatedTagResourcesError,Hg as FetchRelatedTagsError,yc as FetchResolutionsError,na as FetchRewardPercentagesError,Zf as FetchRfqStatusError,og as FetchSeriesError,rg as FetchSessionKeysError,zg as FetchSportsMarketTypesError,Vb as FetchSpreadError,Xb as FetchSpreadsError,Fg as FetchTagError,Db as FetchTickSizeError,ja as FetchTotalEarningsForUserForDayError,Mc as FetchTraderLeaderboardStandingError,cb as FetchTradingApprovalsStateError,Qe as FetchUserPnlError,Oe as FetchUserStatsError,Se as FetchUserVolumeError,Ua as GaslessTransactionHandle,Ha as GaslessTransactionMetadataSchema,Fa as IsWalletDeployedError,Sc as LeaderboardWindow,V as ListAccountTradesError,ra as ListActivityError,Oc as ListBiggestWinnersError,Gc as ListBuilderLeaderboardError,xb as ListBuilderTradesError,ta as ListComboActivityError,Zc as ListComboMarketsError,Ke as ListComboPositionsError,qc as ListCommentsByUserAddressError,mc as ListCommentsError,bc as ListCurrentRewardsError,sc as ListEventsError,Uc as ListMarketClarificationsError,dd as ListMarketHoldersError,dc as ListMarketRewardsError,Xc as ListMarketsError,R as ListOpenOrdersError,qe as ListPerpsCandlesError,se as ListPerpsFundingHistoryError,ue as ListPerpsTradesError,Ie as ListPositionsError,fd as ListPriceHistoryError,mg as ListSeriesError,xg as ListSportsError,Dg as ListTagsError,Lg as ListTeamsError,Kc as ListTraderLeaderboardError,pa as ListTradesError,la as ListUserEarningsAndMarketsConfigError,ha as ListUserEarningsForDayError,wf as MergeComboPositionError,uf as MergeMarketPositionError,tf as MergePositionsError,ye as OpenPerpsSessionError,Qf as OpenRfqSessionError,Wd as PlaceLimitOrderError,Sd as PlaceMarketOrderError,fc as PlanCollateralReturnError,Ye as PositionFilterType,Ze as PositionSortBy,_e as PositionStatus,vd as PostOrderError,wd as PostOrdersError,hc as PrepareCollateralReturnExecutionError,Za as PrepareErc1155ApprovalForAllError,Va as PrepareErc20ApprovalError,Ng as PrepareErc20TransferError,La as PrepareGaslessTransactionError,Id as PrepareLimitOrderError,Md as PrepareLimitOrderPostingError,Gd as PrepareMarketOrderError,Kd as PrepareMarketOrderPostingError,qf as PrepareMergeComboPositionError,of as PrepareMergeMarketPositionError,nf as PrepareMergePositionsError,Ae as PreparePerpsDepositError,Df as PrepareRedeemComboPositionError,Af as PrepareRedeemMarketPositionsError,zf as PrepareRedeemPositionsError,ef as PrepareSplitComboPositionError,cf as PrepareSplitMarketPositionError,bf as PrepareSplitPositionError,bb as PrepareTradingApprovalsError,Wc as PriceHistoryInterval,Gf as RedeemPositionsError,Tf as RequestComboQuoteError,Cc as ResolutionMarketType,Dc as ResolutionReporter,Ec as ResolutionSource,Fc as ResolutionStatus,Hb as ResolveConditionByTokenError,vb as RevokeBuilderApiKeyError,ze as RevokePerpsCredentialsError,vg as RevokeSessionKeyError,Nf as RfqCancelQuoteError,Mf as RfqCancelQuoteRejectedError,bg as RfqConfirmationDecision,Pf as RfqConfirmationError,Of as RfqConfirmationRejectedError,cg as RfqDirection,dg as RfqExecutionStatus,eg as RfqKnownErrorCode,Lf as RfqQuoteError,Kf as RfqQuoteRejectedError,fg as RfqRejectionCode,Sf as RfqRequestRejectedError,gg as RfqRequestedSizeUnit,hg as RfqSide,ig as RfqStatus,kg as SearchError,jg as SearchSort,qg as SessionKeyKnownScope,fb as SetupTradingApprovalsError,wa as SortDirection,kf as SplitComboPositionError,if as SplitMarketPositionError,hf as SplitPositionError,Bg as SubscribeError,xa as TipSide,ya as TradeFilterType,Tc as TraderLeaderboardSort,Pg as TransferErc20Error,ba as UpdateBalanceAllowanceError,fe as UpdatePerpsLeverageError,ge as UpdatePerpsMarginError,$e as UserPnlFidelity,af as UserPnlInterval,Xf as WaitForComboFillError,Ta as WaitForGaslessTransactionError,Od as WaitForOrderFillSettlementError,Ce as WithdrawFromPerpsError,Wf as acceptComboQuote,ab as approveErc1155ForAll,Ya as approveErc20,ug as authorizeSessionKey,Pa as buildDepositWalletExecuteRequest,Na as buildProxyWalletExecuteRequest,Ra as buildSafeWalletExecuteRequest,od as cancelAll,qd as cancelMarketOrders,kd as cancelOrder,md as cancelOrders,ib as createApiKey,sb as createBuilderApiKey,Vd as createLimitOrder,Rd as createMarketOrder,mb as createOrDeriveApiKey,qb as deleteApiKey,Ja as deployDepositWallet,Ge as depositToPerps,kb as deriveApiKey,Ve as downloadAccountingSnapshot,_ as dropNotifications,sd as estimateMarketPrice,kc as executeCollateralReturnPlan,Oa as extractOnChainNonceFromSubmitError,ob as fetchApiKeys,aa as fetchBalanceAllowance,ub as fetchBuilderApiKeys,Mb as fetchBuilderFeeRates,Jc as fetchBuilderVolume,Q as fetchClosedOnlyMode,pc as fetchCommentsById,vc as fetchEvent,Bc as fetchEventLiveVolume,xc as fetchEventTags,Ea as fetchExecuteParams,_b as fetchLastTradePrice,ac as fetchLastTradePrices,ad as fetchMarket,Kb as fetchMarketInfo,cd as fetchMarketTags,Ab as fetchMidpoint,Cb as fetchMidpoints,Gb as fetchNegRisk,Y as fetchNotifications,id as fetchOpenInterest,U as fetchOrder,Sb as fetchOrderBook,Ub as fetchOrderBooks,ea as fetchOrderScoring,ga as fetchOrdersScoring,pe as fetchPerpsBook,xe as fetchPerpsFees,je as fetchPerpsInstruments,le as fetchPerpsTicker,ne as fetchPerpsTickers,Ne as fetchPortfolioValue,Ob as fetchPrice,Qb as fetchPrices,Jf as fetchPublicProfile,Kg as fetchRelatedTagResources,Ig as fetchRelatedTags,zc as fetchResolutions,oa as fetchRewardPercentages,_f as fetchRfqStatus,pg as fetchSeries,sg as fetchSessionKeys,Ag as fetchSportsMarketTypes,Wb as fetchSpread,Yb as fetchSpreads,Gg as fetchTag,Eb as fetchTickSize,ka as fetchTotalEarningsForUserForDay,Nc as fetchTraderLeaderboardStanding,db as fetchTradingApprovalsState,Ka as fetchTransaction,Re as fetchUserPnl,Pe as fetchUserStats,Te as fetchUserVolume,Sa as isRetryableGaslessSubmitError,Ga as isWalletDeployed,W as listAccountTrades,sa as listActivity,Pc as listBiggestWinners,Hc as listBuilderLeaderboard,yb as listBuilderTrades,ua as listComboActivity,_c as listComboMarkets,Le as listComboPositions,nc as listComments,rc as listCommentsByUserAddress,cc as listCurrentRewards,tc as listEvents,Vc as listMarketClarifications,ed as listMarketHolders,ec as listMarketRewards,Yc as listMarkets,S as listOpenOrders,re as listPerpsCandles,te as listPerpsFundingHistory,ve as listPerpsTrades,Je as listPositions,gd as listPriceHistory,ng as listSeries,yg as listSports,Eg as listTags,Mg as listTeams,Lc as listTraderLeaderboard,qa as listTrades,ma as listUserEarningsAndMarketsConfig,ia as listUserEarningsForDay,xf as mergeComboPosition,vf as mergeMarketPosition,yf as mergePositions,De as openPerpsSession,Rf as openRfqSession,Xd as placeLimitOrder,Td as placeMarketOrder,gc as planCollateralReturn,xd as postOrder,yd as postOrders,ic as prepareCollateralReturnExecution,_a as prepareErc1155ApprovalForAll,Wa as prepareErc20Approval,Og as prepareErc20Transfer,Ma as prepareGaslessTransaction,Jd as prepareLimitOrder,Nd as prepareLimitOrderPosting,Hd as prepareMarketOrder,Ld as prepareMarketOrderPosting,rf as prepareMergeComboPosition,pf as prepareMergeMarketPosition,sf as prepareMergePositions,Fe as preparePerpsDeposit,Ef as prepareRedeemComboPosition,Bf as prepareRedeemMarketPositions,Cf as prepareRedeemPosition,Ff as prepareRedeemPositions,ff as prepareSplitComboPosition,df as prepareSplitMarketPosition,gf as prepareSplitPosition,eb as prepareTradingApprovals,Hf as redeemPositions,Uf as requestComboQuote,Qa as resignDepositWalletExecuteRequest,Ib as resolveConditionByToken,td as resolveEstimatedMarketPrice,ud as resolveMarketPriceFromOrderBook,wb as revokeBuilderApiKey,Ee as revokePerpsCredentials,wg as revokeSessionKey,lg as search,gb as setupTradingApprovals,Fd as signOrder,lf as splitComboPosition,jf as splitMarketPosition,mf as splitPosition,Cg as subscribe,Qg as transferErc20,ca as updateBalanceAllowance,Yf as waitForComboFill,Pd as waitForOrderFillSettlement,He as withdrawFromPerps}from'../chunk-WZQAMVAC.js';import'../chunk-IPPWXOOG.js';//# sourceMappingURL=index.js.map
|
|
1
|
+
export{rg as AcceptComboQuoteError,$a as ApproveErc1155ForAllError,Xa as ApproveErc20Error,$d as ApprovePerpsBuilderFeeError,qe as ArmPerpsAutoCancelError,Rg as AuthorizeSessionKeyError,Rc as BiggestWinnerKind,Sc as BuilderVolumeInterval,od as CancelAllError,qd as CancelMarketOrdersError,kd as CancelOrderError,md as CancelOrdersError,pe as CancelPerpsChaseError,ye as CancelPerpsTwapError,lc as CollateralReturnKnownOperationKind,xg as ComboAcceptFailureReason,va as ComboActivityType,sf as ComboPositionSortBy,tf as ComboPositionStatus,yg as ComboQuoteUnavailableReason,hb as CreateApiKeyError,rb as CreateBuilderApiKeyError,Vd as CreateLimitOrderError,Rd as CreateMarketOrderError,lb as CreateOrDeriveApiKeyError,ne as CreatePerpsChaseError,ue as CreatePerpsTwapError,pb as DeleteApiKeyError,Ia as DeployDepositWalletError,Ue as DepositToPerpsError,jb as DeriveApiKeyError,qf as DownloadAccountingSnapshotError,Z as DropNotificationsError,sd as EstimateMarketPriceError,jc as ExecuteCollateralReturnPlanError,nb as FetchApiKeysError,$ as FetchBalanceAllowanceError,tb as FetchBuilderApiKeysError,Lb as FetchBuilderFeeRatesError,Jc as FetchBuilderVolumeError,P as FetchClosedOnlyModeError,oc as FetchCommentsByIdError,uc as FetchEventError,Ac as FetchEventLiveVolumeError,wc as FetchEventTagsError,Da as FetchExecuteParamsError,Zb as FetchLastTradePriceError,$b as FetchLastTradePricesError,ad as FetchMarketError,Jb as FetchMarketInfoError,cd as FetchMarketTagsError,zb as FetchMidpointError,Bb as FetchMidpointsError,Fb as FetchNegRiskError,X as FetchNotificationsError,id as FetchOpenInterestError,Rb as FetchOrderBookError,Tb as FetchOrderBooksError,T as FetchOrderError,da as FetchOrderScoringError,fa as FetchOrdersScoringError,He as FetchPerpsBookError,ke as FetchPerpsBuilderApprovalsError,me as FetchPerpsBuilderEarningsSummaryError,Zd as FetchPerpsBuilderStatusError,oe as FetchPerpsChasesError,Pe as FetchPerpsFeesError,Be as FetchPerpsInstrumentsError,ae as FetchPerpsPositionSnapshotsError,cf as FetchPerpsRegistrationError,De as FetchPerpsTickerError,Fe as FetchPerpsTickersError,ve as FetchPerpsTwapsError,if as FetchPortfolioValueError,Nb as FetchPriceError,Pb as FetchPricesError,eg as FetchPublicProfileError,hh as FetchRelatedTagResourcesError,fh as FetchRelatedTagsError,yc as FetchResolutionsError,na as FetchRewardPercentagesError,vg as FetchRfqStatusError,Mg as FetchSeriesError,Pg as FetchSessionKeysError,Xg as FetchSportsMarketTypesError,Vb as FetchSpreadError,Xb as FetchSpreadsError,dh as FetchTagError,Db as FetchTickSizeError,ja as FetchTotalEarningsForUserForDayError,Nc as FetchTraderLeaderboardStandingError,cb as FetchTradingApprovalsStateError,mf as FetchUserPnlError,kf as FetchUserStatsError,of as FetchUserVolumeError,Ua as GaslessTransactionHandle,Ha as GaslessTransactionMetadataSchema,Fa as IsWalletDeployedError,$g as KnownPriceSource,Tc as LeaderboardWindow,V as ListAccountTradesError,ra as ListActivityError,Pc as ListBiggestWinnersError,Hc as ListBuilderLeaderboardError,xb as ListBuilderTradesError,ta as ListComboActivityError,_c as ListComboMarketsError,gf as ListComboPositionsError,qc as ListCommentsByUserAddressError,mc as ListCommentsError,bc as ListCurrentRewardsError,sc as ListEventsError,Vc as ListMarketClarificationsError,ed as ListMarketHoldersError,dc as ListMarketRewardsError,Yc as ListMarketsError,R as ListOpenOrdersError,le as ListPerpsBuilderEarningsError,Je as ListPerpsCandlesError,Le as ListPerpsFundingHistoryError,Ne as ListPerpsTradesError,ef as ListPositionsError,gd as ListPriceHistoryError,Kg as ListSeriesError,Vg as ListSportsError,bh as ListTagsError,jh as ListTeamsError,Lc as ListTraderLeaderboardError,pa as ListTradesError,la as ListUserEarningsAndMarketsConfigError,ha as ListUserEarningsForDayError,Uf as MergeComboPositionError,Sf as MergeMarketPositionError,Rf as MergePositionsError,Re as OpenPerpsSessionError,mg as OpenRfqSessionError,we as PausePerpsTwapError,bf as PerpsTwapStatus,Xd as PlaceLimitOrderError,Td as PlaceMarketOrderError,fc as PlanCollateralReturnError,uf as PositionFilterType,vf as PositionSortBy,wf as PositionStatus,wd as PostOrderError,xd as PostOrdersError,hc as PrepareCollateralReturnExecutionError,Za as PrepareErc1155ApprovalForAllError,Va as PrepareErc20ApprovalError,lh as PrepareErc20TransferError,La as PrepareGaslessTransactionError,Jd as PrepareLimitOrderError,Nd as PrepareLimitOrderPostingError,Hd as PrepareMarketOrderError,Ld as PrepareMarketOrderPostingError,Of as PrepareMergeComboPositionError,Mf as PrepareMergeMarketPositionError,Lf as PrepareMergePositionsError,Te as PreparePerpsDepositError,$f as PrepareRedeemComboPositionError,Yf as PrepareRedeemMarketPositionsError,Xf as PrepareRedeemPositionsError,Cf as PrepareSplitComboPositionError,Af as PrepareSplitMarketPositionError,zf as PrepareSplitPositionError,bb as PrepareTradingApprovalsError,Xc as PriceHistoryInterval,ah as PriceProvider,cg as RedeemPositionsError,pg as RequestComboQuoteError,Cc as ResolutionMarketType,Dc as ResolutionReporter,Ec as ResolutionSettlementTimeBasis,Fc as ResolutionSource,Gc as ResolutionStatus,Hb as ResolveConditionByTokenError,xe as ResumePerpsTwapError,vb as RevokeBuilderApiKeyError,ze as RevokePerpsBuilderFeeError,Se as RevokePerpsCredentialsError,Tg as RevokeSessionKeyError,jg as RfqCancelQuoteError,ig as RfqCancelQuoteRejectedError,zg as RfqConfirmationDecision,lg as RfqConfirmationError,kg as RfqConfirmationRejectedError,Ag as RfqDirection,Bg as RfqExecutionStatus,Cg as RfqKnownErrorCode,hg as RfqQuoteError,gg as RfqQuoteRejectedError,Dg as RfqRejectionCode,og as RfqRequestRejectedError,Eg as RfqRequestedSizeUnit,Fg as RfqSide,Gg as RfqStatus,Ig as SearchError,Hg as SearchSort,Og as SessionKeyKnownScope,fb as SetupTradingApprovalsError,wa as SortDirection,If as SplitComboPositionError,Gf as SplitMarketPositionError,Ff as SplitPositionError,Zg as SubscribeError,xa as TipSide,ya as TradeFilterType,Uc as TraderLeaderboardSort,nh as TransferErc20Error,We as TransferPerpsCollateralError,ba as UpdateBalanceAllowanceError,re as UpdatePerpsLeverageError,se as UpdatePerpsLeveragesError,te as UpdatePerpsMarginError,xf as UserPnlFidelity,yf as UserPnlInterval,tg as WaitForComboFillError,Ta as WaitForGaslessTransactionError,Pd as WaitForOrderFillSettlementError,Ve as WithdrawFromPerpsError,sg as acceptComboQuote,ab as approveErc1155ForAll,Ya as approveErc20,Sg as authorizeSessionKey,Pa as buildDepositWalletExecuteRequest,Na as buildProxyWalletExecuteRequest,Ra as buildSafeWalletExecuteRequest,pd as cancelAll,rd as cancelMarketOrders,ld as cancelOrder,nd as cancelOrders,ib as createApiKey,sb as createBuilderApiKey,Wd as createLimitOrder,Sd as createMarketOrder,mb as createOrDeriveApiKey,qb as deleteApiKey,Ja as deployDepositWallet,_e as depositToPerps,kb as deriveApiKey,rf as downloadAccountingSnapshot,_ as dropNotifications,td as estimateMarketPrice,kc as executeCollateralReturnPlan,Oa as extractOnChainNonceFromSubmitError,ob as fetchApiKeys,aa as fetchBalanceAllowance,ub as fetchBuilderApiKeys,Mb as fetchBuilderFeeRates,Kc as fetchBuilderVolume,Q as fetchClosedOnlyMode,pc as fetchCommentsById,vc as fetchEvent,Bc as fetchEventLiveVolume,xc as fetchEventTags,Ea as fetchExecuteParams,_b as fetchLastTradePrice,ac as fetchLastTradePrices,bd as fetchMarket,Kb as fetchMarketInfo,dd as fetchMarketTags,Ab as fetchMidpoint,Cb as fetchMidpoints,Gb as fetchNegRisk,Y as fetchNotifications,jd as fetchOpenInterest,U as fetchOrder,Sb as fetchOrderBook,Ub as fetchOrderBooks,ea as fetchOrderScoring,ga as fetchOrdersScoring,Ie as fetchPerpsBook,_d as fetchPerpsBuilderStatus,Qe as fetchPerpsFees,Ce as fetchPerpsInstruments,be as fetchPerpsPositionSnapshots,df as fetchPerpsRegistration,Ee as fetchPerpsTicker,Ge as fetchPerpsTickers,jf as fetchPortfolioValue,Ob as fetchPrice,Qb as fetchPrices,fg as fetchPublicProfile,ih as fetchRelatedTagResources,gh as fetchRelatedTags,zc as fetchResolutions,oa as fetchRewardPercentages,wg as fetchRfqStatus,Ng as fetchSeries,Qg as fetchSessionKeys,Yg as fetchSportsMarketTypes,Wb as fetchSpread,Yb as fetchSpreads,eh as fetchTag,Eb as fetchTickSize,ka as fetchTotalEarningsForUserForDay,Oc as fetchTraderLeaderboardStanding,db as fetchTradingApprovalsState,Ka as fetchTransaction,nf as fetchUserPnl,lf as fetchUserStats,pf as fetchUserVolume,Sa as isRetryableGaslessSubmitError,Ga as isWalletDeployed,W as listAccountTrades,sa as listActivity,Qc as listBiggestWinners,Ic as listBuilderLeaderboard,yb as listBuilderTrades,ua as listComboActivity,$c as listComboMarkets,hf as listComboPositions,nc as listComments,rc as listCommentsByUserAddress,cc as listCurrentRewards,tc as listEvents,Wc as listMarketClarifications,fd as listMarketHolders,ec as listMarketRewards,Zc as listMarkets,S as listOpenOrders,Ke as listPerpsCandles,Me as listPerpsFundingHistory,Oe as listPerpsTrades,ff as listPositions,hd as listPriceHistory,Lg as listSeries,Wg as listSports,ch as listTags,kh as listTeams,Mc as listTraderLeaderboard,qa as listTrades,ma as listUserEarningsAndMarketsConfig,ia as listUserEarningsForDay,Vf as mergeComboPosition,Tf as mergeMarketPosition,Wf as mergePositions,Xe as openPerpsSession,ng as openRfqSession,Yd as placeLimitOrder,Ud as placeMarketOrder,gc as planCollateralReturn,yd as postOrder,zd as postOrders,ic as prepareCollateralReturnExecution,_a as prepareErc1155ApprovalForAll,Wa as prepareErc20Approval,mh as prepareErc20Transfer,Ma as prepareGaslessTransaction,Kd as prepareLimitOrder,Od as prepareLimitOrderPosting,Id as prepareMarketOrder,Md as prepareMarketOrderPosting,Pf as prepareMergeComboPosition,Nf as prepareMergeMarketPosition,Qf as prepareMergePositions,Ze as preparePerpsDeposit,ag as prepareRedeemComboPosition,Zf as prepareRedeemMarketPositions,_f as prepareRedeemPosition,bg as prepareRedeemPositions,Df as prepareSplitComboPosition,Bf as prepareSplitMarketPosition,Ef as prepareSplitPosition,eb as prepareTradingApprovals,dg as redeemPositions,qg as requestComboQuote,Qa as resignDepositWalletExecuteRequest,Ib as resolveConditionByToken,ud as resolveEstimatedMarketPrice,vd as resolveMarketPriceFromOrderBook,wb as revokeBuilderApiKey,Ye as revokePerpsCredentials,Ug as revokeSessionKey,Jg as search,gb as setupTradingApprovals,Gd as signOrder,Jf as splitComboPosition,Hf as splitMarketPosition,Kf as splitPosition,_g as subscribe,oh as transferErc20,af as transferPerpsCollateral,ca as updateBalanceAllowance,ug as waitForComboFill,Qd as waitForOrderFillSettlement,$e as withdrawFromPerps}from'../chunk-MY66WYAN.js';import'../chunk-VLNLVY4C.js';//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import'@polymarket/bindings/subscriptions';import {PolymarketError}from'@polymarket/types';var n=class e extends PolymarketError{name="TransportError";constructor(r,t={}){super(r,t);}static fromError(r){return new e(r instanceof Error?r.message:"Request failed",{cause:r})}};var o=class extends PolymarketError{name="TimeoutError";constructor(r,t={}){super(r,t);}};var a=class extends PolymarketError{name="TransactionFailedError";constructor(r,t={}){super(r,t);}},i=class e extends PolymarketError{name="CancelledSigningError";constructor(r,t={}){super(r,t);}static fromError(r){return new e(r.message,{cause:r})}};var p=class e extends PolymarketError{name="SigningError";constructor(r,t={}){super(r,t);}static fromError(r,t){let c=t??(r instanceof Error?r.message:"Signing failed");return new e(c,{cause:r})}};export{n as a,o as b,a as c,i as d,p as e};//# sourceMappingURL=chunk-6GBGW5CG.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-6GBGW5CG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/errors.ts"],"names":["TransportError","_TransportError","PolymarketError","message","options","error","TimeoutError","TransactionFailedError","CancelledSigningError","_CancelledSigningError","SigningError","_SigningError","msg"],"mappings":"2FA6EO,IAAMA,CAAAA,CAAN,MAAMC,UAAuBC,eAAgB,CACzC,IAAA,CAAO,gBAAA,CAEhB,YAAYC,CAAAA,CAAiBC,CAAAA,CAAwB,EAAC,CAAG,CACvD,KAAA,CAAMD,CAAAA,CAASC,CAAO,EACxB,CAEA,OAAO,SAAA,CAAUC,CAAAA,CAAgC,CAC/C,OAAO,IAAIJ,CAAAA,CACTI,CAAAA,YAAiB,KAAA,CAAQA,EAAM,OAAA,CAAU,gBAAA,CACzC,CACE,KAAA,CAAOA,CACT,CACF,CACF,CACF,MAwKaC,CAAAA,CAAN,cAA2BJ,eAAgB,CACvC,KAAO,cAAA,CAEhB,WAAA,CAAYC,CAAAA,CAAiBC,CAAAA,CAAwB,EAAC,CAAG,CACvD,KAAA,CAAMD,CAAAA,CAASC,CAAO,EACxB,CACF,EAsBO,IAAMG,EAAN,cAAqCL,eAAgB,CACjD,IAAA,CAAO,yBAEhB,WAAA,CAAYC,CAAAA,CAAiBC,EAAwB,EAAC,CAAG,CACvD,KAAA,CAAMD,CAAAA,CAASC,CAAO,EACxB,CACF,CAAA,CAKaI,CAAAA,CAAN,MAAMC,CAAAA,SAA8BP,eAAgB,CAChD,IAAA,CAAO,uBAAA,CAEhB,WAAA,CAAYC,EAAiBC,CAAAA,CAAwB,EAAC,CAAG,CACvD,MAAMD,CAAAA,CAASC,CAAO,EACxB,CAEA,OAAO,SAAA,CAAUC,CAAAA,CAAqC,CACpD,OAAO,IAAII,CAAAA,CAAsBJ,CAAAA,CAAM,OAAA,CAAS,CAC9C,MAAOA,CACT,CAAC,CACH,CACF,EA0EO,IAAMK,CAAAA,CAAN,MAAMC,CAAAA,SAAqBT,eAAgB,CACvC,IAAA,CAAO,cAAA,CAEhB,WAAA,CAAYC,EAAiBC,CAAAA,CAAwB,EAAC,CAAG,CACvD,MAAMD,CAAAA,CAASC,CAAO,EACxB,CAEA,OAAO,SAAA,CAAUC,CAAAA,CAAgBF,CAAAA,CAAgC,CAC/D,IAAMS,CAAAA,CACJT,CAAAA,GAAYE,CAAAA,YAAiB,KAAA,CAAQA,EAAM,OAAA,CAAU,gBAAA,CAAA,CACvD,OAAO,IAAIM,EAAaC,CAAAA,CAAK,CAAE,MAAOP,CAAM,CAAC,CAC/C,CACF","file":"chunk-6GBGW5CG.js","sourcesContent":["import type { PerpsCancelOrderResult } from '@polymarket/bindings/perps';\n\nexport {\n type RealtimeErrorCode,\n RealtimeKnownErrorCode,\n} from '@polymarket/bindings/subscriptions';\n\nimport { PolymarketError } from '@polymarket/types';\nimport type { ZodError } from 'zod';\nimport type { RateLimitUpdate } from './rate-limit';\nimport {\n formatInputZodError,\n formatResponseZodError,\n type ResponseValidationContext,\n} from './validation';\n\n/**\n * Error thrown when an action input fails SDK validation before a request is\n * sent.\n */\nexport class UserInputError extends PolymarketError {\n override name = 'UserInputError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n\n static fromZodError(error: ZodError): UserInputError {\n return new UserInputError(formatInputZodError(error), {\n cause: error,\n });\n }\n}\n\n/**\n * Error thrown when pagination would pass the deepest page the service serves\n * for a list.\n *\n * Some list endpoints cap how far an offset-paginated read may go and reject\n * requests past the cap. The SDK throws this before sending such a request;\n * the pages already returned stay valid, but whether more items exist past\n * the cap cannot be established. Automatic iteration stops normally on a page\n * with `limitReached: true`; explicitly resuming past the cap still throws.\n */\nexport class PaginationLimitError extends PolymarketError {\n override name = 'PaginationLimitError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n}\n\n/**\n * Error thrown when a service response does not match the action's expected\n * response shape.\n */\nexport class UnexpectedResponseError extends PolymarketError {\n override name = 'UnexpectedResponseError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n\n static fromZodError(\n error: ZodError,\n context: ResponseValidationContext,\n ): UnexpectedResponseError {\n return new UnexpectedResponseError(formatResponseZodError(error, context), {\n cause: error,\n });\n }\n}\n\n/**\n * Error thrown when the SDK cannot complete a request because of a network or\n * runtime transport failure.\n */\nexport class TransportError extends PolymarketError {\n override name = 'TransportError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n\n static fromError(error: unknown): TransportError {\n return new TransportError(\n error instanceof Error ? error.message : 'Request failed',\n {\n cause: error,\n },\n );\n }\n}\n\n/**\n * WebSocket close codes defined by RFC 6455 and the IANA WebSocket Close Code\n * Number registry. Codes 4000-4999 are reserved for application use and are\n * intentionally not modeled here.\n */\nexport enum WebSocketKnownCloseCode {\n NormalClosure = 1000,\n GoingAway = 1001,\n ProtocolError = 1002,\n UnsupportedData = 1003,\n /** Synthesized locally when the peer closed without a status code. */\n NoStatusReceived = 1005,\n /** Synthesized locally when the connection dropped without a close frame. */\n AbnormalClosure = 1006,\n InvalidFramePayload = 1007,\n PolicyViolation = 1008,\n MessageTooBig = 1009,\n InternalError = 1011,\n ServiceRestart = 1012,\n TryAgainLater = 1013,\n}\n\n/**\n * A WebSocket close code. Codes enumerated in\n * {@link WebSocketKnownCloseCode} are defined by RFC 6455; other values, such\n * as application-defined 4000-4999 codes, flow through as plain numbers.\n */\nexport type WebSocketCloseCode = WebSocketKnownCloseCode | (number & {});\n\nexport type ConnectionLostErrorOptions = {\n /** WebSocket close code reported for the lost connection. */\n code: WebSocketCloseCode;\n /** Close reason provided by the peer. Empty when none was sent. */\n reason: string;\n};\n\n/**\n * Error thrown when a live connection ends without the SDK requesting it.\n */\nexport class ConnectionLostError extends PolymarketError {\n override name = 'ConnectionLostError' as const;\n\n readonly code: WebSocketCloseCode;\n readonly reason: string;\n\n constructor(\n message: string,\n options: ErrorOptions & ConnectionLostErrorOptions,\n ) {\n super(message, options);\n this.code = options.code;\n this.reason = options.reason;\n }\n}\n\n/**\n * Trading restriction reported by the venue while orders cannot be placed\n * normally. The SDK does not retry automatically; callers decide how to\n * react, honoring {@link RequestRejectedError.retryAfter} when provided.\n */\nexport enum TradingRestriction {\n /** The matching engine is restarting and rejects order requests until it is back. */\n RESTARTING = 'restarting',\n /** Cancels and post-only orders are accepted; other orders are rejected. */\n POST_ONLY = 'post_only',\n}\n\nexport type RequestRejectedErrorOptions = {\n status: number;\n /**\n * Machine-readable error code from the response body, when the service\n * provided one.\n */\n code?: string;\n /**\n * Server-requested delay in seconds before retrying, when the response\n * provided one.\n */\n retryAfter?: number;\n /**\n * Trading restriction that caused the rejection, when the response\n * identified one.\n */\n restriction?: TradingRestriction;\n};\n\n/**\n * Error thrown when a service responds with a non-success status other than\n * rate limiting.\n */\nexport class RequestRejectedError extends PolymarketError {\n override name = 'RequestRejectedError' as const;\n\n readonly status: number;\n /**\n * Machine-readable error code from the response body, when the service\n * provided one.\n */\n readonly code?: string;\n /**\n * Server-requested delay in seconds before retrying, when the response\n * provided one.\n */\n readonly retryAfter?: number;\n /**\n * Trading restriction that caused the rejection, when the response\n * identified one.\n */\n readonly restriction?: TradingRestriction;\n\n constructor(\n message: string,\n options: ErrorOptions & RequestRejectedErrorOptions,\n ) {\n super(message, options);\n this.status = options.status;\n this.code = options.code;\n this.retryAfter = options.retryAfter;\n this.restriction = options.restriction;\n }\n}\n\nexport type RateLimitErrorOptions = {\n /**\n * Server-requested delay in seconds before retrying, when the response\n * provided one.\n */\n retryAfter?: number;\n /**\n * Rate-limit state reported with the rejection, when the response provided\n * it.\n */\n rateLimit?: RateLimitUpdate;\n};\n\n/**\n * Error thrown when the service rejects a request because the rate limit has\n * been exceeded.\n */\nexport class RateLimitError extends PolymarketError {\n override name = 'RateLimitError' as const;\n\n /**\n * Server-requested delay in seconds before retrying, when the response\n * provided one.\n */\n readonly retryAfter?: number;\n /**\n * Rate-limit state reported with the rejection, when the response provided\n * it.\n */\n readonly rateLimit?: RateLimitUpdate;\n\n constructor(\n message: string,\n options: ErrorOptions & RateLimitErrorOptions = {},\n ) {\n super(message, options);\n this.retryAfter = options.retryAfter;\n this.rateLimit = options.rateLimit;\n }\n}\n\n/**\n * Error thrown when an async wait operation exceeds its allotted polling time.\n */\nexport class TimeoutError extends PolymarketError {\n override name = 'TimeoutError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n}\n\n/**\n * Error thrown when an operation is interrupted through an abort signal.\n */\nexport class OperationAbortedError extends PolymarketError {\n override name = 'OperationAbortedError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n\n static fromReason(reason: unknown): OperationAbortedError {\n return new OperationAbortedError('Operation was aborted.', {\n cause: reason,\n });\n }\n}\n\n/**\n * Error thrown when a submitted transaction reaches a terminal failure state.\n */\nexport class TransactionFailedError extends PolymarketError {\n override name = 'TransactionFailedError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n}\n\n/**\n * Error thrown when the user cancels a required wallet signing action.\n */\nexport class CancelledSigningError extends PolymarketError {\n override name = 'CancelledSigningError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n\n static fromError(error: Error): CancelledSigningError {\n return new CancelledSigningError(error.message, {\n cause: error,\n });\n }\n}\n\n/**\n * Error thrown when there is not enough resting market liquidity to satisfy the\n * requested execution semantics.\n */\nexport class InsufficientLiquidityError extends PolymarketError {\n override name = 'InsufficientLiquidityError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n}\n\n/**\n * Error thrown when arming auto-cancel is rejected because the account has\n * reached its daily auto-cancel trigger limit. Arming is rejected until the\n * daily counter resets at the next UTC midnight; clearing an existing\n * schedule is always allowed.\n *\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport class AutoCancelDailyLimitError extends PolymarketError {\n override name = 'AutoCancelDailyLimitError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n}\n\n/**\n * Details retained when a Perps cancellation retry fails.\n *\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport type PerpsCancelRetryErrorOptions = {\n /** Last received per-order outcomes, in the original request order. */\n results: readonly PerpsCancelOrderResult[];\n /** Zero-based original request positions retried in the failed attempt. */\n pendingIndexes: readonly number[];\n};\n\n/**\n * Error thrown when a Perps cancellation retry fails after per-order results\n * have already been received. The original failure is available as `cause`.\n *\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport class PerpsCancelRetryError extends PolymarketError {\n override name = 'PerpsCancelRetryError' as const;\n\n /** Last received per-order outcomes, in the original request order. */\n readonly results: readonly PerpsCancelOrderResult[];\n /**\n * Zero-based original request positions retried in the failed attempt.\n * Their retained rejections are historical: a transport failure can conceal\n * completion, so these results do not establish the current order state.\n */\n readonly pendingIndexes: readonly number[];\n\n constructor(\n message: string,\n options: ErrorOptions & PerpsCancelRetryErrorOptions,\n ) {\n super(message, options);\n this.results = [...options.results];\n this.pendingIndexes = [...options.pendingIndexes];\n }\n}\n\n/**\n * Error thrown when the SDK cannot produce a required signature or\n * authentication payload.\n */\nexport class SigningError extends PolymarketError {\n override name = 'SigningError' as const;\n\n constructor(message: string, options: ErrorOptions = {}) {\n super(message, options);\n }\n\n static fromError(error: unknown, message?: string): SigningError {\n const msg =\n message ?? (error instanceof Error ? error.message : 'Signing failed');\n return new SigningError(msg, { cause: error });\n }\n}\n\nexport function makeErrorGuard<\n // biome-ignore lint/suspicious/noExplicitAny: constructor rest args require any[]\n TClasses extends ReadonlyArray<new (...args: any[]) => unknown>,\n>(\n ...classes: TClasses\n): { isError(error: unknown): error is InstanceType<TClasses[number]> } {\n return {\n isError(error: unknown): error is InstanceType<TClasses[number]> {\n return classes.some((c) => error instanceof c);\n },\n };\n}\n"]}
|