diff --git a/package.json b/package.json index 7855da08ae53..32aeb35cc4b6 100644 --- a/package.json +++ b/package.json @@ -145,6 +145,8 @@ "use-merge-value": "^1", "utility-types": "^3", "uuid": "^9", + "y-indexeddb": "^9.0.12", + "y-webrtc": "^10.3.0", "yaml": "^2", "yjs": "^13.6.14", "zod": "^3", diff --git a/src/libs/sync/index.ts b/src/libs/sync/index.ts index d573ad427920..052c373c61e8 100644 --- a/src/libs/sync/index.ts +++ b/src/libs/sync/index.ts @@ -84,7 +84,7 @@ class SyncBus { const pools = Array.from(event.keys).map(async ([id, payload]) => { const item: any = yItemMap.get(id); - if (item._internalUpdate) { + if (item?._internalUpdate) { return; }