mod-build 3.7.10 → 3.7.11-beta.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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.7.11
4
+ - Added branded name to `brandedIncludeExclusivelyConsentCapture` object in consent capture.
5
+
3
6
  ## 3.7.10
4
7
 
5
8
  - Included an option for `service` to be appended to the `brandedIncludeServiceConsentCapture` for consent capture.
@@ -372,6 +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.brandedIncludeExclusivelyConsentCapture.tcpaStart = responseJson.brandedIncludeExclusivelyConsentCapture.tcpaStart.replace(/<span data-branded-consent><\/span>/g, `<span data-branded-consent>${brandedDisplayName}</span>`);
375
376
  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>`);
376
377
  }
377
378
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.7.10",
3
+ "version": "3.7.11-beta.1",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",