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 +1 -1
- package/gulp-tasks/templates.js +1 -2
- package/package.json +1 -1
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`
|
|
5
|
+
- Included an option for `service` to be appended to the `brandedIncludeServiceConsentCapture` for consent capture.
|
|
6
6
|
|
|
7
7
|
## 3.7.9
|
|
8
8
|
|
package/gulp-tasks/templates.js
CHANGED
|
@@ -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
|
|