fix(core): update

This commit is contained in:
Philipp Kunz 2023-01-05 19:33:15 +01:00
parent 62e6387c1d
commit 2c4316d2d3
2 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartproxy',
version: '3.0.50',
version: '3.0.51',
description: 'a proxy for handling high workloads of proxying'
}

View File

@ -269,9 +269,9 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
});
}
const wsc = await wscConnectedDeferred.promise;
wsc.emit('message', message);
wsc.send(message);
wsc.on('message', (message) => {
ws.emit('message', message);
ws.send(message);
});
// handle closing