@translated/lara 1.6.6 → 1.6.7

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.
@@ -1 +1 @@
1
- export declare const version = "1.6.6";
1
+ export declare const version = "1.6.7";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = "1.6.6";
4
+ exports.version = "1.6.7";
@@ -18,7 +18,7 @@ export declare class Memories {
18
18
  connect<T extends string | string[]>(ids: T): Promise<T extends string ? Memory : Memory[]>;
19
19
  importTmx(id: string, tmx: MultiPartFile, gzip?: boolean): Promise<MemoryImport>;
20
20
  addTranslation(id: string | string[], source: string, target: string, sentence: string, translation: string, tuid?: string, sentenceBefore?: string, sentenceAfter?: string, headers?: Record<string, string>): Promise<MemoryImport>;
21
- deleteTranslation(id: string | string[], source: string, target: string, sentence: string, translation: string, tuid?: string, sentenceBefore?: string, sentenceAfter?: string): Promise<MemoryImport>;
21
+ deleteTranslation(id: string | string[], source: string, target: string, sentence?: string, translation?: string, tuid?: string, sentenceBefore?: string, sentenceAfter?: string): Promise<MemoryImport>;
22
22
  getImportStatus(id: string): Promise<MemoryImport>;
23
23
  waitForImport(mImport: MemoryImport, updateCallback?: MemoryImportCallback, maxWaitTime?: number): Promise<MemoryImport>;
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@translated/lara",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "engines": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "description": "Official Lara SDK for JavaScript and Node.js",
37
37
  "dependencies": {
38
- "form-data": "^4.0.2"
38
+ "form-data": "^4.0.4"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@biomejs/biome": "^2.0.6",