@firedesktop/react-base 1.21.3 → 1.21.4

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.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare type configurationLoaderParamsType = {
3
3
  updateAppState: (name: string, value: object) => void;
4
- path: string | null;
4
+ path?: string;
5
5
  };
6
6
  declare function ConfigurationLoader({ updateAppState, path }: configurationLoaderParamsType): JSX.Element;
7
7
  export default ConfigurationLoader;
@@ -2,7 +2,7 @@
2
2
  export declare type languageLoaderParamsType = {
3
3
  updateAppState: (name: string, value: object) => void;
4
4
  language: string;
5
- path: string | null;
5
+ path?: string;
6
6
  };
7
7
  declare function LanguageLoader({ updateAppState, language, path }: languageLoaderParamsType): JSX.Element;
8
8
  export default LanguageLoader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firedesktop/react-base",
3
- "version": "1.21.3",
3
+ "version": "1.21.4",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "description": "This is the FireDesktop base package used to support every React Project in this Company.",
@@ -5,7 +5,7 @@ import ConfigurationManager from './ConfigurationManager';
5
5
 
6
6
  export type configurationLoaderParamsType = {
7
7
  updateAppState: (name: string, value: object) => void,
8
- path: string | null
8
+ path?: string
9
9
  }
10
10
 
11
11
  function ConfigurationLoader({ updateAppState, path }: configurationLoaderParamsType) {
@@ -6,7 +6,7 @@ import LanguageManager from './LanguageManager';
6
6
  export type languageLoaderParamsType = {
7
7
  updateAppState: (name: string, value: object) => void,
8
8
  language: string,
9
- path: string | null,
9
+ path?: string,
10
10
  }
11
11
 
12
12
  function LanguageLoader({ updateAppState, language, path }: languageLoaderParamsType) {