New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@hackthenorth/analytics

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hackthenorth/analytics - npm Package Compare versions

Comparing version

to
0.0.9

@@ -25,3 +25,3 @@ "use strict";

if (this.toLog.length > 0) {
navigator.sendBeacon("url", JSON.stringify({
navigator.sendBeacon(this.config.url, JSON.stringify({
uid: this.config.uuid,

@@ -28,0 +28,0 @@ data: data !== null && data !== void 0 ? data : this.toLog,

{
"name": "@hackthenorth/analytics",
"version": "0.0.8",
"version": "0.0.9",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -43,3 +43,3 @@ import { v4 as uuidv4 } from "uuid";

navigator.sendBeacon(
"url",
this.config.url,
JSON.stringify({

@@ -46,0 +46,0 @@ uid: this.config.uuid,