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

@browser-network/network

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@browser-network/network - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

8

dist/src/index.js

@@ -438,4 +438,4 @@ var __extends = (this && this.__extends) || (function () {

connection.clientId ||
// The ip trying to connect is on our naughty list
this.isRude((0, util_1.getIpFromRTCSDP)(answer.sdp)) ||
// The ip trying to connect is on our naughty list or not presenting an sdp string
!answer.sdp || this.isRude((0, util_1.getIpFromRTCSDP)(answer.sdp)) ||
// We've reached our max number of allowed connections

@@ -465,4 +465,4 @@ this.connections().length >= this.config.maxConnections) {

this.hasConnection(offer.clientId) ||
// They're on our rude list
this.isRude((0, util_1.getIpFromRTCSDP)(offer.sdp)) ||
// They're on our rude list or not presenting an sdp string
!offer.sdp || this.isRude((0, util_1.getIpFromRTCSDP)(offer.sdp)) ||
// We have the max number of connections

@@ -469,0 +469,0 @@ this.connections().length >= this.config.maxConnections) {

{
"name": "@browser-network/network",
"version": "0.0.3",
"version": "0.0.4",
"description": "A WebRTC based direct peer to peer network in the browser.",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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