@polymarket/client 0.12.0 → 0.14.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/README.md CHANGED
@@ -25,6 +25,183 @@ for await (const page of result) {
25
25
  }
26
26
  ```
27
27
 
28
+ ## HTTP request controls
29
+
30
+ HTTP request controls are experimental and may change in a breaking way in any
31
+ release, including patch releases. This includes the `fetch` client
32
+ option, per-operation `signal`, `retries`, and `timeout`, and `RequestAbortedError`.
33
+
34
+ Provide a custom `fetch` for instrumentation or your application's transport.
35
+ Set `retries: 0` on reads when a query library owns retries:
36
+
37
+ ```ts
38
+ import { createPublicClient } from '@polymarket/client';
39
+
40
+ const client = createPublicClient({
41
+ fetch: appFetch,
42
+ });
43
+
44
+ useQuery({
45
+ queryKey: ['order-book', assetId],
46
+ queryFn: ({ signal }) => client.fetchOrderBook({ assetId }, { signal, retries: 0 }),
47
+ });
48
+ ```
49
+
50
+ Without a custom fetch, the SDK uses native fetch. Eligible data reads accept
51
+ `retries`, an integer from 0 through 5, defaulting to 2. Zero means one attempt;
52
+ two means at most three attempts. Transport failures and rate limits share one
53
+ budget per request, and each pagination request gets a fresh budget. Invalid
54
+ values reject with `UserInputError` before sending a request. Rate-limit waits
55
+ default to one second when no delay is provided; delays longer than five seconds
56
+ propagate to the caller. Wallet workflow recovery, such as refreshing a nonce,
57
+ approving and resubmitting a transaction, or relay recovery, is unchanged. Retries inside your custom fetch are controlled by your application.
58
+
59
+ HTTP reads accept an optional final `{ signal, retries, timeout }` argument.
60
+ `timeout` is milliseconds until each HTTP attempt receives response headers,
61
+ or `false` to disable the timeout.
62
+ Omitting it uses the 30-second SDK default. Each retry and pagination
63
+ request has its own timeout; this does not bound the whole operation, header
64
+ resolution, hooks, retry waits, or response body download/parsing. Timeout failures
65
+ reject with `TransportError` and are not retried. For example:
66
+
67
+ ```ts
68
+ await client.fetchOrderBook({ assetId }, { signal, retries: 0, timeout: 60_000 });
69
+ const pages = client.listTrades({ pageSize: 100 }, { timeout: false });
70
+ ```
71
+
72
+ Aborting rejects with
73
+ `RequestAbortedError`, whose `cause` is the signal's reason, and stops pending
74
+ requests, response reads, and retry waits. A custom fetch must honor the request's
75
+ signal. Concurrent operations on the same client have independent cancellation.
76
+ Order submission, wallet mutations, and WebSocket sessions do not accept these
77
+ per-operation cancellation options.
78
+
79
+ Create a paginator within each query invocation so its continuation requests use
80
+ that invocation's signal:
81
+
82
+ ```ts
83
+ import type { PaginationCursor } from '@polymarket/client';
84
+
85
+ useInfiniteQuery({
86
+ queryKey: ['positions', user],
87
+ initialPageParam: undefined as PaginationCursor | undefined,
88
+ queryFn: ({ pageParam, signal }) =>
89
+ client.listPositions({ user, cursor: pageParam }, { signal, retries: 0 }).firstPage(),
90
+ getNextPageParam: (page) =>
91
+ page.hasMore && !page.limitReached ? page.nextCursor : undefined,
92
+ });
93
+ ```
94
+
95
+ The same signal is retained by `.from(cursor)` and `for await` traversal. An
96
+ aborted unfinished traversal rejects; pages already returned remain usable.
97
+ For authenticated methods with optional filters, keep the request argument slot:
98
+ `secureClient.listPositions(undefined, { signal }).firstPage()`.
99
+
100
+ `createSecureClient` accepts the same `fetch` option. Authentication, client
101
+ extensions, and the public client returned by `endAuthentication()` retain it.
102
+ Retry budgets belong to each read; there is no client-level retry setting.
103
+ Custom fetch covers SDK-owned HTTP, including authentication and
104
+ remote signing; it does not configure a wallet provider's own network requests.
105
+
106
+ ## Experimental service requests
107
+
108
+ `PublicClient.predictions` and `SecureClient.predictions` send requests to the
109
+ endpoint used by the polymarket.com UI. This getter is experimental and is not
110
+ intended for external consumers, who should use the high-level SDK actions.
111
+ Breaking changes may occur in any release, including patch releases.
112
+
113
+ Production requests go to `https://api.defi.polymarket.com`. Environment forks
114
+ can override `predictions.rest` and `predictions.headers`. Trading credentials
115
+ are not attached automatically, so callers supply any headers the endpoint
116
+ requires.
117
+
118
+ Prediction POST, PATCH, and DELETE requests are sent once, including when a
119
+ connection drops after dispatch. GET accepts the same per-request `retries` budget.
120
+ Gateway rejections preserve their `code` and message on `RequestRejectedError`.
121
+ After `cancel_outcome_unknown`, check open orders before manually retrying;
122
+ cancellation may already have taken effect. Aborting a mutation stops the local
123
+ request but cannot prove it had no effect. Raw callers inspect the status/body,
124
+ including rate limits; raw mode only retries transport failures.
125
+
126
+ Prediction requests include `POLYMARKET_CLIENT` with the installed SDK package
127
+ version and locally detected runtime/version. This value is sampled when the
128
+ client is constructed and overrides configured or per-request values of that
129
+ header. Detection is best-effort, with no network or high-entropy browser probes.
130
+ Direct service requests do not receive generated metadata. Gateway parsing and
131
+ CORS support landed in [gateway #777](https://github.com/Polymarket/defi-api-gateway/pull/777);
132
+ verify that support is deployed before releasing browser clients with this header.
133
+
134
+ ```ts
135
+ const result = await client.predictions.get("/v1/markets", {
136
+ params: new URLSearchParams({ limit: "1", closed: "false" }),
137
+ signal,
138
+ });
139
+ ```
140
+
141
+ The markets response contains a `markets` array and an optional `next_cursor`.
142
+
143
+ Requests resolve parsed JSON and reject with SDK errors. Pass a `zod@^4` schema
144
+ to validate the response and infer its type, or set `responseType` for `blob`,
145
+ `arrayBuffer`, `text`, `empty` or `raw` responses. A `raw` response
146
+ resolves for every status, including 4xx, so the caller can check
147
+ `response.ok` and read the error body.
148
+
149
+ ## Removed `neverthrow` re-exports
150
+
151
+ `@polymarket/types` no longer re-exports `neverthrow` APIs or the `unwrap`
152
+ helper. Applications that still use `neverthrow` must add it as their own
153
+ dependency and import from it directly:
154
+
155
+ ```ts
156
+ // Before
157
+ import { ResultAsync, ok } from "@polymarket/types";
158
+ ```
159
+
160
+ ```ts
161
+ // After
162
+ import { ResultAsync, ok } from "neverthrow";
163
+ ```
164
+
165
+ ## Neg-risk positions (protocol V2)
166
+
167
+ An authenticated client can convert a NO position into YES positions for every
168
+ other condition, split pUSD into a complete YES basket, or merge that basket back
169
+ into pUSD. The basket includes the synthetic **Other** condition; conversion from
170
+ NO(Other) produces YES only for the real conditions.
171
+
172
+ Pass the market's protocol V2 neg-risk `conditionId` (`bytes31`, or `bytes32`
173
+ with a zero final byte). The SDK derives the event and condition index locally;
174
+ horizontal operations use the entire event containing that condition. Legacy,
175
+ binary, combo and position IDs are rejected. Amounts are positive explicit integers in six-decimal base units;
176
+ `1_000_000n` means one pUSD or one share per condition. These methods do not accept
177
+ `'max'`.
178
+
179
+ ```ts
180
+ // secureClient is authenticated; conditionId comes from a V2 neg-risk market.
181
+ // Set approvals once, then wait for them before using the Router.
182
+ await secureClient.setupTradingApprovals();
183
+
184
+ await (await secureClient.horizontalSplit({ conditionId, amount: 1_000_000n })).wait();
185
+ await (await secureClient.horizontalMerge({ conditionId, amount: 1_000_000n })).wait();
186
+
187
+ // Requires an existing NO position for this condition.
188
+ await (await secureClient.convert({ conditionId, amount: 1_000_000n })).wait();
189
+ ```
190
+
191
+ Low-level `routerConvertCall`, `routerHorizontalSplitCall` and
192
+ `routerHorizontalMergeCall` retain explicit `protocolEventId` inputs;
193
+ conversion also takes a `conditionIndex`.
194
+
195
+ Horizontal split requires pUSD spending approval for the Router. Convert and
196
+ horizontal merge require PositionManager operator approval for the Router.
197
+ `setupTradingApprovals()` includes these approvals; the three operations do not
198
+ approve automatically. Each uses the authenticated EOA or gasless wallet and returns
199
+ a transaction handle without waiting for confirmation.
200
+
201
+ For externally managed signing, `prepareConvert`, `prepareHorizontalSplit`, and
202
+ `prepareHorizontalMerge` return workflows without signing or submitting. Advance
203
+ the workflow with its requested signer responses to execute it.
204
+
28
205
  ## License
29
206
 
30
207
  MIT
