Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-hotjar

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hotjar - npm Package Compare versions

Comparing version 6.1.0 to 6.1.3

.github/workflows/npm-publish.yml

34

index.js

@@ -1,2 +0,2 @@

import hotjarLib from './src/react-hotjar';
const hotjarLib = require('./src/react-hotjar');

@@ -10,18 +10,20 @@ const hj = (...params) => {

export const hotjar = {
initialize(id, sv) {
hotjarLib(id, sv);
module.exports = {
hotjar: {
initialize: function initialize(id, sv) {
hotjarLib(id, sv);
},
initialized: function initialized() {
return typeof window !== 'undefined' && typeof window?.hj === 'function';
},
identify: function identify(userId, properties) {
hj('identify', userId, properties);
},
event: function event(event) {
hj('event', event);
},
stateChange: function stateChange(relativePath) {
hj('stateChange', relativePath);
}
},
initialized() {
return typeof window !== 'undefined' && typeof window.hj === 'function';
},
identify(userId, properties) {
hj('identify', userId, properties);
},
event(event) {
hj('event', event);
},
stateChange(relativePath) {
hj('stateChange', relativePath);
},
};
{
"name": "react-hotjar",
"version": "6.1.0",
"version": "6.1.3",
"description": "Small component to implement Hotjar into your react application",
"main": "index.js",
"scripts": {
"test": "-"
"release": "standard-version",
"commit": "git-cz"
},

@@ -22,6 +23,14 @@ "repository": {

},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"homepage": "https://github.com/abdalla/react-hotjar#readme",
"devDependencies": {
"eslint": "8.25.0"
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "8.25.0",
"standard-version": "^9.5.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc