@polymarket/client 0.3.0-beta.0 → 0.3.0-beta.1

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.
@@ -1,5 +1,5 @@
1
1
  import { OrderResponse } from '@polymarket/bindings/clob';
2
- import { bN as RateLimitError, bQ as RequestRejectedError, cz as SigningError, cH as TransportError, cK as UnexpectedResponseError, U as UserInputError, ay as InsufficientLiquidityError, h as BaseSecureClient, fc as PrepareLimitOrderRequest, eR as OrderWorkflow, eQ as OrderPostingWorkflow, fe as PrepareMarketOrderRequest, p as CancelledSigningError, bD as PostOrderError, cC as TimeoutError, cD as TransactionFailedError, fQ as SignedOrder, B as BaseClient } from './types-CJLEdIu5.js';
2
+ import { bP as RateLimitError, bS as RequestRejectedError, cB as SigningError, cJ as TransportError, cM as UnexpectedResponseError, U as UserInputError, ay as InsufficientLiquidityError, h as BaseSecureClient, fe as PrepareLimitOrderRequest, eT as OrderWorkflow, eS as OrderPostingWorkflow, fg as PrepareMarketOrderRequest, p as CancelledSigningError, bF as PostOrderError, cE as TimeoutError, cF as TransactionFailedError, fS as SignedOrder, B as BaseClient } from './types-BXOHrumK.js';
3
3
  import { SportsMarketTypesResponse, SportsMetadata } from '@polymarket/bindings/gamma';
4
4
 
5
5
  type PrepareMarketOrderError = InsufficientLiquidityError | RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
@@ -10,7 +10,7 @@ import * as _polymarket_bindings_data from '@polymarket/bindings/data';
10
10
  import { Activity, ComboActivity, Trade, Value, Traded, ClosedPosition, ComboPosition, Position, MetaMarketPosition, LeaderboardEntry, BuilderVolumeEntry, TraderLeaderboardEntry, LiveVolume, OpenInterest, MetaHolder } from '@polymarket/bindings/data';
11
11
  import * as _polymarket_bindings_combos from '@polymarket/bindings/combos';
12
12
  import { ComboMarket, RfqQuoteRequest, RfqRequestedSize, RfqSide, RfqQuoteAck, RfqConfirmationRequest, RfqConfirmationAck as RfqConfirmationAck$1, RfqExecutionUpdate, RfqTrade, RfqQuoteCancelAck, RfqErrorCode, RfqId, RfqQuoteId, CollateralReturnPlanResponse } from '@polymarket/bindings/combos';
13
- import { PerpsInstrument, PerpsTicker, PerpsBook, PerpsCandle, PerpsFundingRate, PerpsPublicTrade, PerpsFeeScheduleEntry, PerpsWithdrawalId, PerpsDepositStatus, PerpsWithdrawalStatus, PerpsPnlInterval, PerpsDecimalInput, PerpsTimeInForce, PerpsCredentials, PerpsBalance, PerpsPortfolio, PerpsAccountStats, PerpsAccountConfig, PerpsOrder, PerpsAccountFill, PerpsAccountFundingPayment, PerpsDeposit, PerpsWithdrawal, PerpsEquityPoint, PerpsPnlPoint, PerpsOrderId, PerpsPostOrderAck, PerpsCancelOrderResult, PerpsUpdateLeverageResult, PerpsInstrumentCategory, PerpsKlineInterval } from '@polymarket/bindings/perps';
13
+ import { PerpsInstrument, PerpsTicker, PerpsBook, PerpsCandle, PerpsFundingRate, PerpsPublicTrade, PerpsFeeScheduleEntry, PerpsWithdrawalId, PerpsSortDirection, PerpsDepositStatus, PerpsWithdrawalStatus, PerpsPnlInterval, PerpsDecimalInput, PerpsTimeInForce, PerpsCredentials, PerpsBalance, PerpsPortfolio, PerpsAccountStats, PerpsAccountConfig, PerpsOrder, PerpsAccountFill, PerpsAccountFundingPayment, PerpsDeposit, PerpsWithdrawal, PerpsEquityPoint, PerpsPnlPoint, PerpsNotificationEntry, PerpsOrderId, PerpsPostOrderAck, PerpsCancelOrderResult, PerpsUpdateLeverageResult, PerpsInstrumentCategory, PerpsKlineInterval } from '@polymarket/bindings/perps';
14
14
  import { PerpsSessionEvent, CommentsEvent, CryptoPricesTopic, CryptoPricesChainlinkTwapTopic, CryptoPricesChainlinkTwapWindowSeconds, EquityPricesTopic, EquityPricesEvent, MarketEvent, StandardMarketEvent, CryptoPricesChainlinkTwapThirtyEvent, CryptoPricesChainlinkTwapSixtyEvent, CryptoPricesChainlinkTwapEvent, UserEvent, SportsEvent, CryptoPricesBinanceEvent, CryptoPricesChainlinkEvent, PerpsTradeEvent, PerpsBboEvent, PerpsBookEvent, PerpsCandleEvent, PerpsTickerEvent, PerpsStatisticEvent, CryptoPricesEvent, PerpsMarketDataEvent } from '@polymarket/bindings/subscriptions';
15
15
  import { Hex } from 'ox';
16
16
 
@@ -6310,11 +6310,10 @@ type ListPerpsFillsRequest = {
6310
6310
  start?: number;
6311
6311
  /** Inclusive end timestamp in milliseconds. */
6312
6312
  end?: number;
6313
+ /** Time sort direction. Defaults to newest fills first. */
6314
+ sort?: PerpsSortDirection;
6313
6315
  /** Opaque cursor returned by a previous page. */
6314
6316
  cursor?: PaginationCursor;
6315
- } | {
6316
- /** Opaque cursor returned by a previous page. */
6317
- cursor: PaginationCursor;
6318
6317
  };
6319
6318
  /**
6320
6319
  * @experimental This API may change in a breaking way in any release, including patch releases.
@@ -6400,6 +6399,44 @@ type ListPerpsPnlHistoryRequest = {
6400
6399
  /** Opaque cursor returned by a previous page. */
6401
6400
  cursor: PaginationCursor;
6402
6401
  };
