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

rtcpeerconnection

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rtcpeerconnection - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

2

package.json
{
"name": "rtcpeerconnection",
"version": "2.3.0",
"version": "2.3.1",
"description": "A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.",

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

@@ -122,6 +122,6 @@ var _ = require('underscore');

if (candidate.type === 'srflx') {
this.hadRemoteStunCandidate = true;
self.hadRemoteStunCandidate = true;
}
else if (candidate.type === 'relay') {
this.hadRemoteRelayCandidate = true;
self.hadRemoteRelayCandidate = true;
}

@@ -133,6 +133,6 @@ });

if (update.candidate.candidate.indexOf('typ srflx') !== -1) {
this.hadRemoteStunCandidate = true;
self.hadRemoteStunCandidate = true;
}
else if (update.candidate.candidate.indexOf('typ relay') !== -1) {
this.hadRemoteRelayCandidate = true;
self.hadRemoteRelayCandidate = true;
}

@@ -139,0 +139,0 @@ }

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