Compare commits

...

2 Commits

Author SHA1 Message Date
9c49b9a9e5 1.0.25 2019-08-23 00:48:14 +02:00
f7259a6309 fix(core): update 2019-08-23 00:48:14 +02:00
4 changed files with 3 additions and 7 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartproxy",
"version": "1.0.24",
"version": "1.0.25",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

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

View File

@ -3,10 +3,6 @@ import * as smartproxy from '../ts/index';
let testProxy: smartproxy.SmartProxy;
if (process.env.CI) {
process.exit(0);
}
tap.test('first test', async () => {
testProxy = new smartproxy.SmartProxy();
});

View File

@ -44,7 +44,7 @@ export class ProxyWorker {
const wss = new plugins.ws.Server({ server: this.httpsServer });
wss.on('connection', function connection(ws) {
const wscConnected = plugins.smartpromise.defer();
const wsc = new Websocket.default(`${ws.url}`);
wsc.on('open', () => {
wscConnected.resolve();