@lokalise/polyglot-sdk 4.1.1 → 4.2.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.
@@ -14,6 +14,9 @@ export type TranslateAsyncRequestBody = TranslateSyncRequest & {
14
14
  };
15
15
  export type TranslateSyncContentUnits = {
16
16
  id: string;
17
+ context?: {
18
+ description: string;
19
+ };
17
20
  segments: {
18
21
  id: string;
19
22
  position: number;
@@ -28,6 +31,9 @@ export type LqaSyncRequest = {
28
31
  };
29
32
  export type LqaContentUnit = {
30
33
  id: string;
34
+ assets?: {
35
+ description?: string;
36
+ };
31
37
  segments: LqaSegment[];
32
38
  };
33
39
  export type LqaSegment = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/polyglot-sdk",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "author": {
5
5
  "name": "Lokalise",
6
6
  "url": "https://lokalise.com/"
@@ -37,7 +37,7 @@
37
37
  "@lokalise/id-utils": "^1.0.0",
38
38
  "@lokalise/node-core": "^9.13.0",
39
39
  "@lokalise/zod-extras": "^2.0.1",
40
- "undici": "^6.13.0",
40
+ "undici": "^6.14.0",
41
41
  "undici-retry": "^5.0.2",
42
42
  "zod": "^3.22.4"
43
43
  },