feat: init doc monitor (#3320)
This commit is contained in:
1 parent
27edd7cd93
commit
604b53d9a4
20 files changed
+145
-76
No files matched your search
@@ -309,7 +309,7 @@ export const createIndexedDBProvider = (
|
||||
const fakeDoc = new Doc();
|
||||
fakeDoc.transact(() => {
|
||||
updates.forEach(update => {
|
||||
applyUpdate(fakeDoc, update);
|
||||
applyUpdate(fakeDoc, update, indexeddbOrigin);
|
||||
});
|
||||
}, indexeddbOrigin);
|
||||
const newUpdate = diffUpdate(
|
||||
@@ -330,7 +330,7 @@ export const createIndexedDBProvider = (
|
||||
);
|
||||
doc.transact(() => {
|
||||
updates.forEach(update => {
|
||||
applyUpdate(doc, update);
|
||||
applyUpdate(doc, update, indexeddbOrigin);
|
||||
});
|
||||
}, indexeddbOrigin);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user