@trackunit/i18n-library-translation 1.18.20 → 1.18.22

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/index.cjs.js CHANGED
@@ -84,7 +84,7 @@ const initializeTranslationsForApp = () => {
84
84
  compatibilityJSON: "v4",
85
85
  };
86
86
  if (!hasBeenInitialized) {
87
- i18next
87
+ void i18next
88
88
  .use(browserLanguageDetector)
89
89
  .use(resourcesToBackend((language, namespace, callback) => {
90
90
  const resource = availableTranslations[namespace];
@@ -108,7 +108,7 @@ const initializeTranslationsForApp = () => {
108
108
  .init(init);
109
109
  }
110
110
  else {
111
- i18next.init(init);
111
+ void i18next.init(init);
112
112
  }
113
113
  hasBeenInitialized = true;
114
114
  };
package/index.esm.js CHANGED
@@ -82,7 +82,7 @@ const initializeTranslationsForApp = () => {
82
82
  compatibilityJSON: "v4",
83
83
  };
84
84
  if (!hasBeenInitialized) {
85
- i18next
85
+ void i18next
86
86
  .use(browserLanguageDetector)
87
87
  .use(resourcesToBackend((language, namespace, callback) => {
88
88
  const resource = availableTranslations[namespace];
@@ -106,7 +106,7 @@ const initializeTranslationsForApp = () => {
106
106
  .init(init);
107
107
  }
108
108
  else {
109
- i18next.init(init);
109
+ void i18next.init(init);
110
110
  }
111
111
  hasBeenInitialized = true;
112
112
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/i18n-library-translation",
3
- "version": "1.18.20",
3
+ "version": "1.18.22",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -11,8 +11,8 @@
11
11
  "i18next": "25.1.2",
12
12
  "i18next-browser-languagedetector": "8.1.0",
13
13
  "i18next-resources-to-backend": "^1.2.1",
14
- "@trackunit/iris-app-api": "1.17.18",
15
- "@trackunit/react-core-hooks": "1.15.29"
14
+ "@trackunit/iris-app-api": "1.17.20",
15
+ "@trackunit/react-core-hooks": "1.15.31"
16
16
  },
17
17
  "peerDependencies": {
18
18
  "react": "^19.0.0"