@rimelight/i18n 0.0.10 → 0.0.12

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/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as KVNamespaceBinding, n as CustomTranslations, o as NestedTranslationKeys, s as TranslationKey, t as ComponentsJSON } from "./types-BKUPwH-e.mjs";
1
+ import { i as KVNamespaceBinding, n as CustomTranslations, o as NestedTranslationKeys, s as TranslationKey, t as ComponentsJSON } from "./types-dxt4IMnV.mjs";
2
2
  import { a as getFormatterInstance, c as initializeI18n, d as useI18n, f as useI18nAsync, i as currentLocale, o as getI18nInstance, r as clearCache, s as getPluralCategory, u as useFormat } from "./runtime-Bc8I8sA4.mjs";
3
3
  import { i as i18n, n as RimelightI18nPlugins, t as RimelightI18nOptions } from "./plugin-CFEm0e4U.mjs";
4
4
  import { TranslationLoader } from "@nanostores/i18n";
@@ -22,7 +22,7 @@ type NestedTranslationKeys<T> = T extends object ? { [K in keyof T & (string | n
22
22
  *
23
23
  * ```ts
24
24
  * declare module "@rimelight/i18n" {
25
- * interface CustomTranslations extends typeof import("./translations/en.json") {}
25
+ * interface CustomTranslations extends typeof import("./i18n/en.json") {}
26
26
  * }
27
27
  * ```
28
28
  */
package/dist/types.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as LocaleFile, i as KVNamespaceBinding, n as CustomTranslations, o as NestedTranslationKeys, r as FlattenedTranslations, s as TranslationKey, t as ComponentsJSON } from "./types-BKUPwH-e.mjs";
1
+ import { a as LocaleFile, i as KVNamespaceBinding, n as CustomTranslations, o as NestedTranslationKeys, r as FlattenedTranslations, s as TranslationKey, t as ComponentsJSON } from "./types-dxt4IMnV.mjs";
2
2
  export { type ComponentsJSON, CustomTranslations, FlattenedTranslations, KVNamespaceBinding, LocaleFile, NestedTranslationKeys, TranslationKey };
package/dist/utils.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { r as FlattenedTranslations, t as ComponentsJSON } from "./types-BKUPwH-e.mjs";
1
+ import { r as FlattenedTranslations, t as ComponentsJSON } from "./types-dxt4IMnV.mjs";
2
2
  //#region src/utils.d.ts
3
3
  export declare function flatten(obj: ComponentsJSON): FlattenedTranslations;
4
4
  export declare function unflatten(flat: FlattenedTranslations): ComponentsJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rimelight/i18n",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "private": false,
5
5
  "description": "Rimelight Entertainment's Internationalization Package",
6
6
  "homepage": "https://rimelight.com/docs",
@@ -53,7 +53,7 @@
53
53
  "nanostores": "1.5.3"
54
54
  },
55
55
  "devDependencies": {
56
- "@rimelight/config": "0.0.6",
56
+ "@rimelight/config": "0.0.9",
57
57
  "typescript": "6.0.3"
58
58
  },
59
59
  "engines": {