diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 43eac5c4..fcade0b2 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.434.0" + ".": "0.435.0" } diff --git a/.stats.yml b/.stats.yml index 9bcba9df..4c9e8f9b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 232 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1127bb6ee64bebab1bbf8ecbd9ec71c0deb5ca8552fd454fa2ec120fd9eac14a.yml -openapi_spec_hash: 9fedc9dc133202e4d39bf7bffe4839d9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b27417de2b11e1ed32ccf399f6b52acd599a75ba910d7709028972960e12ba67.yml +openapi_spec_hash: 82ef00d2d4f3a796ba181d2546c424bb config_hash: 4b562e97b3d8b4cba758a87d4927a76d diff --git a/CHANGELOG.md b/CHANGELOG.md index 32fc7ec1..4f10599f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.435.0 (2026-02-17) + +Full Changelog: [v0.434.0...v0.435.0](https://github.com/Increase/increase-typescript/compare/v0.434.0...v0.435.0) + +### Features + +* **api:** api update ([db811e4](https://github.com/Increase/increase-typescript/commit/db811e40e301f47dec124af6cb9bc8e3c94eb984)) + + +### Chores + +* **internal/client:** fix form-urlencoded requests ([372473c](https://github.com/Increase/increase-typescript/commit/372473c5925daadb3cea2ae7eea5f98bf0336805)) + ## 0.434.0 (2026-02-14) Full Changelog: [v0.433.0...v0.434.0](https://github.com/Increase/increase-typescript/compare/v0.433.0...v0.434.0) diff --git a/package.json b/package.json index b791ea7c..7ef247a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "increase", - "version": "0.434.0", + "version": "0.435.0", "description": "The official TypeScript library for the Increase API", "author": "Increase ", "types": "dist/index.d.ts", diff --git a/src/client.ts b/src/client.ts index 9a112109..3157a288 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1098,6 +1098,14 @@ export class Increase { (Symbol.iterator in body && 'next' in body && typeof body.next === 'function')) ) { return { bodyHeaders: undefined, body: Shims.ReadableStreamFrom(body as AsyncIterable) }; + } else if ( + typeof body === 'object' && + headers.values.get('content-type') === 'application/x-www-form-urlencoded' + ) { + return { + bodyHeaders: { 'content-type': 'application/x-www-form-urlencoded' }, + body: this.stringifyQuery(body as Record), + }; } else { return this.#encoder({ body, headers }); } diff --git a/src/resources/cards.ts b/src/resources/cards.ts index 22e4ae62..1a3adc02 100644 --- a/src/resources/cards.ts +++ b/src/resources/cards.ts @@ -455,6 +455,8 @@ export interface CardUpdateParams { * - `canceled` - The card is permanently canceled. */ status?: 'active' | 'disabled' | 'canceled'; + + [k: string]: unknown; } export namespace CardUpdateParams { diff --git a/src/version.ts b/src/version.ts index 81a6aba8..756b1235 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.434.0'; // x-release-please-version +export const VERSION = '0.435.0'; // x-release-please-version