@etsoo/react 1.3.77 → 1.3.78

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,5 +1,5 @@
1
1
  import { CoreApp, createClient } from '@etsoo/appscript';
2
- import { WindowStorage } from '@etsoo/shared';
2
+ import { DomUtils, WindowStorage } from '@etsoo/shared';
3
3
  import React from 'react';
4
4
  import { NotifierMU } from '../mu/NotifierMU';
5
5
  import { ProgressCount } from '../mu/ProgressCount';
@@ -59,6 +59,8 @@ export class ReactApp extends CoreApp {
59
59
  constructor(settings, name, globalFields) {
60
60
  super(settings, ReactApp.createApi(settings), ReactApp.createNotifier(), new WindowStorage([
61
61
  ...globalFields,
62
+ DomUtils.CountryField,
63
+ DomUtils.CultureField,
62
64
  CoreApp.deviceIdField,
63
65
  CoreApp.headerTokenField,
64
66
  CoreApp.serversideDeviceIdField
@@ -52,7 +52,7 @@ export class ServiceApp extends ReactApp {
52
52
  '&serviceDeviceId=' +
53
53
  encodeURIComponent(this.deviceId) +
54
54
  '&' +
55
- DomUtils.Culture +
55
+ DomUtils.CultureField +
56
56
  '=' +
57
57
  this.culture;
58
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.3.77",
3
+ "version": "1.3.78",
4
4
  "description": "TypeScript ReactJs framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,9 +50,9 @@
50
50
  "@emotion/react": "^11.7.1",
51
51
  "@emotion/style": "^0.8.0",
52
52
  "@emotion/styled": "^11.6.0",
53
- "@etsoo/appscript": "^1.1.93",
53
+ "@etsoo/appscript": "^1.1.94",
54
54
  "@etsoo/notificationbase": "^1.0.95",
55
- "@etsoo/shared": "^1.0.83",
55
+ "@etsoo/shared": "^1.0.84",
56
56
  "@mui/icons-material": "^5.2.5",
57
57
  "@mui/material": "^5.2.5",
58
58
  "@reach/router": "^1.3.4",
@@ -7,7 +7,7 @@ import {
7
7
  IUserData
8
8
  } from '@etsoo/appscript';
9
9
  import { NotificationRenderProps } from '@etsoo/notificationbase';
10
- import { DataTypes, WindowStorage } from '@etsoo/shared';
10
+ import { DataTypes, DomUtils, WindowStorage } from '@etsoo/shared';
11
11
  import React from 'react';
12
12
  import { NotifierMU } from '../mu/NotifierMU';
13
13
  import { ProgressCount } from '../mu/ProgressCount';
@@ -191,6 +191,10 @@ export class ReactApp<
191
191
  ReactApp.createNotifier(),
192
192
  new WindowStorage([
193
193
  ...globalFields,
194
+
195
+ DomUtils.CountryField,
196
+ DomUtils.CultureField,
197
+
194
198
  CoreApp.deviceIdField,
195
199
  CoreApp.headerTokenField,
196
200
  CoreApp.serversideDeviceIdField
@@ -80,7 +80,7 @@ export class ServiceApp<
80
80
  '&serviceDeviceId=' +
81
81
  encodeURIComponent(this.deviceId) +
82
82
  '&' +
83
- DomUtils.Culture +
83
+ DomUtils.CultureField +
84
84
  '=' +
85
85
  this.culture;
86
86
  }