updated protocols

This commit is contained in:
Andrew Gundersen 2021-07-11 11:55:38 -05:00
commit cda3bab739
3 changed files with 6 additions and 6 deletions

View file

@ -13,10 +13,10 @@ export default function useWebSockets(
messageCallback: (message: string) => void,
connectionStatusCallback: (status: string) => void,
statusOptions?: {
openMessage: string,
pongMessage: string,
closeMessage: string,
pingErrorMessage: string,
openMessage: string;
pongMessage: string;
closeMessage: string;
pingErrorMessage: string;
},
) {

View file

@ -6,7 +6,7 @@ import useWebsockets from "./composables/useWebsockets";
import { backgroundMitt, ipcEmit } from "@/composables/useEmitter";
// UI state
let uiState = new UIState()
const uiState = new UIState()
// let audio = new Audio();

View file

@ -4,7 +4,7 @@
*/
interface ClientProtocol {
header: string;
body: Init | Update
body: Init | Update;
}
/**