@l10nmonster/helpers-translated 3.0.0-alpha.9 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.releaserc.json +1 -1
- package/CHANGELOG.md +15 -0
- package/laraProvider.js +0 -1
- package/package.json +2 -2
package/.releaserc.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# @l10nmonster/helpers-translated [3.1.0](https://public-github/l10nmonster/l10nmonster/compare/@l10nmonster/helpers-translated@3.0.0...@l10nmonster/helpers-translated@3.1.0) (2025-12-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Add support for async functions for secrets ([5d9d0a9](https://public-github/l10nmonster/l10nmonster/commit/5d9d0a99f45e1f4f16a30a634bea4259b106d74a))
|
|
7
|
+
* **helpers-translated:** Remove content type from Lara ([3664fe2](https://public-github/l10nmonster/l10nmonster/commit/3664fe2f1312d27cdbfbe587e817aa14480de496))
|
|
8
|
+
* **server:** Fix cart cleanup ([9bbcab9](https://public-github/l10nmonster/l10nmonster/commit/9bbcab93e1fd20aeb09f59c828665159f091f37c))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **providers:** Support promises for secrets ([3ac66dc](https://public-github/l10nmonster/l10nmonster/commit/3ac66dc13761f671a85f7f3b3df0539d021366dd))
|
|
14
|
+
* **translated:** Add glossary options to MMT ([39eb5d0](https://public-github/l10nmonster/l10nmonster/commit/39eb5d0e6d611539b6b59d986ebf725bfd561a70))
|
|
15
|
+
|
|
1
16
|
# Changelog
|
|
2
17
|
|
|
3
18
|
All notable changes to this project will be documented in this file.
|
package/laraProvider.js
CHANGED
|
@@ -28,7 +28,6 @@ export class LaraProvider extends providers.ChunkedRemoteTranslationProvider {
|
|
|
28
28
|
this.#keyId = keyId;
|
|
29
29
|
this.#keySecret = keySecret;
|
|
30
30
|
this.#translateOptions = {
|
|
31
|
-
contentType: 'text/plain',
|
|
32
31
|
instructions: [],
|
|
33
32
|
};
|
|
34
33
|
adaptTo && (this.#translateOptions.adaptTo = Array.isArray(adaptTo) ? adaptTo : adaptTo.split(','));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@l10nmonster/helpers-translated",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Helpers to integrate with Translated.com",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"author": "Diego Lagunas",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@l10nmonster/core": "
|
|
13
|
+
"@l10nmonster/core": "3.1.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@translated/lara": "^1.4.0",
|