@scrabble-solver/types 2.12.4 → 2.13.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.
package/build/Locale.d.ts CHANGED
@@ -10,7 +10,8 @@ declare enum Locale {
10
10
  ES_ES = "es-ES",
11
11
  FA_IR = "fa-IR",
12
12
  FR_FR = "fr-FR",
13
- PL_PL = "pl-PL"
13
+ PL_PL = "pl-PL",
14
+ RO_RO = "ro-RO"
14
15
  }
15
16
  export declare const isLocale: (locale: unknown) => locale is Locale;
16
17
  export default Locale;
package/build/Locale.js CHANGED
@@ -15,6 +15,7 @@ var Locale;
15
15
  Locale["FA_IR"] = "fa-IR";
16
16
  Locale["FR_FR"] = "fr-FR";
17
17
  Locale["PL_PL"] = "pl-PL";
18
+ Locale["RO_RO"] = "ro-RO";
18
19
  })(Locale || (Locale = {}));
19
20
  const locales = Object.values(Locale);
20
21
  const isLocale = (locale) => locales.includes(locale);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/types",
3
- "version": "2.12.4",
3
+ "version": "2.13.0",
4
4
  "description": "Scrabble Solver 2 - Types",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "clean:force": "npm run clean && rimraf package-lock.json"
25
25
  },
26
26
  "dependencies": {
27
- "@scrabble-solver/constants": "^2.12.4"
27
+ "@scrabble-solver/constants": "^2.13.0"
28
28
  },
29
- "gitHead": "b7af635998fc55dcfb05c009d856819550cb20d8"
29
+ "gitHead": "fb2e1c0ef099ea8983162ed9f0067d626ebdfaff"
30
30
  }
package/src/Locale.ts CHANGED
@@ -11,6 +11,7 @@ enum Locale {
11
11
  FA_IR = 'fa-IR',
12
12
  FR_FR = 'fr-FR',
13
13
  PL_PL = 'pl-PL',
14
+ RO_RO = 'ro-RO',
14
15
  }
15
16
 
16
17
  const locales = Object.values(Locale);