@times-components/ssr 2.60.19-f78fbc9c68ccbd8822b82499c5f272d8060cf6ea.5 → 2.60.19

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.60.19-f78fbc9c68ccbd8822b82499c5f272d8060cf6ea.5+f78fbc9c68",
4
+ "version": "2.60.19",
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",
@@ -35,9 +35,9 @@
35
35
  },
36
36
  "homepage": "https://github.com/newsuk/times-components#readme",
37
37
  "devDependencies": {
38
- "@times-components/eslint-config-thetimes": "^0.8.18",
39
- "@times-components/fixture-generator": "^0.35.1",
40
- "@times-components/mock-tpa-server": "^0.4.13",
38
+ "@times-components/eslint-config-thetimes": "0.8.18",
39
+ "@times-components/fixture-generator": "0.35.1",
40
+ "@times-components/mock-tpa-server": "0.4.13",
41
41
  "axe-core": "3.3.1",
42
42
  "cypress-axe": "0.13.0",
43
43
  "cypress-failed-log": "2.5.1",
@@ -52,14 +52,14 @@
52
52
  "webpack": "4.30.0"
53
53
  },
54
54
  "dependencies": {
55
- "@times-components/article": "^7.18.1-f78fbc9c68ccbd8822b82499c5f272d8060cf6ea.5+f78fbc9c68",
56
- "@times-components/author-profile": "^6.19.34",
57
- "@times-components/context": "^1.25.0",
58
- "@times-components/provider": "^1.41.10",
59
- "@times-components/schema": "^0.7.5",
60
- "@times-components/tealium": "^1.15.3",
61
- "@times-components/ts-styleguide": "^1.51.0",
62
- "@times-components/utils": "^6.29.0",
55
+ "@times-components/article": "7.18.1",
56
+ "@times-components/author-profile": "6.19.34",
57
+ "@times-components/context": "1.25.0",
58
+ "@times-components/provider": "1.41.10",
59
+ "@times-components/schema": "0.7.5",
60
+ "@times-components/tealium": "1.15.3",
61
+ "@times-components/ts-styleguide": "1.51.0",
62
+ "@times-components/utils": "6.29.0",
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": "f78fbc9c68ccbd8822b82499c5f272d8060cf6ea"
82
+ "gitHead": "62198b4b5923ddd04e1df73d8e3474652647329e"
83
83
  }
@@ -19,7 +19,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
19
19
  sharingSavingFlag = true,
20
20
  commentingFlag = true,
21
21
  showAudioPlayer,
22
- storefrontConfig
22
+ storefrontConfig,
23
+ isEntitlementFeatureEnabled
23
24
  } = window.nuk.article;
24
25
 
25
26
  const { getCookieValue } = window.nuk;
@@ -41,7 +42,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
41
42
  sharingSavingFlag,
42
43
  commentingFlag,
43
44
  showAudioPlayer,
44
- storefrontConfig
45
+ storefrontConfig,
46
+ isEntitlementFeatureEnabled
45
47
  };
46
48
 
47
49
  const clientOptions = {
@@ -36,7 +36,8 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
36
36
  sharingSavingFlag,
37
37
  commentingFlag,
38
38
  showAudioPlayer,
39
- storefrontConfig
39
+ storefrontConfig,
40
+ isEntitlementFeatureEnabled
40
41
  } = data;
41
42
 
42
43
  return React.createElement(
@@ -86,6 +87,7 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
86
87
  isSavingEnabled: sharingSavingFlag,
87
88
  isSharingEnabled: sharingSavingFlag,
88
89
  isCommentEnabled: commentingFlag,
90
+ isEntitlementFeatureEnabled,
89
91
  isPreview
90
92
  },
91
93
  error,
@@ -28,7 +28,8 @@ module.exports = (
28
28
  sharingSavingFlag = true,
29
29
  commentingFlag = true,
30
30
  showAudioPlayer,
31
- storefrontConfig
31
+ storefrontConfig,
32
+ isEntitlementFeatureEnabled = false
32
33
  },
33
34
  userState
34
35
  ) => {
@@ -84,7 +85,8 @@ module.exports = (
84
85
  sharingSavingFlag,
85
86
  commentingFlag,
86
87
  showAudioPlayer,
87
- storefrontConfig
88
+ storefrontConfig,
89
+ isEntitlementFeatureEnabled
88
90
  },
89
91
  name: "article"
90
92
  };