diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5fdd883..c3f1463 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.1.0" + ".": "1.2.0" } diff --git a/.stats.yml b/.stats.yml index be52358..be7556d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 18 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-330636638e8423bfe0b00d5b5a5f605f9a64c59f27a3a45dd4c7ff88b9411c36.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-4206be8170d98e1f909e4c0e34167f63952645f292b0e4fa7459ca7fcfc1b48a.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index ccfadda..b4917da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.2.0 (2024-10-10) + +Full Changelog: [v1.1.0...v1.2.0](https://github.com/writer/writer-node/compare/v1.1.0...v1.2.0) + +### Features + +* **api:** api update ([#84](https://github.com/writer/writer-node/issues/84)) ([dfbb999](https://github.com/writer/writer-node/commit/dfbb9998ef58cf008ad4ec920fc387050ee37153)) + ## 1.1.0 (2024-10-09) Full Changelog: [v1.0.0...v1.1.0](https://github.com/writer/writer-node/compare/v1.0.0...v1.1.0) diff --git a/package.json b/package.json index 30f24d0..ee5ecce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "writer-sdk", - "version": "1.1.0", + "version": "1.2.0", "description": "The official TypeScript library for the Writer API", "author": "Writer ", "types": "dist/index.d.ts", diff --git a/src/resources/chat.ts b/src/resources/chat.ts index dd32170..113a5f5 100644 --- a/src/resources/chat.ts +++ b/src/resources/chat.ts @@ -727,7 +727,7 @@ export namespace ChatChatParams { name?: string; - tool_id?: string; + tool_call_id?: string; } /** diff --git a/src/version.ts b/src/version.ts index c80f975..54c8a47 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '1.1.0'; // x-release-please-version +export const VERSION = '1.2.0'; // x-release-please-version diff --git a/tests/api-resources/chat.test.ts b/tests/api-resources/chat.test.ts index c0e69bc..661fa36 100644 --- a/tests/api-resources/chat.test.ts +++ b/tests/api-resources/chat.test.ts @@ -27,7 +27,7 @@ describe('resource chat', () => { role: 'user', content: 'Write a memo summarizing this earnings report.', name: 'name', - tool_id: 'tool_id', + tool_call_id: 'tool_call_id', }, ], model: 'palmyra-x-004',