@lendi/lendi-analytics-package
Advanced tools
Comparing version 1.0.1 to 2.0.0
@@ -0,1 +1,7 @@ | ||
## [2.0.0] - 2019-12-03 | ||
### Update - | ||
- Adding a default event name `behavior_tracking` if not passed from the component. - | ||
## [1.0.0] - 2019-05-21 - [HUB-150](https://creditandfinance.atlassian.net/browse/HUB-150) | ||
@@ -2,0 +8,0 @@ |
@@ -72,3 +72,3 @@ "use strict"; | ||
var enhance = function (event) { | ||
return __assign({}, event, { label: event.position + "_" + (event.button_text || '') }); | ||
return __assign(__assign({}, event), { label: event.position + "_" + (event.button_text || '') }); | ||
}; | ||
@@ -84,2 +84,3 @@ var emit = function (eventName, event) { | ||
}; | ||
// adding the eventName as a default since this is being used in LUI | ||
exports.track = function (event, eventName) { | ||
@@ -86,0 +87,0 @@ if (eventName === void 0) { eventName = 'behaviour_tracking'; } |
{ | ||
"name": "@lendi/lendi-analytics-package", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "Lendi Analytics Package", | ||
@@ -5,0 +5,0 @@ "source": "src/index.tsx", |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
11238
222
0