diff --git a/package.json b/package.json index 11e4857..c70632b 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@pushrocks/isounique": "^1.0.5", "@pushrocks/lik": "^6.0.0", "@pushrocks/smartdelay": "^2.0.13", - "@pushrocks/smartenv": "^5.0.2", + "@pushrocks/smartenv": "^5.0.4", "@pushrocks/smartexpress": "^4.0.18", "@pushrocks/smartjson": "^5.0.1", "@pushrocks/smartlog": "^3.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f1aac67..1f716cc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ specifiers: '@pushrocks/isounique': ^1.0.5 '@pushrocks/lik': ^6.0.0 '@pushrocks/smartdelay': ^2.0.13 - '@pushrocks/smartenv': ^5.0.2 + '@pushrocks/smartenv': ^5.0.4 '@pushrocks/smartexpress': ^4.0.18 '@pushrocks/smartjson': ^5.0.1 '@pushrocks/smartlog': ^3.0.1 @@ -28,7 +28,7 @@ dependencies: '@pushrocks/isounique': 1.0.5 '@pushrocks/lik': 6.0.0 '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.4 '@pushrocks/smartexpress': 4.0.22 '@pushrocks/smartjson': 5.0.5 '@pushrocks/smartlog': 3.0.2 @@ -330,7 +330,7 @@ packages: /@pushrocks/isohash/2.0.0: resolution: {integrity: sha512-a6Vktczk0Q39hBYTuAFqa12QNhy5GcFYhnJ5pqzpE5r3rj3FSS8HLqsoBUwB3b9YHGKYnbky9C3YNhMmFvoLPg==} dependencies: - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.4 '@pushrocks/smarthash': 2.1.10 /@pushrocks/isounique/1.0.5: @@ -410,8 +410,8 @@ packages: dependencies: '@pushrocks/smartpromise': 3.1.7 - /@pushrocks/smartenv/5.0.3: - resolution: {integrity: sha512-/cgEDhOIo9LB5Vd2BVO9+QrjC38w872iy7w88UWuwz7obVILWOHl3MYMHAKFqXexuwKpQ/y/Klu2xQHtOPgi6Q==} + /@pushrocks/smartenv/5.0.4: + resolution: {integrity: sha512-/fVIgZ9LY0GkJQFQwTC06nqFEJhZeuJapa6SeQs3WGkGkgYeWO3DTscwxtUpZULUn7geuAFQrk+vW+lErXiksQ==} dependencies: '@pushrocks/smartpromise': 3.1.7 @@ -443,7 +443,7 @@ packages: '@apiglobal/typedsocket': 2.0.12 '@pushrocks/lik': 6.0.0 '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.4 '@pushrocks/smartfeed': 1.0.11 '@pushrocks/smartfile': 10.0.5 '@pushrocks/smartmanifest': 1.0.8 @@ -698,7 +698,7 @@ packages: '@pushrocks/isounique': 1.0.5 '@pushrocks/lik': 6.0.0 '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.4 '@pushrocks/smartexpress': 4.0.22 '@pushrocks/smartjson': 5.0.5 '@pushrocks/smartlog': 3.0.2 @@ -737,7 +737,7 @@ packages: resolution: {integrity: sha512-g9a/Mfj+eJAUrTDQoH3oaYegjI98WlVoSLAI8lpExQ/STlEJGO5ZdWDqgZ0HvHe+5UeWvxzCFpHifqRhMUJ+dQ==} dependencies: '@pushrocks/isounique': 1.0.5 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.4 '@types/randomatic': 3.1.3 buffer: 6.0.3 crypto-random-string: 4.0.0 @@ -808,7 +808,7 @@ packages: dependencies: '@open-wc/testing': 3.1.7 '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.4 '@pushrocks/smartexpect': 1.0.14 '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smarttime': 3.0.50 @@ -823,7 +823,7 @@ packages: dependencies: '@adobe/helix-fetch': 3.1.2 '@pushrocks/smartdelay': 2.0.13 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.4 '@pushrocks/smartjson': 5.0.5 '@pushrocks/smartpromise': 3.1.7 '@pushrocks/webstore': 2.0.5 @@ -835,7 +835,7 @@ packages: dependencies: '@apiglobal/typedrequest-interfaces': 1.0.20 '@pushrocks/lik': 6.0.0 - '@pushrocks/smartenv': 5.0.3 + '@pushrocks/smartenv': 5.0.4 '@pushrocks/smartjson': 5.0.5 '@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartrx': 2.0.27 diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 243c917..fd8a9f6 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.11', + version: '2.0.12', description: 'easy and secure websocket communication' } diff --git a/ts/smartsocket.classes.smartsocketclient.ts b/ts/smartsocket.classes.smartsocketclient.ts index 206f4d4..8b3a397 100644 --- a/ts/smartsocket.classes.smartsocketclient.ts +++ b/ts/smartsocket.classes.smartsocketclient.ts @@ -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({