import { next } from "https://deno.land/x/automerge@2.2.2/index.ts";
const { getAllChanges } = next;
Get all the changes in a document
This is different to save because the output is an array of changes which can be individually applied via applyChanges`