diff --git a/.changeset/calm-snails-wait.md b/.changeset/calm-snails-wait.md deleted file mode 100644 index a08828c9..00000000 --- a/.changeset/calm-snails-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@polymarket/client': patch ---- - -Allow session-key authorization and revocation relayer submissions up to five minutes to accommodate synchronous validation and broadcast processing. diff --git a/.changeset/dev-544-clob-polyv2-orders.md b/.changeset/dev-544-clob-polyv2-orders.md deleted file mode 100644 index 6a9ba908..00000000 --- a/.changeset/dev-544-clob-polyv2-orders.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@polymarket/client": minor -"@polymarket/bindings": minor ---- - -Accept protocol-neutral `assetId` inputs when estimating, preparing, creating, and placing market and limit orders, infer Polymarket V2 routing from the structured position-ID namespace, and retain `tokenId` as a deprecated input alias. diff --git a/.changeset/dev-564-trading-approvals-state.md b/.changeset/dev-564-trading-approvals-state.md deleted file mode 100644 index a5f6cf3f..00000000 --- a/.changeset/dev-564-trading-approvals-state.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@polymarket/client": minor ---- - -Add `fetchTradingApprovalsState` for reading a wallet's missing trading approvals without a signer or transaction workflow. Export the approval requirement types, and report malformed approval-check results as `UnexpectedResponseError` in both read and setup workflows. - -Secure account read methods now reject invalid request values—including `null`, arrays, primitives, and `user: null`—with `UserInputError` instead of silently defaulting the wallet or throwing a raw error. diff --git a/.changeset/dev-615-team-ordering.md b/.changeset/dev-615-team-ordering.md deleted file mode 100644 index c8e563e2..00000000 --- a/.changeset/dev-615-team-ordering.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@polymarket/bindings": patch -"@polymarket/client": patch ---- - -Preserve each team's `ordering` value on event and team-list responses. diff --git a/.changeset/expose-market-combo-status.md b/.changeset/expose-market-combo-status.md deleted file mode 100644 index 6cd1ee79..00000000 --- a/.changeset/expose-market-combo-status.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@polymarket/bindings': minor -'@polymarket/client': minor ---- - -Expose each market's Combo eligibility status as `market.state.comboStatus`, -while passing newly introduced status values through as strings. diff --git a/.changeset/expose-market-protocol-version.md b/.changeset/expose-market-protocol-version.md deleted file mode 100644 index 25e1799e..00000000 --- a/.changeset/expose-market-protocol-version.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@polymarket/bindings": minor -"@polymarket/client": minor ---- - -Expose protocol versions on markets and events. diff --git a/.changeset/remove-legacy-amm-fields.md b/.changeset/remove-legacy-amm-fields.md deleted file mode 100644 index 490ed1e6..00000000 --- a/.changeset/remove-legacy-amm-fields.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@polymarket/bindings": minor -"@polymarket/client": minor ---- - -Remove legacy AMM-era fields that the API no longer returns: `marketMakerAddress`, `ammType`, `fpmmLive`, `volumeAmm`, `volume24hrAmm`, `volume1wkAmm`, `volume1moAmm`, `volume1yrAmm`, and `liquidityAmm` from the raw market schema, `liquidityAmm` from the raw event schema, `volumeAmm` from `MarketMetrics`, and `liquidityAmm` from `EventMetrics`. Also remove the internal `pagerDutyNotificationEnabled` market field and `requiresTranslation` from market, event, series, and tag models, and drop the `marketMakerAddresses` filter from `listMarkets`. Responses that still carry any of these fields keep parsing; the values are ignored. diff --git a/.changeset/swift-keys-rest.md b/.changeset/swift-keys-rest.md deleted file mode 100644 index b4a43cfa..00000000 --- a/.changeset/swift-keys-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@polymarket/client': minor ---- - -Return from `revokeSessionKey` once the session key is removed from the active-key registry instead of waiting for on-chain confirmation. The method now returns `Promise`, and `RevokeSessionKeyResult` has been removed. diff --git a/packages/bindings/CHANGELOG.md b/packages/bindings/CHANGELOG.md index 39feb844..b74cf3ac 100644 --- a/packages/bindings/CHANGELOG.md +++ b/packages/bindings/CHANGELOG.md @@ -1,5 +1,19 @@ # @polymarket/bindings +## 0.9.0 + +### Minor Changes + +- 8a26d28: Accept protocol-neutral `assetId` inputs when estimating, preparing, creating, and placing market and limit orders, infer Polymarket V2 routing from the structured position-ID namespace, and retain `tokenId` as 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`, and `liquidityAmm` from the raw market schema, `liquidityAmm` from the raw event schema, `volumeAmm` from `MarketMetrics`, and `liquidityAmm` from `EventMetrics`. Also remove the internal `pagerDutyNotificationEnabled` market field and `requiresTranslation` from market, event, series, and tag models, and drop the `marketMakerAddresses` filter from `listMarkets`. Responses that still carry any of these fields keep parsing; the values are ignored. + +### Patch Changes + +- 663d79b: Preserve each team's `ordering` value on event and team-list responses. + ## 0.8.0 ### Minor Changes diff --git a/packages/bindings/package.json b/packages/bindings/package.json index 15ac8309..d0792ddb 100644 --- a/packages/bindings/package.json +++ b/packages/bindings/package.json @@ -1,6 +1,6 @@ { "name": "@polymarket/bindings", - "version": "0.8.0", + "version": "0.9.0", "description": "Internal package. Contains generated bindings for the Polymarket API. Not intended for direct use.", "repository": { "type": "git", diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 9c5aae6c..8f8e56b1 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,31 @@ # @polymarket/client +## 0.9.0 + +### Minor Changes + +- 8a26d28: Accept protocol-neutral `assetId` inputs when estimating, preparing, creating, and placing market and limit orders, infer Polymarket V2 routing from the structured position-ID namespace, and retain `tokenId` as a deprecated input alias. +- 1fb4dd9: Add `fetchTradingApprovalsState` for reading a wallet's missing trading approvals without a signer or transaction workflow. Export the approval requirement types, and report malformed approval-check results as `UnexpectedResponseError` in both read and setup workflows. + + Secure account read methods now reject invalid request values—including `null`, arrays, primitives, and `user: null`—with `UserInputError` instead of silently defaulting the wallet or throwing a raw error. + +- 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`, and `liquidityAmm` from the raw market schema, `liquidityAmm` from the raw event schema, `volumeAmm` from `MarketMetrics`, and `liquidityAmm` from `EventMetrics`. Also remove the internal `pagerDutyNotificationEnabled` market field and `requiresTranslation` from market, event, series, and tag models, and drop the `marketMakerAddresses` filter from `listMarkets`. Responses that still carry any of these fields keep parsing; the values are ignored. +- 1a47d73: Return from `revokeSessionKey` once the session key is removed from the active-key registry instead of waiting for on-chain confirmation. The method now returns `Promise`, and `RevokeSessionKeyResult` has been removed. + +### Patch Changes + +- 6558f22: Allow session-key authorization and revocation relayer submissions up to five minutes to accommodate synchronous validation and broadcast processing. +- 663d79b: Preserve each team's `ordering` value on event and team-list responses. +- Updated dependencies [8a26d28] +- Updated dependencies [663d79b] +- Updated dependencies [4486dee] +- Updated dependencies [74ad47b] +- Updated dependencies [01438a1] + - @polymarket/bindings@0.9.0 + ## 0.8.1 ### Patch Changes diff --git a/packages/client/package.json b/packages/client/package.json index 6f76b59d..970979e8 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@polymarket/client", - "version": "0.8.1", + "version": "0.9.0", "description": "The Polymarket TypeScript client", "repository": { "type": "git",