@mparticle/web-google-analytics-kit
Advanced tools
Comparing version 2.1.8 to 2.1.9
## Releases | ||
-- | ||
#### 2.1.9 - 2020-12-10 | ||
- Refactor variable declaration for attrName | ||
#### 2.1.8 - 2020-12-10 | ||
@@ -5,0 +8,0 @@ - Bugfix - Remove unused variable, declare attrName variable |
@@ -20,3 +20,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
moduleId = 6, | ||
version = '2.1.8', | ||
version = '2.1.9', | ||
MessageType = { | ||
@@ -100,7 +100,7 @@ SessionStart: 1, | ||
for (var customDimension in mapLevel.customDimensions) { | ||
for (var attrName in attributes) { | ||
if (customDimension === attrName) { | ||
for (var attrDimName in attributes) { | ||
if (customDimension === attrDimName) { | ||
mapLevel.customDimensions[customDimension].forEach(function(cd) { | ||
if (!targetDimensionsAndMetrics[cd]) { | ||
targetDimensionsAndMetrics[cd] = attributes[attrName]; | ||
targetDimensionsAndMetrics[cd] = attributes[attrDimName]; | ||
} | ||
@@ -113,7 +113,7 @@ }); | ||
for (var customMetric in mapLevel.customMetrics) { | ||
for (attrName in attributes) { | ||
if (customMetric === attrName) { | ||
for (var attrMetricName in attributes) { | ||
if (customMetric === attrMetricName) { | ||
mapLevel.customMetrics[customMetric].forEach(function(cm) { | ||
if (!targetDimensionsAndMetrics[cm]) { | ||
targetDimensionsAndMetrics[cm] = attributes[attrName]; | ||
targetDimensionsAndMetrics[cm] = attributes[attrMetricName]; | ||
} | ||
@@ -120,0 +120,0 @@ }); |
{ | ||
"name": "@mparticle/web-google-analytics-kit", | ||
"version": "2.1.8", | ||
"version": "2.1.9", | ||
"author": "mParticle Developers <developers@mparticle.com> (https://www.mparticle.com)", | ||
@@ -5,0 +5,0 @@ "description": "mParticle integration sdk for Google Analytics", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34144