*Update dist

This commit is contained in:
Derrick Hammer 2023-04-16 17:34:59 -04:00
parent ec937e786b
commit c2031b4c7f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@ class MultiSocketProxy extends proxy_js_1.default {
const self = this;
const message = await peer.channel.addMessage({
encoding: {
preencode: compact_encoding_1.json.preencode,
encode: compact_encoding_1.json.encode,
preencode: this._server ? socketEncoding.preencode : compact_encoding_1.json.preencode,
encode: this._server ? socketEncoding.encode : compact_encoding_1.json.encode,
decode: this._server ? compact_encoding_1.json.decode : socketEncoding.decode,
},
async onmessage(m) {