generaltranslation 7.3.0 → 7.4.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.
@@ -22,6 +22,8 @@ export type EntryMetadata = {
22
22
  sourceLocale?: string;
23
23
  actionType?: ActionType;
24
24
  timeout?: number;
25
+ regionCode?: string;
26
+ scriptCode?: string;
25
27
  };
26
28
  /**
27
29
  * GTRequest is a translation request object for {@link JsxChildren} | {@link IcuMessage} | {@link I18nextMessage}
package/dist/types.d.ts CHANGED
@@ -104,6 +104,8 @@ type EntryMetadata = {
104
104
  sourceLocale?: string;
105
105
  actionType?: ActionType;
106
106
  timeout?: number;
107
+ regionCode?: string;
108
+ scriptCode?: string;
107
109
  };
108
110
  /**
109
111
  * GTRequest is a translation request object for {@link JsxChildren} | {@link IcuMessage} | {@link I18nextMessage}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generaltranslation",
3
- "version": "7.3.0",
3
+ "version": "7.4.0",
4
4
  "description": "A language toolkit for AI developers",
5
5
  "main": "dist/index.cjs.min.cjs",
6
6
  "module": "dist/index.esm.min.mjs",
@@ -13,8 +13,8 @@
13
13
  "build:release": "npm run build:clean",
14
14
  "build:clean": "rm -rf dist; npm run build",
15
15
  "build": "rollup -c",
16
- "lint": "eslint \"src/**/*.{js,ts}\" \"./__e2e__/**/*.{js,ts}\" \"./**/__tests__/**/*.{js,ts}\"",
17
- "lint:fix": "eslint \"src/**/*.{js,ts}\" \"./__e2e__/**/*.{js,ts}\" \"./**/__tests__/**/*.{js,ts}\" --fix",
16
+ "lint": "eslint \"src/**/*.{js,ts}\" \"./**/__tests__/**/*.{js,ts}\"",
17
+ "lint:fix": "eslint \"src/**/*.{js,ts}\" \"./**/__tests__/**/*.{js,ts}\" --fix",
18
18
  "test": "vitest run --config=./vitest.config.ts",
19
19
  "test:watch": "vitest --config=./vitest.config.ts",
20
20
  "release": "npm run build:clean && npm publish",