支持从加密聊天打开隔离浏览器链接

This commit is contained in:
xhgit committed 2026-11-13 23:27:56 +08:00
1 parent f4ea1f8e03
commit 6786158a3e
8 files changed
+54 -8

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ interface DeviceProof {
interface DesktopBridge {
apiBase: string
signChallenge: (username: string, challenge: string) => Promise<DeviceProof>
openBrowser?: () => Promise<void>
openBrowser?: (url?: string) => Promise<void>
signMls: (username: string, kind: 'credential' | 'KeyPackage', user: string, device: string, value: Uint8Array<ArrayBuffer>) => Promise<Uint8Array<ArrayBuffer>>
protectMls: (key: string) => Promise<string>
unprotectMls: (key: string) => Promise<string>