Automerge Repo - v2.3.0-alpha.0
    Preparing search index...
    • Make a change to a document which does not modify the document

      Type Parameters

      • T

      Parameters

      • doc: Automerge.Doc<T>

        The doc to add the empty change to

      • options: string | void | Automerge.ChangeOptions<T>

        Either a message or a ChangeOptions for the new change

        Why would you want to do this? One reason might be that you have merged changes from some other peers and you want to generate a change which depends on those merged changes so that you can sign the new change with all of the merged changes as part of the new change.

      Returns Automerge.Doc<T>