fix(core): update

This commit is contained in:
Philipp Kunz 2023-03-20 18:51:02 +01:00
parent 5215be946e
commit 60e8657467
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -110,7 +110,8 @@ export class SmartsocketClient {
smartsocketHost: this,
socket: await socketIoClient
.connect(socketUrl, {
multiplex: false,
multiplex: true,
rememberUpgrade: true,
autoConnect: false,
reconnectionAttempts: 0,
rejectUnauthorized: socketUrl.startsWith('https://localhost') ? false : true,