- 6e3ae8d: Breaking: migrate
listBuilderLeaderboardandfetchBuilderVolumeto their v2 contracts. Builder rankings now use server cursors and normalizedBuilderStandingrows; builder volume returns complete date buckets asBuilderVolumePointrows. ReplacetimePeriodwithwindoworinterval, and usebucketLimitto bound volume buckets. - 8befd1f: Add the core pieces for the data
/v2surface:/v2envelope schemas (paginated list with server-minted branded cursors, and single-object including null answers), awithRateLimitRetrypipeline helper that honors server-requested delays, and theMIGRATIONactivity type with itsMigrationActivityvariant. All additive — no existing API shape changes. - 7b68c7a: Breaking: the feed surfaces are fully replaced — same names, new contracts.
listActivity,listComboActivity,listPositions, andlistComboPositionsnow serve exact cursor pagination with automatic rate-limit retry and thecondition-id vocabulary.conditionIdfilters validate the service's shared selector cap client-side: at most 20 distinct ids per request (case-insensitive dedupe first), so an oversized list fails typed instead of as a service 400.listPositionsbundles the whole lifecycle behindstatus(OPEN/REDEEMABLE/CLOSED) withredeemable/mergeableflags and fee-exclusive entry economics on every row —listClosedPositionsandlistMarketPositionsare removed (uselistPositionswithstatus/aconditionIdanchor). Every windowed method takes onewindowoption ('full' | { start?, end? }, epoch seconds orDate) replacing rawstart/end. Money, size, price, and PnL fields normalize toDecimalString(the wire's JSON numbers are stringified without loss at their 6-decimal grain, matching the v1 SDK surface),endDateis a typedIsoCalendarDateString, andComboPositionStatusgainsRedeemable(sole-value filter, also tolerated on rows); theActivityunion,Position,ComboPosition, andComboActivityrows are strict and normalized (epoch ms, empty-string/999-sentinel absence asundefined,assetIdcanonical with deprecatedtokenIdalias). Combo activity rows carrypositionIdon every row while droppingtransactionAt/logIndex/moduleId. Request vocabularies are exported enums: trade direction reusesOrderSide(the standaloneSidetype is removed), andSortDirection,TradeFilterType,PositionFilterType,PositionSortBy,ComboPositionSortBy, andTipSidejoinPositionStatus/ComboPositionStatus. On the secure client,listPositionsalways binds the authenticated wallet (theuser: nullopt-out is removed); list a market's holders through a public client instead. - 12935c4: Breaking: migrate
listMarketHoldersto its cursor-paginated/v2contract, using condition IDs, normalized holder fields, and optional position economics. - d64f383: Breaking: migrate open-interest and live-volume reads to their v2 contracts. Replace
listOpenInterestwithfetchOpenInterest, use condition and event identifiers, and expose cumulative taker volume explicitly. - 0df4f2b: Breaking: migrate
fetchPortfolioValueto its/v2contract, returning onePortfolioValuewith a decimal-string value and acceptingconditionIdsinstead of the legacymarketfilter. AddfetchUserStatswith decimal-string money, size, and PnL fields, and removefetchTradedMarketCount; usefetchUserStats().tradedMarketCountfor the exact distinct-market count. The accounting snapshot download remains available unchanged. - 454c772: Breaking: replace
fetchPriceHistorywith cursor-paginatedlistPriceHistory, using token IDs, strict time selections, second-based bucket widths, and normalized price points. - cb664fb: Add
fetchResolutionsfor non-paginated resolution lifecycle lookups by question, condition, or event. Resolution rows normalize identity, lifecycle, oracle, payout, and finality fields, while unset wire sentinels become omitted SDK fields. - 7992375: Breaking: migrate trader leaderboard reads to the cursor-paginated v2 contract, add a separate by-wallet standing method, and add biggest-winner pagination with explicit market and Combo variants.
- 7ed1af9: Breaking:
listTradesis fully replaced — same name, new contract. It now serves exact continuation signals (hasMore/server-mintednextCursor— no page-size probing), re-sends the original filters with every page, has no offset vocabulary (pageSizedefault 100, max 1000 rejected-not-clamped), retries transient rate limits after the server-requested delay, and accepts partialfilterType/filterAmount(the service fills the other half in). TheTraderow is strict and normalized (numbers forsize/price, epoch milliseconds, empty-string and unknown-sentinel absence asundefined). Following the service's naming remap, the request filter isconditionId(the wire'scondition/condition_id— the oldmarketkey no longer exists upstream) and the row field parsed iscondition_id. Bindings gain the reusable data envelope parsers (dataPageSchema,dataEnvelopeSchema) that turn the service's paginated envelope straight into the SDK page shape. - d320dfa: Add
fetchUserPnlandfetchUserVolumewith normalized decimal-string amounts, cumulative PnL metadata, shared time-window inputs, and authenticated-wallet defaults.
- 5bdc101: Expose the yearly builder-volume bucket as
BuilderVolumeInterval.Yearwhile preserving the wire valueall. - b56a0a8: Normalize resolution timestamps, transaction metadata, and payout values into canonical SDK types.
- 6e5c293: Expose question, groupItemTitle, sportsMarketType, line, and outcomes on combo leg markets returned by listComboPositions and listComboActivity.
- e7882e8: Normalize protocol v2 market condition IDs for position and portfolio-value reads, share canonicalization in bindings, and clarify activity and trade history windows.
- 8a26d28: Accept protocol-neutral
assetIdinputs when estimating, preparing, creating, and placing market and limit orders, infer Polymarket V2 routing from the structured position-ID namespace, and retaintokenIdas a deprecated input alias. - 4486dee: Expose each market's Combo eligibility status as
market.state.comboStatus, while passing newly introduced status values through as strings. - 74ad47b: Expose protocol versions on markets and events.
- 01438a1: Remove legacy AMM-era fields that the API no longer returns:
marketMakerAddress,ammType,fpmmLive,volumeAmm,volume24hrAmm,volume1wkAmm,volume1moAmm,volume1yrAmm, andliquidityAmmfrom the raw market schema,liquidityAmmfrom the raw event schema,volumeAmmfromMarketMetrics, andliquidityAmmfromEventMetrics. Also remove the internalpagerDutyNotificationEnabledmarket field andrequiresTranslationfrom market, event, series, and tag models, and drop themarketMakerAddressesfilter fromlistMarkets. Responses that still carry any of these fields keep parsing; the values are ignored.
- 663d79b: Preserve each team's
orderingvalue on event and team-list responses.
- a8dba73: Expose pending Combo market status and avoid using pending markets when discovering live RFQ legs.
- a1959b6: Add protocol-neutral
assetIdfields across CLOB reads, filters, and realtime events, andconditionIdfields across CLOB reads and realtime events, while retaining deprecatedtokenId,tokenIds, andmarketcompatibility aliases. - 5c18246: Add protocol-neutral
assetIdandconditionIdfields to Data API responses while retaining deprecated identifier aliases.
- 2fd5cc5: Normalize empty live-volume market identifiers to null.
-
d754986: Type notification payloads:
Notificationis now a discriminated union on the newNotificationTypeenum,owneris the brandedApiKey, and each notification kind carries a typedpayloadinstead ofunknown.At runtime, notification kinds unknown to this SDK version are omitted from
fetchNotifications, while recognized kinds whose payloads do not match their schemas reject the entire response.Malformed combo condition IDs, question IDs, EVM addresses, and transaction hashes now report schema validation failures instead of escaping parsing as raw errors.
-
0db340d: Add scoped Deposit Wallet session-key authorization, active-key fetching, revocation, and ordinary SecureClient support for authorized session signers. Known scopes have enum members, while newer scope strings remain accepted and preserved for forward compatibility. Authorizations default to
ALLwhen scopes are omitted.
- aae2882: RequestRejectedError now exposes a typed restriction distinguishing matching-engine restarts (HTTP 425) from post-only mode (HTTP 503), its retryAfter value falls back to the retry_after_seconds response field when the Retry-After header is absent, and batch post-only rejections map to the post_only_mode order error code instead of unknown. The SDK still does not retry automatically.
- ccd6ef4: Remove unused CTF-specific runtime condition ID aliases in favor of the protocol-neutral condition ID APIs. The deprecated
CtfConditionIdtype alias remains available for source compatibility. - Updated dependencies [0db340d]
- @polymarket/types@0.2.0
- 050331b: Add requester-side combo RFQ support:
client.requestComboQuote(...),client.acceptComboQuote(...), andclient.waitForComboFill(...), plus thefetchRfqStatusaction in@polymarket/client/actions. Requests authenticate with the client's Builder API Key (builderApiKey(...)orremoteBuilderSigning(...)), and winning quotes are self-contained JSON values that may be persisted or routed between processes before acceptance. SELL quotes expose exact post-fee collateral proceeds asnetReceive. Business outcomes such as no quotes, a maker declining, or an expired acceptance window are returned as result values; gateway rejections throw the newRfqRequestRejectedErrorwith a classifiedRfqRejectionCode. - dd427eb: Expose PolyV2 position IDs alongside CTF token IDs on normalized market outcomes, preserve the deprecated market-level position ID array for compatibility, and introduce protocol-neutral condition ID APIs while retaining
CtfConditionId,CtfConditionIdSchema,OptionalCtfConditionIdSchema, andtoCtfConditionIdas deprecated compatibility aliases.
- f2f1817: Return
nullwhen a token has no last trade.
- fb81779: Add perps auto-cancel (dead man's switch) support.
PerpsSession.armAutoCancelschedules a signed one-shot cancel-all at a future time (at least 5 seconds ahead),disarmAutoCancelclears the schedule without firing, andfetchAutoCancelStatusreads the account's auto-cancel status, including the deadline (nullwhen unarmed) and daily trigger usage. Arming past the daily trigger limit is rejected with the newAutoCancelDailyLimitError.
- 4c56d7b: Add a required
idon Perps account funding payment records, matching the unique funding-record id the platform now returns on funding history and the realtime funding stream. The id is exposed as the brandedPerpsFundingPaymentIdtype.
- 5a6b56c: Cache market configuration, platform fees, and builder fee rates used to prepare repeated orders. If cached tick metadata rejects a limit or protected price, the SDK fetches current metadata and validates once more before returning the input error. Unprotected market orders now derive price, tick size, and exchange selection from one live order-book response. Order-book tick sizes are normalized to supported numeric values.
maxSpendis now documented as an estimated all-in spend target based on recently resolved fees rather than a strict cap.
- 2ba6be3: Type accepted order response IDs as
OrderId.
- 0bb6a4b: Add typed 30-second and 60-second Chainlink TWAP realtime subscriptions.
- 40dc38d: Add Perps account notifications support:
session.listNotifications()with SDK-owned keyset pagination (including asinceSeqbackfill bound pinned across pages),session.fetchUnreadNotificationsCount(),session.markNotificationsRead()by ids orupToa notification, and thenotificationssession WebSocket channel emitting typednotificationevents.
- 28813f6: Add the DEPOSIT, WITHDRAWAL, and TAKER_REBATE activity types to the ActivityType enum, model them as typed account-level activities, and parse them in ActivitySchema so activity responses containing these rows no longer fail validation.
- 7463938: Open order
createdAtandexpiresAtnow parse epoch-seconds wire timestamps correctly instead of treating them as milliseconds. - c092352: Migrate Perps fills pagination to the API-native cursor and add a fills time sort direction option.
- 4ddf659: Expose the granular Combos RFQ quote-validation error codes.
- 40dc38d: Add Perps account notifications support:
session.listNotifications()with SDK-owned keyset pagination (including asinceSeqbackfill bound pinned across pages),session.fetchUnreadNotificationsCount(),session.markNotificationsRead()by ids orupToa notification, and thenotificationssession WebSocket channel emitting typednotificationevents.
- c092352: Migrate Perps fills pagination to the API-native cursor and add a fills time sort direction option.
- 0bb6a4b: Add typed 30-second and 60-second Chainlink TWAP realtime subscriptions.
- 28813f6: Add the DEPOSIT, WITHDRAWAL, and TAKER_REBATE activity types to the ActivityType enum, model them as typed account-level activities, and parse them in ActivitySchema so activity responses containing these rows no longer fail validation.
- 7463938: Open order
createdAtandexpiresAtnow parse epoch-seconds wire timestamps correctly instead of treating them as milliseconds. - 4ddf659: Expose the granular Combos RFQ quote-validation error codes.
- e3aafe4: Add
isolatedOnlytoPerpsInstrument, indicating whether the instrument supports only isolated margin. - 3ae2f13: Add
client.waitForOrderFillSettlement(order), which waits until every fill listed in an order response reaches a terminal settlement outcome and returns the settlement transaction hashes. Matched order responses are no longer guaranteed to includetransactionsHashes; use this method to obtain hashes reliably.ClobTrade.statusis now typed as the sharedTradeStatusenum instead of a bare string.
- dd8733f: Add Collateral Return plan/execute support:
planCollateralReturnreturns an inspectable plan andexecuteCollateralReturnPlansigns and submits the plan's exact Router call for Deposit Wallet, Safe, and Proxy accounts, returning a transaction handle. - d29c369: Add
PerpsFeeTierand a requiredtiersarray onPerpsFeeScheduleEntry, matching the volume-based fee tiers (including negative maker rebate rates) in the updatedGET /v1/info/feescontract. - 9b13de2: Accept withdrawal statuses introduced after a client release instead of failing the response parse. Known statuses now live in the
PerpsKnownWithdrawalStatusenum, which adds thefailedstatus the withdrawal contract already includes, andPerpsWithdrawalStatusis widened so unrecognized statuses flow through as plain strings.
- 7c76b5a: Add confirmed combo trade broadcasts to RFQ quoter sessions.
- 15597df: Bootstrap beta prerelease publishing.
- de391df: Graduate the SDK to the stable 0.x release line, mark Perps APIs as experimental, and remove deprecated compatibility APIs.
- 1903b61: Expose
parentEventIdonEventso child events such as sports "more markets" events link back to their parent event. The value is normalized to the sameEventIdtype asEvent.id. - b20773a: Add Perps SDK support with public market data reads/subscriptions, credential-backed private sessions, account reads, trading commands, approvals, deposits, withdrawals, and Perps bindings.
-
77fdb6e: Document order book level ordering and custom market subscription events.
-
dccac9d: Add a
conditionIdalias to the CLOB order book, open order, trade, and builder trade shapes, carrying the same value asmarket, and markmarketdeprecated.marketon these types holds a CTF condition id;conditionIdnames it consistently with the rest of the SDK. Additive and non-breaking: both fields are emitted. -
2e091ef: Support CLOB order tick sizes
0.005and0.0025. -
7649a5e: Parse Combo lifecycle activity from the canonical API
typefield instead of the legacysideverb. -
9233e69: Add Combo activity pagination with normalized activity types, server-cursor Combo position pagination, Combo position sync request fields, and Combo position outcome/redeemable fields.
-
b2e487f: Normalize Combo data field names to use wallet, amount, and payout consistently with the existing activity and portfolio surfaces, and brand Combo activity row IDs.
-
84335f8: Add
listComboMarketsfor fetching Combo market catalog entries with typed response bindings and SDK-owned pagination. -
b982460: Add
RESOLVED_PARTIALtoComboPositionStatus. The data API emits this terminal status for combo positions that fully resolve at a fractional on-chain payout (e.g. a voided/50-50 leg). Without it, the zod schema rejected the response and combo-positions parsing failed. -
02ad8fa: Add distinct CTF and combo condition ID brands, keeping the previous condition ID exports as deprecated CTF aliases.
-
3b9ef1d: Handle legacy multi-outcome markets in market responses.
listMarketsnow omits markets that cannot be represented by the binaryMarketmodel instead of aborting the whole page, andfetchMarketfails with a typedUnexpectedResponseErrorinstead of a rawTypeError. -
72dbe7b: Normalize empty-string decimal fields from order and trade responses: order
makingAmount/takingAmountmap""to"0", and maker orderfeeRateBpsmaps""tonull, matching py-sdk behavior. -
ba70f93: Surface missing trade and position market icons as null instead of an empty string.
-
6082a3e: Make pagination request cursor inputs infer the branded pagination cursor type.
-
d230d3a: Preserve
groupItemTitleon normalized market responses. -
d731b5b: Add
listMarketClarificationsfor reading market clarification text, with SDK-owned offset pagination and market/event/state/question/tx filters. -
8790a22: Normalize empty-string optional decimal fields on streamed market and trade events to null (for example a trade's
feeRateBpsand a price change'sbestBid/bestAsk), so consumers never receive''where a decimal string or null is expected. -
ea844f3: Strengthen CLOB batch price read result types so midpoint, price, and spread lookups are keyed by
TokenId.fetchPricesnow returns partialOrderSiderecords containing decimal strings, whilefetchMidpointsandfetchSpreadsreturn token ID keyed decimal strings. -
7633fad: Remove
RfqKnownInboundMessageSchema. The loose{ type }base was extended and itstypefield overwritten by every concrete inbound message schema, so it added nothing; each message schema now declares its own object shape directly. -
e60eefc: Type CLOB cancellation results with a branded
OrderId.CancelOrdersResponsenow exposescanceledasOrderId[]and keysnotCanceledbyOrderIdacrosscancelOrder,cancelOrders,cancelMarketOrders, andcancelAll. Runtime values and wire shapes are unchanged; the newOrderIdtype,toOrderId, andOrderIdSchemaare exported from@polymarket/bindings. -
0f25328: Remove the unreleased
QUOTE_VALIDATION_TIMEOUT_INTERNALmember fromRfqKnownErrorCode. The gateway now reports quote-validation timeouts asSERVICE_UNAVAILABLE; gateways still emitting the internal code during rollout flow through the openRfqErrorCodetype as plain strings. -
c6e0285: Parse RFQ quote rejections that use the
SUBMISSION_WINDOW_CLOSEDgateway error code. -
6e0f923: Add repository metadata required for npm trusted publishing provenance validation.
-
3bbdb26: Restore account trade listing to the legacy endpoint and parse legacy epoch-seconds timestamps correctly.
-
e7a8858: Drop unsupported tag/series request params and response fields, and normalize related tag id fields to camelCase.
-
6516128: Add
listComboPositionsfor fetching combo positions with typed response bindings and SDK-owned pagination. -
0dc6339: Declare Node.js 24 as the minimum supported runtime for published SDK packages.
-
4c7ac45: Add
session.fetchStats()for Perps account stats. -
cf34be0: Add Perps session support for cancelling all open orders.
-
81114f9: Normalize Perps trading commands to match the rest of the SDK: place and modify orders now use
OrderSide, place, modify, and cancel return per-item acknowledgement unions, and leverage and margin updates returnvoidwhile throwingRequestRejectedErrorwhen rejected. Clean up thePerpsInstrumenttype, including a typedPerpsFundingIntervalstring format. -
330af57: Normalize placeholder Perps deposit update hashes to
undefined. -
1f27825: Remove Perps modify order methods from the session API, rename Perps cancel order return types from acknowledgements to results, and stop exporting raw response schema names from Perps and CLOB bindings.
-
d28b989: Remove unsupported Perps margin updates and return the leverage update result.
-
e2ce4f9: Tighten Perps order request input types and validation for time-in-force-specific price and post-only constraints.
-
91c9e63: Normalize Perps order reads to expose
side: OrderSideinstead of upstreambuy. -
7f7eefe: Rename duplicate Perps raw model and response schemas to the public schema names.
-
b434b43: Support Perps fills frames containing a list of fills.
-
a282c35: Add Perps TP/SL order metadata, lifecycle events, unified
placeOrderTP/SL placement, andplacePositionTpSlwith position-side inference. Remove unsupported Perps margin updates and return the leverage update result. -
1e707cd: Support Perps trades frames containing a list of trades.
-
e1e5808: Add maker-side RFQ WebSocket support.
-
3a8d59a: chore: configure packages for public beta release.
-
0809105: Parse RFQ inbound websocket messages by their type discriminator.
-
90e76a4: Support new Combos RFQ websocket error codes for balance, allowance, and pre-execution reservation failures.
-
feead94: Model activity trades as an
isCombo-discriminated union so Combo trade activity rows parse without binary market metadata. -
d045298: Allow activity market icons to be null when the Data API returns sparse historical rows without an icon URL.
-
50d56ce: Harden RFQ quoter sessions:
- Unknown error codes no longer fail the session; they flow through as plain strings via the now-open
RfqErrorCodetype (known codes moved toRfqKnownErrorCode). - Unsolicited connection loss now fails in-flight operations and the session iterator with the new
ConnectionLostError, carrying the closecodeandreason.
- Unknown error codes no longer fail the session; they flow through as plain strings via the now-open
-
d144ca9: chore: empty changeset to test new release workflow
-
Updated dependencies [15597df]
-
Updated dependencies [700acc9]
-
Updated dependencies [6e0f923]
-
Updated dependencies [0dc6339]
-
Updated dependencies [3a8d59a]
-
Updated dependencies [d144ca9]
- @polymarket/types@0.1.0
- 7633fad: Remove
RfqKnownInboundMessageSchema. The loose{ type }base was extended and itstypefield overwritten by every concrete inbound message schema, so it added nothing; each message schema now declares its own object shape directly.
-
8790a22: Normalize empty-string optional decimal fields on streamed market and trade events to null (for example a trade's
feeRateBpsand a price change'sbestBid/bestAsk), so consumers never receive''where a decimal string or null is expected. -
ea844f3: Strengthen CLOB batch price read result types so midpoint, price, and spread lookups are keyed by
TokenId.fetchPricesnow returns partialOrderSiderecords containing decimal strings, whilefetchMidpointsandfetchSpreadsreturn token ID keyed decimal strings. -
0f25328: Remove the unreleased
QUOTE_VALIDATION_TIMEOUT_INTERNALmember fromRfqKnownErrorCode. The gateway now reports quote-validation timeouts asSERVICE_UNAVAILABLE; gateways still emitting the internal code during rollout flow through the openRfqErrorCodetype as plain strings. -
b434b43: Support Perps fills frames containing a list of fills.
-
1e707cd: Support Perps trades frames containing a list of trades.
-
50d56ce: Harden RFQ quoter sessions:
- Unknown error codes no longer fail the session; they flow through as plain strings via the now-open
RfqErrorCodetype (known codes moved toRfqKnownErrorCode). - Unsolicited connection loss now fails in-flight operations and the session iterator with the new
ConnectionLostError, carrying the closecodeandreason.
- Unknown error codes no longer fail the session; they flow through as plain strings via the now-open
- b982460: Add
RESOLVED_PARTIALtoComboPositionStatus. The data API emits this terminal status for combo positions that fully resolve at a fractional on-chain payout (e.g. a voided/50-50 leg). Without it, the zod schema rejected the response and combo-positions parsing failed.
- 7649a5e: Parse Combo lifecycle activity from the canonical API
typefield instead of the legacysideverb.
- 9233e69: Add Combo activity pagination with normalized activity types, server-cursor Combo position pagination, Combo position sync request fields, and Combo position outcome/redeemable fields.
- b2e487f: Normalize Combo data field names to use wallet, amount, and payout consistently with the existing activity and portfolio surfaces, and brand Combo activity row IDs.
- d731b5b: Add
listMarketClarificationsfor reading market clarification text, with SDK-owned offset pagination and market/event/state/question/tx filters. - cf34be0: Add Perps session support for cancelling all open orders.
- 4c7ac45: Add
session.fetchStats()for Perps account stats. - a282c35: Add Perps TP/SL order metadata, lifecycle events, unified
placeOrderTP/SL placement, andplacePositionTpSlwith position-side inference. Remove unsupported Perps margin updates and return the leverage update result.
- 2e091ef: Support CLOB order tick sizes
0.005and0.0025. - 6082a3e: Make pagination request cursor inputs infer the branded pagination cursor type.
- d28b989: Remove unsupported Perps margin updates and return the leverage update result.
- 91c9e63: Normalize Perps order reads to expose
side: OrderSideinstead of upstreambuy.
- d230d3a: Preserve
groupItemTitleon normalized market responses. - 81114f9: Normalize Perps trading commands to match the rest of the SDK: place and modify orders now use
OrderSide, place, modify, and cancel return per-item acknowledgement unions, and leverage and margin updates returnvoidwhile throwingRequestRejectedErrorwhen rejected. Clean up thePerpsInstrumenttype, including a typedPerpsFundingIntervalstring format. - 1f27825: Remove Perps modify order methods from the session API, rename Perps cancel order return types from acknowledgements to results, and stop exporting raw response schema names from Perps and CLOB bindings.
- e2ce4f9: Tighten Perps order request input types and validation for time-in-force-specific price and post-only constraints.
- 7f7eefe: Rename duplicate Perps raw model and response schemas to the public schema names.
- Updated dependencies [700acc9]
- @polymarket/types@0.1.0-beta.4
- 7c76b5a: Add confirmed combo trade broadcasts to RFQ quoter sessions.
- b20773a: Add Perps SDK support with public market data reads/subscriptions, credential-backed private sessions, account reads, trading commands, approvals, deposits, withdrawals, and Perps bindings.
- 330af57: Normalize placeholder Perps deposit update hashes to
undefined.
- 1903b61: Expose
parentEventIdonEventso child events such as sports "more markets" events link back to their parent event. The value is normalized to the sameEventIdtype asEvent.id.
- 3b9ef1d: Handle legacy multi-outcome markets in market responses.
listMarketsnow omits markets that cannot be represented by the binaryMarketmodel instead of aborting the whole page, andfetchMarketfails with a typedUnexpectedResponseErrorinstead of a rawTypeError. - 72dbe7b: Normalize empty-string decimal fields from order and trade responses: order
makingAmount/takingAmountmap""to"0", and maker orderfeeRateBpsmaps""tonull, matching py-sdk behavior. - ba70f93: Surface missing trade and position market icons as null instead of an empty string.
- 90e76a4: Support new Combos RFQ websocket error codes for balance, allowance, and pre-execution reservation failures.
- feead94: Model activity trades as an
isCombo-discriminated union so Combo trade activity rows parse without binary market metadata.
- 84335f8: Add
listComboMarketsfor fetching Combo market catalog entries with typed response bindings and SDK-owned pagination. - c6e0285: Parse RFQ quote rejections that use the
SUBMISSION_WINDOW_CLOSEDgateway error code.
- 02ad8fa: Add distinct CTF and combo condition ID brands, keeping the previous condition ID exports as deprecated CTF aliases.
- 0809105: Parse RFQ inbound websocket messages by their type discriminator.
- 77fdb6e: Document order book level ordering and custom market subscription events.
- 6e0f923: Add repository metadata required for npm trusted publishing provenance validation.
- 3bbdb26: Restore account trade listing to the legacy endpoint and parse legacy epoch-seconds timestamps correctly.
- e7a8858: Drop unsupported tag/series request params and response fields, and normalize related tag id fields to camelCase.
- 6516128: Add
listComboPositionsfor fetching combo positions with typed response bindings and SDK-owned pagination. - 0dc6339: Declare Node.js 24 as the minimum supported runtime for published SDK packages.
- e1e5808: Add maker-side RFQ WebSocket support.
- d045298: Allow activity market icons to be null when the Data API returns sparse historical rows without an icon URL.
- Updated dependencies [6e0f923]
- Updated dependencies [0dc6339]
- @polymarket/types@0.1.0-beta.3
- 3a8d59a: chore: configure packages for public beta release.
- Updated dependencies [3a8d59a]
- @polymarket/types@0.1.0-beta.2
- d144ca9: chore: empty changeset to test new release workflow
- Updated dependencies [d144ca9]
- @polymarket/types@0.1.0-beta.1
- 15597df: Bootstrap beta prerelease publishing.
- Updated dependencies [15597df]
- @polymarket/types@0.1.0-beta.0