Compare commits

...

2 Commits

Author SHA1 Message Date
0fdd17b430 3.0.20 2022-07-30 18:53:21 +02:00
0562de6aa1 fix(core): update 2022-07-30 18:53:21 +02:00
4 changed files with 5 additions and 6 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@pushrocks/smartproxy", "name": "@pushrocks/smartproxy",
"version": "3.0.19", "version": "3.0.20",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@pushrocks/smartproxy", "name": "@pushrocks/smartproxy",
"version": "3.0.19", "version": "3.0.20",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@pushrocks/lik": "^6.0.0", "@pushrocks/lik": "^6.0.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartproxy", "name": "@pushrocks/smartproxy",
"version": "3.0.19", "version": "3.0.20",
"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.19', version: '3.0.20',
description: 'a proxy for handling high workloads of proxying' description: 'a proxy for handling high workloads of proxying'
} }

View File

@ -241,6 +241,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
Host: ws.url, Host: ws.url,
}, },
}); });
wsc.on('open', () => { wsc.on('open', () => {
wscConnected.resolve(); wscConnected.resolve();
}); });
@ -257,10 +258,8 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
const cleanUp = () => { const cleanUp = () => {
ws.close(); ws.close();
ws.terminate(); ws.terminate();
ws.removeAllListeners();
wsc.close(); wsc.close();
wsc.terminate(); wsc.terminate();
wsc.removeAllListeners();
}; };
ws.on('close', (message) => { ws.on('close', (message) => {