fix(core): update

This commit is contained in:
2023-07-21 03:53:41 +02:00
parent 9cfc41ace8
commit c8556355c0
19 changed files with 1446 additions and 1059 deletions
+3 -3
View File
@@ -5,9 +5,9 @@ import * as interfaces from './interfaces/index.js';
// classes
import { SocketConnection } from './smartsocket.classes.socketconnection.js';
import {
ISocketFunctionCallDataRequest,
type ISocketFunctionCallDataRequest,
SocketFunction,
ISocketFunctionCallDataResponse,
type ISocketFunctionCallDataResponse,
} from './smartsocket.classes.socketfunction.js';
import { SocketRequest } from './smartsocket.classes.socketrequest.js';
import { SocketServer } from './smartsocket.classes.socketserver.js';
@@ -54,7 +54,7 @@ export class Smartsocket {
allowedHeaders: '*',
methods: '*',
origin: '*',
}
},
});
await this.socketServer.start();
this.io.on('connection', (socketArg) => {