TL;DR: this change makes an existing loadSyncMessage function public by capitalising it.
I'd like to have access to the LoadSyncMessage function so that I can inspect a received message before merging it into the document. This would allow me to do things like:
Accept only empty sync messages and reject those with changes
Inspecting the actor id and message of a change within the sync message and rejecting or verifying based on the information
Right now I can only achieve this by accepting the change, checking it, and then forking the document based on the previous heads in order to "rollback" which is obviously more expensive than I'd like.
TL;DR: this change makes an existing loadSyncMessage function public by capitalising it.
I'd like to have access to the LoadSyncMessage function so that I can inspect a received message before merging it into the document. This would allow me to do things like:
Right now I can only achieve this by accepting the change, checking it, and then forking the document based on the previous heads in order to "rollback" which is obviously more expensive than I'd like.
Thanks!