*Update dist
This commit is contained in:
parent
623601df27
commit
c4c1fd8f6b
|
@ -153,7 +153,7 @@ class MultiSocketProxy extends proxy_js_1.default {
|
||||||
encoding: {
|
encoding: {
|
||||||
preencode: compact_encoding_1.json.preencode,
|
preencode: compact_encoding_1.json.preencode,
|
||||||
encode: compact_encoding_1.json.encode,
|
encode: compact_encoding_1.json.encode,
|
||||||
decode: this._server ? compact_encoding_1.json.encode : socketEncoding.decode,
|
decode: this._server ? compact_encoding_1.json.decode : socketEncoding.decode,
|
||||||
},
|
},
|
||||||
async onmessage(m) {
|
async onmessage(m) {
|
||||||
if (self._allowedPorts.length &&
|
if (self._allowedPorts.length &&
|
||||||
|
|
Loading…
Reference in New Issue