@lokalise/polyglot-sdk 19.0.1 → 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 +15 -14
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/"
|
|
@@ -37,33 +37,34 @@
|
|
|
37
37
|
"postversion": "biome check --write package.json && git add package.json"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@lokalise/backend-http-client": "^
|
|
41
|
-
"@lokalise/id-utils": "^
|
|
42
|
-
"@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",
|
|
43
43
|
"@lokalise/non-translatable-markup": "^3.0.0",
|
|
44
|
-
"@lokalise/supported-languages": "^
|
|
44
|
+
"@lokalise/supported-languages": "^3.0.0",
|
|
45
45
|
"@lokalise/zod-extras": "^2.1.0",
|
|
46
46
|
"html-escaper": "^3.0.3",
|
|
47
|
-
"undici": "^7.
|
|
47
|
+
"undici": "^7.7.0",
|
|
48
48
|
"undici-retry": "^6.0.0",
|
|
49
49
|
"zod": "^3.24.2"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@lokalise/fastify-extras": ">=
|
|
52
|
+
"@lokalise/fastify-extras": ">=27.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@amplitude/analytics-types": "^2.
|
|
55
|
+
"@amplitude/analytics-types": "^2.9.0",
|
|
56
56
|
"@biomejs/biome": "^1.9.4",
|
|
57
|
-
"@lokalise/biome-config": "^
|
|
58
|
-
"@lokalise/fastify-extras": "^
|
|
57
|
+
"@lokalise/biome-config": "^2.0.0",
|
|
58
|
+
"@lokalise/fastify-extras": "^27.3.0",
|
|
59
|
+
"@lokalise/tsconfig": "^1.1.0",
|
|
59
60
|
"@types/html-escaper": "^3.0.4",
|
|
60
|
-
"@types/node": "^22.
|
|
61
|
-
"@vitest/coverage-v8": "^3.
|
|
61
|
+
"@types/node": "^22.14.1",
|
|
62
|
+
"@vitest/coverage-v8": "^3.1.1",
|
|
62
63
|
"auto-changelog": "^2.5.0",
|
|
63
|
-
"mockttp": "^3.
|
|
64
|
+
"mockttp": "^3.17.0",
|
|
64
65
|
"rimraf": "^6.0.1",
|
|
65
66
|
"ts-deepmerge": "^7.0.1",
|
|
66
|
-
"typescript": "5.8.
|
|
67
|
+
"typescript": "5.8.3",
|
|
67
68
|
"vitest": "^3.0.4"
|
|
68
69
|
}
|
|
69
70
|
}
|