@browser-network/network
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -352,5 +352,6 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
else { | ||
// For answer negotiations, signal each one that's not fully connected | ||
// For answer negotiations, signal each one that's not fully connected and for which we | ||
// have a connection. | ||
// We're kinda piggybacking in this loop | ||
var con = _this.getConnectionByAddress(item.from); | ||
var con = _this.connections.find(function (con) { return con.address === item.from && con.id === item.negotiation.connectionId; }); | ||
if ((con === null || con === void 0 ? void 0 : con.state) === 'open') { | ||
@@ -357,0 +358,0 @@ _this._emit('connection-process', "Signaling initiator connection to ".concat(item.from, ", connectionId: ").concat(con.id)); |
{ | ||
"name": "@browser-network/network", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1613505
29831