mod-build 3.7.10-beta.2 → 3.7.10

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/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## 3.7.10
4
4
 
5
- - Included an option for `service` to be appended to the `brandedIncludeServiceConsentCapture` if it includes `"${service} request"`
5
+ - Included an option for `service` to be appended to the `brandedIncludeServiceConsentCapture` for consent capture.
6
6
 
7
7
  ## 3.7.9
8
8
 
@@ -372,8 +372,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
372
372
  const displayNameResponseJson = JSON.parse(displayNameResponse);
373
373
  brandedDisplayName = displayNameResponseJson.data[vendorPublicIdentifier];
374
374
  consentCaptureObject.brandedConsentCapture.tcpaStart = responseJson.brandedConsentCapture.tcpaStart.replace(/<span data-branded-consent><\/span>/g, `<span data-branded-consent>${brandedDisplayName}</span>`);
375
- consentCaptureObject.brandedIncludeServiceConsentCapture.tcpaStart = responseJson.brandedIncludeServiceConsentCapture.tcpaStart.replace(/<span data-branded-consent><\/span>/g, `<span data-branded-consent>${brandedDisplayName}</span>`);
376
- consentCaptureObject.brandedIncludeServiceConsentCapture.tcpaStart = responseJson.brandedIncludeServiceConsentCapture.tcpaStart.replace(/<span data-service><\/span>/g, `<span data-service>${service}</span>`);
375
+ consentCaptureObject.brandedIncludeServiceConsentCapture.tcpaStart = responseJson.brandedIncludeServiceConsentCapture.tcpaStart.replace(/<span data-branded-consent><\/span>/g, `<span data-branded-consent>${brandedDisplayName}</span>`).replace(/<span data-service><\/span>/g, `<span data-service>${service}</span>`);
377
376
  }
378
377
  }
379
378
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.7.10-beta.2",
3
+ "version": "3.7.10",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",