Compare commits

..

No commits in common. "85cc80297760955acec0536b43aaac027bd4c883" and "c2031b4c7f8664ab3f679331e6bbc2fa9d91d860" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ class MultiSocketProxy extends proxy_js_1.default {
const message = await peer.channel.addMessage({
encoding: writeSocketEncoding,
onmessage(m) {
self._sockets.get(m.id)?.push(b4a_1.default.from(m.data));
self._sockets.get(m.id)?.push(m.data);
},
});
this.update(await this._getPublicKey(peer), {

View File

@ -250,7 +250,7 @@ export default class MultiSocketProxy extends Proxy {
const message = await peer.channel.addMessage({
encoding: writeSocketEncoding,
onmessage(m: WriteSocketRequest) {
self._sockets.get(m.id)?.push(b4a.from(m.data));
self._sockets.get(m.id)?.push(m.data);
},
});
this.update(await this._getPublicKey(peer), {