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

sockettwo

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sockettwo - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4

7

index.js

@@ -7,2 +7,3 @@ // @ts-ignore

let socketId = "";
let sessionId = "";
// Function to connect the socket

@@ -41,2 +42,6 @@

socket.on("session", (id) => {
sessionId = id;
});
socket.on("connect_error", (error) => {

@@ -86,3 +91,3 @@ reject(error);

{
socketId: socketId,
sessionId: sessionId,
userRoute: `The user is in this route ${currentPath}`,

@@ -89,0 +94,0 @@ },

2

package.json

@@ -7,3 +7,3 @@ {

"name": "sockettwo",
"version": "1.4.3",
"version": "1.4.4",
"main": "index.js",

@@ -10,0 +10,0 @@ "scripts": {

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