From 6c7141903de208956d8b126812a050234119443d Mon Sep 17 00:00:00 2001 From: RationalCoding Date: Tue, 9 Jul 2019 20:18:36 -0400 Subject: [PATCH] 2.2.0 --- client/package.json | 2 +- client/src/index.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/client/package.json b/client/package.json index 7a48894..0423ab3 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "simple-signal-client", - "version": "2.1.0", + "version": "2.2.0", "description": "socket.io signalling solution for simple-peer", "main": "src/index.js", "author": "Thomas Mullen", diff --git a/client/src/index.js b/client/src/index.js index 482e682..9aa3a20 100644 --- a/client/src/index.js +++ b/client/src/index.js @@ -141,9 +141,6 @@ SimpleSignalClient.prototype._onSafeConnect = function (peer, callback) { } peer.on('stream', streamHandler) peer.on('track', trackHandler) - setTimeout(() => { - - }, 0) peer.once('connect', () => { setTimeout(() => { peer.emit('connect') // expose missed 'connect' event to application