Compare commits

...

2 Commits

Author SHA1 Message Date
32c6d77178 3.0.51 2023-01-05 19:33:16 +01:00
2c4316d2d3 fix(core): update 2023-01-05 19:33:15 +01:00
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartproxy", "name": "@pushrocks/smartproxy",
"version": "3.0.50", "version": "3.0.51",
"private": false, "private": false,
"description": "a proxy for handling high workloads of proxying", "description": "a proxy for handling high workloads of proxying",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

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

View File

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