react-hotjar
Advanced tools
Comparing version 4.0.0 to 5.0.0
var hotjar = require('./src/react-hotjar'); | ||
function hj(...params) { | ||
function hj() { | ||
var params = Array.prototype.slice.call(arguments); | ||
if (!window.hj) { | ||
@@ -8,3 +9,3 @@ throw new Error('Hotjar is not initialized'); | ||
window.hj(...params); | ||
window.hj.apply(undefined, params) | ||
} | ||
@@ -11,0 +12,0 @@ |
{ | ||
"name": "react-hotjar", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "Small component to implement Hotjar into your react application", | ||
@@ -24,4 +24,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"eslint": "7.5.0" | ||
"eslint": "8.0.1" | ||
} | ||
} |
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
4882
75