react-hotjar
Advanced tools
Comparing version 5.4.1 to 5.5.0
@@ -18,3 +18,3 @@ var hotjar = require('./src/react-hotjar'); | ||
initialized: function initialized() { | ||
return typeof window.hj === 'function'; | ||
return typeof window !== 'undefined' && typeof window?.hj === 'function'; | ||
}, | ||
@@ -21,0 +21,0 @@ identify: function identify(userId, properties) { |
{ | ||
"name": "react-hotjar", | ||
"version": "5.4.1", | ||
"version": "5.5.0", | ||
"description": "Small component to implement Hotjar into your react application", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5389