*Update dist
This commit is contained in:
parent
b04db8668b
commit
b3d6fd4668
|
@ -68,7 +68,7 @@ class MultiSocketProxy extends proxy_js_1.default {
|
||||||
}
|
}
|
||||||
socketClass;
|
socketClass;
|
||||||
_peers = new Map();
|
_peers = new Map();
|
||||||
_nextPeer = (0, util_js_1.roundRobinFactory)(this._peers);
|
_nextPeer;
|
||||||
_server = false;
|
_server = false;
|
||||||
_allowedPorts = [];
|
_allowedPorts = [];
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
|
@ -87,6 +87,7 @@ class MultiSocketProxy extends proxy_js_1.default {
|
||||||
if (options.server) {
|
if (options.server) {
|
||||||
this._server = true;
|
this._server = true;
|
||||||
}
|
}
|
||||||
|
this._nextPeer = (0, util_js_1.roundRobinFactory)(this._peers);
|
||||||
}
|
}
|
||||||
_socketMap = new Map();
|
_socketMap = new Map();
|
||||||
get socketMap() {
|
get socketMap() {
|
||||||
|
|
Loading…
Reference in New Issue