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

clockech-script

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clockech-script - npm Package Compare versions

Comparing version 2.1.5 to 2.1.6

17

index.js

@@ -39,3 +39,18 @@ !(function () {

window.addEventListener("beforeunload", function (e) {
const data = {
id,
last_click: new Date().toISOString(),
};
fetch(api + "/api/update", {
method: "PUT",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify(data),
})
.then((response) => response.json())
.catch((error) => {
console.error("Error on send data:", error);
});
});

@@ -42,0 +57,0 @@

2

package.json
{
"name": "clockech-script",
"version": "2.1.5",
"version": "2.1.6",
"description": "Clockech script for tracking analytics",

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

Sorry, the diff of this file is not supported yet

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