fix(core): update

This commit is contained in:
Philipp Kunz 2023-03-29 16:15:30 +02:00
parent 4fc09af779
commit 682a0c53ce
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -1,5 +1,6 @@
import * as plugins from './smartsocket.plugins.js';
import * as pluginsTyped from './smartsocket.pluginstyped.js';
import * as interfaces from './interfaces/index.js';
// classes
import { SocketConnection } from './smartsocket.classes.socketconnection.js';
@ -30,7 +31,7 @@ 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;
public eventSubject = new plugins.smartrx.rxjs.Subject<interfaces.TConnectionStatus>();
private socketServer = new SocketServer(this);