@tracktor/shared-module 1.0.0-beta.3 → 1.0.0-beta.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/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # [Versions](https://github.com/Tracktor/shared-module/releases)
2
2
 
3
- ## v1.0.0-beta.3
4
- - **[fix]** : `DaysJSConfig` load auto locale
3
+ ## v1.0.0-beta.5
4
+ - **[docs]** : DaysJSConfig - Make props `language` optional
package/README.md CHANGED
@@ -43,14 +43,15 @@ export default App;
43
43
 
44
44
 
45
45
  ## Components
46
- | Module | Type | Description | Dependencies |
47
- |-----------------|-----------------|--------------------------------------------------------------|------------------------------------------------------------|
48
- | RequireAuth | React Component | Component for protected routing | Axios & react-router-dom |
49
- | GTMSendPageView | React Component | Send page view event to Google Tag Manager | @tracktor/react-google-tag-manager & react-router-dom |
50
- | AxiosConfig | React Component | Initialize Axios instance with custom default config options | Axios |
51
- | I18nConfig | React Component | Initialize i18n instance with custom config options | i18next & react-i18next & i18next-browser-languagedetector |
52
- | SentryConfig | React Component | Initialize Sentry | @sentry/react & react-router-dom |
53
- | MapBoxConfig | React Component | Initialize MapBox | mapbox-gl |
46
+ | Module | Type | Description | Dependencies |
47
+ |-----------------|-----------------|-----------------------------------------------------|------------------------------------------------------------|
48
+ | RequireAuth | React Component | Component for protected routing | Axios & react-router-dom |
49
+ | GTMSendPageView | React Component | Send page view event to Google Tag Manager | @tracktor/react-google-tag-manager & react-router-dom |
50
+ | AxiosConfig | React Component | Initialize Axios with custom default config options | Axios |
51
+ | I18nConfig | React Component | Initialize i18n with custom config options | i18next & react-i18next & i18next-browser-languagedetector |
52
+ | SentryConfig | React Component | Initialize Sentry | @sentry/react & react-router-dom |
53
+ | MapBoxConfig | React Component | Initialize MapBox | mapbox-gl |
54
+ | DaysJSConfig | React Component | Initialize DayJS | dayjs |
54
55
 
55
56
  ## Hooks
56
57
  | Module | Description | Dependencies |
@@ -1,5 +1,5 @@
1
1
  interface I18nConfigProps {
2
- language: string;
2
+ language?: string;
3
3
  }
4
4
  /**
5
5
  * Initialize dayjs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tracktor/shared-module",
3
- "version": "1.0.0-beta.3",
3
+ "version": "1.0.0-beta.5",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "types": "./dist/main.d.ts",