fix(core): update

This commit is contained in:
Philipp Kunz 2022-12-29 13:28:11 +01:00
parent f27b9f8143
commit fc458b6827
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -96,11 +96,11 @@ export class SmartsocketClient {
webUrlArg: 'https://cdn.jsdelivr.net/npm/socket.io-client@4/dist/socket.io.js',
getFunction: () => {
const socketIoBrowserModule = (globalThis as any).io;
console.log('loaded socket.io for browser');
// console.log('loaded socket.io for browser');
return socketIoBrowserModule;
},
});
console.log(socketIoClient);
// console.log(socketIoClient);
logger.log('info', 'trying to connect...');
const socketUrl = `${this.serverUrl}:${this.serverPort}`;
this.socketConnection = new SocketConnection({