From 99fc124f903aecbcee1a3a8f37a4e27d56f36ae3 Mon Sep 17 00:00:00 2001 From: Phrase Date: Tue, 23 Apr 2024 09:24:55 +0000 Subject: [PATCH] Deploying from phrase/openapi@d2fb8fdf --- CHANGELOG.md | 11 +++++++++++ README.md | 10 +++++----- package.json | 2 +- src/runtime.ts | 2 +- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ab64b2..4b8eb2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [2.0.0](https://github.com/phrase/openapi/compare/typescript-v1.23.0...typescript-v2.0.0) (2024-04-23) + + +### ⚠ BREAKING CHANGES + +* add missing required params ([#571](https://github.com/phrase/openapi/issues/571)) + +### Code Refactoring + +* add missing required params ([#571](https://github.com/phrase/openapi/issues/571)) ([d810e9e](https://github.com/phrase/openapi/commit/d810e9ebc767e14ba9e56106de8c5774d9d6d178)) + ## [1.23.0](https://github.com/phrase/openapi/compare/typescript-v1.22.0...typescript-v1.23.0) (2024-04-22) diff --git a/README.md b/README.md index bcd93df..ebfa5d3 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -## phrase-js@1.23.0 +## phrase-js@2.0.0 Phrase Strings is a translation management platform for software projects. You can collaborate on language file translation with your team or order translations through our platform. The API allows you to import locale files, download locale files, tag keys or interact in other ways with the localization data stored in Phrase Strings for your account. ## This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 2.0.0 -- Package version: 1.23.0 +- Package version: 2.0.0 - Build package: phrase-js For more information, please visit [https://developers.phrase.com/api/](https://developers.phrase.com/api/) @@ -47,14 +47,14 @@ _published:_ ``` -npm install phrase-js@1.23.0 --save +npm install phrase-js@2.0.0 --save ``` if you are using yarn ``` -yarn install phrase-js@1.23.0 +yarn install phrase-js@2.0.0 ``` _unPublished (not recommended):_ @@ -104,7 +104,7 @@ here is the example package.json "@types/node": "^14.0.1", "form-data": "^3.0.0", "node-fetch": "^2.6.0", - "phrase-js": "^1.23.0" + "phrase-js": "^2.0.0" }, "devDependencies": { "tslint": "^5.20.1", diff --git a/package.json b/package.json index b50afb1..25e2b80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phrase-js", - "version": "1.23.0", + "version": "2.0.0", "description": "OpenAPI client for Phrase Strings", "author": "OpenAPI-Generator", "license" : "MIT", diff --git a/src/runtime.ts b/src/runtime.ts index e738797..8e7ff20 100644 --- a/src/runtime.ts +++ b/src/runtime.ts @@ -161,7 +161,7 @@ export class Configuration { configuration.headers = {} } - configuration.headers["User-Agent"] = "OpenAPI-Generator/1.23.0/js" + configuration.headers["User-Agent"] = "OpenAPI-Generator/2.0.0/js" } get basePath(): string {