@etsoo/react 1.3.78 → 1.3.79

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.
@@ -64,7 +64,11 @@ export class ReactApp extends CoreApp {
64
64
  CoreApp.deviceIdField,
65
65
  CoreApp.headerTokenField,
66
66
  CoreApp.serversideDeviceIdField
67
- ]), name);
67
+ ], (field, data, index) => {
68
+ if (index > 0 && field === CoreApp.headerTokenField)
69
+ return null;
70
+ return data;
71
+ }), name);
68
72
  /**
69
73
  * User state
70
74
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.3.78",
3
+ "version": "1.3.79",
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.94",
53
+ "@etsoo/appscript": "^1.1.96",
54
54
  "@etsoo/notificationbase": "^1.0.95",
55
- "@etsoo/shared": "^1.0.84",
55
+ "@etsoo/shared": "^1.0.88",
56
56
  "@mui/icons-material": "^5.2.5",
57
57
  "@mui/material": "^5.2.5",
58
58
  "@reach/router": "^1.3.4",
@@ -189,16 +189,23 @@ export class ReactApp<
189
189
  settings,
190
190
  ReactApp.createApi(settings),
191
191
  ReactApp.createNotifier(),
192
- new WindowStorage([
193
- ...globalFields,
194
-
195
- DomUtils.CountryField,
196
- DomUtils.CultureField,
197
-
198
- CoreApp.deviceIdField,
199
- CoreApp.headerTokenField,
200
- CoreApp.serversideDeviceIdField
201
- ]),
192
+ new WindowStorage(
193
+ [
194
+ ...globalFields,
195
+
196
+ DomUtils.CountryField,
197
+ DomUtils.CultureField,
198
+
199
+ CoreApp.deviceIdField,
200
+ CoreApp.headerTokenField,
201
+ CoreApp.serversideDeviceIdField
202
+ ],
203
+ (field, data, index) => {
204
+ if (index > 0 && field === CoreApp.headerTokenField)
205
+ return null;
206
+ return data;
207
+ }
208
+ ),
202
209
  name
203
210
  );
204
211
  this.cultureState = new CultureState(settings.currentCulture);