@times-components/ssr 2.48.134-alpha.3 → 2.49.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.48.134-alpha.3+e95f07059b",
4
+ "version": "2.49.0",
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",
@@ -34,9 +34,9 @@
34
34
  },
35
35
  "homepage": "https://github.com/newsuk/times-components#readme",
36
36
  "devDependencies": {
37
- "@times-components/eslint-config-thetimes": "^0.8.18",
38
- "@times-components/fixture-generator": "^0.34.0",
39
- "@times-components/mock-tpa-server": "^0.4.3",
37
+ "@times-components/eslint-config-thetimes": "0.8.18",
38
+ "@times-components/fixture-generator": "0.34.0",
39
+ "@times-components/mock-tpa-server": "0.4.3",
40
40
  "axe-core": "3.3.1",
41
41
  "cypress": "^9.2.0",
42
42
  "cypress-axe": "0.13.0",
@@ -52,15 +52,15 @@
52
52
  "webpack": "4.30.0"
53
53
  },
54
54
  "dependencies": {
55
- "@times-components/article": "^7.16.134-alpha.3+e95f07059b",
56
- "@times-components/author-profile": "^6.16.2-alpha.3+e95f07059b",
57
- "@times-components/context": "^1.10.37",
58
- "@times-components/provider": "^1.39.3",
59
- "@times-components/schema": "^0.7.4",
60
- "@times-components/tealium": "^1.15.2",
61
- "@times-components/topic": "^5.10.40",
62
- "@times-components/ts-styleguide": "^1.48.1",
63
- "@times-components/utils": "^6.16.21",
55
+ "@times-components/article": "7.16.135",
56
+ "@times-components/author-profile": "6.16.2",
57
+ "@times-components/context": "1.10.37",
58
+ "@times-components/provider": "1.39.3",
59
+ "@times-components/schema": "0.7.4",
60
+ "@times-components/tealium": "1.15.2",
61
+ "@times-components/topic": "5.10.40",
62
+ "@times-components/ts-styleguide": "1.48.1",
63
+ "@times-components/utils": "6.16.21",
64
64
  "apollo-cache-inmemory": "1.5.1",
65
65
  "apollo-client": "2.5.1",
66
66
  "apollo-link": "1.2.4",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "e95f07059b7a0070cf1d231ad74b5f5dc1e98ad9"
82
+ "gitHead": "ddd70a7c5050f04c0f4f073b83fc913c0361b722"
83
83
  }
@@ -17,7 +17,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
17
17
  zephrDivs,
18
18
  sharingSavingFlag = true,
19
19
  commentingFlag = true,
20
- showAudioPlayer
20
+ showAudioPlayer,
21
+ storefrontConfig
21
22
  } = window.nuk.article;
22
23
 
23
24
  const { getCookieValue } = window.nuk;
@@ -37,7 +38,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.article) {
37
38
  zephrDivs,
38
39
  sharingSavingFlag,
39
40
  commentingFlag,
40
- showAudioPlayer
41
+ showAudioPlayer,
42
+ storefrontConfig
41
43
  };
42
44
 
43
45
  const clientOptions = {
@@ -34,7 +34,8 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
34
34
  zephrDivs,
35
35
  sharingSavingFlag,
36
36
  commentingFlag,
37
- showAudioPlayer
37
+ showAudioPlayer,
38
+ storefrontConfig
38
39
  } = data;
39
40
 
40
41
  return React.createElement(
@@ -99,7 +100,8 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
99
100
  swgProductId,
100
101
  getFallbackThumbnailUrl169,
101
102
  zephrDivs,
102
- showAudioPlayer
103
+ showAudioPlayer,
104
+ storefrontConfig
103
105
  })
104
106
  );
105
107
  }
@@ -25,7 +25,8 @@ module.exports = (
25
25
  zephrDivs,
26
26
  sharingSavingFlag = true,
27
27
  commentingFlag = true,
28
- showAudioPlayer
28
+ showAudioPlayer,
29
+ storefrontConfig
29
30
  },
30
31
  userState
31
32
  ) => {
@@ -78,7 +79,8 @@ module.exports = (
78
79
  zephrDivs,
79
80
  sharingSavingFlag,
80
81
  commentingFlag,
81
- showAudioPlayer
82
+ showAudioPlayer,
83
+ storefrontConfig
82
84
  },
83
85
  name: "article"
84
86
  };