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

traceablepeerconnection

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

traceablepeerconnection - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

4

index.js

@@ -48,3 +48,3 @@ // based on https://github.com/ESTOS/strophe.jingle/

this.peerconnection.onsignalingstatechange = function (event) {
self.trace('onsignalingstatechange', event.srcElement.signalingState);
self.trace('onsignalingstatechange', self.signalingState);
if (self.onsignalingstatechange !== null) {

@@ -56,3 +56,3 @@ self.onsignalingstatechange(event);

this.peerconnection.oniceconnectionstatechange = function (event) {
self.trace('oniceconnectionstatechange', event.srcElement.iceConnectionState);
self.trace('oniceconnectionstatechange', self.iceConnectionState);
if (self.oniceconnectionstatechange !== null) {

@@ -59,0 +59,0 @@ self.oniceconnectionstatechange(event);

{
"name": "traceablepeerconnection",
"version": "0.1.2",
"version": "0.1.3",
"description": "Lowlevel RTCPeerConnection wrapper which allows tracing the API calls",

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

@@ -49,3 +49,3 @@ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.PeerConnection=e():"undefined"!=typeof global?global.PeerConnection=e():"undefined"!=typeof self&&(self.PeerConnection=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

this.peerconnection.onsignalingstatechange = function (event) {
self.trace('onsignalingstatechange', event.srcElement.signalingState);
self.trace('onsignalingstatechange', self.signalingState);
if (self.onsignalingstatechange !== null) {

@@ -57,3 +57,3 @@ self.onsignalingstatechange(event);

this.peerconnection.oniceconnectionstatechange = function (event) {
self.trace('oniceconnectionstatechange', event.srcElement.iceConnectionState);
self.trace('oniceconnectionstatechange', self.iceConnectionState);
if (self.oniceconnectionstatechange !== null) {

@@ -60,0 +60,0 @@ self.oniceconnectionstatechange(event);

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