import { next } from "https://deno.land/x/automerge@2.2.2/index.ts";
const { getLastLocalChange } = next;
Get the binary representation of the last change which was made to this doc
This is most useful when staying in sync with other peers, every time you make a change locally via change you immediately call getLastLocalChange and send the result over the network to other peers.