Type aliases
BackchannelSettings
BackchannelSettings: { relay: string }
Code
Code: string
ContactId
ContactId: string
DiscoveryKey
DiscoveryKey: string
DocumentId
DocumentId: string
FileMetadata
FileMetadata: { id: string; lastModified?: number; mime_type: string; name: string; size: number }
Type declaration
-
id: string
-
Optional lastModified?: number
-
mime_type: string
-
name: string
-
size: number
FileProgress
FileProgress: { contactId: string; data?: Uint8Array; id: string; offset: number; progress: number; size: number }
Type declaration
-
contactId: string
-
Optional data?: Uint8Array
-
id: string
-
offset: number
-
progress: number
-
size: number
Key
Key: string
MessageId
MessageId: string
PendingFile
Pending
File: { contactId: string; file: File; meta: FileMetadata }
Type declaration
-
contactId: string
-
file: File
-
SendFn
SendFn: (msg: Uint8Array) => void