react-hotjar
Advanced tools
Comparing version 5.1.0 to 5.2.0
{ | ||
"name": "react-hotjar", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"description": "Small component to implement Hotjar into your react application", | ||
@@ -24,4 +24,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"eslint": "8.0.1" | ||
"eslint": "8.25.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
module.exports = function(id, sv) { | ||
module.exports = function(id, sv, debug=false) { | ||
(function(h, o, t, j, a, r) { | ||
@@ -8,3 +8,3 @@ h.hj = | ||
}; | ||
h._hjSettings = { hjid: id, hjsv: sv }; | ||
h._hjSettings = { hjid: id, hjsv: sv, hjDebug: debug }; | ||
h._scriptPath = t + h._hjSettings.hjid + j + h._hjSettings.hjsv; | ||
@@ -11,0 +11,0 @@ if(!document.querySelector( |
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
5267
7