@tramvai/module-common 1.104.2 → 1.105.2
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.
- package/lib/index.browser.js +1 -1
- package/lib/index.es.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +15 -15
package/lib/index.browser.js
CHANGED
|
@@ -1125,7 +1125,7 @@ CommonChildAppModule = __decorate([
|
|
|
1125
1125
|
multi: true,
|
|
1126
1126
|
useFactory: ({ context, initialState }) => {
|
|
1127
1127
|
return (render) => {
|
|
1128
|
-
return (jsx(Provider, Object.assign({ context: context, serverState: initialState
|
|
1128
|
+
return (jsx(Provider, Object.assign({ context: context, serverState: initialState && context.getState() }, { children: render }), void 0));
|
|
1129
1129
|
};
|
|
1130
1130
|
},
|
|
1131
1131
|
deps: {
|
package/lib/index.es.js
CHANGED
|
@@ -1147,7 +1147,7 @@ CommonChildAppModule = __decorate([
|
|
|
1147
1147
|
multi: true,
|
|
1148
1148
|
useFactory: ({ context, initialState }) => {
|
|
1149
1149
|
return (render) => {
|
|
1150
|
-
return (jsx(Provider, Object.assign({ context: context, serverState: initialState
|
|
1150
|
+
return (jsx(Provider, Object.assign({ context: context, serverState: initialState && context.getState() }, { children: render }), void 0));
|
|
1151
1151
|
};
|
|
1152
1152
|
},
|
|
1153
1153
|
deps: {
|
package/lib/index.js
CHANGED
|
@@ -1165,7 +1165,7 @@ exports.CommonChildAppModule = tslib.__decorate([
|
|
|
1165
1165
|
multi: true,
|
|
1166
1166
|
useFactory: ({ context, initialState }) => {
|
|
1167
1167
|
return (render) => {
|
|
1168
|
-
return (jsxRuntime.jsx(state.Provider, Object.assign({ context: context, serverState: initialState
|
|
1168
|
+
return (jsxRuntime.jsx(state.Provider, Object.assign({ context: context, serverState: initialState && context.getState() }, { children: render }), void 0));
|
|
1169
1169
|
};
|
|
1170
1170
|
},
|
|
1171
1171
|
deps: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.105.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -31,26 +31,26 @@
|
|
|
31
31
|
"@tinkoff/errors": "0.2.21",
|
|
32
32
|
"@tinkoff/pubsub": "0.4.24",
|
|
33
33
|
"@tinkoff/url": "0.7.38",
|
|
34
|
-
"@tramvai/module-cookie": "1.
|
|
35
|
-
"@tramvai/module-environment": "1.
|
|
36
|
-
"@tramvai/module-log": "1.
|
|
37
|
-
"@tramvai/tokens-child-app": "1.
|
|
38
|
-
"@tramvai/tokens-common": "1.
|
|
39
|
-
"@tramvai/tokens-render": "1.
|
|
40
|
-
"@tramvai/experiments": "1.
|
|
34
|
+
"@tramvai/module-cookie": "1.105.2",
|
|
35
|
+
"@tramvai/module-environment": "1.105.2",
|
|
36
|
+
"@tramvai/module-log": "1.105.2",
|
|
37
|
+
"@tramvai/tokens-child-app": "1.105.2",
|
|
38
|
+
"@tramvai/tokens-common": "1.105.2",
|
|
39
|
+
"@tramvai/tokens-render": "1.105.2",
|
|
40
|
+
"@tramvai/experiments": "1.105.2",
|
|
41
41
|
"@tinkoff/hook-runner": "0.3.22",
|
|
42
42
|
"hoist-non-react-statics": "^3.3.1",
|
|
43
43
|
"lru-cache": "^6.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@tinkoff/utils": "^2.1.2",
|
|
47
|
-
"@tramvai/cli": "1.
|
|
48
|
-
"@tramvai/core": "1.
|
|
49
|
-
"@tramvai/react": "1.
|
|
50
|
-
"@tramvai/papi": "1.
|
|
51
|
-
"@tramvai/state": "1.
|
|
52
|
-
"@tramvai/tokens-metrics": "1.
|
|
53
|
-
"@tramvai/tokens-server": "1.
|
|
47
|
+
"@tramvai/cli": "1.105.2",
|
|
48
|
+
"@tramvai/core": "1.105.2",
|
|
49
|
+
"@tramvai/react": "1.105.2",
|
|
50
|
+
"@tramvai/papi": "1.105.2",
|
|
51
|
+
"@tramvai/state": "1.105.2",
|
|
52
|
+
"@tramvai/tokens-metrics": "1.105.2",
|
|
53
|
+
"@tramvai/tokens-server": "1.105.2",
|
|
54
54
|
"@tinkoff/dippy": "0.7.41",
|
|
55
55
|
"react": ">=16.14.0",
|
|
56
56
|
"tslib": "^2.0.3"
|