Commit graph

2 commits

Author SHA1 Message Date
Orion Henry
de1dab748d
move automerge-js onto the applyPatches model 2022-10-02 19:04:26 +01:00
Orion Henry
46482d30ca
The patch interface needs an accurate path per patch op
For the path to be accurate it needs to be calculated at the moment of op insert
not at commit.  This is because the path may contain list indexes in parent
objects that could change by inserts and deletes later in the transaction.

The primary change was adding op_observer to the transaction object and
removing it from commit options.  The beginnings of a wasm level
`applyPatch` system is laid out here.
2022-10-02 19:04:26 +01:00