Compare commits

...

2 Commits

Author SHA1 Message Date
7677b1bb48 1.1.30 2019-04-24 16:09:01 +02:00
114379c5b3 fix(core): update 2019-04-24 16:09:01 +02:00
3 changed files with 5 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartsocket",
"version": "1.1.29",
"version": "1.1.30",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartsocket",
"version": "1.1.29",
"version": "1.1.30",
"description": "easy and secure websocket communication",
"main": "dist/index.js",
"typings": "dist/index.d.ts",

View File

@ -29,7 +29,9 @@ export class Smartsocket {
}
// tslint:disable-next-line:member-ordering
public setExternalServer = this.socketServer.setExternalServer;
public async setExternalServer (serverType: 'express' | 'http', serverArg: any) {
await this.socketServer.setExternalServer(serverType, serverArg);
}
/**
* starts smartsocket