@times-components/ssr 2.61.5-96e0ba96ed5224f22ace5b4f7295a518ef87b6a0.8 → 2.61.6-c30affbe8564eaa4e369e9ba94e9301f7155ce19.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@times-components/ssr",
3
3
  "main": "src",
4
- "version": "2.61.5-96e0ba96ed5224f22ace5b4f7295a518ef87b6a0.8+96e0ba96ed",
4
+ "version": "2.61.6-c30affbe8564eaa4e369e9ba94e9301f7155ce19.0+c30affbe85",
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,14 +52,14 @@
52
52
  "webpack": "4.30.0"
53
53
  },
54
54
  "dependencies": {
55
- "@times-components/article": "^7.18.7-96e0ba96ed5224f22ace5b4f7295a518ef87b6a0.8+96e0ba96ed",
56
- "@times-components/author-profile": "^6.19.40-96e0ba96ed5224f22ace5b4f7295a518ef87b6a0.8+96e0ba96ed",
57
- "@times-components/context": "^1.25.3",
58
- "@times-components/provider": "^1.41.15",
55
+ "@times-components/article": "^7.18.8-c30affbe8564eaa4e369e9ba94e9301f7155ce19.0+c30affbe85",
56
+ "@times-components/author-profile": "^6.19.40",
57
+ "@times-components/context": "^1.25.4",
58
+ "@times-components/provider": "^1.41.16",
59
59
  "@times-components/schema": "^0.7.5",
60
60
  "@times-components/tealium": "^1.15.3",
61
- "@times-components/ts-styleguide": "^1.51.5",
62
- "@times-components/utils": "^6.31.0",
61
+ "@times-components/ts-styleguide": "^1.51.6",
62
+ "@times-components/utils": "^6.31.1",
63
63
  "apollo-cache-inmemory": "1.5.1",
64
64
  "apollo-client": "2.5.1",
65
65
  "apollo-link": "1.2.4",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "96e0ba96ed5224f22ace5b4f7295a518ef87b6a0"
82
+ "gitHead": "c30affbe8564eaa4e369e9ba94e9301f7155ce19"
83
83
  }
@@ -16,9 +16,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
16
16
  isPreview,
17
17
  swgProductId,
18
18
  zephrDivs,
19
- sharingSavingFlag = true,
20
- commentingFlag = true,
21
- showAudioPlayer
19
+ showAudioPlayer,
20
+ storefrontConfig
22
21
  } = window.nuk.article;
23
22
 
24
23
  const { getCookieValue } = window.nuk;
@@ -37,9 +36,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
37
36
  isPreview,
38
37
  swgProductId,
39
38
  zephrDivs,
40
- sharingSavingFlag,
41
- commentingFlag,
42
- showAudioPlayer
39
+ showAudioPlayer,
40
+ storefrontConfig
43
41
  };
44
42
 
45
43
  const clientOptions = {
@@ -33,9 +33,8 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
33
33
  swgProductId,
34
34
  getFallbackThumbnailUrl169,
35
35
  zephrDivs,
36
- sharingSavingFlag,
37
- commentingFlag,
38
- showAudioPlayer
36
+ showAudioPlayer,
37
+ storefrontConfig
39
38
  } = data;
40
39
 
41
40
  return React.createElement(
@@ -82,9 +81,6 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
82
81
  section: article
83
82
  ? getSectionNameForAnalytics(article)
84
83
  : "unknown section",
85
- isSavingEnabled: sharingSavingFlag,
86
- isSharingEnabled: sharingSavingFlag,
87
- isCommentEnabled: commentingFlag,
88
84
  isPreview
89
85
  },
90
86
  error,
@@ -102,7 +98,8 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
102
98
  swgProductId,
103
99
  getFallbackThumbnailUrl169,
104
100
  zephrDivs,
105
- showAudioPlayer
101
+ showAudioPlayer,
102
+ storefrontConfig
106
103
  })
107
104
  );
108
105
  }
@@ -25,9 +25,8 @@ module.exports = (
25
25
  swgProductId,
26
26
  getFallbackThumbnailUrl169,
27
27
  zephrDivs,
28
- sharingSavingFlag = true,
29
- commentingFlag = true,
30
- showAudioPlayer
28
+ showAudioPlayer,
29
+ storefrontConfig
31
30
  },
32
31
  userState
33
32
  ) => {
@@ -80,9 +79,8 @@ module.exports = (
80
79
  isPreview,
81
80
  swgProductId,
82
81
  zephrDivs,
83
- sharingSavingFlag,
84
- commentingFlag,
85
- showAudioPlayer
82
+ showAudioPlayer,
83
+ storefrontConfig
86
84
  },
87
85
  name: "article"
88
86
  };