*Update dist

This commit is contained in:
Derrick Hammer 2023-04-16 14:29:26 -04:00
parent e19e4c1744
commit 3a1ea39a79
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,14 @@ const writeSocketEncoding = {
},
};
const errorSocketEncoding = {
preencode(state, m) {
socketEncoding.preencode(state, m);
compact_encoding_1.json.preencode(state, (0, serialize_error_1.serializeError)(m.err));
},
encode(state, m) {
socketEncoding.encode(state, m);
compact_encoding_1.json.encode(state, (0, serialize_error_1.serializeError)(m.err));
},
decode(state, m) {
const socket = socketEncoding.decode(state, m);
return {