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

blind-relay

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blind-relay - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

11

index.js

@@ -155,2 +155,3 @@ const EventEmitter = require('events')

// 1st pass: Create the raw streams needed for each end of the link.
for (const link of pair.links) {

@@ -160,3 +161,4 @@ link.createStream()

for (const { isInitiator, session, remoteId, stream } of pair.links) {
// 2nd pass: Connect the raw streams and set up handlers.
for (const { isInitiator, session, stream } of pair.links) {
const remote = pair.remote(isInitiator)

@@ -171,5 +173,6 @@

session._streams.set(keyString, stream)
}
session._endMaybe()
// 3rd pass: Let either end of the link know the streams were set up.
for (const { isInitiator, session, remoteId, stream } of pair.links) {
session._pair.send({

@@ -182,2 +185,4 @@ isInitiator,

session._endMaybe()
session.emit('pair', isInitiator, token, stream, remoteId)

@@ -184,0 +189,0 @@ }

{
"name": "blind-relay",
"version": "1.3.0",
"version": "1.3.1",
"description": "Blind relay for UDX over Protomux channels",

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

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