@automerge/automerge - v3.1.1
    Preparing search index...

    Function hasOurChanges

    • Check whether the replica represented by remoteState has all our changes

      Type Parameters

      • T

      Parameters

      • doc: Doc<T>

        The doc to check whether the remote has changes for

      • remoteState: SyncState

        The SyncState representing the peer we are talking to

      Returns boolean

      true if the remote has all of our changes