Returns all changes that have been made to the document since the specified
heads. If heads is NULL, returns all changes in the document's history.
Arguments
- doc
An Automerge document
- heads
A list of raw vectors (change hashes) returned by
am_get_heads(), orNULLto get all changes.
Details
Changes are returned as serialized raw vectors that can be transmitted over
the network and applied to other documents using am_apply_changes().