i18n-keyless-node 1.17.7 → 2.0.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/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { init, getAllTranslationsForAllLanguages, getSupportedLanguages, awaitForTranslation } from "./service";
2
- export type { Translations, I18nKeylessNodeConfig, I18nKeylessNodeStore, TranslationOptions, I18nKeylessRequestBody, I18nKeylessAllTranslationsResponse } from "./types";
1
+ export { init, getAllTranslationsForAllLanguages, getSupportedLanguages, awaitForTranslation } from "./service.ts";
2
+ export type { Translations, I18nKeylessNodeConfig, I18nKeylessNodeStore, TranslationOptions, I18nKeylessRequestBody, I18nKeylessAllTranslationsResponse } from "./types.ts";
3
3
  export { AVAILABLE_LANGS, type Lang, type PrimaryLang, type I18nKeylessResponse, queue } from "i18n-keyless-core";
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { init, getAllTranslationsForAllLanguages, getSupportedLanguages, awaitForTranslation } from "./service";
1
+ export { init, getAllTranslationsForAllLanguages, getSupportedLanguages, awaitForTranslation } from "./service.js";
2
2
  export { AVAILABLE_LANGS, queue } from "i18n-keyless-core";
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "i18n-keyless-node",
3
3
  "private": false,
4
- "version": "1.17.7",
4
+ "version": "2.0.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "postpublish": "rm -rf ./dist && rm *.tgz"
23
23
  },
24
24
  "dependencies": {
25
- "i18n-keyless-core": "1.17.7"
25
+ "i18n-keyless-core": "2.0.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@eslint/js": "^9.9.0",
package/dist/service.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { type Lang, type TranslationOptions, I18nKeylessAllTranslationsResponse } from "i18n-keyless-core";
2
- import { I18nKeylessNodeConfig } from "types";
2
+ import { I18nKeylessNodeConfig } from "./types.ts";
3
3
  /**
4
4
  * Fetches all translations
5
5
  * @param store - The translation store
package/dist/service.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { queue, api, } from "i18n-keyless-core";
2
- import packageJson from "./package.json";
2
+ import packageJson from "./package.json" with { type: "json" };
3
3
  const store = {
4
4
  translations: {
5
5
  fr: {},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "i18n-keyless-node",
3
3
  "private": false,
4
- "version": "1.17.7",
4
+ "version": "2.0.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "postpublish": "rm -rf ./dist && rm *.tgz"
23
23
  },
24
24
  "dependencies": {
25
- "i18n-keyless-core": "1.17.7"
25
+ "i18n-keyless-core": "2.0.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@eslint/js": "^9.9.0",