Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
5215be946e | |||
b9c67666fa | |||
4b0fb073e6 | |||
fc458b6827 |
17
package.json
17
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartsocket",
|
"name": "@pushrocks/smartsocket",
|
||||||
"version": "2.0.13",
|
"version": "2.0.15",
|
||||||
"description": "easy and secure websocket communication",
|
"description": "easy and secure websocket communication",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
@ -24,17 +24,18 @@
|
|||||||
"@apiglobal/typedrequest-interfaces": "^2.0.1",
|
"@apiglobal/typedrequest-interfaces": "^2.0.1",
|
||||||
"@pushrocks/isohash": "^2.0.0",
|
"@pushrocks/isohash": "^2.0.0",
|
||||||
"@pushrocks/isounique": "^1.0.5",
|
"@pushrocks/isounique": "^1.0.5",
|
||||||
"@pushrocks/lik": "^6.0.0",
|
"@pushrocks/lik": "^6.0.2",
|
||||||
"@pushrocks/smartdelay": "^2.0.13",
|
"@pushrocks/smartdelay": "^2.0.13",
|
||||||
"@pushrocks/smartenv": "^5.0.4",
|
"@pushrocks/smartenv": "^5.0.5",
|
||||||
"@pushrocks/smartexpress": "^4.0.18",
|
"@pushrocks/smartexpress": "^4.0.26",
|
||||||
"@pushrocks/smartjson": "^5.0.1",
|
"@pushrocks/smartjson": "^5.0.1",
|
||||||
"@pushrocks/smartlog": "^3.0.1",
|
"@pushrocks/smartlog": "^3.0.1",
|
||||||
"@pushrocks/smartpromise": "^3.1.7",
|
"@pushrocks/smartpromise": "^3.1.7",
|
||||||
"@pushrocks/smartrx": "^3.0.0",
|
"@pushrocks/smartrx": "^3.0.0",
|
||||||
"@pushrocks/smarttime": "^4.0.0",
|
"@pushrocks/smarttime": "^4.0.1",
|
||||||
"socket.io": "^4.5.1",
|
"engine.io": "6.3.1",
|
||||||
"socket.io-client": "^4.5.1"
|
"socket.io": "4.5.4",
|
||||||
|
"socket.io-client": "4.5.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.63",
|
"@gitzone/tsbuild": "^2.1.63",
|
||||||
@ -42,7 +43,7 @@
|
|||||||
"@gitzone/tsrun": "^1.2.37",
|
"@gitzone/tsrun": "^1.2.37",
|
||||||
"@gitzone/tstest": "^1.0.72",
|
"@gitzone/tstest": "^1.0.72",
|
||||||
"@pushrocks/tapbundle": "^5.0.4",
|
"@pushrocks/tapbundle": "^5.0.4",
|
||||||
"@types/node": "^18.6.3"
|
"@types/node": "^18.13.0"
|
||||||
},
|
},
|
||||||
"private": false,
|
"private": false,
|
||||||
"files": [
|
"files": [
|
||||||
|
474
pnpm-lock.yaml
generated
474
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartsocket',
|
name: '@pushrocks/smartsocket',
|
||||||
version: '2.0.13',
|
version: '2.0.15',
|
||||||
description: 'easy and secure websocket communication'
|
description: 'easy and secure websocket communication'
|
||||||
}
|
}
|
||||||
|
@ -96,11 +96,11 @@ export class SmartsocketClient {
|
|||||||
webUrlArg: 'https://cdn.jsdelivr.net/npm/socket.io-client@4/dist/socket.io.js',
|
webUrlArg: 'https://cdn.jsdelivr.net/npm/socket.io-client@4/dist/socket.io.js',
|
||||||
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');
|
||||||
return socketIoBrowserModule;
|
return socketIoBrowserModule;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
console.log(socketIoClient);
|
// 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({
|
||||||
|
Reference in New Issue
Block a user