@tracktor/shared-module 0.15.9 → 0.15.10

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/CHANGELOG.md CHANGED
@@ -1,4 +1,6 @@
1
1
  # [Versions](https://github.com/Tracktor/shared-module/releases)
2
2
 
3
- ## v0.15.9
4
- - **[fix]** : I18nConfig component
3
+ ## v0.15.10
4
+ - **[fix]** : `I18nConfig` component
5
+ - **[feat]** : `SentryConfig` improvement
6
+ - **[feat]** : `AxiosConfig` improvement
@@ -7,6 +7,7 @@ interface I18nConfigProps<I, L, R> {
7
7
  init: (options: any) => any;
8
8
  on: (event: string, callback: (lng: string) => void) => void;
9
9
  resolvedLanguage?: string;
10
+ isInitialized?: boolean;
10
11
  };
11
12
  /**
12
13
  * i18next language detector dependency
@@ -29,14 +30,16 @@ interface I18nConfigProps<I, L, R> {
29
30
  * i18next innit react plugin dependency
30
31
  */
31
32
  initReactI18next?: R;
33
+ debug?: boolean;
32
34
  }
33
35
  /**
34
36
  * This component initializes i18n instance with custom config options
35
37
  * @param i18n
38
+ * @param debug
36
39
  * @param initReactI18next
37
40
  * @param resources
38
41
  * @param LanguageDetector
39
42
  * @constructor
40
43
  */
41
- declare const I18nConfig: <I extends unknown, L extends unknown, R extends unknown>({ i18n, initReactI18next, resources, LanguageDetector, }: I18nConfigProps<I, L, R>) => null;
44
+ declare const I18nConfig: <I extends unknown, L extends unknown, R extends unknown>({ i18n, debug, initReactI18next, resources, LanguageDetector, }: I18nConfigProps<I, L, R>) => null;
42
45
  export default I18nConfig;