fix(core): update

This commit is contained in:
Philipp Kunz 2023-03-29 16:07:54 +02:00
parent d87a942ab3
commit f73d973383
4 changed files with 806 additions and 740 deletions

View File

@ -27,7 +27,7 @@
"@pushrocks/lik": "^6.0.2",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^5.0.5",
"@pushrocks/smartexpress": "^4.0.26",
"@pushrocks/smartexpress": "^4.0.34",
"@pushrocks/smartjson": "^5.0.1",
"@pushrocks/smartlog": "^3.0.1",
"@pushrocks/smartpromise": "^3.1.7",
@ -43,7 +43,7 @@
"@gitzone/tsrun": "^1.2.37",
"@gitzone/tstest": "^1.0.72",
"@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.13.0"
"@types/node": "^18.15.11"
},
"private": false,
"files": [

1537
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartsocket',
version: '2.0.16',
version: '2.0.17',
description: 'easy and secure websocket communication'
}

View File

@ -30,6 +30,8 @@ export class Smartsocket {
public socketFunctions = new plugins.lik.ObjectMap<SocketFunction<any>>();
public socketRequests = new plugins.lik.ObjectMap<SocketRequest<any>>();
public eventSubject = plugins.smartrx.rxjs.Subject;
private socketServer = new SocketServer(this);
constructor(optionsArg: ISmartsocketConstructorOptions) {
@ -37,7 +39,6 @@ export class Smartsocket {
this.alias = plugins.isounique.uni(this.options.alias);
}
// tslint:disable-next-line:member-ordering
public async setExternalServer(serverType: 'smartexpress', serverArg: any) {
await this.socketServer.setExternalServer(serverType, serverArg);
}