There are few ways how to keep notes on the backend. I have chosen Medium`s one.
Short investigation showed me some facts:
POST https://medium.com/p/7cbc4898d666/deltas?logLockId=4338

Are there posibility to get json delta of prosemirror`s data on update, instead of full data?
In v1.7.0 there is also a transaction for the updated event.
Most helpful comment
In v1.7.0 there is also a
transactionfor the updated event.