Skip to content

Defined in: zaun/js/index.d.ts:25

optional changes?: Uint8Array<ArrayBufferLike>[]

Defined in: zaun/js/index.d.ts:36


optional commandTimeout?: number

Defined in: zaun/js/index.d.ts:38

Milliseconds: a command (60 000), a join or creation (120 000), a file (600 000).


optional joinTimeout?: number

Defined in: zaun/js/index.d.ts:39


key: string

Defined in: zaun/js/index.d.ts:27

The store’s passphrase.


optional name?: string

Defined in: zaun/js/index.d.ts:29

The SimpleX profile name a new store starts with.


optional relays?: string[]

Defined in: zaun/js/index.d.ts:31

smp://… and xftp://… servers; the official ones without.


optional snapshot?: Uint8Array

Defined in: zaun/js/index.d.ts:35

A saved store (client.save()), and what changed since (client.saveChanges()).


optional transferTimeout?: number

Defined in: zaun/js/index.d.ts:40


optional tunnel?: string

Defined in: zaun/js/index.d.ts:33

In a browser: a WebSocket tunnel to the relays (wss://…/v1).