1.5.0 update

This commit is contained in:
KingKDot
2026-03-20 22:38:17 -05:00
parent 265321dce2
commit e8ad1e3649
30 changed files with 2259 additions and 79 deletions
+18 -2
View File
@@ -13,7 +13,9 @@ export type MessageKind =
| "plugin_event"
| "notification"
| "webcam_devices"
| "notification_config";
| "notification_config"
| "enrollment_challenge"
| "enrollment_status";
export type Hello = {
type: "hello";
@@ -26,6 +28,18 @@ export type Hello = {
monitors: number;
monitorInfo?: { width: number; height: number }[];
country?: string;
publicKey?: string;
signature?: string;
};
export type EnrollmentChallenge = {
type: "enrollment_challenge";
nonce: string;
};
export type EnrollmentStatusMsg = {
type: "enrollment_status";
status: "pending" | "approved" | "denied";
};
export type HelloAck = {
@@ -296,7 +310,9 @@ export type WireMessage =
| ScriptResult
| PluginEvent
| NotificationEvent
| NotificationConfig;
| NotificationConfig
| EnrollmentChallenge
| EnrollmentStatusMsg;
export function encodeMessage(msg: WireMessage): Uint8Array {
return encode(msg);