6402
+ /**
6403
+ * @experimental This API may change in a breaking way in any release, including patch releases.
6404
+ */
6405
+ type ListPerpsNotificationsRequest = {
6406
+ /**
6407
+ * Inclusive sequence lower bound used to backfill notifications missed
6408
+ * while disconnected. Use the `sequence` of the last notification event
6409
+ * processed before the gap. Follow-up pages keep the same bound
6410
+ * automatically. Merged results should be deduplicated by notification
6411
+ * id.
6412
+ */
6413
+ sinceSeq?: number;
6414
+ /** Maximum number of notifications per page. */
6415
+ limit?: number;
6416
+ /** Opaque cursor returned by a previous page. */
6417
+ cursor?: PaginationCursor;
6418
+ } | {
6419
+ /** Opaque cursor returned by a previous page. */
6420
+ cursor: PaginationCursor;
6421
+ };
6422
+ /**
6423
+ * @experimental This API may change in a breaking way in any release, including patch releases.
6424
+ */
6425
+ type MarkPerpsNotificationsReadRequest = {
6426
+ /** Notification ids to mark read. */
6427
+ ids: string[];
6428
+ } | {
6429
+ /**
6430
+ * Mark every notification at or before this notification read,
6431
+ * inclusive.
6432
+ */
6433
+ upTo: {
6434
+ /** Notification id. */
6435
+ id: string;
6436
+ /** Notification timestamp in milliseconds. */
6437
+ timestamp: number;
6438
+ };
6439
+ };
6403
6440
 
6404
6441
  /**
6405
6442
  * Good-til-cancelled Perps order.
@@ -6942,7 +6979,11 @@ declare class PerpsSession implements AsyncIterable<PerpsSessionEvent> {
6942
6979
  */
6943
6980
  fetchOrders(request?: FetchPerpsOrdersRequest): Promise<PerpsOrder[]>;
6944
6981
  /**
6945
- * Lists Perps fills with SDK-owned pagination.
6982
+ * Lists Perps fills
6983
+ *
6984
+ * @remarks
6985
+ * Fills are returned newest first by default; set `sort` to change the
6986
+ * time direction. Page cursors are opaque values forwarded to the API.
6946
6987
  *
6947
6988
  * @throws {@link PerpsSessionAccountError}
6948
6989
  * Thrown on failure.
@@ -6995,6 +7036,69 @@ declare class PerpsSession implements AsyncIterable<PerpsSessionEvent> {
6995
7036
  * @experimental This API may change in a breaking way in any release, including patch releases.
6996
7037
  */
6997
7038
  listPnlHistory(request: ListPerpsPnlHistoryRequest): Paginated<PerpsPnlPoint[]>;
