@quintype/framework 7.34.5-amp-ad-free.2 → 7.34.5-fw-amp-access-flag.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/framework",
3
- "version": "7.34.5-amp-ad-free.2",
3
+ "version": "7.34.5-fw-amp-access-flag.0",
4
4
  "description": "Libraries to help build Quintype Node.js apps",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -33,7 +33,7 @@
33
33
  "@ampproject/toolbox-optimizer": "2.8.3",
34
34
  "@grpc/grpc-js": "^1.12.5",
35
35
  "@jsdoc/salty": "^0.2.9",
36
- "@quintype/amp": "2.22.1-amp-feat-fortune.0",
36
+ "@quintype/amp": "2.22.1-amp-access-flag.0",
37
37
  "@quintype/backend": "^2.7.0",
38
38
  "@quintype/components": "^3.5.0",
39
39
  "@quintype/prerender-node": "^3.2.26",
@@ -144,10 +144,6 @@ async function ampStoryPageHandler(
144
144
  });
145
145
  merge(mergedAdditionalConfig, additionalConfig, fetchedAdditionalConfig);
146
146
  }
147
- // the query appending happens in the worker, this is needed for any publisher who needs ad-free in amp story
148
- if(req && req.query && req.query.subscriber === "true") {
149
- merge(additionalConfig, { subscriber: true })
150
- }
151
147
  const optimizeAmpHtml = get(domainSpecificOpts, ["featureConfig", "optimizeAmpHtml"], true);
152
148
  const ampHtml = ampifyStory({
153
149
  story,