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

video-webinar-utils

Package Overview
Dependencies
Maintainers
1
Versions
614
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

video-webinar-utils - npm Package Compare versions

Comparing version 1.22.570 to 1.22.571

2

package.json
{
"name": "video-webinar-utils",
"version": "1.22.570",
"version": "1.22.571",
"dependencies": {

@@ -5,0 +5,0 @@ "escape-html": "1.0.x",

@@ -188,11 +188,19 @@ const util = require("util");

const sendConnectionStatus = function(status) {
var errorMessage = {
to: parsed.sessionId || parsed.cpsUserId,
eventType: 'server_connection',
webinarId: parsed.webinarId,
from: 'server',
data: {status: status},
signalId: uuid.v4()
};
socket.write(JSON.stringify(errorMessage));
var errorMessage,
isManyConnections = false;
//нужно для проверки двойного подключения ведущего
sockets.forEach(function(socket) {
if (socket.cpsUserId === parsed.cpsUserId && socket.webinarId === parsed.webinarId) isManyConnections = true;
});
errorMessage = {
to: parsed.sessionId || parsed.cpsUserId,
eventType: 'server_connection',
webinarId: parsed.webinarId,
from: 'server',
data: {status: status, isManyConnections: isManyConnections},
signalId: uuid.v4()
};
socket.write(JSON.stringify(errorMessage));
};

@@ -199,0 +207,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