7039
+ /**
7040
+ * Lists Perps notifications, newest first, with SDK-owned pagination.
7041
+ *
7042
+ * @remarks
7043
+ * After a `resync` session event, pass `sinceSeq` to backfill missed
7044
+ * notifications: anchor it at the `sequence` of the last notification event
7045
+ * processed before the gap and deduplicate merged results by notification
7046
+ * id. Follow-up pages keep the same `sinceSeq` bound automatically.
7047
+ *
7048
+ * Notifications with types unknown to this SDK version are omitted from
7049
+ * page items, so newly introduced notification kinds never fail the read.
7050
+ *
7051
+ * @example
7052
+ * ```ts
7053
+ * const page = await session.listNotifications().firstPage();
7054
+ * console.log(page.items.length);
7055
+ * ```
7056
+ *
7057
+ * @throws {@link PerpsSessionAccountError}
7058
+ * Thrown on failure.
7059
+ *
7060
+ * @experimental This API may change in a breaking way in any release, including patch releases.
7061
+ */
7062
+ listNotifications(request?: ListPerpsNotificationsRequest): Paginated<PerpsNotificationEntry[]>;
7063
+ /**
7064
+ * Fetches the account's count of unread Perps notifications.
7065
+ *
7066
+ * @example
7067
+ * ```ts
7068
+ * const unread = await session.fetchUnreadNotificationsCount();
7069
+ * ```
7070
+ *
7071
+ * @throws {@link PerpsSessionAccountError}
7072
+ * Thrown on failure.
7073
+ *
7074
+ * @experimental This API may change in a breaking way in any release, including patch releases.
7075
+ */
7076
+ fetchUnreadNotificationsCount(): Promise<number>;
7077
+ /**
7078
+ * Marks Perps notifications read, either by id or up to a notification.
7079
+ *
7080
+ * @remarks
7081
+ * Read state is account-scoped: only the authenticated account's
7082
+ * notifications can be marked read.
7083
+ *
7084
+ * @example
7085
+ * ```ts
7086
+ * await session.markNotificationsRead({ ids: [notification.id] });
7087
+ * ```
7088
+ *
7089
+ * @example
7090
+ * ```ts
7091
+ * await session.markNotificationsRead({
7092
+ * upTo: { id: entry.notification.id, timestamp: entry.timestamp },
7093
+ * });
7094
+ * ```
7095
+ *
7096
+ * @throws {@link PerpsSessionAccountError}
7097
+ * Thrown on failure.
7098
+ *
7099
+ * @experimental This API may change in a breaking way in any release, including patch releases.
7100
+ */
7101
+ markNotificationsRead(request: MarkPerpsNotificationsReadRequest): Promise<void>;
6998
7102
  /**
6999
7103
  * Places one Perps order and resolves with the first matching orders update.
7000
7104
  *
@@ -8633,4 +8737,4 @@ type Signer = {
8633
8737
  sendTransaction(request: SignerTransactionRequest): Promise<TransactionHandle>;
8634
8738
  };
8635
8739
 
8636
- export { FetchMarketTagsError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type CryptoPricesChainlinkTwapSubscription as D, type DataActions as E, DepositToPerpsError as F, type DepositToPerpsRequest as G, type DiscoveryActions as H, DownloadAccountingSnapshotError as I, DropNotificationsError as J, type EnvironmentConfig as K, type EnvironmentConfigFork as L, type EnvironmentContracts as M, EstimateMarketPriceError as N, ExecuteCollateralReturnPlanError as O, type ExecuteCollateralReturnPlanRequest as P, FetchClosedOnlyModeError as Q, FetchCommentsByIdError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchEventError as V, FetchEventLiveVolumeError as W, FetchEventTagsError as X, FetchLastTradePriceError as Y, FetchLastTradePricesError as Z, FetchMarketError as _, type TypedData as a, ListPerpsTradesError as a$, FetchMidpointError as a0, FetchMidpointsError as a1, FetchNotificationsError as a2, FetchOrderBookError as a3, FetchOrderBooksError as a4, FetchOrderError as a5, FetchOrderScoringError as a6, FetchOrdersScoringError as a7, type FetchPerpsAccountConfigRequest as a8, FetchPerpsBookError as a9, ListActivityError as aA, ListBuilderLeaderboardError as aB, ListBuilderTradesError as aC, ListBuilderVolumeError as aD, ListClosedPositionsError as aE, ListComboActivityError as aF, ListComboMarketsError as aG, ListComboPositionsError as aH, ListCommentsByUserAddressError as aI, ListCommentsError as aJ, ListCurrentRewardsError as aK, ListEventsError as aL, ListMarketHoldersError as aM, ListMarketPositionsError as aN, ListMarketRewardsError as aO, ListMarketsError as aP, ListOpenInterestError as aQ, ListOpenOrdersError as aR, ListPerpsCandlesError as aS, type ListPerpsCandlesRequest as aT, type ListPerpsDepositsRequest as aU, type ListPerpsEquityHistoryRequest as aV, type ListPerpsFillsRequest as aW, ListPerpsFundingHistoryError as aX, type ListPerpsFundingHistoryRequest as aY, type ListPerpsFundingPaymentsRequest as aZ, type ListPerpsPnlHistoryRequest as a_, type FetchPerpsBookRequest as aa, FetchPerpsFeesError as ab, FetchPerpsInstrumentsError as ac, type FetchPerpsInstrumentsRequest as ad, type FetchPerpsOpenOrdersRequest as ae, type FetchPerpsOrdersRequest as af, FetchPerpsTickerError as ag, type FetchPerpsTickerRequest as ah, FetchPerpsTickersError as ai, type FetchPerpsTickersRequest as aj, FetchPortfolioValueError as ak, FetchPriceError as al, FetchPriceHistoryError as am, FetchPricesError as an, FetchPublicProfileError as ao, FetchRelatedTagResourcesError as ap, FetchRelatedTagsError as aq, FetchRewardPercentagesError as ar, FetchSeriesError as as, FetchSpreadError as at, FetchSpreadsError as au, FetchTagError as av, FetchTotalEarningsForUserForDayError as aw, FetchTradedMarketCountError as ax, InsufficientLiquidityError as ay, ListAccountTradesError as az, type TransactionCall as b, RfqConfirmationError as b$, type ListPerpsTradesRequest as b0, type ListPerpsWithdrawalsRequest as b1, ListPositionsError as b2, ListSeriesError as b3, ListTagsError as b4, ListTeamsError as b5, ListTraderLeaderboardError as b6, ListTradesError as b7, ListUserEarningsAndMarketsConfigError as b8, ListUserEarningsForDayError as b9, type PlacePerpsPositionTpSlRequest as bA, type PlacePerpsPositionTpSlResult as bB, PlanCollateralReturnError as bC, PostOrderError as bD, PostOrdersError as bE, type PostPerpsOrdersRequest as bF, type PublicAccountActions as bG, type PublicActions as bH, type PublicClient as bI, type PublicClientOptions as bJ, type PublicPerpsActions as bK, type PublicRewardsActions as bL, type PublicSubscriptionsActions as bM, RateLimitError as bN, type RateLimitErrorOptions as bO, RedeemPositionsError as bP, RequestRejectedError as bQ, type RequestRejectedErrorOptions as bR, type RestEndpoint as bS, type ResumePerpsSessionRequest as bT, RevokePerpsCredentialsError as bU, type RevokePerpsCredentialsRequest as bV, type RfqCancelQuoteAck as bW, RfqCancelQuoteError as bX, RfqCancelQuoteRejectedError as bY, type RfqCancelQuoteRejectedErrorOptions as bZ, type RfqConfirmationAck as b_, MergePositionsError as ba, OpenPerpsSessionError as bb, type OpenPerpsSessionRequest as bc, OpenRfqSessionError as bd, type Page as be, PageSizeSchema as bf, type Paginated as bg, type PerpsActions as bh, type PerpsBookDepth as bi, type PerpsEndpoints as bj, type PerpsOrderRequest as bk, type PerpsPlaceFokOrderRequest as bl, type PerpsPlaceGtcOrderRequest as bm, type PerpsPlaceIocOrderRequest as bn, type PerpsPlacedTpSlOrder as bo, type PerpsPlacedTpSlOrders as bp, type PerpsPositionTpSlTrigger as bq, PerpsSession as br, type PerpsSessionAccountError as bs, type PerpsSessionLifecycleError as bt, type PerpsSessionTradingError as bu, type PerpsTpSlTrigger as bv, type PlacePerpsOrderRequest as bw, type PlacePerpsOrderResult as bx, type PlacePerpsOrderWithTpSlRequest as by, type PlacePerpsOrderWithTpSlResult as bz, type AccountIdentity as c, discoveryActions as c$, RfqConfirmationRejectedError as c0, type RfqConfirmationRequestEvent as c1, type RfqEvent as c2, RfqQuoteError as c3, type RfqQuoteReference as c4, RfqQuoteRejectedError as c5, type RfqQuoteRejectedErrorOptions as c6, type RfqQuoteRequestEvent as c7, type RfqQuoteResponse as c8, type RfqQuoteSource as c9, SplitPositionError as cA, SubscribeError as cB, TimeoutError as cC, TransactionFailedError as cD, type TransactionHandle as cE, type TransactionOutcome as cF, TransferErc20Error as cG, TransportError as cH, type TypedDataDomain as cI, type TypedDataField as cJ, UnexpectedResponseError as cK, UpdatePerpsLeverageError as cL, type UpdatePerpsLeverageRequest as cM, WaitForOrderFillSettlementError as cN, WaitForTransactionError as cO, type WalletDerivationConfig as cP, type WebSocketCloseCode as cQ, type WebSocketEndpoint as cR, WebSocketKnownCloseCode as cS, WithdrawFromPerpsError as cT, type WithdrawFromPerpsRequest as cU, accountActions as cV, allActions as cW, analyticsActions as cX, createPublicClient as cY, createSecureClient as cZ, dataActions as c_, type RfqSession as ca, type RfqTradeEvent as cb, SearchError as cc, SearchSort as cd, type SecureAccountActions as ce, type SecureActions as cf, type SecureClient as cg, type SecureClientOptions as ch, type SecureDownloadAccountingSnapshotRequest as ci, type SecureFetchPortfolioValueRequest as cj, type SecureFetchTradedMarketCountRequest as ck, type SecureListActivityRequest as cl, type SecureListClosedPositionsRequest as cm, type SecureListComboActivityRequest as cn, type SecureListComboPositionsRequest as co, type SecureListPositionsRequest as cp, type SecurePerpsActions as cq, type SecureRewardsActions as cr, type SecureRfqActions as cs, type SecureSubscriptionsActions as ct, type SecureTradingActions as cu, type SecureWalletActions as cv, SetupGaslessWalletError as cw, SetupTradingApprovalsError as cx, type SignerTransactionRequest as cy, SigningError as cz, type AnalyticsActions as d, type FetchPricesRequest as d$, forkEnvironmentConfig as d0, makeErrorGuard as d1, perpsActions as d2, production as d3, rewardsActions as d4, rfqActions as d5, subscriptionsActions as d6, tradingActions as d7, walletActions as d8, type CancelMarketOrdersRequest as d9, FetchBuilderFeeRatesError as dA, type FetchBuilderFeeRatesRequest as dB, type FetchCommentsByIdRequest as dC, type FetchEventLiveVolumeRequest as dD, type FetchEventRequest as dE, type FetchEventTagsRequest as dF, FetchExecuteParamsError as dG, type FetchExecuteParamsRequest as dH, type FetchGaslessTransactionRequest as dI, type FetchLastTradePriceRequest as dJ, type FetchLastTradePricesRequest as dK, FetchMarketInfoError as dL, type FetchMarketInfoRequest as dM, type FetchMarketRequest as dN, type FetchMarketTagsRequest as dO, type FetchMidpointRequest as dP, type FetchMidpointsRequest as dQ, FetchNegRiskError as dR, type FetchNegRiskRequest as dS, type FetchOrderBookRequest as dT, type FetchOrderBooksRequest as dU, type FetchOrderRequest as dV, type FetchOrderScoringRequest as dW, type FetchOrdersScoringRequest as dX, type FetchPortfolioValueRequest as dY, type FetchPriceHistoryRequest as dZ, type FetchPriceRequest as d_, type CancelOrderRequest as da, type CancelOrdersRequest as db, type CollateralReturnExecutionWorkflow as dc, type CommentsEventType as dd, type CommentsSubscription as de, type CryptoPricesEventType as df, type CryptoPricesSubscription as dg, DeployDepositWalletError as dh, type DownloadAccountingSnapshotRequest as di, type DropNotificationsRequest as dj, type EquityPricesEventType as dk, type EquityPricesSubscription as dl, type Erc1155ApprovalForAllWorkflow as dm, type Erc1155ApprovalForAllWorkflowRequest as dn, type Erc20ApprovalWorkflow as dp, type Erc20ApprovalWorkflowRequest as dq, type Erc20TransferWorkflow as dr, type Erc20TransferWorkflowRequest as ds, type EstimateMarketBuyPriceRequest as dt, type EstimateMarketPriceRequest as du, type EstimateMarketSellPriceRequest as dv, type EventForSubscriptionSpec as dw, type EventForSubscriptionSpecs as dx, FetchBalanceAllowanceError as dy, type FetchBalanceAllowanceRequest as dz, ApproveErc1155ForAllError as e, type PerpsStreamingCandleInterval as e$, type FetchPublicProfileRequest as e0, type FetchRelatedTagResourcesRequest as e1, type FetchRelatedTagsRequest as e2, type FetchSeriesRequest as e3, type FetchSpreadRequest as e4, type FetchSpreadsRequest as e5, type FetchTagRequest as e6, FetchTickSizeError as e7, type FetchTickSizeRequest as e8, type FetchTotalEarningsForUserForDayRequest as e9, type ListOpenOrdersRequest as eA, type ListPositionsRequest as eB, type ListSeriesRequest as eC, type ListTagsRequest as eD, type ListTeamsRequest as eE, type ListTraderLeaderboardRequest as eF, type ListTradesRequest as eG, type ListUserEarningsAndMarketsConfigRequest as eH, type ListUserEarningsForDayRequest as eI, type MarketEventType as eJ, type MarketSubscription as eK, MergeComboPositionError as eL, MergeMarketPositionError as eM, type MergePositionsWorkflow as eN, type MergePositionsWorkflowRequest as eO, type OrderDraft as eP, type OrderPostingWorkflow as eQ, type OrderWorkflow as eR, type OrderWorkflowRequest as eS, type PerpsBboSubscription as eT, type PerpsBookSubscription as eU, type PerpsCandlesSubscription as eV, type PerpsDepositWorkflow as eW, type PerpsDepositWorkflowRequest as eX, type PerpsMarketDataEventType as eY, type PerpsMarketDataSubscription as eZ, type PerpsStatisticsSubscription as e_, type FetchTradedMarketCountRequest as ea, GaslessTransactionMetadataSchema as eb, type GaslessWorkflow as ec, type GaslessWorkflowRequest as ed, IsWalletDeployedError as ee, type IsWalletDeployedRequest as ef, type ListAccountTradesRequest as eg, type ListActivityRequest as eh, type ListBuilderLeaderboardRequest as ei, type ListBuilderTradesRequest as ej, type ListBuilderVolumeRequest as ek, type ListClosedPositionsRequest as el, type ListComboActivityRequest as em, type ListComboMarketsRequest as en, type ListComboPositionsRequest as eo, type ListCommentsByUserAddressRequest as ep, type ListCommentsRequest as eq, type ListCurrentRewardsRequest as er, type ListEventsRequest as es, ListMarketClarificationsError as et, type ListMarketClarificationsRequest as eu, type ListMarketHoldersRequest as ev, type ListMarketPositionsRequest as ew, type ListMarketRewardsRequest as ex, type ListMarketsRequest as ey, type ListOpenInterestRequest as ez, ApproveErc20Error as f, type UpdateBalanceAllowanceRequest as f$, type PerpsTickersSubscription as f0, type PerpsTradesSubscription as f1, type PostOrdersRequest as f2, PrepareCollateralReturnExecutionError as f3, PrepareErc1155ApprovalForAllError as f4, type PrepareErc1155ApprovalForAllRequest as f5, PrepareErc20ApprovalError as f6, type PrepareErc20ApprovalRequest as f7, PrepareErc20TransferError as f8, type PrepareErc20TransferRequest as f9, type PrepareSplitPositionRequest as fA, PrepareTradingApprovalsError as fB, type PublicRealtimeEvent as fC, type PublicRealtimeTopic as fD, type PublicSubscriptionSpec as fE, type RedeemPositionsWorkflow as fF, type RedeemPositionsWorkflowRequest as fG, ResolveConditionByTokenError as fH, type ResolveConditionByTokenRequest as fI, type RfqConfirmationRejectedErrorOptions as fJ, type RfqExecutionUpdateEvent as fK, type SearchRequest as fL, type SearchResults as fM, type SecureRealtimeEvent as fN, type SecureRealtimeTopic as fO, type SecureSubscriptionSpec as fP, type SignedOrder as fQ, SplitComboPositionError as fR, SplitMarketPositionError as fS, type SplitPositionWorkflow as fT, type SplitPositionWorkflowRequest as fU, type SportsEventType as fV, type SportsSubscription as fW, type SubscriptionHandle as fX, type TradingApprovalsWorkflow as fY, type TradingApprovalsWorkflowRequest as fZ, UpdateBalanceAllowanceError as f_, PrepareGaslessTransactionError as fa, type PrepareGaslessTransactionRequest as fb, type PrepareLimitOrderRequest as fc, type PrepareMarketBuyOrderRequest as fd, type PrepareMarketOrderRequest as fe, type PrepareMarketSellOrderRequest as ff, PrepareMergeComboPositionError as fg, type PrepareMergeComboPositionRequest as fh, PrepareMergeMarketPositionError as fi, type PrepareMergeMarketPositionRequest as fj, PrepareMergePositionsError as fk, type PrepareMergePositionsRequest as fl, PreparePerpsDepositError as fm, PrepareRedeemComboPositionError as fn, type PrepareRedeemComboPositionRequest as fo, type PrepareRedeemMarketPositionsByConditionIdRequest as fp, type PrepareRedeemMarketPositionsByMarketIdRequest as fq, PrepareRedeemMarketPositionsError as fr, type PrepareRedeemMarketPositionsRequest as fs, PrepareRedeemPositionsError as ft, type PrepareRedeemPositionsRequest as fu, PrepareSplitComboPositionError as fv, type PrepareSplitComboPositionRequest as fw, PrepareSplitMarketPositionError as fx, type PrepareSplitMarketPositionRequest as fy, PrepareSplitPositionError as fz, BasePublicClient as g, listBuilderLeaderboard as g$, type UserEventType as g0, type UserSubscription as g1, WaitForGaslessTransactionError as g2, type WaitForOrderFillSettlementRequest as g3, approveErc1155ForAll as g4, approveErc20 as g5, cancelAll as g6, cancelMarketOrders as g7, cancelOrder as g8, cancelOrders as g9, fetchOrderBooks as gA, fetchOrderScoring as gB, fetchOrdersScoring as gC, fetchPerpsBook as gD, fetchPerpsFees as gE, fetchPerpsInstruments as gF, fetchPerpsTicker as gG, fetchPerpsTickers as gH, fetchPortfolioValue as gI, fetchPrice as gJ, fetchPriceHistory as gK, fetchPrices as gL, fetchPublicProfile as gM, fetchRelatedTagResources as gN, fetchRelatedTags as gO, fetchRewardPercentages as gP, fetchSeries as gQ, fetchSpread as gR, fetchSpreads as gS, fetchTag as gT, fetchTickSize as gU, fetchTotalEarningsForUserForDay as gV, fetchTradedMarketCount as gW, fetchTransaction as gX, isWalletDeployed as gY, listAccountTrades as gZ, listActivity as g_, deployDepositWallet as ga, depositToPerps as gb, downloadAccountingSnapshot as gc, dropNotifications as gd, estimateMarketPrice as ge, executeCollateralReturnPlan as gf, fetchBalanceAllowance as gg, fetchBuilderFeeRates as gh, fetchBuilderVolume as gi, fetchClosedOnlyMode as gj, fetchCommentsById as gk, fetchEvent as gl, fetchEventLiveVolume as gm, fetchEventTags as gn, fetchExecuteParams as go, fetchLastTradePrice as gp, fetchLastTradePrices as gq, fetchMarket as gr, fetchMarketInfo as gs, fetchMarketTags as gt, fetchMidpoint as gu, fetchMidpoints as gv, fetchNegRisk as gw, fetchNotifications as gx, fetchOrder as gy, fetchOrderBook as gz, BaseSecureClient as h, withdrawFromPerps as h$, listBuilderTrades as h0, listClosedPositions as h1, listComboActivity as h2, listComboMarkets as h3, listComboPositions as h4, listComments as h5, listCommentsByUserAddress as h6, listCurrentRewards as h7, listEvents as h8, listMarketClarifications as h9, prepareErc1155ApprovalForAll as hA, prepareErc20Approval as hB, prepareErc20Transfer as hC, prepareGaslessTransaction as hD, prepareMergeComboPosition as hE, prepareMergeMarketPosition as hF, prepareMergePositions as hG, preparePerpsDeposit as hH, prepareRedeemComboPosition as hI, prepareRedeemMarketPositions as hJ, prepareRedeemPositions as hK, prepareSplitComboPosition as hL, prepareSplitMarketPosition as hM, prepareSplitPosition as hN, prepareTradingApprovals as hO, redeemPositions as hP, resolveConditionByToken as hQ, revokePerpsCredentials as hR, search as hS, setupTradingApprovals as hT, splitComboPosition as hU, splitMarketPosition as hV, splitPosition as hW, subscribe as hX, transferErc20 as hY, updateBalanceAllowance as hZ, waitForOrderFillSettlement as h_, listMarketHolders as ha, listMarketPositions as hb, listMarketRewards as hc, listMarkets as hd, listOpenInterest as he, listOpenOrders as hf, listPerpsCandles as hg, listPerpsFundingHistory as hh, listPerpsTrades as hi, listPositions as hj, listSeries as hk, listTags as hl, listTeams as hm, listTraderLeaderboard as hn, listTrades as ho, listUserEarningsAndMarketsConfig as hp, listUserEarningsForDay as hq, mergeComboPosition as hr, mergeMarketPosition as hs, mergePositions as ht, openPerpsSession as hu, openRfqSession as hv, planCollateralReturn as hw, postOrder as hx, postOrders as hy, prepareCollateralReturnExecution as hz, type BeginAuthenticationRequest as i, type CancelAllPerpsOrdersRequest as j, CancelMarketOrdersError as k, CancelOrderError as l, CancelOrdersError as m, type CancelPerpsOrderRequest as n, type CancelPerpsOrdersRequest as o, CancelledSigningError as p, type Client as q, type ClientActions as r, type ClientDecorator as s, type ClobEndpoints as t, ComboPositionSort as u, type CombosEndpoints as v, ConnectionLostError as w, type ConnectionLostErrorOptions as x, type CreatePerpsSessionRequest as y, CreateSecureClientError as z };
8740
+ export { FetchMarketTagsError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type CryptoPricesChainlinkTwapSubscription as D, type DataActions as E, DepositToPerpsError as F, type DepositToPerpsRequest as G, type DiscoveryActions as H, DownloadAccountingSnapshotError as I, DropNotificationsError as J, type EnvironmentConfig as K, type EnvironmentConfigFork as L, type EnvironmentContracts as M, EstimateMarketPriceError as N, ExecuteCollateralReturnPlanError as O, type ExecuteCollateralReturnPlanRequest as P, FetchClosedOnlyModeError as Q, FetchCommentsByIdError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchEventError as V, FetchEventLiveVolumeError as W, FetchEventTagsError as X, FetchLastTradePriceError as Y, FetchLastTradePricesError as Z, FetchMarketError as _, type TypedData as a, type ListPerpsPnlHistoryRequest as a$, FetchMidpointError as a0, FetchMidpointsError as a1, FetchNotificationsError as a2, FetchOrderBookError as a3, FetchOrderBooksError as a4, FetchOrderError as a5, FetchOrderScoringError as a6, FetchOrdersScoringError as a7, type FetchPerpsAccountConfigRequest as a8, FetchPerpsBookError as a9, ListActivityError as aA, ListBuilderLeaderboardError as aB, ListBuilderTradesError as aC, ListBuilderVolumeError as aD, ListClosedPositionsError as aE, ListComboActivityError as aF, ListComboMarketsError as aG, ListComboPositionsError as aH, ListCommentsByUserAddressError as aI, ListCommentsError as aJ, ListCurrentRewardsError as aK, ListEventsError as aL, ListMarketHoldersError as aM, ListMarketPositionsError as aN, ListMarketRewardsError as aO, ListMarketsError as aP, ListOpenInterestError as aQ, ListOpenOrdersError as aR, ListPerpsCandlesError as aS, type ListPerpsCandlesRequest as aT, type ListPerpsDepositsRequest as aU, type ListPerpsEquityHistoryRequest as aV, type ListPerpsFillsRequest as aW, ListPerpsFundingHistoryError as aX, type ListPerpsFundingHistoryRequest as aY, type ListPerpsFundingPaymentsRequest as aZ, type ListPerpsNotificationsRequest as a_, type FetchPerpsBookRequest as aa, FetchPerpsFeesError as ab, FetchPerpsInstrumentsError as ac, type FetchPerpsInstrumentsRequest as ad, type FetchPerpsOpenOrdersRequest as ae, type FetchPerpsOrdersRequest as af, FetchPerpsTickerError as ag, type FetchPerpsTickerRequest as ah, FetchPerpsTickersError as ai, type FetchPerpsTickersRequest as aj, FetchPortfolioValueError as ak, FetchPriceError as al, FetchPriceHistoryError as am, FetchPricesError as an, FetchPublicProfileError as ao, FetchRelatedTagResourcesError as ap, FetchRelatedTagsError as aq, FetchRewardPercentagesError as ar, FetchSeriesError as as, FetchSpreadError as at, FetchSpreadsError as au, FetchTagError as av, FetchTotalEarningsForUserForDayError as aw, FetchTradedMarketCountError as ax, InsufficientLiquidityError as ay, ListAccountTradesError as az, type TransactionCall as b, type RfqCancelQuoteRejectedErrorOptions as b$, ListPerpsTradesError as b0, type ListPerpsTradesRequest as b1, type ListPerpsWithdrawalsRequest as b2, ListPositionsError as b3, ListSeriesError as b4, ListTagsError as b5, ListTeamsError as b6, ListTraderLeaderboardError as b7, ListTradesError as b8, ListUserEarningsAndMarketsConfigError as b9, type PlacePerpsOrderWithTpSlRequest as bA, type PlacePerpsOrderWithTpSlResult as bB, type PlacePerpsPositionTpSlRequest as bC, type PlacePerpsPositionTpSlResult as bD, PlanCollateralReturnError as bE, PostOrderError as bF, PostOrdersError as bG, type PostPerpsOrdersRequest as bH, type PublicAccountActions as bI, type PublicActions as bJ, type PublicClient as bK, type PublicClientOptions as bL, type PublicPerpsActions as bM, type PublicRewardsActions as bN, type PublicSubscriptionsActions as bO, RateLimitError as bP, type RateLimitErrorOptions as bQ, RedeemPositionsError as bR, RequestRejectedError as bS, type RequestRejectedErrorOptions as bT, type RestEndpoint as bU, type ResumePerpsSessionRequest as bV, RevokePerpsCredentialsError as bW, type RevokePerpsCredentialsRequest as bX, type RfqCancelQuoteAck as bY, RfqCancelQuoteError as bZ, RfqCancelQuoteRejectedError as b_, ListUserEarningsForDayError as ba, type MarkPerpsNotificationsReadRequest as bb, MergePositionsError as bc, OpenPerpsSessionError as bd, type OpenPerpsSessionRequest as be, OpenRfqSessionError as bf, type Page as bg, PageSizeSchema as bh, type Paginated as bi, type PerpsActions as bj, type PerpsBookDepth as bk, type PerpsEndpoints as bl, type PerpsOrderRequest as bm, type PerpsPlaceFokOrderRequest as bn, type PerpsPlaceGtcOrderRequest as bo, type PerpsPlaceIocOrderRequest as bp, type PerpsPlacedTpSlOrder as bq, type PerpsPlacedTpSlOrders as br, type PerpsPositionTpSlTrigger as bs, PerpsSession as bt, type PerpsSessionAccountError as bu, type PerpsSessionLifecycleError as bv, type PerpsSessionTradingError as bw, type PerpsTpSlTrigger as bx, type PlacePerpsOrderRequest as by, type PlacePerpsOrderResult as bz, type AccountIdentity as c, createSecureClient as c$, type RfqConfirmationAck as c0, RfqConfirmationError as c1, RfqConfirmationRejectedError as c2, type RfqConfirmationRequestEvent as c3, type RfqEvent as c4, RfqQuoteError as c5, type RfqQuoteReference as c6, RfqQuoteRejectedError as c7, type RfqQuoteRejectedErrorOptions as c8, type RfqQuoteRequestEvent as c9, type SignerTransactionRequest as cA, SigningError as cB, SplitPositionError as cC, SubscribeError as cD, TimeoutError as cE, TransactionFailedError as cF, type TransactionHandle as cG, type TransactionOutcome as cH, TransferErc20Error as cI, TransportError as cJ, type TypedDataDomain as cK, type TypedDataField as cL, UnexpectedResponseError as cM, UpdatePerpsLeverageError as cN, type UpdatePerpsLeverageRequest as cO, WaitForOrderFillSettlementError as cP, WaitForTransactionError as cQ, type WalletDerivationConfig as cR, type WebSocketCloseCode as cS, type WebSocketEndpoint as cT, WebSocketKnownCloseCode as cU, WithdrawFromPerpsError as cV, type WithdrawFromPerpsRequest as cW, accountActions as cX, allActions as cY, analyticsActions as cZ, createPublicClient as c_, type RfqQuoteResponse as ca, type RfqQuoteSource as cb, type RfqSession as cc, type RfqTradeEvent as cd, SearchError as ce, SearchSort as cf, type SecureAccountActions as cg, type SecureActions as ch, type SecureClient as ci, type SecureClientOptions as cj, type SecureDownloadAccountingSnapshotRequest as ck, type SecureFetchPortfolioValueRequest as cl, type SecureFetchTradedMarketCountRequest as cm, type SecureListActivityRequest as cn, type SecureListClosedPositionsRequest as co, type SecureListComboActivityRequest as cp, type SecureListComboPositionsRequest as cq, type SecureListPositionsRequest as cr, type SecurePerpsActions as cs, type SecureRewardsActions as ct, type SecureRfqActions as cu, type SecureSubscriptionsActions as cv, type SecureTradingActions as cw, type SecureWalletActions as cx, SetupGaslessWalletError as cy, SetupTradingApprovalsError as cz, type AnalyticsActions as d, type FetchPriceHistoryRequest as d$, dataActions as d0, discoveryActions as d1, forkEnvironmentConfig as d2, makeErrorGuard as d3, perpsActions as d4, production as d5, rewardsActions as d6, rfqActions as d7, subscriptionsActions as d8, tradingActions as d9, FetchBalanceAllowanceError as dA, type FetchBalanceAllowanceRequest as dB, FetchBuilderFeeRatesError as dC, type FetchBuilderFeeRatesRequest as dD, type FetchCommentsByIdRequest as dE, type FetchEventLiveVolumeRequest as dF, type FetchEventRequest as dG, type FetchEventTagsRequest as dH, FetchExecuteParamsError as dI, type FetchExecuteParamsRequest as dJ, type FetchGaslessTransactionRequest as dK, type FetchLastTradePriceRequest as dL, type FetchLastTradePricesRequest as dM, FetchMarketInfoError as dN, type FetchMarketInfoRequest as dO, type FetchMarketRequest as dP, type FetchMarketTagsRequest as dQ, type FetchMidpointRequest as dR, type FetchMidpointsRequest as dS, FetchNegRiskError as dT, type FetchNegRiskRequest as dU, type FetchOrderBookRequest as dV, type FetchOrderBooksRequest as dW, type FetchOrderRequest as dX, type FetchOrderScoringRequest as dY, type FetchOrdersScoringRequest as dZ, type FetchPortfolioValueRequest as d_, walletActions as da, type CancelMarketOrdersRequest as db, type CancelOrderRequest as dc, type CancelOrdersRequest as dd, type CollateralReturnExecutionWorkflow as de, type CommentsEventType as df, type CommentsSubscription as dg, type CryptoPricesEventType as dh, type CryptoPricesSubscription as di, DeployDepositWalletError as dj, type DownloadAccountingSnapshotRequest as dk, type DropNotificationsRequest as dl, type EquityPricesEventType as dm, type EquityPricesSubscription as dn, type Erc1155ApprovalForAllWorkflow as dp, type Erc1155ApprovalForAllWorkflowRequest as dq, type Erc20ApprovalWorkflow as dr, type Erc20ApprovalWorkflowRequest as ds, type Erc20TransferWorkflow as dt, type Erc20TransferWorkflowRequest as du, type EstimateMarketBuyPriceRequest as dv, type EstimateMarketPriceRequest as dw, type EstimateMarketSellPriceRequest as dx, type EventForSubscriptionSpec as dy, type EventForSubscriptionSpecs as dz, ApproveErc1155ForAllError as e, type PerpsMarketDataSubscription as e$, type FetchPriceRequest as e0, type FetchPricesRequest as e1, type FetchPublicProfileRequest as e2, type FetchRelatedTagResourcesRequest as e3, type FetchRelatedTagsRequest as e4, type FetchSeriesRequest as e5, type FetchSpreadRequest as e6, type FetchSpreadsRequest as e7, type FetchTagRequest as e8, FetchTickSizeError as e9, type ListMarketsRequest as eA, type ListOpenInterestRequest as eB, type ListOpenOrdersRequest as eC, type ListPositionsRequest as eD, type ListSeriesRequest as eE, type ListTagsRequest as eF, type ListTeamsRequest as eG, type ListTraderLeaderboardRequest as eH, type ListTradesRequest as eI, type ListUserEarningsAndMarketsConfigRequest as eJ, type ListUserEarningsForDayRequest as eK, type MarketEventType as eL, type MarketSubscription as eM, MergeComboPositionError as eN, MergeMarketPositionError as eO, type MergePositionsWorkflow as eP, type MergePositionsWorkflowRequest as eQ, type OrderDraft as eR, type OrderPostingWorkflow as eS, type OrderWorkflow as eT, type OrderWorkflowRequest as eU, type PerpsBboSubscription as eV, type PerpsBookSubscription as eW, type PerpsCandlesSubscription as eX, type PerpsDepositWorkflow as eY, type PerpsDepositWorkflowRequest as eZ, type PerpsMarketDataEventType as e_, type FetchTickSizeRequest as ea, type FetchTotalEarningsForUserForDayRequest as eb, type FetchTradedMarketCountRequest as ec, GaslessTransactionMetadataSchema as ed, type GaslessWorkflow as ee, type GaslessWorkflowRequest as ef, IsWalletDeployedError as eg, type IsWalletDeployedRequest as eh, type ListAccountTradesRequest as ei, type ListActivityRequest as ej, type ListBuilderLeaderboardRequest as ek, type ListBuilderTradesRequest as el, type ListBuilderVolumeRequest as em, type ListClosedPositionsRequest as en, type ListComboActivityRequest as eo, type ListComboMarketsRequest as ep, type ListComboPositionsRequest as eq, type ListCommentsByUserAddressRequest as er, type ListCommentsRequest as es, type ListCurrentRewardsRequest as et, type ListEventsRequest as eu, ListMarketClarificationsError as ev, type ListMarketClarificationsRequest as ew, type ListMarketHoldersRequest as ex, type ListMarketPositionsRequest as ey, type ListMarketRewardsRequest as ez, ApproveErc20Error as f, type TradingApprovalsWorkflowRequest as f$, type PerpsStatisticsSubscription as f0, type PerpsStreamingCandleInterval as f1, type PerpsTickersSubscription as f2, type PerpsTradesSubscription as f3, type PostOrdersRequest as f4, PrepareCollateralReturnExecutionError as f5, PrepareErc1155ApprovalForAllError as f6, type PrepareErc1155ApprovalForAllRequest as f7, PrepareErc20ApprovalError as f8, type PrepareErc20ApprovalRequest as f9, type PrepareSplitMarketPositionRequest as fA, PrepareSplitPositionError as fB, type PrepareSplitPositionRequest as fC, PrepareTradingApprovalsError as fD, type PublicRealtimeEvent as fE, type PublicRealtimeTopic as fF, type PublicSubscriptionSpec as fG, type RedeemPositionsWorkflow as fH, type RedeemPositionsWorkflowRequest as fI, ResolveConditionByTokenError as fJ, type ResolveConditionByTokenRequest as fK, type RfqConfirmationRejectedErrorOptions as fL, type RfqExecutionUpdateEvent as fM, type SearchRequest as fN, type SearchResults as fO, type SecureRealtimeEvent as fP, type SecureRealtimeTopic as fQ, type SecureSubscriptionSpec as fR, type SignedOrder as fS, SplitComboPositionError as fT, SplitMarketPositionError as fU, type SplitPositionWorkflow as fV, type SplitPositionWorkflowRequest as fW, type SportsEventType as fX, type SportsSubscription as fY, type SubscriptionHandle as fZ, type TradingApprovalsWorkflow as f_, PrepareErc20TransferError as fa, type PrepareErc20TransferRequest as fb, PrepareGaslessTransactionError as fc, type PrepareGaslessTransactionRequest as fd, type PrepareLimitOrderRequest as fe, type PrepareMarketBuyOrderRequest as ff, type PrepareMarketOrderRequest as fg, type PrepareMarketSellOrderRequest as fh, PrepareMergeComboPositionError as fi, type PrepareMergeComboPositionRequest as fj, PrepareMergeMarketPositionError as fk, type PrepareMergeMarketPositionRequest as fl, PrepareMergePositionsError as fm, type PrepareMergePositionsRequest as fn, PreparePerpsDepositError as fo, PrepareRedeemComboPositionError as fp, type PrepareRedeemComboPositionRequest as fq, type PrepareRedeemMarketPositionsByConditionIdRequest as fr, type PrepareRedeemMarketPositionsByMarketIdRequest as fs, PrepareRedeemMarketPositionsError as ft, type PrepareRedeemMarketPositionsRequest as fu, PrepareRedeemPositionsError as fv, type PrepareRedeemPositionsRequest as fw, PrepareSplitComboPositionError as fx, type PrepareSplitComboPositionRequest as fy, PrepareSplitMarketPositionError as fz, BasePublicClient as g, listAccountTrades as g$, UpdateBalanceAllowanceError as g0, type UpdateBalanceAllowanceRequest as g1, type UserEventType as g2, type UserSubscription as g3, WaitForGaslessTransactionError as g4, type WaitForOrderFillSettlementRequest as g5, approveErc1155ForAll as g6, approveErc20 as g7, cancelAll as g8, cancelMarketOrders as g9, fetchOrder as gA, fetchOrderBook as gB, fetchOrderBooks as gC, fetchOrderScoring as gD, fetchOrdersScoring as gE, fetchPerpsBook as gF, fetchPerpsFees as gG, fetchPerpsInstruments as gH, fetchPerpsTicker as gI, fetchPerpsTickers as gJ, fetchPortfolioValue as gK, fetchPrice as gL, fetchPriceHistory as gM, fetchPrices as gN, fetchPublicProfile as gO, fetchRelatedTagResources as gP, fetchRelatedTags as gQ, fetchRewardPercentages as gR, fetchSeries as gS, fetchSpread as gT, fetchSpreads as gU, fetchTag as gV, fetchTickSize as gW, fetchTotalEarningsForUserForDay as gX, fetchTradedMarketCount as gY, fetchTransaction as gZ, isWalletDeployed as g_, cancelOrder as ga, cancelOrders as gb, deployDepositWallet as gc, depositToPerps as gd, downloadAccountingSnapshot as ge, dropNotifications as gf, estimateMarketPrice as gg, executeCollateralReturnPlan as gh, fetchBalanceAllowance as gi, fetchBuilderFeeRates as gj, fetchBuilderVolume as gk, fetchClosedOnlyMode as gl, fetchCommentsById as gm, fetchEvent as gn, fetchEventLiveVolume as go, fetchEventTags as gp, fetchExecuteParams as gq, fetchLastTradePrice as gr, fetchLastTradePrices as gs, fetchMarket as gt, fetchMarketInfo as gu, fetchMarketTags as gv, fetchMidpoint as gw, fetchMidpoints as gx, fetchNegRisk as gy, fetchNotifications as gz, BaseSecureClient as h, updateBalanceAllowance as h$, listActivity as h0, listBuilderLeaderboard as h1, listBuilderTrades as h2, listClosedPositions as h3, listComboActivity as h4, listComboMarkets as h5, listComboPositions as h6, listComments as h7, listCommentsByUserAddress as h8, listCurrentRewards as h9, postOrders as hA, prepareCollateralReturnExecution as hB, prepareErc1155ApprovalForAll as hC, prepareErc20Approval as hD, prepareErc20Transfer as hE, prepareGaslessTransaction as hF, prepareMergeComboPosition as hG, prepareMergeMarketPosition as hH, prepareMergePositions as hI, preparePerpsDeposit as hJ, prepareRedeemComboPosition as hK, prepareRedeemMarketPositions as hL, prepareRedeemPositions as hM, prepareSplitComboPosition as hN, prepareSplitMarketPosition as hO, prepareSplitPosition as hP, prepareTradingApprovals as hQ, redeemPositions as hR, resolveConditionByToken as hS, revokePerpsCredentials as hT, search as hU, setupTradingApprovals as hV, splitComboPosition as hW, splitMarketPosition as hX, splitPosition as hY, subscribe as hZ, transferErc20 as h_, listEvents as ha, listMarketClarifications as hb, listMarketHolders as hc, listMarketPositions as hd, listMarketRewards as he, listMarkets as hf, listOpenInterest as hg, listOpenOrders as hh, listPerpsCandles as hi, listPerpsFundingHistory as hj, listPerpsTrades as hk, listPositions as hl, listSeries as hm, listTags as hn, listTeams as ho, listTraderLeaderboard as hp, listTrades as hq, listUserEarningsAndMarketsConfig as hr, listUserEarningsForDay as hs, mergeComboPosition as ht, mergeMarketPosition as hu, mergePositions as hv, openPerpsSession as hw, openRfqSession as hx, planCollateralReturn as hy, postOrder as hz, type BeginAuthenticationRequest as i, waitForOrderFillSettlement as i0, withdrawFromPerps as i1, type CancelAllPerpsOrdersRequest as j, CancelMarketOrdersError as k, CancelOrderError as l, CancelOrdersError as m, type CancelPerpsOrderRequest as n, type CancelPerpsOrdersRequest as o, CancelledSigningError as p, type Client as q, type ClientActions as r, type ClientDecorator as s, type ClobEndpoints as t, ComboPositionSort as u, type CombosEndpoints as v, ConnectionLostError as w, type ConnectionLostErrorOptions as x, type CreatePerpsSessionRequest as y, CreateSecureClientError as z };
package/dist/viem.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { PrivateKey } from '@polymarket/types';
2
2
  import { Chain, Transport, WalletClient } from 'viem';
3
- import { S as Signer } from './types-CJLEdIu5.js';
3
+ import { S as Signer } from './types-BXOHrumK.js';
4
4
  import '@polymarket/bindings';
5
5
  import '@polymarket/bindings/gamma';
6
6
  import '@polymarket/bindings/relayer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymarket/client",
3
- "version": "0.3.0-beta.0",
3
+ "version": "0.3.0-beta.1",
4
4
  "description": "The Polymarket TypeScript client",
5
5
  "repository": {
6
6
  "type": "git",
@@ -93,7 +93,7 @@
93
93
  "ky": "^1.14.3",
94
94
  "ox": "^0.14.16",
95
95
  "zod": "^4.3.6",
96
- "@polymarket/bindings": "0.3.0-beta.0",
96
+ "@polymarket/bindings": "0.3.0-beta.1",
97
97
  "@polymarket/types": "0.1.0"
98
98
  },
99
99
  "publishConfig": {