@@ -1,14 +1,14 @@
1
- import { cA as RateLimitError, cI as RequestRejectedError, dS as TransportError, dV as UnexpectedResponseError, dE as SigningError, B as BaseClient, s as BaseSecureClient } from '../types-B9F4CyS-.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, eq as CancelMarketOrdersRequest, w as CancelOrderError, er as CancelOrderRequest, x as CancelOrdersError, es as CancelOrdersRequest, y as CancelPerpsOrderRequest, z as CancelPerpsOrdersRequest, et as CollateralReturnExecutionWorkflow, I as ComboPositionStatusFilter, J as ComboQuote, eu as CommentsEventType, L as CommentsSubscription, O as CreatePerpsSessionRequest, Q as CryptoPriceSubscription, R as CryptoPricesChainlinkTwapSubscription, ev as CryptoPricesEventType, V as CryptoPricesSubscription, W as CryptoTwapPriceSubscription, ew as DeployDepositWalletError, Y as DepositToPerpsError, Z as DepositToPerpsRequest, _ as DisarmPerpsAutoCancelRequest, a0 as DownloadAccountingSnapshotError, ex as DownloadAccountingSnapshotRequest, a1 as DropNotificationsError, ey as DropNotificationsRequest, a5 as EquityPriceSubscription, ez as EquityPricesEventType, a6 as EquityPricesSubscription, eA as Erc1155ApprovalForAllWorkflow, eB as Erc1155ApprovalForAllWorkflowRequest, a7 as Erc1155TradingApproval, eC as Erc20ApprovalWorkflow, eD as Erc20ApprovalWorkflowRequest, a8 as Erc20TradingApproval, eE as Erc20TransferWorkflow, eF as Erc20TransferWorkflowRequest, eG as EstimateMarketBuyPriceRequest, a9 as EstimateMarketPriceError, eH as EstimateMarketPriceRequest, eI as EstimateMarketSellPriceRequest, eJ as EventForSubscriptionSpec, eK as EventForSubscriptionSpecs, aa as ExecuteCollateralReturnPlanError, ab as ExecuteCollateralReturnPlanRequest, eL as FetchBalanceAllowanceError, eM as FetchBalanceAllowanceRequest, eN as FetchBuilderFeeRatesError, eO as FetchBuilderFeeRatesRequest, ac as FetchBuilderVolumeError, eP as FetchBuilderVolumeRequest, ad as FetchClosedOnlyModeError, ae as FetchCommentsByIdError, eQ as FetchCommentsByIdRequest, af as FetchEventError, ag as FetchEventLiveVolumeError, eR as FetchEventLiveVolumeRequest, eS as FetchEventRequest, ah as FetchEventTagsError, eT as FetchEventTagsRequest, eU as FetchExecuteParamsError, eV as FetchExecuteParamsRequest, eW as FetchGaslessTransactionRequest, ai as FetchLastTradePriceError, eX as FetchLastTradePriceRequest, aj as FetchLastTradePricesError, eY as FetchLastTradePricesRequest, ak as FetchMarketError, eZ as FetchMarketInfoError, e_ as FetchMarketInfoRequest, e$ as FetchMarketRequest, al as FetchMarketTagsError, f0 as FetchMarketTagsRequest, am as FetchMidpointError, f1 as FetchMidpointRequest, an as FetchMidpointsError, f2 as FetchMidpointsRequest, f3 as FetchNegRiskError, f4 as FetchNegRiskRequest, ao as FetchNotificationsError, ap as FetchOpenInterestError, f5 as FetchOpenInterestRequest, aq as FetchOrderBookError, f6 as FetchOrderBookRequest, ar as FetchOrderBooksError, f7 as FetchOrderBooksRequest, as as FetchOrderError, f8 as FetchOrderRequest, at as FetchOrderScoringError, f9 as FetchOrderScoringRequest, au as FetchOrdersScoringError, fa as FetchOrdersScoringRequest, av as FetchPerpsAccountConfigRequest, aw as FetchPerpsBookError, ax as FetchPerpsBookRequest, ay as FetchPerpsBuilderApprovalsError, az as FetchPerpsBuilderApprovalsRequest, aA as FetchPerpsBuilderEarningsSummaryError, aB as FetchPerpsBuilderEarningsSummaryRequest, aC as FetchPerpsBuilderStatusError, aD as FetchPerpsBuilderStatusRequest, aE as FetchPerpsFeesError, aF as FetchPerpsInstrumentsError, aG as FetchPerpsInstrumentsRequest, aH as FetchPerpsOpenOrdersRequest, aI as FetchPerpsOrdersRequest, aJ as FetchPerpsTickerError, aK as FetchPerpsTickerRequest, aL as FetchPerpsTickersError, aM as FetchPerpsTickersRequest, aN as FetchPortfolioValueError, fb as FetchPortfolioValueRequest, aO as FetchPriceError, fc as FetchPriceRequest, aP as FetchPricesError, fd as FetchPricesRequest, aQ as FetchPublicProfileError, fe as FetchPublicProfileRequest, aR as FetchRelatedTagResourcesError, ff as FetchRelatedTagResourcesRequest, aS as FetchRelatedTagsError, fg as FetchRelatedTagsRequest, fh as FetchResolutionsByConditionRequest, fi as FetchResolutionsByEventRequest, fj as FetchResolutionsByQuestionRequest, aT as FetchResolutionsError, fk as FetchResolutionsRequest, aU as FetchRewardPercentagesError, aV as FetchRfqStatusError, aW as FetchRfqStatusParams, aX as FetchSeriesError, fl as FetchSeriesRequest, aY as FetchSessionKeysError, aZ as FetchSpreadError, fm as FetchSpreadRequest, a_ as FetchSpreadsError, fn as FetchSpreadsRequest, a$ as FetchTagError, fo as FetchTagRequest, fp as FetchTickSizeError, fq as FetchTickSizeRequest, b0 as FetchTotalEarningsForUserForDayError, fr as FetchTotalEarningsForUserForDayRequest, b1 as FetchTraderLeaderboardStandingError, fs as FetchTraderLeaderboardStandingRequest, b2 as FetchTradingApprovalsStateError, b3 as FetchTradingApprovalsStateRequest, b4 as FetchUserPnlError, ft as FetchUserPnlRequest, b5 as FetchUserStatsError, fu as FetchUserStatsRequest, b6 as FetchUserVolumeError, fv as FetchUserVolumeRequest, fw as GaslessTransactionMetadataSchema, fx as GaslessWorkflow, fy as GaslessWorkflowRequest, fz as IsWalletDeployedError, fA as IsWalletDeployedRequest, b8 as ListAccountTradesError, fB as ListAccountTradesRequest, b9 as ListActivityError, fC as ListActivityRequest, ba as ListBiggestWinnersError, fD as ListBiggestWinnersRequest, bb as ListBuilderLeaderboardError, fE as ListBuilderLeaderboardRequest, bc as ListBuilderTradesError, fF as ListBuilderTradesRequest, bd as ListComboActivityError, fG as ListComboActivityRequest, be as ListComboMarketsError, fH as ListComboMarketsRequest, bf as ListComboPositionsError, fI as ListComboPositionsRequest, bg as ListCommentsByUserAddressError, fJ as ListCommentsByUserAddressRequest, bh as ListCommentsError, fK as ListCommentsRequest, bi as ListCurrentRewardsError, fL as ListCurrentRewardsRequest, bj as ListEventsError, fM as ListEventsRequest, fN as ListMarketClarificationsError, fO as ListMarketClarificationsRequest, bk as ListMarketHoldersError, fP as ListMarketHoldersRequest, bl as ListMarketRewardsError, fQ as ListMarketRewardsRequest, bm as ListMarketsError, fR as ListMarketsRequest, bn as ListOpenOrdersError, fS as ListOpenOrdersRequest, bo as ListPerpsBuilderEarningsError, bp as ListPerpsBuilderEarningsRequest, bq as ListPerpsCandlesError, br as ListPerpsCandlesRequest, bs as ListPerpsDepositsRequest, bt as ListPerpsEquityHistoryRequest, bu as ListPerpsFillsRequest, bv as ListPerpsFundingHistoryError, bw as ListPerpsFundingHistoryRequest, bx as ListPerpsFundingPaymentsRequest, by as ListPerpsInternalTransfersRequest, bz as ListPerpsNotificationsRequest, bA as ListPerpsPnlHistoryRequest, bB as ListPerpsTradesError, bC as ListPerpsTradesRequest, bD as ListPerpsWithdrawalsRequest, bE as ListPositionsError, fT as ListPositionsRequest, bF as ListPriceHistoryError, fU as ListPriceHistoryRequest, bG as ListSeriesError, fV as ListSeriesRequest, bH as ListTagsError, fW as ListTagsRequest, bI as ListTeamsError, fX as ListTeamsRequest, bJ as ListTraderLeaderboardError, fY as ListTraderLeaderboardRequest, bK as ListTradesError, fZ as ListTradesRequest, bL as ListUserEarningsAndMarketsConfigError, f_ as ListUserEarningsAndMarketsConfigRequest, bM as ListUserEarningsForDayError, f$ as ListUserEarningsForDayRequest, bN as MarkPerpsNotificationsReadRequest, g0 as MarketEventType, g1 as MarketSubscription, g2 as MergeComboPositionError, g3 as MergeMarketPositionError, bO as MergePositionsError, g4 as MergePositionsWorkflow, g5 as MergePositionsWorkflowRequest, bP as OpenPerpsSessionError, bQ as OpenPerpsSessionRequest, bR as OpenRfqSessionError, g6 as OrderPostingWorkflow, bT as OrderSignature, g7 as OrderWorkflow, g8 as OrderWorkflowRequest, g9 as PerpsBboSubscription, bZ as PerpsBookDepth, ga as PerpsBookSubscription, b_ as PerpsBuilderTermsInput, b$ as PerpsCancelOptions, c2 as PerpsCancelRetryOptions, gb as PerpsCandlesSubscription, gc as PerpsDepositWorkflow, gd as PerpsDepositWorkflowRequest, ge as PerpsMarketDataEventType, gf as PerpsMarketDataSubscription, c4 as PerpsOrderRequest, c5 as PerpsPlaceFokOrderRequest, c6 as PerpsPlaceGtcOrderRequest, c7 as PerpsPlaceIocOrderRequest, c8 as PerpsPlacedTpSlOrder, c9 as PerpsPlacedTpSlOrders, ca as PerpsPositionTpSlTrigger, cb as PerpsSession, cc as PerpsSessionAccountError, cd as PerpsSessionLifecycleError, ce as PerpsSessionTradingError, gg as PerpsStatisticsSubscription, gh as PerpsStreamingCandleInterval, gi as PerpsTickersSubscription, cf as PerpsTpSlTrigger, gj as PerpsTradesSubscription, cg as PlacePerpsOrderRequest, ch as PlacePerpsOrderResult, ci as PlacePerpsOrderWithTpSlRequest, cj as PlacePerpsOrderWithTpSlResult, ck as PlacePerpsPositionTpSlRequest, cl as PlacePerpsPositionTpSlResult, cm as PlanCollateralReturnError, cn as PostOrderError, co as PostOrdersError, gk as PostOrdersRequest, cp as PostPerpsOrdersRequest, gl as PrepareCollateralReturnExecutionError, gm as PrepareErc1155ApprovalForAllError, gn as PrepareErc1155ApprovalForAllRequest, go as PrepareErc20ApprovalError, gp as PrepareErc20ApprovalRequest, gq as PrepareErc20TransferError, gr as PrepareErc20TransferRequest, gs as PrepareGaslessTransactionError, gt as PrepareGaslessTransactionRequest, gu as PrepareLimitOrderRequest, gv as PrepareMarketBuyOrderRequest, gw as PrepareMarketOrderRequest, gx as PrepareMarketSellOrderRequest, gy as PrepareMergeComboPositionError, gz as PrepareMergeComboPositionRequest, gA as PrepareMergeMarketPositionError, gB as PrepareMergeMarketPositionRequest, gC as PrepareMergePositionsError, gD as PrepareMergePositionsRequest, gE as PreparePerpsDepositError, gF as PrepareRedeemComboPositionError, gG as PrepareRedeemComboPositionRequest, gH as PrepareRedeemMarketPositionsByConditionIdRequest, gI as PrepareRedeemMarketPositionsByMarketIdRequest, gJ as PrepareRedeemMarketPositionsError, gK as PrepareRedeemMarketPositionsRequest, gL as PrepareRedeemPositionRequest, gM as PrepareRedeemPositionsError, gN as PrepareRedeemPositionsRequest, gO as PrepareSplitComboPositionError, gP as PrepareSplitComboPositionRequest, gQ as PrepareSplitMarketPositionError, gR as PrepareSplitMarketPositionRequest, gS as PrepareSplitPositionError, gT as PrepareSplitPositionRequest, gU as PrepareTradingApprovalsError, cq as PriceSubscription, gV as PublicRealtimeEvent, gW as PublicRealtimeTopic, gX as PublicSubscriptionSpec, cE as RedeemPositionsError, gY as RedeemPositionsWorkflow, gZ as RedeemPositionsWorkflowRequest, cF as RequestComboQuoteError, cG as RequestComboQuoteParams, cH as RequestComboQuoteResult, g_ as ResolveConditionByTokenError, g$ as ResolveConditionByTokenRequest, cL as ResumePerpsSessionRequest, cM as RevokePerpsBuilderFeeError, cN as RevokePerpsCredentialsError, cO as RevokePerpsCredentialsRequest, cP as RevokeSessionKeyError, cQ as RevokeSessionKeyRequest, cR as RfqCancelQuoteAck, cS as RfqCancelQuoteError, cT as RfqCancelQuoteRejectedError, cU as RfqCancelQuoteRejectedErrorOptions, cV as RfqConfirmationAck, cW as RfqConfirmationError, cX as RfqConfirmationRejectedError, h0 as RfqConfirmationRejectedErrorOptions, cY as RfqConfirmationRequestEvent, cZ as RfqEvent, h1 as RfqExecutionUpdateEvent, c_ as RfqQuoteError, c$ as RfqQuoteReference, d0 as RfqQuoteRejectedError, d1 as RfqQuoteRejectedErrorOptions, d2 as RfqQuoteRequestEvent, d3 as RfqQuoteResponse, d4 as RfqQuoteSource, d5 as RfqRequestRejectedError, d6 as RfqRequestRejectedErrorOptions, d7 as RfqSession, d8 as RfqStatusResult, d9 as RfqTradeEvent, da as SearchError, h2 as SearchRequest, h3 as SearchResults, db as SearchSort, h4 as SecureRealtimeEvent, h5 as SecureRealtimeTopic, h6 as SecureSubscriptionSpec, dx as SessionKey, dA as SetupTradingApprovalsError, dB as SignedOrder, h7 as SplitComboPositionError, h8 as SplitMarketPositionError, dF as SplitPositionError, h9 as SplitPositionWorkflow, ha as SplitPositionWorkflowRequest, hb as SportsEventType, hc as SportsSubscription, dG as SubscribeError, dH as SubscriptionHandle, dJ as TradingApprovalRequirements, dK as TradingApprovalsState, hd as TradingApprovalsWorkflow, he as TradingApprovalsWorkflowRequest, dP as TransferErc20Error, dQ as TransferPerpsCollateralError, dR as TransferPerpsCollateralRequest, hf as UpdateBalanceAllowanceError, hg as UpdateBalanceAllowanceRequest, dW as UpdatePerpsLeverageError, dX as UpdatePerpsLeverageRequest, dY as UpdatePerpsMarginError, dZ as UpdatePerpsMarginRequest, hh as UserEventType, hi as UserSubscription, d_ as WaitForComboFillError, d$ as WaitForComboFillParams, e0 as WaitForComboFillResult, hj as WaitForGaslessTransactionError, e1 as WaitForOrderFillSettlementError, hk as WaitForOrderFillSettlementRequest, e7 as WithdrawFromPerpsError, e8 as WithdrawFromPerpsRequest, hl as acceptComboQuote, hm as approveErc1155ForAll, hn as approveErc20, ho as authorizeSessionKey, hp as cancelAll, hq as cancelMarketOrders, hr as cancelOrder, hs as cancelOrders, ht as deployDepositWallet, hu as depositToPerps, hv as downloadAccountingSnapshot, hw as dropNotifications, hx as estimateMarketPrice, hy as executeCollateralReturnPlan, hz as fetchBalanceAllowance, hA as fetchBuilderFeeRates, hB as fetchBuilderVolume, hC as fetchClosedOnlyMode, hD as fetchCommentsById, hE as fetchEvent, hF as fetchEventLiveVolume, hG as fetchEventTags, hH as fetchExecuteParams, hI as fetchLastTradePrice, hJ as fetchLastTradePrices, hK as fetchMarket, hL as fetchMarketInfo, hM as fetchMarketTags, hN as fetchMidpoint, hO as fetchMidpoints, hP as fetchNegRisk, hQ as fetchNotifications, hR as fetchOpenInterest, hS as fetchOrder, hT as fetchOrderBook, hU as fetchOrderBooks, hV as fetchOrderScoring, hW as fetchOrdersScoring, hX as fetchPerpsBook, hY as fetchPerpsBuilderStatus, hZ as fetchPerpsFees, h_ as fetchPerpsInstruments, h$ as fetchPerpsTicker, i0 as fetchPerpsTickers, i1 as fetchPortfolioValue, i2 as fetchPrice, i3 as fetchPrices, i4 as fetchPublicProfile, i5 as fetchRelatedTagResources, i6 as fetchRelatedTags, i7 as fetchResolutions, i8 as fetchRewardPercentages, i9 as fetchRfqStatus, ia as fetchSeries, ib as fetchSessionKeys, ic as fetchSpread, id as fetchSpreads, ie as fetchTag, ig as fetchTickSize, ih as fetchTotalEarningsForUserForDay, ii as fetchTraderLeaderboardStanding, ij as fetchTradingApprovalsState, ik as fetchTransaction, il as fetchUserPnl, im as fetchUserStats, io as fetchUserVolume, ip as isWalletDeployed, iq as listAccountTrades, ir as listActivity, is as listBiggestWinners, it as listBuilderLeaderboard, iu as listBuilderTrades, iv as listComboActivity, iw as listComboMarkets, ix as listComboPositions, iy as listComments, iz as listCommentsByUserAddress, iA as listCurrentRewards, iB as listEvents, iC as listMarketClarifications, iD as listMarketHolders, iE as listMarketRewards, iF as listMarkets, iG as listOpenOrders, iH as listPerpsCandles, iI as listPerpsFundingHistory, iJ as listPerpsTrades, iK as listPositions, iL as listPriceHistory, iM as listSeries, iN as listTags, iO as listTeams, iP as listTraderLeaderboard, iQ as listTrades, iR as listUserEarningsAndMarketsConfig, iS as listUserEarningsForDay, iT as mergeComboPosition, iU as mergeMarketPosition, iV as mergePositions, iW as openPerpsSession, iX as openRfqSession, iY as planCollateralReturn, iZ as postOrder, i_ as postOrders, i$ as prepareCollateralReturnExecution, j0 as prepareErc1155ApprovalForAll, j1 as prepareErc20Approval, j2 as prepareErc20Transfer, j3 as prepareGaslessTransaction, j4 as prepareMergeComboPosition, j5 as prepareMergeMarketPosition, j6 as prepareMergePositions, j7 as preparePerpsDeposit, j8 as prepareRedeemComboPosition, j9 as prepareRedeemMarketPositions, ja as prepareRedeemPosition, jb as prepareRedeemPositions, jc as prepareSplitComboPosition, jd as prepareSplitMarketPosition, je as prepareSplitPosition, jf as prepareTradingApprovals, jg as redeemPositions, jh as requestComboQuote, ji as resolveConditionByToken, jj as revokePerpsCredentials, jk as revokeSessionKey, jl as search, jm as setupTradingApprovals, jn as splitComboPosition, jo as splitMarketPosition, jp as splitPosition, jq as subscribe, jr as transferErc20, js as transferPerpsCollateral, jt as updateBalanceAllowance, ju as waitForComboFill, jv as waitForOrderFillSettlement, jw as withdrawFromPerps } from '../types-B9F4CyS-.js';
1
+ import { dh as RateLimitError, ds as RequestRejectedError, eR as TransportError, eU as UnexpectedResponseError, eD as SigningError, dm as RequestAbortedError, U as UserInputError, B as BaseClient, t as BaseSecureClient, dr as RequestOptions } from '../types-CprSC_sB.js';
2
+ export { d as AcceptComboQuoteError, e as AcceptComboQuoteParams, f as AcceptComboQuoteResult, i as ApproveErc1155ForAllError, j as ApproveErc20Error, k as ApprovePerpsBuilderFeeError, l as ApprovePerpsBuilderFeeRequest, m as ArmPerpsAutoCancelError, n as ArmPerpsAutoCancelRequest, o as AuthorizeSessionKeyError, p as AuthorizeSessionKeyRequest, q as AuthorizeSessionKeyResult, C as CancelAllError, v as CancelAllPerpsOrdersRequest, w as CancelMarketOrdersError, fr as CancelMarketOrdersRequest, x as CancelOrderError, fs as CancelOrderRequest, y as CancelOrdersError, ft as CancelOrdersRequest, z as CancelPerpsChaseError, D as CancelPerpsChaseRequest, E as CancelPerpsOrderRequest, F as CancelPerpsOrdersRequest, G as CancelPerpsTwapError, H as CancelPerpsTwapRequest, fu as CollateralReturnExecutionWorkflow, N as ComboPositionStatusFilter, O as ComboQuote, fv as CommentsEventType, Q as CommentsSubscription, W as ConvertError, X as ConvertWorkflow, Y as CreatePerpsChaseError, Z as CreatePerpsChaseRequest, _ as CreatePerpsSessionRequest, $ as CreatePerpsTwapError, a0 as CreatePerpsTwapRequest, a2 as CryptoPriceSubscription, a3 as CryptoPricesChainlinkTwapSubscription, fw as CryptoPricesEventType, a4 as CryptoPricesSubscription, a5 as CryptoTwapPriceSubscription, fx as DeployDepositWalletError, a7 as DepositToPerpsError, a8 as DepositToPerpsRequest, a9 as DisarmPerpsAutoCancelRequest, ab as DownloadAccountingSnapshotError, fy as DownloadAccountingSnapshotRequest, ac as DropNotificationsError, fz as DropNotificationsRequest, ag as EquityPriceSubscription, fA as EquityPricesEventType, ah as EquityPricesSubscription, ai as EquityTwapPriceSubscription, fB as Erc1155ApprovalForAllWorkflow, fC as Erc1155ApprovalForAllWorkflowRequest, aj as Erc1155TradingApproval, fD as Erc20ApprovalWorkflow, fE as Erc20ApprovalWorkflowRequest, ak as Erc20TradingApproval, fF as Erc20TransferWorkflow, fG as Erc20TransferWorkflowRequest, fH as EstimateMarketBuyPriceRequest, al as EstimateMarketPriceError, fI as EstimateMarketPriceRequest, fJ as EstimateMarketSellPriceRequest, fK as EventForSubscriptionSpec, fL as EventForSubscriptionSpecs, am as ExecuteCollateralReturnPlanError, an as ExecuteCollateralReturnPlanRequest, fM as FetchBalanceAllowanceError, fN as FetchBalanceAllowanceRequest, fO as FetchBuilderFeeRatesError, fP as FetchBuilderFeeRatesRequest, ap as FetchBuilderVolumeError, fQ as FetchBuilderVolumeRequest, aq as FetchClosedOnlyModeError, ar as FetchCommentsByIdError, fR as FetchCommentsByIdRequest, as as FetchCurrentRebatesError, at as FetchCurrentRebatesRequest, au as FetchEventError, av as FetchEventLiveVolumeError, fS as FetchEventLiveVolumeRequest, fT as FetchEventRequest, aw as FetchEventTagsError, fU as FetchEventTagsRequest, fV as FetchExecuteParamsError, fW as FetchExecuteParamsRequest, fX as FetchGaslessTransactionError, fY as FetchGaslessTransactionRequest, ax as FetchLastTradePriceError, fZ as FetchLastTradePriceRequest, ay as FetchLastTradePricesError, f_ as FetchLastTradePricesRequest, az as FetchMarketError, f$ as FetchMarketInfoError, g0 as FetchMarketInfoRequest, g1 as FetchMarketRequest, aA as FetchMarketTagsError, g2 as FetchMarketTagsRequest, aB as FetchMidpointError, g3 as FetchMidpointRequest, aC as FetchMidpointsError, g4 as FetchMidpointsRequest, g5 as FetchNegRiskError, g6 as FetchNegRiskRequest, aD as FetchNotificationsError, aE as FetchOpenInterestError, g7 as FetchOpenInterestRequest, aF as FetchOrderBookError, g8 as FetchOrderBookRequest, aG as FetchOrderBooksError, g9 as FetchOrderBooksRequest, aH as FetchOrderError, ga as FetchOrderRequest, aI as FetchOrderScoringError, gb as FetchOrderScoringRequest, aJ as FetchOrdersScoringError, gc as FetchOrdersScoringRequest, aK as FetchPerpsAccountConfigRequest, aL as FetchPerpsBookError, aM as FetchPerpsBookRequest, aN as FetchPerpsBuilderApprovalsError, aO as FetchPerpsBuilderApprovalsRequest, aP as FetchPerpsBuilderEarningsSummaryError, aQ as FetchPerpsBuilderEarningsSummaryRequest, aR as FetchPerpsBuilderStatusError, aS as FetchPerpsBuilderStatusRequest, aT as FetchPerpsChasesError, aU as FetchPerpsFeesError, aV as FetchPerpsInstrumentsError, aW as FetchPerpsInstrumentsRequest, aX as FetchPerpsOpenOrdersRequest, aY as FetchPerpsOrdersRequest, aZ as FetchPerpsPositionSnapshotsError, a_ as FetchPerpsPositionSnapshotsRequest, a$ as FetchPerpsRegistrationError, b0 as FetchPerpsRegistrationRequest, b1 as FetchPerpsTickerError, b2 as FetchPerpsTickerRequest, b3 as FetchPerpsTickersError, b4 as FetchPerpsTickersRequest, b5 as FetchPerpsTwapsError, b6 as FetchPortfolioValueError, gd as FetchPortfolioValueRequest, b7 as FetchPriceError, ge as FetchPriceRequest, b8 as FetchPricesError, gf as FetchPricesRequest, b9 as FetchPublicProfileError, gg as FetchPublicProfileRequest, ba as FetchRelatedTagResourcesError, gh as FetchRelatedTagResourcesRequest, bb as FetchRelatedTagsError, gi as FetchRelatedTagsRequest, gj as FetchResolutionsByConditionRequest, gk as FetchResolutionsByEventRequest, gl as FetchResolutionsByQuestionRequest, bc as FetchResolutionsError, gm as FetchResolutionsRequest, bd as FetchRewardPercentagesError, be as FetchRfqStatusError, bf as FetchRfqStatusParams, bg as FetchSeriesError, gn as FetchSeriesRequest, bh as FetchSessionKeysError, bi as FetchSpreadError, go as FetchSpreadRequest, bj as FetchSpreadsError, gp as FetchSpreadsRequest, bk as FetchTagError, gq as FetchTagRequest, gr as FetchTickSizeError, gs as FetchTickSizeRequest, bl as FetchTokenReferencesError, bm as FetchTokenReferencesRequest, bn as FetchTotalEarningsForUserForDayError, gt as FetchTotalEarningsForUserForDayRequest, bo as FetchTraderLeaderboardStandingError, gu as FetchTraderLeaderboardStandingRequest, bp as FetchTradingApprovalsStateError, bq as FetchTradingApprovalsStateRequest, br as FetchUserPnlError, gv as FetchUserPnlRequest, bs as FetchUserStatsError, gw as FetchUserStatsRequest, bt as FetchUserVolumeError, gx as FetchUserVolumeRequest, gy as GaslessTransactionMetadataSchema, gz as GaslessWorkflow, gA as GaslessWorkflowRequest, bu as HorizontalMergeError, bv as HorizontalMergeWorkflow, bw as HorizontalSplitError, bx as HorizontalSplitWorkflow, gB as IsWalletDeployedError, gC as IsWalletDeployedRequest, bz as ListAccountTradesError, gD as ListAccountTradesRequest, bA as ListActivityError, gE as ListActivityRequest, bB as ListBiggestWinnersError, gF as ListBiggestWinnersRequest, bC as ListBuilderLeaderboardError, gG as ListBuilderLeaderboardRequest, bD as ListBuilderTradesError, gH as ListBuilderTradesRequest, bE as ListComboActivityError, gI as ListComboActivityRequest, bF as ListComboMarketsError, gJ as ListComboMarketsRequest, bG as ListComboPositionsError, gK as ListComboPositionsRequest, bH as ListCommentsByUserAddressError, gL as ListCommentsByUserAddressRequest, bI as ListCommentsError, gM as ListCommentsRequest, bJ as ListCurrentRewardsError, gN as ListCurrentRewardsRequest, bK as ListEventsError, gO as ListEventsRequest, gP as ListMarketClarificationsError, gQ as ListMarketClarificationsRequest, bL as ListMarketHoldersError, gR as ListMarketHoldersRequest, bM as ListMarketRewardsError, gS as ListMarketRewardsRequest, bN as ListMarketsError, gT as ListMarketsRequest, bO as ListOpenOrdersError, gU as ListOpenOrdersRequest, bP as ListPerpsBuilderEarningsError, bQ as ListPerpsBuilderEarningsRequest, bR as ListPerpsCandlesError, bS as ListPerpsCandlesRequest, bT as ListPerpsDepositsRequest, bU as ListPerpsEquityHistoryRequest, bV as ListPerpsFillsRequest, bW as ListPerpsFundingHistoryError, bX as ListPerpsFundingHistoryRequest, bY as ListPerpsFundingPaymentsRequest, bZ as ListPerpsInternalTransfersRequest, b_ as ListPerpsNotificationsRequest, b$ as ListPerpsPnlHistoryRequest, c0 as ListPerpsTradesError, c1 as ListPerpsTradesRequest, c2 as ListPerpsWithdrawalsRequest, c3 as ListPositionsError, gV as ListPositionsRequest, c4 as ListPriceHistoryError, gW as ListPriceHistoryRequest, c5 as ListRewardMarketsError, c6 as ListRewardMarketsRequest, c7 as ListSeriesError, gX as ListSeriesRequest, c8 as ListTagsError, gY as ListTagsRequest, c9 as ListTeamsError, gZ as ListTeamsRequest, ca as ListTraderLeaderboardError, g_ as ListTraderLeaderboardRequest, cb as ListTradesError, g$ as ListTradesRequest, cc as ListUserEarningsAndMarketsConfigError, h0 as ListUserEarningsAndMarketsConfigRequest, cd as ListUserEarningsForDayError, h1 as ListUserEarningsForDayRequest, ce as MarkPerpsNotificationsReadRequest, h2 as MarketEventType, h3 as MarketSubscription, h4 as MergeComboPositionError, h5 as MergeMarketPositionError, cf as MergePositionsError, h6 as MergePositionsWorkflow, h7 as MergePositionsWorkflowRequest, cg as NegRiskWorkflow, ch as OpenPerpsSessionError, ci as OpenPerpsSessionRequest, cj as OpenRfqSessionError, h8 as OrderPostingWorkflow, cm as OrderSignature, h9 as OrderWorkflow, ha as OrderWorkflowRequest, cr as PausePerpsTwapError, cs as PausePerpsTwapRequest, hb as PerpsBboSubscription, cu as PerpsBookDepth, hc as PerpsBookSubscription, cv as PerpsBuilderTermsInput, cw as PerpsCancelOptions, cz as PerpsCancelRetryOptions, hd as PerpsCandlesSubscription, he as PerpsDepositWorkflow, hf as PerpsDepositWorkflowRequest, hg as PerpsMarketDataEventType, hh as PerpsMarketDataSubscription, cB as PerpsOrderRequest, cC as PerpsPlaceFokOrderRequest, cD as PerpsPlaceGtcOrderRequest, cE as PerpsPlaceGtdOrderRequest, cF as PerpsPlaceIocOrderRequest, cG as PerpsPlacedTpSlOrder, cH as PerpsPlacedTpSlOrders, cI as PerpsPositionSnapshotFill, cJ as PerpsPositionSnapshotSelection, cK as PerpsPositionTpSlTrigger, cL as PerpsPositionTrailingStop, cM as PerpsSession, cN as PerpsSessionAccountError, cO as PerpsSessionLifecycleError, cP as PerpsSessionTradingError, hi as PerpsStatisticsSubscription, hj as PerpsStreamingCandleInterval, hk as PerpsTickersSubscription, cQ as PerpsTpSlTrigger, hl as PerpsTradesSubscription, cR as PerpsTrailingStop, cS as PlacePerpsOrderRequest, cT as PlacePerpsOrderResult, cU as PlacePerpsOrderWithTpSlRequest, cV as PlacePerpsOrderWithTpSlResult, cW as PlacePerpsPositionTpSlRequest, cX as PlacePerpsPositionTpSlResult, cY as PlanCollateralReturnError, cZ as PostOrderError, c_ as PostOrdersError, hm as PostOrdersRequest, c$ as PostPerpsOrdersRequest, hn as PrepareCollateralReturnExecutionError, d0 as PrepareConvertError, d1 as PrepareConvertRequest, ho as PrepareErc1155ApprovalForAllError, hp as PrepareErc1155ApprovalForAllRequest, hq as PrepareErc20ApprovalError, hr as PrepareErc20ApprovalRequest, hs as PrepareErc20TransferError, ht as PrepareErc20TransferRequest, hu as PrepareGaslessTransactionError, hv as PrepareGaslessTransactionRequest, d2 as PrepareHorizontalMergeError, d3 as PrepareHorizontalMergeRequest, d4 as PrepareHorizontalSplitError, d5 as PrepareHorizontalSplitRequest, hw as PrepareLimitOrderRequest, hx as PrepareMarketBuyOrderRequest, hy as PrepareMarketOrderRequest, hz as PrepareMarketSellOrderRequest, hA as PrepareMergeComboPositionError, hB as PrepareMergeComboPositionRequest, hC as PrepareMergeMarketPositionError, hD as PrepareMergeMarketPositionRequest, hE as PrepareMergePositionsError, hF as PrepareMergePositionsRequest, hG as PreparePerpsDepositError, hH as PrepareRedeemComboPositionError, hI as PrepareRedeemComboPositionRequest, hJ as PrepareRedeemMarketPositionsByConditionIdRequest, hK as PrepareRedeemMarketPositionsByMarketIdRequest, hL as PrepareRedeemMarketPositionsError, hM as PrepareRedeemMarketPositionsRequest, hN as PrepareRedeemPositionRequest, hO as PrepareRedeemPositionsError, hP as PrepareRedeemPositionsRequest, hQ as PrepareSplitComboPositionError, hR as PrepareSplitComboPositionRequest, hS as PrepareSplitMarketPositionError, hT as PrepareSplitMarketPositionRequest, hU as PrepareSplitPositionError, hV as PrepareSplitPositionRequest, hW as PrepareTradingApprovalsError, d6 as PriceSubscription, d7 as PriceSubscriptionConfirmation, hX as PublicRealtimeEvent, hY as PublicRealtimeTopic, hZ as PublicSubscriptionSpec, dl as RedeemPositionsError, h_ as RedeemPositionsWorkflow, h$ as RedeemPositionsWorkflowRequest, dn as RequestComboQuoteError, dp as RequestComboQuoteParams, dq as RequestComboQuoteResult, i0 as ResolveConditionByTokenError, i1 as ResolveConditionByTokenRequest, dv as ResumePerpsSessionRequest, dw as ResumePerpsTwapError, dx as ResumePerpsTwapRequest, dy as RevokePerpsBuilderFeeError, dz as RevokePerpsCredentialsError, dA as RevokePerpsCredentialsRequest, dB as RevokeSessionKeyError, dC as RevokeSessionKeyRequest, dD as RfqCancelQuoteAck, dE as RfqCancelQuoteError, dF as RfqCancelQuoteRejectedError, dG as RfqCancelQuoteRejectedErrorOptions, dH as RfqConfirmationAck, dI as RfqConfirmationError, dJ as RfqConfirmationRejectedError, i2 as RfqConfirmationRejectedErrorOptions, dK as RfqConfirmationRequestEvent, dL as RfqEvent, i3 as RfqExecutionUpdateEvent, dM as RfqQuoteError, dN as RfqQuoteReference, dO as RfqQuoteRejectedError, dP as RfqQuoteRejectedErrorOptions, dQ as RfqQuoteRequestEvent, dR as RfqQuoteResponse, dS as RfqQuoteSource, dT as RfqRequestRejectedError, dU as RfqRequestRejectedErrorOptions, dV as RfqSession, dW as RfqStatusResult, dX as RfqTradeEvent, dY as SearchError, i4 as SearchRequest, i5 as SearchResults, dZ as SearchSort, i6 as SecureRealtimeEvent, i7 as SecureRealtimeTopic, i8 as SecureSubscriptionSpec, ei as SendOrderHeartbeatError, ej as SendOrderHeartbeatRequest, ew as SessionKey, ez as SetupTradingApprovalsError, eA as SignedOrder, i9 as SplitComboPositionError, ia as SplitMarketPositionError, eE as SplitPositionError, ib as SplitPositionWorkflow, ic as SplitPositionWorkflowRequest, id as SportsEventType, ie as SportsSubscription, eF as SubscribeError, eG as SubscriptionHandle, eI as TradingApprovalRequirements, eJ as TradingApprovalsState, ig as TradingApprovalsWorkflow, ih as TradingApprovalsWorkflowRequest, eO as TransferErc20Error, eP as TransferPerpsCollateralError, eQ as TransferPerpsCollateralRequest, ii as UpdateBalanceAllowanceError, ij as UpdateBalanceAllowanceRequest, eV as UpdatePerpsLeverageError, eW as UpdatePerpsLeverageRequest, eX as UpdatePerpsLeveragesError, eY as UpdatePerpsLeveragesRequest, eZ as UpdatePerpsMarginError, e_ as UpdatePerpsMarginRequest, ik as UserEventType, il as UserSubscription, e$ as WaitForComboFillError, f0 as WaitForComboFillParams, f1 as WaitForComboFillResult, im as WaitForGaslessTransactionError, f2 as WaitForOrderFillSettlementError, io as WaitForOrderFillSettlementRequest, f8 as WithdrawFromPerpsError, f9 as WithdrawFromPerpsRequest, ip as acceptComboQuote, iq as approveErc1155ForAll, ir as approveErc20, is as authorizeSessionKey, it as cancelAll, iu as cancelMarketOrders, iv as cancelOrder, iw as cancelOrders, ix as convert, iy as deployDepositWallet, iz as depositToPerps, iA as downloadAccountingSnapshot, iB as dropNotifications, iC as estimateMarketPrice, iD as executeCollateralReturnPlan, iE as fetchBalanceAllowance, iF as fetchBuilderFeeRates, iG as fetchBuilderVolume, iH as fetchClosedOnlyMode, iI as fetchCommentsById, iJ as fetchCurrentRebates, iK as fetchEvent, iL as fetchEventLiveVolume, iM as fetchEventTags, iN as fetchExecuteParams, iO as fetchLastTradePrice, iP as fetchLastTradePrices, iQ as fetchMarket, iR as fetchMarketInfo, iS as fetchMarketTags, iT as fetchMidpoint, iU as fetchMidpoints, iV as fetchNegRisk, iW as fetchNotifications, iX as fetchOpenInterest, iY as fetchOrder, iZ as fetchOrderBook, i_ as fetchOrderBooks, i$ as fetchOrderScoring, j0 as fetchOrdersScoring, j1 as fetchPerpsBook, j2 as fetchPerpsBuilderStatus, j3 as fetchPerpsFees, j4 as fetchPerpsInstruments, j5 as fetchPerpsPositionSnapshots, j6 as fetchPerpsRegistration, j7 as fetchPerpsTicker, j8 as fetchPerpsTickers, j9 as fetchPortfolioValue, ja as fetchPrice, jb as fetchPrices, jc as fetchPublicProfile, jd as fetchRelatedTagResources, je as fetchRelatedTags, jf as fetchResolutions, jg as fetchRewardPercentages, jh as fetchRfqStatus, ji as fetchSeries, jj as fetchSessionKeys, jk as fetchSpread, jl as fetchSpreads, jm as fetchTag, jn as fetchTickSize, jo as fetchTokenReferences, jp as fetchTotalEarningsForUserForDay, jq as fetchTraderLeaderboardStanding, jr as fetchTradingApprovalsState, js as fetchTransaction, jt as fetchUserPnl, ju as fetchUserStats, jv as fetchUserVolume, jw as horizontalMerge, jx as horizontalSplit, jy as isWalletDeployed, jz as listAccountTrades, jA as listActivity, jB as listBiggestWinners, jC as listBuilderLeaderboard, jD as listBuilderTrades, jE as listComboActivity, jF as listComboMarkets, jG as listComboPositions, jH as listComments, jI as listCommentsByUserAddress, jJ as listCurrentRewards, jK as listEvents, jL as listMarketClarifications, jM as listMarketHolders, jN as listMarketRewards, jO as listMarkets, jP as listOpenOrders, jQ as listPerpsCandles, jR as listPerpsFundingHistory, jS as listPerpsTrades, jT as listPositions, jU as listPriceHistory, jV as listRewardMarkets, jW as listSeries, jX as listTags, jY as listTeams, jZ as listTraderLeaderboard, j_ as listTrades, j$ as listUserEarningsAndMarketsConfig, k0 as listUserEarningsForDay, k1 as mergeComboPosition, k2 as mergeMarketPosition, k3 as mergePositions, k4 as openPerpsSession, k5 as openRfqSession, k6 as planCollateralReturn, k7 as postOrder, k8 as postOrders, k9 as prepareCollateralReturnExecution, ka as prepareConvert, kb as prepareErc1155ApprovalForAll, kc as prepareErc20Approval, kd as prepareErc20Transfer, ke as prepareGaslessTransaction, kf as prepareHorizontalMerge, kg as prepareHorizontalSplit, kh as prepareMergeComboPosition, ki as prepareMergeMarketPosition, kj as prepareMergePositions, kk as preparePerpsDeposit, kl as prepareRedeemComboPosition, km as prepareRedeemMarketPositions, kn as prepareRedeemPosition, ko as prepareRedeemPositions, kp as prepareSplitComboPosition, kq as prepareSplitMarketPosition, kr as prepareSplitPosition, ks as prepareTradingApprovals, kt as redeemPositions, ku as requestComboQuote, kv as resolveConditionByToken, kw as revokePerpsCredentials, kx as revokeSessionKey, ky as search, kz as sendOrderHeartbeat, kA as setupTradingApprovals, kB as splitComboPosition, kC as splitMarketPosition, kD as splitPosition, kE as subscribe, kF as transferErc20, kG as transferPerpsCollateral, kH as updateBalanceAllowance, kI as waitForComboFill, kJ as waitForOrderFillSettlement, kK as withdrawFromPerps } from '../types-CprSC_sB.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-CERQxAjR.js';
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-CW4y_VKL.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, PerpsBuilderFillUpdateEvent, 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, EquityMarketStatus, 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';
@@ -77,9 +77,9 @@ declare const CreateOrDeriveApiKeyError: {
77
77
  * Thrown on failure.
78
78
  */
79
79
  declare function createOrDeriveApiKey(client: BaseClient, request: ApiKeyAuthRequest): Promise<ApiKeyCreds>;
80
- type FetchApiKeysError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
80
+ type FetchApiKeysError = RequestAbortedError | RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
81
81
  declare const FetchApiKeysError: {
82
- isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
82
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestAbortedError | RequestRejectedError | RateLimitError;
83
83
  };
84
84
  /**
85
85
  * Fetches all API keys associated with the authenticated client.
@@ -95,7 +95,7 @@ declare const FetchApiKeysError: {
95
95
  * @throws {@link FetchApiKeysError}
96
96
  * Thrown on failure.
97
97
  */
98
- declare function fetchApiKeys(client: BaseSecureClient): Promise<ApiKey[]>;
98
+ declare function fetchApiKeys(client: BaseSecureClient, options?: RequestOptions): Promise<ApiKey[]>;
99
99
  type DeleteApiKeyError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
100
100
  declare const DeleteApiKeyError: {
101
101
  isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
@@ -136,9 +136,9 @@ declare const CreateBuilderApiKeyError: {
136
136
  * interrupted by transport issues, or returns an unexpected response.
137
137
  */
138
138
  declare function createBuilderApiKey(client: BaseSecureClient): Promise<BuilderApiKeyCreds>;
139
- type FetchBuilderApiKeysError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
139
+ type FetchBuilderApiKeysError = RequestAbortedError | RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
140
140
  declare const FetchBuilderApiKeysError: {
141
- isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
141
+ isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestAbortedError | RequestRejectedError | RateLimitError;
142
142
  };
143
143
  /**
144
144
  * Fetches builder API keys associated with the authenticated client.
@@ -155,7 +155,7 @@ declare const FetchBuilderApiKeysError: {
155
155
  * Thrown when request signing fails, or the request is rejected, rate limited,
156
156
  * interrupted by transport issues, or returns an unexpected response.
157
157
  */
158
- declare function fetchBuilderApiKeys(client: BaseSecureClient): Promise<BuilderApiKey[]>;
158
+ declare function fetchBuilderApiKeys(client: BaseSecureClient, options?: RequestOptions): Promise<BuilderApiKey[]>;
159
159
  type RevokeBuilderApiKeyError = RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError;
160
160
  declare const RevokeBuilderApiKeyError: {
161
161
  isError(error: unknown): error is SigningError | TransportError | UnexpectedResponseError | RequestRejectedError | RateLimitError;
@@ -1,2 +1,2 @@
1
- export{cg as AcceptComboQuoteError,$a as ApproveErc1155ForAllError,Xa as ApproveErc20Error,_d as ApprovePerpsBuilderFeeError,ke as ArmPerpsAutoCancelError,Cg as AuthorizeSessionKeyError,Qc as BiggestWinnerKind,Rc as BuilderVolumeInterval,nd as CancelAllError,pd as CancelMarketOrdersError,jd as CancelOrderError,ld as CancelOrdersError,lc as CollateralReturnKnownOperationKind,ig as ComboAcceptFailureReason,va as ComboActivityType,df as ComboPositionSortBy,ef as ComboPositionStatus,jg as ComboQuoteUnavailableReason,hb as CreateApiKeyError,rb as CreateBuilderApiKeyError,Ud as CreateLimitOrderError,Qd as CreateMarketOrderError,lb as CreateOrDeriveApiKeyError,pb as DeleteApiKeyError,Ia as DeployDepositWalletError,Ie as DepositToPerpsError,jb as DeriveApiKeyError,bf 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,ve as FetchPerpsBookError,he as FetchPerpsBuilderApprovalsError,je as FetchPerpsBuilderEarningsSummaryError,Yd as FetchPerpsBuilderStatusError,De as FetchPerpsFeesError,pe as FetchPerpsInstrumentsError,re as FetchPerpsTickerError,te as FetchPerpsTickersError,Ve as FetchPortfolioValueError,Nb as FetchPriceError,Pb as FetchPricesError,Rf as FetchPublicProfileError,Sg as FetchRelatedTagResourcesError,Qg as FetchRelatedTagsError,yc as FetchResolutionsError,na as FetchRewardPercentagesError,gg as FetchRfqStatusError,xg as FetchSeriesError,Ag as FetchSessionKeysError,Ig as FetchSportsMarketTypesError,Vb as FetchSpreadError,Xb as FetchSpreadsError,Og as FetchTagError,Db as FetchTickSizeError,ja as FetchTotalEarningsForUserForDayError,Mc as FetchTraderLeaderboardStandingError,cb as FetchTradingApprovalsStateError,Ze as FetchUserPnlError,Xe as FetchUserStatsError,$e 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,Te 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,ie as ListPerpsBuilderEarningsError,xe as ListPerpsCandlesError,ze as ListPerpsFundingHistoryError,Be as ListPerpsTradesError,Re as ListPositionsError,fd as ListPriceHistoryError,vg as ListSeriesError,Gg as ListSportsError,Mg as ListTagsError,Ug as ListTeamsError,Kc as ListTraderLeaderboardError,pa as ListTradesError,la as ListUserEarningsAndMarketsConfigError,ha as ListUserEarningsForDayError,Ff as MergeComboPositionError,Df as MergeMarketPositionError,Cf as MergePositionsError,Fe as OpenPerpsSessionError,Zf as OpenRfqSessionError,Wd as PlaceLimitOrderError,Sd as PlaceMarketOrderError,fc as PlanCollateralReturnError,ff as PositionFilterType,gf as PositionSortBy,hf as PositionStatus,vd as PostOrderError,wd as PostOrdersError,hc as PrepareCollateralReturnExecutionError,Za as PrepareErc1155ApprovalForAllError,Va as PrepareErc20ApprovalError,Wg as PrepareErc20TransferError,La as PrepareGaslessTransactionError,Id as PrepareLimitOrderError,Md as PrepareLimitOrderPostingError,Gd as PrepareMarketOrderError,Kd as PrepareMarketOrderPostingError,zf as PrepareMergeComboPositionError,xf as PrepareMergeMarketPositionError,wf as PrepareMergePositionsError,He as PreparePerpsDepositError,Mf as PrepareRedeemComboPositionError,Jf as PrepareRedeemMarketPositionsError,If as PrepareRedeemPositionsError,nf as PrepareSplitComboPositionError,lf as PrepareSplitMarketPositionError,kf as PrepareSplitPositionError,bb as PrepareTradingApprovalsError,Wc as PriceHistoryInterval,Pf as RedeemPositionsError,ag as RequestComboQuoteError,Cc as ResolutionMarketType,Dc as ResolutionReporter,Ec as ResolutionSource,Fc as ResolutionStatus,Hb as ResolveConditionByTokenError,vb as RevokeBuilderApiKeyError,ne as RevokePerpsBuilderFeeError,Ge as RevokePerpsCredentialsError,Eg as RevokeSessionKeyError,Wf as RfqCancelQuoteError,Vf as RfqCancelQuoteRejectedError,kg as RfqConfirmationDecision,Yf as RfqConfirmationError,Xf as RfqConfirmationRejectedError,lg as RfqDirection,mg as RfqExecutionStatus,ng as RfqKnownErrorCode,Uf as RfqQuoteError,Tf as RfqQuoteRejectedError,og as RfqRejectionCode,$f as RfqRequestRejectedError,pg as RfqRequestedSizeUnit,qg as RfqSide,rg as RfqStatus,tg as SearchError,sg as SearchSort,zg as SessionKeyKnownScope,fb as SetupTradingApprovalsError,wa as SortDirection,tf as SplitComboPositionError,rf as SplitMarketPositionError,qf as SplitPositionError,Kg as SubscribeError,xa as TipSide,ya as TradeFilterType,Tc as TraderLeaderboardSort,Yg as TransferErc20Error,Ke as TransferPerpsCollateralError,ba as UpdateBalanceAllowanceError,le as UpdatePerpsLeverageError,me as UpdatePerpsMarginError,if as UserPnlFidelity,jf as UserPnlInterval,eg as WaitForComboFillError,Ta as WaitForGaslessTransactionError,Od as WaitForOrderFillSettlementError,Je as WithdrawFromPerpsError,dg as acceptComboQuote,ab as approveErc1155ForAll,Ya as approveErc20,Dg 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,Oe as depositToPerps,kb as deriveApiKey,cf 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,we as fetchPerpsBook,Zd as fetchPerpsBuilderStatus,Ee as fetchPerpsFees,qe as fetchPerpsInstruments,se as fetchPerpsTicker,ue as fetchPerpsTickers,We as fetchPortfolioValue,Ob as fetchPrice,Qb as fetchPrices,Sf as fetchPublicProfile,Tg as fetchRelatedTagResources,Rg as fetchRelatedTags,zc as fetchResolutions,oa as fetchRewardPercentages,hg as fetchRfqStatus,yg as fetchSeries,Bg as fetchSessionKeys,Jg as fetchSportsMarketTypes,Wb as fetchSpread,Yb as fetchSpreads,Pg as fetchTag,Eb as fetchTickSize,ka as fetchTotalEarningsForUserForDay,Nc as fetchTraderLeaderboardStanding,db as fetchTradingApprovalsState,Ka as fetchTransaction,_e as fetchUserPnl,Ye as fetchUserStats,af 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,Ue 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,ye as listPerpsCandles,Ae as listPerpsFundingHistory,Ce as listPerpsTrades,Se as listPositions,gd as listPriceHistory,wg as listSeries,Hg as listSports,Ng as listTags,Vg as listTeams,Lc as listTraderLeaderboard,qa as listTrades,ma as listUserEarningsAndMarketsConfig,ia as listUserEarningsForDay,Gf as mergeComboPosition,Ef as mergeMarketPosition,Hf as mergePositions,Le as openPerpsSession,_f 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,Xg as prepareErc20Transfer,Ma as prepareGaslessTransaction,Jd as prepareLimitOrder,Nd as prepareLimitOrderPosting,Hd as prepareMarketOrder,Ld as prepareMarketOrderPosting,Af as prepareMergeComboPosition,yf as prepareMergeMarketPosition,Bf as prepareMergePositions,Ne as preparePerpsDeposit,Nf as prepareRedeemComboPosition,Kf as prepareRedeemMarketPositions,Lf as prepareRedeemPosition,Of as prepareRedeemPositions,of as prepareSplitComboPosition,mf as prepareSplitMarketPosition,pf as prepareSplitPosition,eb as prepareTradingApprovals,Qf as redeemPositions,bg as requestComboQuote,Qa as resignDepositWalletExecuteRequest,Ib as resolveConditionByToken,td as resolveEstimatedMarketPrice,ud as resolveMarketPriceFromOrderBook,wb as revokeBuilderApiKey,Me as revokePerpsCredentials,Fg as revokeSessionKey,ug as search,gb as setupTradingApprovals,Fd as signOrder,uf as splitComboPosition,sf as splitMarketPosition,vf as splitPosition,Lg as subscribe,Zg as transferErc20,Qe as transferPerpsCollateral,ca as updateBalanceAllowance,fg as waitForComboFill,Pd as waitForOrderFillSettlement,Pe as withdrawFromPerps}from'../chunk-5JHFOBBZ.js';import'../chunk-VLNLVY4C.js';//# sourceMappingURL=index.js.map
1
+ export{Tg as AcceptComboQuoteError,ib as ApproveErc1155ForAllError,eb as ApproveErc20Error,Ae as ApprovePerpsBuilderFeeError,Se as ArmPerpsAutoCancelError,rh as AuthorizeSessionKeyError,cd as BiggestWinnerKind,dd as BuilderVolumeInterval,Pd as CancelAllError,Rd as CancelMarketOrdersError,Ld as CancelOrderError,Nd as CancelOrdersError,Re as CancelPerpsChaseError,_e as CancelPerpsTwapError,yc as CollateralReturnKnownOperationKind,Zg as ComboAcceptFailureReason,Da as ComboActivityType,Uf as ComboPositionSortBy,Vf as ComboPositionStatus,_g as ComboQuoteUnavailableReason,zd as ConvertError,qb as CreateApiKeyError,Ab as CreateBuilderApiKeyError,ue as CreateLimitOrderError,qe as CreateMarketOrderError,ub as CreateOrDeriveApiKeyError,Pe as CreatePerpsChaseError,We as CreatePerpsTwapError,yb as DeleteApiKeyError,Qa as DeployDepositWalletError,uf as DepositToPerpsError,sb as DeriveApiKeyError,Sf as DownloadAccountingSnapshotError,fa as DropNotificationsError,Bh as EquityMarketStatus,Td as EstimateMarketPriceError,wc as ExecuteCollateralReturnPlanError,wb as FetchApiKeysError,ha as FetchBalanceAllowanceError,Cb as FetchBuilderApiKeysError,Ub as FetchBuilderFeeRatesError,Wc as FetchBuilderVolumeError,X as FetchClosedOnlyModeError,Bc as FetchCommentsByIdError,qc as FetchCurrentRebatesError,Hc as FetchEventError,Nc as FetchEventLiveVolumeError,Jc as FetchEventTagsError,La as FetchExecuteParamsError,Sa as FetchGaslessTransactionError,gc as FetchLastTradePriceError,ic as FetchLastTradePricesError,nd as FetchMarketError,Sb as FetchMarketInfoError,pd as FetchMarketTagsError,Ib as FetchMidpointError,Kb as FetchMidpointsError,Ob as FetchNegRiskError,da as FetchNotificationsError,vd as FetchOpenInterestError,_b as FetchOrderBookError,ac as FetchOrderBooksError,$ as FetchOrderError,la as FetchOrderScoringError,na as FetchOrdersScoringError,hf as FetchPerpsBookError,Me as FetchPerpsBuilderApprovalsError,Oe as FetchPerpsBuilderEarningsSummaryError,ye as FetchPerpsBuilderStatusError,Qe as FetchPerpsChasesError,pf as FetchPerpsFeesError,bf as FetchPerpsInstrumentsError,Be as FetchPerpsPositionSnapshotsError,Ef as FetchPerpsRegistrationError,df as FetchPerpsTickerError,ff as FetchPerpsTickersError,Xe as FetchPerpsTwapsError,Kf as FetchPortfolioValueError,Wb as FetchPriceError,Yb as FetchPricesError,Gg as FetchPublicProfileError,Kh as FetchRelatedTagResourcesError,Ih as FetchRelatedTagsError,Lc as FetchResolutionsError,va as FetchRewardPercentagesError,Xg as FetchRfqStatusError,mh as FetchSeriesError,ph as FetchSessionKeysError,xh as FetchSportsMarketTypesError,cc as FetchSpreadError,ec as FetchSpreadsError,Gh as FetchTagError,Mb as FetchTickSizeError,Oh as FetchTokenReferencesError,ra as FetchTotalEarningsForUserForDayError,_c as FetchTraderLeaderboardStandingError,lb as FetchTradingApprovalsStateError,Of as FetchUserPnlError,Mf as FetchUserStatsError,Qf as FetchUserVolumeError,bb as GaslessTransactionHandle,Pa as GaslessTransactionMetadataSchema,Hd as HorizontalMergeError,Dd as HorizontalSplitError,Na as IsWalletDeployedError,Ch as KnownPriceSource,ed as LeaderboardWindow,ba as ListAccountTradesError,za as ListActivityError,ad as ListBiggestWinnersError,Uc as ListBuilderLeaderboardError,Gb as ListBuilderTradesError,Ba as ListComboActivityError,ld as ListComboMarketsError,If as ListComboPositionsError,Dc as ListCommentsByUserAddressError,zc as ListCommentsError,kc as ListCurrentRewardsError,Fc as ListEventsError,gd as ListMarketClarificationsError,rd as ListMarketHoldersError,mc as ListMarketRewardsError,jd as ListMarketsError,Z as ListOpenOrdersError,Ne as ListPerpsBuilderEarningsError,jf as ListPerpsCandlesError,lf as ListPerpsFundingHistoryError,nf as ListPerpsTradesError,Gf as ListPositionsError,td as ListPriceHistoryError,oc as ListRewardMarketsError,kh as ListSeriesError,vh as ListSportsError,Eh as ListTagsError,Mh as ListTeamsError,Yc as ListTraderLeaderboardError,xa as ListTradesError,ta as ListUserEarningsAndMarketsConfigError,pa as ListUserEarningsForDayError,ug as MergeComboPositionError,sg as MergeMarketPositionError,rg as MergePositionsError,rf as OpenPerpsSessionError,Og as OpenRfqSessionError,Ye as PausePerpsTwapError,Df as PerpsTwapStatus,we as PlaceLimitOrderError,se as PlaceMarketOrderError,sc as PlanCollateralReturnError,Wf as PositionFilterType,Xf as PositionSortBy,Yf as PositionStatus,Xd as PostOrderError,Yd as PostOrdersError,uc as PrepareCollateralReturnExecutionError,xd as PrepareConvertError,gb as PrepareErc1155ApprovalForAllError,cb as PrepareErc20ApprovalError,Qh as PrepareErc20TransferError,Ua as PrepareGaslessTransactionError,Fd as PrepareHorizontalMergeError,Bd as PrepareHorizontalSplitError,ie as PrepareLimitOrderError,me as PrepareLimitOrderPostingError,ge as PrepareMarketOrderError,ke as PrepareMarketOrderPostingError,og as PrepareMergeComboPositionError,mg as PrepareMergeMarketPositionError,lg as PrepareMergePositionsError,tf as PreparePerpsDepositError,Bg as PrepareRedeemComboPositionError,yg as PrepareRedeemMarketPositionsError,xg as PrepareRedeemPositionsError,cg as PrepareSplitComboPositionError,ag as PrepareSplitMarketPositionError,$f as PrepareSplitPositionError,kb as PrepareTradingApprovalsError,id as PriceHistoryInterval,Dh as PriceProvider,Eg as RedeemPositionsError,Rg as RequestComboQuoteError,Pc as ResolutionMarketType,Qc as ResolutionReporter,Rc as ResolutionSettlementTimeBasis,Sc as ResolutionSource,Tc as ResolutionStatus,Qb as ResolveConditionByTokenError,Ze as ResumePerpsTwapError,Eb as RevokeBuilderApiKeyError,$e as RevokePerpsBuilderFeeError,sf as RevokePerpsCredentialsError,th as RevokeSessionKeyError,Lg as RfqCancelQuoteError,Kg as RfqCancelQuoteRejectedError,$g as RfqConfirmationDecision,Ng as RfqConfirmationError,Mg as RfqConfirmationRejectedError,ah as RfqDirection,bh as RfqExecutionStatus,ch as RfqKnownErrorCode,Jg as RfqQuoteError,Ig as RfqQuoteRejectedError,dh as RfqRejectionCode,Qg as RfqRequestRejectedError,eh as RfqRequestedSizeUnit,fh as RfqSide,gh as RfqStatus,ih as SearchError,hh as SearchSort,Jd as SendOrderHeartbeatError,oh as SessionKeyKnownScope,ob as SetupTradingApprovalsError,Ea as SortDirection,ig as SplitComboPositionError,gg as SplitMarketPositionError,fg as SplitPositionError,zh as SubscribeError,Fa as TipSide,Ga as TradeFilterType,fd as TraderLeaderboardSort,Sh as TransferErc20Error,wf as TransferPerpsCollateralError,ja as UpdateBalanceAllowanceError,Te as UpdatePerpsLeverageError,Ue as UpdatePerpsLeveragesError,Ve as UpdatePerpsMarginError,Zf as UserPnlFidelity,_f as UserPnlInterval,Vg as WaitForComboFillError,ab as WaitForGaslessTransactionError,oe as WaitForOrderFillSettlementError,vf as WithdrawFromPerpsError,Ug as acceptComboQuote,jb as approveErc1155ForAll,fb as approveErc20,sh as authorizeSessionKey,Ya as buildDepositWalletExecuteRequest,Wa as buildProxyWalletExecuteRequest,_a as buildSafeWalletExecuteRequest,Qd as cancelAll,Sd as cancelMarketOrders,Md as cancelOrder,Od as cancelOrders,Ad as convert,rb as createApiKey,Bb as createBuilderApiKey,ve as createLimitOrder,re as createMarketOrder,vb as createOrDeriveApiKey,zb as deleteApiKey,Ra as deployDepositWallet,Af as depositToPerps,tb as deriveApiKey,Tf as downloadAccountingSnapshot,ga as dropNotifications,Ud as estimateMarketPrice,xc as executeCollateralReturnPlan,Xa as extractOnChainNonceFromSubmitError,xb as fetchApiKeys,ia as fetchBalanceAllowance,Db as fetchBuilderApiKeys,Vb as fetchBuilderFeeRates,Xc as fetchBuilderVolume,Y as fetchClosedOnlyMode,Cc as fetchCommentsById,rc as fetchCurrentRebates,Ic as fetchEvent,Oc as fetchEventLiveVolume,Kc as fetchEventTags,Ma as fetchExecuteParams,hc as fetchLastTradePrice,jc as fetchLastTradePrices,od as fetchMarket,Tb as fetchMarketInfo,qd as fetchMarketTags,Jb as fetchMidpoint,Lb as fetchMidpoints,Pb as fetchNegRisk,ea as fetchNotifications,wd as fetchOpenInterest,aa as fetchOrder,$b as fetchOrderBook,bc as fetchOrderBooks,ma as fetchOrderScoring,oa as fetchOrdersScoring,if as fetchPerpsBook,ze as fetchPerpsBuilderStatus,qf as fetchPerpsFees,cf as fetchPerpsInstruments,Ce as fetchPerpsPositionSnapshots,Ff as fetchPerpsRegistration,ef as fetchPerpsTicker,gf as fetchPerpsTickers,Lf as fetchPortfolioValue,Xb as fetchPrice,Zb as fetchPrices,Hg as fetchPublicProfile,Lh as fetchRelatedTagResources,Jh as fetchRelatedTags,Mc as fetchResolutions,wa as fetchRewardPercentages,Yg as fetchRfqStatus,nh as fetchSeries,qh as fetchSessionKeys,yh as fetchSportsMarketTypes,dc as fetchSpread,fc as fetchSpreads,Hh as fetchTag,Nb as fetchTickSize,Ph as fetchTokenReferences,sa as fetchTotalEarningsForUserForDay,$c as fetchTraderLeaderboardStanding,mb as fetchTradingApprovalsState,Ta as fetchTransaction,Pf as fetchUserPnl,Nf as fetchUserStats,Rf as fetchUserVolume,Id as horizontalMerge,Ed as horizontalSplit,$a as isRetryableGaslessSubmitError,Oa as isWalletDeployed,ca as listAccountTrades,Aa as listActivity,bd as listBiggestWinners,Vc as listBuilderLeaderboard,Hb as listBuilderTrades,Ca as listComboActivity,md as listComboMarkets,Jf as listComboPositions,Ac as listComments,Ec as listCommentsByUserAddress,lc as listCurrentRewards,Gc as listEvents,hd as listMarketClarifications,sd as listMarketHolders,nc as listMarketRewards,kd as listMarkets,_ as listOpenOrders,kf as listPerpsCandles,mf as listPerpsFundingHistory,of as listPerpsTrades,Hf as listPositions,ud as listPriceHistory,pc as listRewardMarkets,lh as listSeries,wh as listSports,Fh as listTags,Nh as listTeams,Zc as listTraderLeaderboard,ya as listTrades,ua as listUserEarningsAndMarketsConfig,qa as listUserEarningsForDay,vg as mergeComboPosition,tg as mergeMarketPosition,wg as mergePositions,xf as openPerpsSession,Pg as openRfqSession,xe as placeLimitOrder,te as placeMarketOrder,tc as planCollateralReturn,Zd as postOrder,_d as postOrders,vc as prepareCollateralReturnExecution,yd as prepareConvert,hb as prepareErc1155ApprovalForAll,db as prepareErc20Approval,Rh as prepareErc20Transfer,Va as prepareGaslessTransaction,Gd as prepareHorizontalMerge,Cd as prepareHorizontalSplit,je as prepareLimitOrder,ne as prepareLimitOrderPosting,he as prepareMarketOrder,le as prepareMarketOrderPosting,pg as prepareMergeComboPosition,ng as prepareMergeMarketPosition,qg as prepareMergePositions,zf as preparePerpsDeposit,Cg as prepareRedeemComboPosition,zg as prepareRedeemMarketPositions,Ag as prepareRedeemPosition,Dg as prepareRedeemPositions,dg as prepareSplitComboPosition,bg as prepareSplitMarketPosition,eg as prepareSplitPosition,nb as prepareTradingApprovals,Fg as redeemPositions,Sg as requestComboQuote,Za as resignDepositWalletExecuteRequest,Rb as resolveConditionByToken,Vd as resolveEstimatedMarketPrice,Wd as resolveMarketPriceFromOrderBook,Fb as revokeBuilderApiKey,yf as revokePerpsCredentials,uh as revokeSessionKey,jh as search,Kd as sendOrderHeartbeat,pb as setupTradingApprovals,fe as signOrder,jg as splitComboPosition,hg as splitMarketPosition,kg as splitPosition,Ah as subscribe,Th as transferErc20,Cf as transferPerpsCollateral,ka as updateBalanceAllowance,Wg as waitForComboFill,pe as waitForOrderFillSettlement,Bf as withdrawFromPerps}from'../chunk-IRLMIGOU.js';import'../chunk-XUX2UYIW.js';//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map