@times-components/ssr 2.60.19-c1498d419cf20d4e6151bab3462001e59b78cf0e.0 → 2.60.19-f78fbc9c68ccbd8822b82499c5f272d8060cf6ea.5
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/dist/article.react.bundle.js +4 -4
- package/dist/article.react.bundle.js.map +1 -1
- package/dist/common.react.bundle.js +7 -7
- package/dist/common.react.bundle.js.map +1 -1
- package/package.json +4 -4
- package/src/client/article.js +2 -4
- package/src/component/article.js +1 -3
- package/src/server/article.js +2 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@times-components/ssr",
|
|
3
3
|
"main": "src",
|
|
4
|
-
"version": "2.60.19-
|
|
4
|
+
"version": "2.60.19-f78fbc9c68ccbd8822b82499c5f272d8060cf6ea.5+f78fbc9c68",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"bundle:dev": "yarn cleanup-dist && webpack --config=webpack.config.js",
|
|
7
7
|
"bundle:prod": "yarn cleanup-dist && NODE_ENV=production webpack --config=webpack.config.js -p",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"webpack": "4.30.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@times-components/article": "^7.18.1-
|
|
56
|
-
"@times-components/author-profile": "^6.19.
|
|
55
|
+
"@times-components/article": "^7.18.1-f78fbc9c68ccbd8822b82499c5f272d8060cf6ea.5+f78fbc9c68",
|
|
56
|
+
"@times-components/author-profile": "^6.19.34",
|
|
57
57
|
"@times-components/context": "^1.25.0",
|
|
58
58
|
"@times-components/provider": "^1.41.10",
|
|
59
59
|
"@times-components/schema": "^0.7.5",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "f78fbc9c68ccbd8822b82499c5f272d8060cf6ea"
|
|
83
83
|
}
|
package/src/client/article.js
CHANGED
|
@@ -19,8 +19,7 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
19
19
|
sharingSavingFlag = true,
|
|
20
20
|
commentingFlag = true,
|
|
21
21
|
showAudioPlayer,
|
|
22
|
-
storefrontConfig
|
|
23
|
-
isEntitlementFeatureEnabled
|
|
22
|
+
storefrontConfig
|
|
24
23
|
} = window.nuk.article;
|
|
25
24
|
|
|
26
25
|
const { getCookieValue } = window.nuk;
|
|
@@ -42,8 +41,7 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
|
|
|
42
41
|
sharingSavingFlag,
|
|
43
42
|
commentingFlag,
|
|
44
43
|
showAudioPlayer,
|
|
45
|
-
storefrontConfig
|
|
46
|
-
isEntitlementFeatureEnabled
|
|
44
|
+
storefrontConfig
|
|
47
45
|
};
|
|
48
46
|
|
|
49
47
|
const clientOptions = {
|
package/src/component/article.js
CHANGED
|
@@ -36,8 +36,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
36
36
|
sharingSavingFlag,
|
|
37
37
|
commentingFlag,
|
|
38
38
|
showAudioPlayer,
|
|
39
|
-
storefrontConfig
|
|
40
|
-
isEntitlementFeatureEnabled
|
|
39
|
+
storefrontConfig
|
|
41
40
|
} = data;
|
|
42
41
|
|
|
43
42
|
return React.createElement(
|
|
@@ -87,7 +86,6 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
|
|
|
87
86
|
isSavingEnabled: sharingSavingFlag,
|
|
88
87
|
isSharingEnabled: sharingSavingFlag,
|
|
89
88
|
isCommentEnabled: commentingFlag,
|
|
90
|
-
isEntitlementFeatureEnabled,
|
|
91
89
|
isPreview
|
|
92
90
|
},
|
|
93
91
|
error,
|
package/src/server/article.js
CHANGED
|
@@ -28,8 +28,7 @@ module.exports = (
|
|
|
28
28
|
sharingSavingFlag = true,
|
|
29
29
|
commentingFlag = true,
|
|
30
30
|
showAudioPlayer,
|
|
31
|
-
storefrontConfig
|
|
32
|
-
isEntitlementFeatureEnabled = false
|
|
31
|
+
storefrontConfig
|
|
33
32
|
},
|
|
34
33
|
userState
|
|
35
34
|
) => {
|
|
@@ -85,8 +84,7 @@ module.exports = (
|
|
|
85
84
|
sharingSavingFlag,
|
|
86
85
|
commentingFlag,
|
|
87
86
|
showAudioPlayer,
|
|
88
|
-
storefrontConfig
|
|
89
|
-
isEntitlementFeatureEnabled
|
|
87
|
+
storefrontConfig
|
|
90
88
|
},
|
|
91
89
|
name: "article"
|
|
92
90
|
};
|