@times-components/ssr 2.64.24 → 2.65.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.64.24",
4
+ "version": "2.65.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",
@@ -52,14 +52,14 @@
52
52
  "webpack": "4.30.0"
53
53
  },
54
54
  "dependencies": {
55
- "@times-components/article": "7.21.19",
56
- "@times-components/author-profile": "6.22.30",
55
+ "@times-components/article": "7.21.20",
56
+ "@times-components/author-profile": "6.23.0",
57
57
  "@times-components/context": "1.35.0",
58
- "@times-components/provider": "1.48.30",
58
+ "@times-components/provider": "1.48.31",
59
59
  "@times-components/schema": "0.7.5",
60
60
  "@times-components/tealium": "1.15.3",
61
- "@times-components/ts-styleguide": "1.56.31",
62
- "@times-components/utils": "6.39.0",
61
+ "@times-components/ts-styleguide": "1.56.32",
62
+ "@times-components/utils": "6.40.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": "9e639776f8776230de8b92e2f7b7bd393b7e26ee"
82
+ "gitHead": "8ae0bc56d1ddff23e0f475b9cbd57a16faae3ec3"
83
83
  }
@@ -7,7 +7,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.authorProfile) {
7
7
  authorSlug,
8
8
  debounceTimeMs,
9
9
  page,
10
- pageSize
10
+ pageSize,
11
+ enableClarksonSays
11
12
  } = window.nuk.authorProfile;
12
13
 
13
14
  const data = {
@@ -16,7 +17,8 @@ if (window.nuk && window.nuk.ssr && window.nuk.authorProfile) {
16
17
  makeArticleUrl,
17
18
  makeTopicUrl,
18
19
  page,
19
- pageSize
20
+ pageSize,
21
+ enableClarksonSays
20
22
  };
21
23
 
22
24
  const clientOptions = {
@@ -16,7 +16,8 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
16
16
  makeArticleUrl,
17
17
  makeTopicUrl,
18
18
  page,
19
- pageSize
19
+ pageSize,
20
+ enableClarksonSays
20
21
  } = data;
21
22
 
22
23
  return React.createElement(
@@ -47,7 +48,8 @@ module.exports = (client, analyticsStream, data, helmetContext) => {
47
48
  page,
48
49
  pageSize,
49
50
  refetch,
50
- slug: authorSlug
51
+ slug: authorSlug,
52
+ enableClarksonSays
51
53
  })
52
54
  )
53
55
  )
@@ -2,7 +2,7 @@ const authorProfile = require("../component/author-profile");
2
2
  const runServer = require("../lib/run-server");
3
3
 
4
4
  module.exports = (
5
- { authorSlug, currentPage },
5
+ { authorSlug, currentPage, enableClarksonSays = false },
6
6
  {
7
7
  graphqlApiUrl,
8
8
  usePersistedQueries,
@@ -50,7 +50,8 @@ module.exports = (
50
50
  makeArticleUrl,
51
51
  makeTopicUrl,
52
52
  page: currentPage,
53
- pageSize: 20
53
+ pageSize: 20,
54
+ enableClarksonSays
54
55
  },
55
56
  name: "authorProfile"
56
57
  };