Skip to content

Commit a4303ae

Browse files
Increase version to 1.2.1
1 parent dff4036 commit a4303ae

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77

8+
## [1.2.1] - 2022-04-14
9+
### Changed
10+
* Simplify and widen the accepted version range for `node` and `@types/node`.
11+
12+
813
## [1.2.0] - 2022-04-13
914
### Added
1015
* Add `errorMessage` property to `DocumentStatus`, describing the error in case
@@ -48,6 +53,7 @@ client library took over this package name. Thanks to
4853
ownership.
4954

5055

56+
[1.2.1]: https://github.com/DeepLcom/deepl-node/compare/v1.2.0...v1.2.1
5157
[1.2.0]: https://github.com/DeepLcom/deepl-node/compare/v1.1.1...v1.2.0
5258
[1.1.1]: https://github.com/DeepLcom/deepl-node/compare/v1.1.0...v1.1.1
5359
[1.1.0]: https://github.com/DeepLcom/deepl-node/compare/v0.1.2...v1.1.0

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "deepl-node",
33
"description": "deepl-node is the official DeepL Node.js client library",
4-
"version": "1.2.0",
4+
"version": "1.2.1",
55
"author": "DeepL SE <open-source@deepl.com> (https://www.deepl.com)",
66
"license": "MIT",
77
"repository": {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ export class Translator {
470470
}
471471
const headers = {
472472
Authorization: `DeepL-Auth-Key ${authKey}`,
473-
'User-Agent': 'deepl-node/1.2.0',
473+
'User-Agent': 'deepl-node/1.2.1',
474474
...(options?.headers ?? {}),
475475
};
476476

0 commit comments

Comments
 (0)