upgrade packages + improve typing

This commit is contained in:
seavor 2026-04-14 11:34:29 -05:00
parent fd55f4fb7f
commit 19f5eefdd2
138 changed files with 4504 additions and 11015 deletions

View file

@ -59,7 +59,7 @@ export class WebSocketService {
return this.socket?.readyState === state;
}
public send(message): void {
public send(message: Uint8Array): void {
this.socket.send(message);
}
@ -73,7 +73,7 @@ export class WebSocketService {
clearTimeout(connectionTimer);
updateStatus(StatusEnum.CONNECTED, 'Connected');
this.keepAliveService.startPingLoop(this.keepalive, (pingReceived: Function) => {
this.keepAliveService.startPingLoop(this.keepalive, (pingReceived: () => void) => {
this.webClient.keepAlive(pingReceived);
});
};