From 682a0c53cee2de529438846c809709824cf7b07f Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 29 Mar 2023 16:15:30 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartsocket.classes.smartsocket.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 39d8094..bea523b 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartsocket', - version: '2.0.17', + version: '2.0.18', description: 'easy and secure websocket communication' } diff --git a/ts/smartsocket.classes.smartsocket.ts b/ts/smartsocket.classes.smartsocket.ts index f00f4e0..6bb5e65 100644 --- a/ts/smartsocket.classes.smartsocket.ts +++ b/ts/smartsocket.classes.smartsocket.ts @@ -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>(); public socketRequests = new plugins.lik.ObjectMap>(); - public eventSubject = plugins.smartrx.rxjs.Subject; + public eventSubject = new plugins.smartrx.rxjs.Subject(); private socketServer = new SocketServer(this);