@mparticle/web-double-click-kit 2.1.1 → 2.1.2
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.
|
@@ -94,7 +94,10 @@ ConsentHandler.prototype.generateConsentStatePayloadFromMappings = function (
|
|
|
94
94
|
|
|
95
95
|
for (var i = 0; i <= mappings.length - 1; i++) {
|
|
96
96
|
var mappingEntry = mappings[i];
|
|
97
|
-
|
|
97
|
+
// Although consent purposes can be inputted into the UI in any casing
|
|
98
|
+
// the SDK will automatically lowercase them to prevent pseudo-duplicate
|
|
99
|
+
// consent purposes, so we call `toLowerCase` on the consentMapping purposes here
|
|
100
|
+
var mpMappedConsentName = mappingEntry.map.toLowerCase();
|
|
98
101
|
var googleMappedConsentName = mappingEntry.value;
|
|
99
102
|
|
|
100
103
|
if (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/web-double-click-kit",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"repository": "https://github.com/mparticle-integrations/mparticle-javascript-integration-doubleclick",
|
|
5
5
|
"main": "dist/DoubleClick-Kit.common.js",
|
|
6
6
|
"browser": "dist/DoubleClick-Kit.common.js",
|