fix(core): update

This commit is contained in:
2022-12-28 19:51:09 +01:00
parent 4562ac355b
commit 69e862a6cf
4 changed files with 14 additions and 14 deletions

View File

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

View File

@ -97,10 +97,10 @@ export class SmartsocketClient {
getFunction: () => {
const socketIoBrowserModule = (globalThis as any).io;
console.log('loaded socket.io for browser');
console.log(socketIoBrowserModule);
return socketIoBrowserModule;
},
});
console.log(socketIoClient);
logger.log('info', 'trying to connect...');
const socketUrl = `${this.serverUrl}:${this.serverPort}`;
this.socketConnection = new SocketConnection({