@availity/analytics-core
Advanced tools
Comparing version 2.8.21 to 2.8.22
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.8.22](https://github.com/Availity/sdk-js/compare/@availity/analytics-core@2.8.21...@availity/analytics-core@2.8.22) (2020-05-01) | ||
**Note:** Version bump only for package @availity/analytics-core | ||
## [2.8.21](https://github.com/Availity/sdk-js/compare/@availity/analytics-core@2.8.20...@availity/analytics-core@2.8.21) (2020-05-01) | ||
@@ -8,0 +16,0 @@ |
@@ -121,4 +121,9 @@ "use strict"; | ||
analyticAttrs.event = event.type; | ||
analyticAttrs.elemId = analyticAttrs.elemId || target.getAttribute('id') || target.getAttribute('name') || undefined; // remove keys for the click listeners | ||
analyticAttrs.elemId = analyticAttrs.elemId || target.getAttribute('id') || target.getAttribute('name') || undefined; | ||
if (analyticAttrs.elemId === undefined) { | ||
delete analyticAttrs.elemId; | ||
} // remove keys for the click listeners | ||
actions.forEach(function (key) { | ||
@@ -125,0 +130,0 @@ if (key !== 'action' && key !== 'event') { |
{ | ||
"name": "@availity/analytics-core", | ||
"version": "2.8.21", | ||
"version": "2.8.22", | ||
"description": "Analytics base configuration for sdk-js", | ||
@@ -12,3 +12,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "b531e9bf8bb384013edc5ae3a4b67d2dde7b016a", | ||
"gitHead": "b3c6186c7da0864d67e2756f74087c81b4a499de", | ||
"dependencies": { | ||
@@ -15,0 +15,0 @@ "yup": "^0.28.4" |
@@ -142,2 +142,6 @@ const isLeftClickEvent = event => event.button === 0; | ||
if (analyticAttrs.elemId === undefined) { | ||
delete analyticAttrs.elemId; | ||
} | ||
// remove keys for the click listeners | ||
@@ -144,0 +148,0 @@ actions.forEach(key => { |
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
41842
906