Fix get history

This commit is contained in:
Jack Hadrill
2024-11-19 23:46:23 +00:00
parent 386e8c3ed1
commit 26af3b8b69
2 changed files with 18 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
export const MAX_DATA_LENGTH = 1000
export const MAX_DATA_LENGTH = 1000;
export const DEFAULT_KEY = new Uint8Array(16)
export const DEFAULT_KEY = new Uint8Array(16);
export enum MessageTypes {
Subscribe = 0x0000,
@@ -9,4 +9,5 @@ export enum MessageTypes {
UserDataResponse = 0x0003,
Keepalive = 0x0005,
GetHistory = 0xfffe,
Unsubscribe = 0xffff,
}