import { getChanges } from "https://deno.land/x/automerge@2.2.0/next.ts";
Get the changes which are in newState
but not in oldState
. The returned
changes can be loaded in oldState
via applyChanges.
Note that this will crash if there are changes in oldState
which are not in newState
.