webrtc
Advanced tools
Comparing version 1.13.0 to 1.13.1
{ | ||
"name": "webrtc", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"keywords": [ | ||
@@ -15,3 +15,3 @@ "webrtc", | ||
"dependencies": { | ||
"webrtcsupport": "^1.0.0", | ||
"webrtcsupport": "^1.2.4", | ||
"wildemitter": "1.x", | ||
@@ -18,0 +18,0 @@ "rtcpeerconnection": "^2.4.4", |
@@ -152,3 +152,3 @@ var util = require('util'); | ||
Peer.prototype.getDataChannel = function (name, opts) { | ||
if (!webrtc.dataChannel) return this.emit('error', new Error('createDataChannel not supported')); | ||
if (!webrtc.supportDataChannel) return this.emit('error', new Error('createDataChannel not supported')); | ||
var channel = this.channels[name]; | ||
@@ -155,0 +155,0 @@ opts || (opts = {}); |
Sorry, the diff of this file is too big to display
165075
4388
Updatedwebrtcsupport@^1.2.4