StartOptions
Defined in: zaun/js/index.d.ts:25
Properties
Section titled “Properties”changes?
Section titled “changes?”
optionalchanges?:Uint8Array<ArrayBufferLike>[]
Defined in: zaun/js/index.d.ts:36
commandTimeout?
Section titled “commandTimeout?”
optionalcommandTimeout?:number
Defined in: zaun/js/index.d.ts:38
Milliseconds: a command (60 000), a join or creation (120 000), a file (600 000).
joinTimeout?
Section titled “joinTimeout?”
optionaljoinTimeout?:number
Defined in: zaun/js/index.d.ts:39
key:
string
Defined in: zaun/js/index.d.ts:27
The store’s passphrase.
optionalname?:string
Defined in: zaun/js/index.d.ts:29
The SimpleX profile name a new store starts with.
relays?
Section titled “relays?”
optionalrelays?:string[]
Defined in: zaun/js/index.d.ts:31
smp://… and xftp://… servers; the official ones without.
snapshot?
Section titled “snapshot?”
optionalsnapshot?:Uint8Array
Defined in: zaun/js/index.d.ts:35
A saved store (client.save()), and what changed since (client.saveChanges()).
transferTimeout?
Section titled “transferTimeout?”
optionaltransferTimeout?:number
Defined in: zaun/js/index.d.ts:40
tunnel?
Section titled “tunnel?”
optionaltunnel?:string
Defined in: zaun/js/index.d.ts:33
In a browser: a WebSocket tunnel to the relays (wss://…/v1).