The name of the database
Get an array of all document ids
Add a contact.
Make a change to a document.
The document ID
The Automerge change function to change the document.
Get contact by discovery key
the discovery key for this contact
Is this contact currently connected to us? i.e., currently online and we have an open connection with them
The contact object
If the contact is currently connected
When a peer disconnects, call this function
A unique identifer for the document
A unique identifier for the peer (should be the same called in onPeerConnect)
When a peer connects, call this function
Open the database. This is called automatically when you create the instance and you don't need to call it.
When the database has been opened
Generated using TypeDoc
Create a new database for a given Automerge document type.