@quintype/framework 7.4.1-amp-fix.3 → 7.4.1-fix-amp-logo.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/framework",
3
- "version": "7.4.1-amp-fix.3",
3
+ "version": "7.4.1-fix-amp-logo.1",
4
4
  "description": "Libraries to help build Quintype Node.js apps",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -31,7 +31,7 @@
31
31
  "homepage": "https://github.com/quintype/quintype-node-framework#readme",
32
32
  "dependencies": {
33
33
  "@ampproject/toolbox-optimizer": "2.8.3",
34
- "@quintype/amp": "^2.4.21",
34
+ "@quintype/amp": "^2.4.22-fix-logo-for-themes.1",
35
35
  "@quintype/backend": "^2.3.1",
36
36
  "@quintype/components": "^3.0.0",
37
37
  "@quintype/prerender-node": "^3.2.24",
@@ -103,7 +103,6 @@ async function ampStoryPageHandler(
103
103
  infiniteScrollInlineConfig
104
104
  );
105
105
  }
106
- const mergedAdditionalConfig = {};
107
106
  if (opts.getAdditionalConfig && opts.getAdditionalConfig instanceof Function) {
108
107
  const fetchedAdditionalConfig = await opts.getAdditionalConfig({
109
108
  story,
@@ -111,16 +110,14 @@ async function ampStoryPageHandler(
111
110
  ampApiConfig: ampConfig.ampConfig,
112
111
  publisherConfig: additionalConfig,
113
112
  });
114
- merge(mergedAdditionalConfig, additionalConfig, fetchedAdditionalConfig);
115
- } else {
116
- merge(mergedAdditionalConfig, additionalConfig);
113
+ merge(additionalConfig, fetchedAdditionalConfig);
117
114
  }
118
115
 
119
116
  const ampHtml = ampifyStory({
120
117
  story,
121
118
  publisherConfig: config.config,
122
119
  ampConfig: ampConfig.ampConfig,
123
- additionalConfig: mergedAdditionalConfig,
120
+ additionalConfig,
124
121
  opts: { ...domainSpecificOpts, domainSlug },
125
122
  seo: seoTags ? seoTags.toString() : "",
126
123
  });