@tramvai/module-child-app 2.44.2 → 2.45.1

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.
@@ -859,7 +859,7 @@ const browserProviders = [
859
859
  }),
860
860
  provide({
861
861
  provide: CHILD_APP_COMMON_INITIAL_STATE_TOKEN,
862
- useFactory: () => JSON.parse(document.getElementById(GLOBAL_CHILD_STATE).textContent || '{}'),
862
+ useFactory: () => { var _a, _b; return JSON.parse((_b = (_a = document.getElementById(GLOBAL_CHILD_STATE)) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : '{}'); },
863
863
  }),
864
864
  provide({
865
865
  provide: CHILD_APP_RENDER_MANAGER_TOKEN,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-child-app",
3
- "version": "2.44.2",
3
+ "version": "2.45.1",
4
4
  "description": "Module for child apps",
5
5
  "browser": {
6
6
  "./lib/server.js": "./lib/browser.js",
@@ -31,20 +31,20 @@
31
31
  "@tinkoff/env-validators": "0.1.4",
32
32
  "@tinkoff/module-loader-client": "0.4.4",
33
33
  "@tinkoff/module-loader-server": "0.5.5",
34
- "@tramvai/child-app-core": "2.44.2",
34
+ "@tramvai/child-app-core": "2.45.1",
35
35
  "@tramvai/safe-strings": "0.5.5",
36
- "@tramvai/tokens-child-app": "2.44.2"
36
+ "@tramvai/tokens-child-app": "2.45.1"
37
37
  },
38
38
  "devDependencies": {},
39
39
  "peerDependencies": {
40
40
  "@tinkoff/dippy": "0.8.9",
41
41
  "@tinkoff/utils": "^2.1.2",
42
- "@tramvai/core": "2.44.2",
43
- "@tramvai/state": "2.44.2",
44
- "@tramvai/react": "2.44.2",
45
- "@tramvai/tokens-common": "2.44.2",
46
- "@tramvai/tokens-render": "2.44.2",
47
- "@tramvai/tokens-router": "2.44.2",
42
+ "@tramvai/core": "2.45.1",
43
+ "@tramvai/state": "2.45.1",
44
+ "@tramvai/react": "2.45.1",
45
+ "@tramvai/tokens-common": "2.45.1",
46
+ "@tramvai/tokens-render": "2.45.1",
47
+ "@tramvai/tokens-router": "2.45.1",
48
48
  "react": ">=16.14.0",
49
49
  "react-dom": ">=16.14.0",
50
50
  "object-assign": "^4.1.1",