@etsoo/react 1.3.61 → 1.3.62

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.
@@ -38,7 +38,7 @@ export function ReactAppStateDetector(props) {
38
38
  matchedFields === null || matchedFields === void 0 ? void 0 : matchedFields.push(targetField);
39
39
  });
40
40
  }
41
- console.log('ReactAppStateDetector', state);
41
+ console.log('ReactAppStateDetector', state, authorized, matchedFields);
42
42
  // Ready
43
43
  React.useEffect(() => {
44
44
  // Callback
@@ -64,6 +64,7 @@ export class ReactApp extends CoreApp {
64
64
  this.userState = new UserState();
65
65
  this.cultureState = new CultureState(settings.currentCulture);
66
66
  this.pageState = new PageState();
67
+ globalApp = this;
67
68
  }
68
69
  /**
69
70
  * Get notifier provider
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.3.61",
3
+ "version": "1.3.62",
4
4
  "description": "TypeScript ReactJs framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -67,7 +67,7 @@ export function ReactAppStateDetector(props: IStateProps) {
67
67
  });
68
68
  }
69
69
 
70
- console.log('ReactAppStateDetector', state);
70
+ console.log('ReactAppStateDetector', state, authorized, matchedFields);
71
71
 
72
72
  // Ready
73
73
  React.useEffect(() => {
@@ -195,6 +195,8 @@ export class ReactApp<
195
195
  );
196
196
  this.cultureState = new CultureState(settings.currentCulture);
197
197
  this.pageState = new PageState<P>();
198
+
199
+ globalApp = this;
198
200
  }
199
201
 
200
202
  /**