i18n-keyless-core 1.9.3 → 1.9.5

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.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export type { I18nConfig, Lang, PrimaryLang, Translations, TranslationStore, TranslationStoreState, I18nKeylessRequestBody, I18nKeylessResponse, TranslationOptions, } from "./types";
2
- export { getTranslation, fetchAllTranslations, validateLanguage, queue } from "./service";
2
+ export { getTranslationCore, fetchAllTranslations, validateLanguage, queue } from "./service";
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { getTranslation, fetchAllTranslations, validateLanguage, queue } from "./service";
1
+ export { getTranslationCore, fetchAllTranslations, validateLanguage, queue } from "./service";
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "i18n-keyless-core",
3
3
  "private": false,
4
- "version": "1.9.3",
4
+ "version": "1.9.5",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
package/dist/service.d.ts CHANGED
@@ -17,7 +17,7 @@ export declare function validateLanguage(lang: I18nConfig["languages"]["supporte
17
17
  * @returns The translated text or the original key if not found
18
18
  * @throws Error if config is not initialized
19
19
  */
20
- export declare function getTranslation(key: string, store: TranslationStore, options?: TranslationOptions): string;
20
+ export declare function getTranslationCore(key: string, store: TranslationStore, options?: TranslationOptions): string;
21
21
  /**
22
22
  * Queues a key for translation if not already translated
23
23
  * @param key - The text to translate
package/dist/service.js CHANGED
@@ -26,7 +26,7 @@ export function validateLanguage(lang, config) {
26
26
  * @returns The translated text or the original key if not found
27
27
  * @throws Error if config is not initialized
28
28
  */
29
- export function getTranslation(key, store, options) {
29
+ export function getTranslationCore(key, store, options) {
30
30
  const currentLanguage = store.currentLanguage;
31
31
  const config = store.config;
32
32
  const translations = store.translations;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "i18n-keyless-core",
3
3
  "private": false,
4
- "version": "1.9.3",
4
+ "version": "1.9.5",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",