@lokalise/polyglot-sdk 19.0.0 → 19.0.2
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/dist/index.d.ts +22 -22
- package/dist/index.js +20 -20
- package/dist/index.js.map +1 -1
- package/dist/sdk/PolyglotClient.d.ts +7 -7
- package/dist/sdk/PolyglotClient.js +6 -6
- package/dist/sdk/helpers/htmlEscaping.d.ts +1 -1
- package/dist/sdk/helpers/htmlEscaping.js +3 -3
- package/dist/sdk/helpers/htmlEscaping.js.map +1 -1
- package/dist/sdk/helpers/nonTranslatableContentHelper.d.ts +1 -1
- package/dist/sdk/helpers/nonTranslatableContentHelper.js +3 -3
- package/dist/sdk/helpers/nonTranslatableContentHelper.js.map +1 -1
- package/dist/sdk/helpers/nonTranslatableContentWrappers.d.ts +2 -12
- package/dist/sdk/helpers/nonTranslatableContentWrappers.js +26 -38
- package/dist/sdk/helpers/nonTranslatableContentWrappers.js.map +1 -1
- package/dist/sdk/schemas/common/asyncRequestSchemas.d.ts +1 -1
- package/dist/sdk/schemas/common/commonSchemas.d.ts +12 -1
- package/dist/sdk/schemas/common/commonSchemas.js +5 -1
- package/dist/sdk/schemas/common/commonSchemas.js.map +1 -1
- package/dist/sdk/schemas/common/errorSchemas.d.ts +1 -1
- package/dist/sdk/schemas/common/errorSchemas.js +1 -1
- package/dist/sdk/schemas/common/translationContextSchemas.d.ts +0 -11
- package/dist/sdk/schemas/common/translationContextSchemas.js +2 -6
- package/dist/sdk/schemas/common/translationContextSchemas.js.map +1 -1
- package/dist/sdk/schemas/lqa/commonSchemas.d.ts +1 -1
- package/dist/sdk/schemas/lqa/lqaAsyncSchemas.js +8 -7
- package/dist/sdk/schemas/lqa/lqaAsyncSchemas.js.map +1 -1
- package/dist/sdk/schemas/lqa/lqaSyncSchemas.js +7 -6
- package/dist/sdk/schemas/lqa/lqaSyncSchemas.js.map +1 -1
- package/dist/sdk/schemas/translation/generateVariants.js +3 -3
- package/dist/sdk/schemas/translation/rewriteTextSchemas.d.ts +1 -1
- package/dist/sdk/schemas/translation/rewriteTextSchemas.js +4 -4
- package/dist/sdk/schemas/translation/sharedSchemas.d.ts +117 -4
- package/dist/sdk/schemas/translation/sharedSchemas.js +21 -5
- package/dist/sdk/schemas/translation/sharedSchemas.js.map +1 -1
- package/dist/sdk/schemas/translation/translateAsyncSchemas.d.ts +265 -1
- package/dist/sdk/schemas/translation/translateAsyncSchemas.js +5 -5
- package/dist/sdk/schemas/translation/translateSyncSchemas.d.ts +233 -1
- package/dist/sdk/schemas/translation/translateSyncSchemas.js +4 -4
- package/dist/sdk/schemas/translation/translateTextSegmentSchemas.js +4 -4
- package/dist/sdk/schemas/translation/translateTextSegmentSchemas.js.map +1 -1
- package/dist/sdk/validation/isSegmentUnderLengthLimit.d.ts +1 -1
- package/dist/sdk/validation/isSegmentUnderLengthLimit.js +3 -3
- package/dist/sdk/validation/requestSizeLimit.d.ts +2 -2
- package/dist/sdk/validation/requestSizeLimit.js +2 -2
- package/package.json +17 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/polyglot-sdk",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.2",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Lokalise",
|
|
6
6
|
"url": "https://lokalise.com/"
|
|
@@ -33,36 +33,38 @@
|
|
|
33
33
|
"test:coverage": "npm test -- --coverage",
|
|
34
34
|
"test:ci": "npm run test:coverage",
|
|
35
35
|
"package-version": "echo $npm_package_version",
|
|
36
|
-
"
|
|
36
|
+
"version": "auto-changelog -p --tag-pattern \"sdk-\\d+.\\d+.\\d+\" && git add CHANGELOG.md",
|
|
37
|
+
"postversion": "biome check --write package.json && git add package.json"
|
|
37
38
|
},
|
|
38
39
|
"dependencies": {
|
|
39
|
-
"@lokalise/backend-http-client": "^
|
|
40
|
-
"@lokalise/id-utils": "^
|
|
41
|
-
"@lokalise/node-core": "^13.
|
|
40
|
+
"@lokalise/backend-http-client": "^5.0.0",
|
|
41
|
+
"@lokalise/id-utils": "^3.0.0",
|
|
42
|
+
"@lokalise/node-core": "^13.6.0",
|
|
42
43
|
"@lokalise/non-translatable-markup": "^3.0.0",
|
|
43
|
-
"@lokalise/supported-languages": "^
|
|
44
|
+
"@lokalise/supported-languages": "^3.0.0",
|
|
44
45
|
"@lokalise/zod-extras": "^2.1.0",
|
|
45
46
|
"html-escaper": "^3.0.3",
|
|
46
|
-
"undici": "^7.
|
|
47
|
+
"undici": "^7.7.0",
|
|
47
48
|
"undici-retry": "^6.0.0",
|
|
48
49
|
"zod": "^3.24.2"
|
|
49
50
|
},
|
|
50
51
|
"peerDependencies": {
|
|
51
|
-
"@lokalise/fastify-extras": ">=
|
|
52
|
+
"@lokalise/fastify-extras": ">=27.0.0"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
|
-
"@amplitude/analytics-types": "^2.
|
|
55
|
+
"@amplitude/analytics-types": "^2.9.0",
|
|
55
56
|
"@biomejs/biome": "^1.9.4",
|
|
56
|
-
"@lokalise/biome-config": "^
|
|
57
|
-
"@lokalise/fastify-extras": "^
|
|
57
|
+
"@lokalise/biome-config": "^2.0.0",
|
|
58
|
+
"@lokalise/fastify-extras": "^27.3.0",
|
|
59
|
+
"@lokalise/tsconfig": "^1.1.0",
|
|
58
60
|
"@types/html-escaper": "^3.0.4",
|
|
59
|
-
"@types/node": "^22.
|
|
60
|
-
"@vitest/coverage-v8": "^3.
|
|
61
|
+
"@types/node": "^22.14.1",
|
|
62
|
+
"@vitest/coverage-v8": "^3.1.1",
|
|
61
63
|
"auto-changelog": "^2.5.0",
|
|
62
|
-
"mockttp": "^3.
|
|
64
|
+
"mockttp": "^3.17.0",
|
|
63
65
|
"rimraf": "^6.0.1",
|
|
64
66
|
"ts-deepmerge": "^7.0.1",
|
|
65
|
-
"typescript": "5.8.
|
|
67
|
+
"typescript": "5.8.3",
|
|
66
68
|
"vitest": "^3.0.4"
|
|
67
69
|
}
|
|
68
70
|
}
|