@polymarket/client 0.13.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,13 +1,13 @@
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';
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-DxgyI41A.js';
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
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, EquityTwapPriceEvent, EquityTwapPriceSnapshotEvent, KnownPriceSource, MarketEvent, PerpsBboEvent, PerpsBookEvent, PerpsBuilderFillUpdateEvent, PerpsCandleEvent, PerpsMarketDataEvent, PerpsSessionEvent, PerpsStatisticEvent, PerpsTickerEvent, PerpsTradeEvent, PriceProvider, PriceSource, SportsEvent, StandardMarketEvent, UserEvent } from '@polymarket/bindings/subscriptions';
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
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';
@@ -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{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
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