fix(core): update

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

View File

@ -26,7 +26,7 @@
"@pushrocks/isounique": "^1.0.5", "@pushrocks/isounique": "^1.0.5",
"@pushrocks/lik": "^6.0.0", "@pushrocks/lik": "^6.0.0",
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^5.0.2", "@pushrocks/smartenv": "^5.0.4",
"@pushrocks/smartexpress": "^4.0.18", "@pushrocks/smartexpress": "^4.0.18",
"@pushrocks/smartjson": "^5.0.1", "@pushrocks/smartjson": "^5.0.1",
"@pushrocks/smartlog": "^3.0.1", "@pushrocks/smartlog": "^3.0.1",

22
pnpm-lock.yaml generated
View File

@ -10,7 +10,7 @@ specifiers:
'@pushrocks/isounique': ^1.0.5 '@pushrocks/isounique': ^1.0.5
'@pushrocks/lik': ^6.0.0 '@pushrocks/lik': ^6.0.0
'@pushrocks/smartdelay': ^2.0.13 '@pushrocks/smartdelay': ^2.0.13
'@pushrocks/smartenv': ^5.0.2 '@pushrocks/smartenv': ^5.0.4
'@pushrocks/smartexpress': ^4.0.18 '@pushrocks/smartexpress': ^4.0.18
'@pushrocks/smartjson': ^5.0.1 '@pushrocks/smartjson': ^5.0.1
'@pushrocks/smartlog': ^3.0.1 '@pushrocks/smartlog': ^3.0.1
@ -28,7 +28,7 @@ dependencies:
'@pushrocks/isounique': 1.0.5 '@pushrocks/isounique': 1.0.5
'@pushrocks/lik': 6.0.0 '@pushrocks/lik': 6.0.0
'@pushrocks/smartdelay': 2.0.13 '@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartenv': 5.0.3 '@pushrocks/smartenv': 5.0.4
'@pushrocks/smartexpress': 4.0.22 '@pushrocks/smartexpress': 4.0.22
'@pushrocks/smartjson': 5.0.5 '@pushrocks/smartjson': 5.0.5
'@pushrocks/smartlog': 3.0.2 '@pushrocks/smartlog': 3.0.2
@ -330,7 +330,7 @@ packages:
/@pushrocks/isohash/2.0.0: /@pushrocks/isohash/2.0.0:
resolution: {integrity: sha512-a6Vktczk0Q39hBYTuAFqa12QNhy5GcFYhnJ5pqzpE5r3rj3FSS8HLqsoBUwB3b9YHGKYnbky9C3YNhMmFvoLPg==} resolution: {integrity: sha512-a6Vktczk0Q39hBYTuAFqa12QNhy5GcFYhnJ5pqzpE5r3rj3FSS8HLqsoBUwB3b9YHGKYnbky9C3YNhMmFvoLPg==}
dependencies: dependencies:
'@pushrocks/smartenv': 5.0.3 '@pushrocks/smartenv': 5.0.4
'@pushrocks/smarthash': 2.1.10 '@pushrocks/smarthash': 2.1.10
/@pushrocks/isounique/1.0.5: /@pushrocks/isounique/1.0.5:
@ -410,8 +410,8 @@ packages:
dependencies: dependencies:
'@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartpromise': 3.1.7
/@pushrocks/smartenv/5.0.3: /@pushrocks/smartenv/5.0.4:
resolution: {integrity: sha512-/cgEDhOIo9LB5Vd2BVO9+QrjC38w872iy7w88UWuwz7obVILWOHl3MYMHAKFqXexuwKpQ/y/Klu2xQHtOPgi6Q==} resolution: {integrity: sha512-/fVIgZ9LY0GkJQFQwTC06nqFEJhZeuJapa6SeQs3WGkGkgYeWO3DTscwxtUpZULUn7geuAFQrk+vW+lErXiksQ==}
dependencies: dependencies:
'@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartpromise': 3.1.7
@ -443,7 +443,7 @@ packages:
'@apiglobal/typedsocket': 2.0.12 '@apiglobal/typedsocket': 2.0.12
'@pushrocks/lik': 6.0.0 '@pushrocks/lik': 6.0.0
'@pushrocks/smartdelay': 2.0.13 '@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartenv': 5.0.3 '@pushrocks/smartenv': 5.0.4
'@pushrocks/smartfeed': 1.0.11 '@pushrocks/smartfeed': 1.0.11
'@pushrocks/smartfile': 10.0.5 '@pushrocks/smartfile': 10.0.5
'@pushrocks/smartmanifest': 1.0.8 '@pushrocks/smartmanifest': 1.0.8
@ -698,7 +698,7 @@ packages:
'@pushrocks/isounique': 1.0.5 '@pushrocks/isounique': 1.0.5
'@pushrocks/lik': 6.0.0 '@pushrocks/lik': 6.0.0
'@pushrocks/smartdelay': 2.0.13 '@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartenv': 5.0.3 '@pushrocks/smartenv': 5.0.4
'@pushrocks/smartexpress': 4.0.22 '@pushrocks/smartexpress': 4.0.22
'@pushrocks/smartjson': 5.0.5 '@pushrocks/smartjson': 5.0.5
'@pushrocks/smartlog': 3.0.2 '@pushrocks/smartlog': 3.0.2
@ -737,7 +737,7 @@ packages:
resolution: {integrity: sha512-g9a/Mfj+eJAUrTDQoH3oaYegjI98WlVoSLAI8lpExQ/STlEJGO5ZdWDqgZ0HvHe+5UeWvxzCFpHifqRhMUJ+dQ==} resolution: {integrity: sha512-g9a/Mfj+eJAUrTDQoH3oaYegjI98WlVoSLAI8lpExQ/STlEJGO5ZdWDqgZ0HvHe+5UeWvxzCFpHifqRhMUJ+dQ==}
dependencies: dependencies:
'@pushrocks/isounique': 1.0.5 '@pushrocks/isounique': 1.0.5
'@pushrocks/smartenv': 5.0.3 '@pushrocks/smartenv': 5.0.4
'@types/randomatic': 3.1.3 '@types/randomatic': 3.1.3
buffer: 6.0.3 buffer: 6.0.3
crypto-random-string: 4.0.0 crypto-random-string: 4.0.0
@ -808,7 +808,7 @@ packages:
dependencies: dependencies:
'@open-wc/testing': 3.1.7 '@open-wc/testing': 3.1.7
'@pushrocks/smartdelay': 2.0.13 '@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartenv': 5.0.3 '@pushrocks/smartenv': 5.0.4
'@pushrocks/smartexpect': 1.0.14 '@pushrocks/smartexpect': 1.0.14
'@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartpromise': 3.1.7
'@pushrocks/smarttime': 3.0.50 '@pushrocks/smarttime': 3.0.50
@ -823,7 +823,7 @@ packages:
dependencies: dependencies:
'@adobe/helix-fetch': 3.1.2 '@adobe/helix-fetch': 3.1.2
'@pushrocks/smartdelay': 2.0.13 '@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartenv': 5.0.3 '@pushrocks/smartenv': 5.0.4
'@pushrocks/smartjson': 5.0.5 '@pushrocks/smartjson': 5.0.5
'@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartpromise': 3.1.7
'@pushrocks/webstore': 2.0.5 '@pushrocks/webstore': 2.0.5
@ -835,7 +835,7 @@ packages:
dependencies: dependencies:
'@apiglobal/typedrequest-interfaces': 1.0.20 '@apiglobal/typedrequest-interfaces': 1.0.20
'@pushrocks/lik': 6.0.0 '@pushrocks/lik': 6.0.0
'@pushrocks/smartenv': 5.0.3 '@pushrocks/smartenv': 5.0.4
'@pushrocks/smartjson': 5.0.5 '@pushrocks/smartjson': 5.0.5
'@pushrocks/smartpromise': 3.1.7 '@pushrocks/smartpromise': 3.1.7
'@pushrocks/smartrx': 2.0.27 '@pushrocks/smartrx': 2.0.27

View File

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

View File

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