generaltranslation 2.0.50 → 2.0.51

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -85,7 +85,7 @@ declare class GT {
85
85
  * @param {Update[]} updates - Array of updates with optional targetLanguage.
86
86
  * @param {string} [projectID=this.projectID] - The ID of the project. Defaults to the instance's projectID.
87
87
  * @param {boolean} [replace=false] - Whether to replace the existing dictionary. Defaults to false.
88
- * @returns {Promise<string[]>} A promise that resolves to an array of strings indicating the result of each update.
88
+ * @returns {Promise<string[]>} A promise that resolves to an array of strings indicating the languages which have been updated.
89
89
  */
90
90
  updateRemoteDictionary(updates: Update[], projectID?: string, replace?: boolean): Promise<string[]>;
91
91
  }
package/dist/index.js CHANGED
@@ -108,7 +108,7 @@ class GT {
108
108
  * @param {Update[]} updates - Array of updates with optional targetLanguage.
109
109
  * @param {string} [projectID=this.projectID] - The ID of the project. Defaults to the instance's projectID.
110
110
  * @param {boolean} [replace=false] - Whether to replace the existing dictionary. Defaults to false.
111
- * @returns {Promise<string[]>} A promise that resolves to an array of strings indicating the result of each update.
111
+ * @returns {Promise<string[]>} A promise that resolves to an array of strings indicating the languages which have been updated.
112
112
  */
113
113
  updateRemoteDictionary(updates_1) {
114
114
  return __awaiter(this, arguments, void 0, function* (updates, projectID = this.projectID, replace = false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generaltranslation",
3
- "version": "2.0.50",
3
+ "version": "2.0.51",
4
4
  "description": "A language toolkit for AI developers",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",