@liveblocks/core 1.12.0-test2 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var __export = (target, all) => {
|
|
|
6
6
|
|
|
7
7
|
// src/version.ts
|
|
8
8
|
var PKG_NAME = "@liveblocks/core";
|
|
9
|
-
var PKG_VERSION = "1.12.0
|
|
9
|
+
var PKG_VERSION = "1.12.0";
|
|
10
10
|
var PKG_FORMAT = "cjs";
|
|
11
11
|
|
|
12
12
|
// src/dupe-detection.ts
|
|
@@ -6720,7 +6720,7 @@ function createClientStore() {
|
|
|
6720
6720
|
threads: deleteKeyImmutable(state.threads, threadId),
|
|
6721
6721
|
inboxNotifications: Object.fromEntries(
|
|
6722
6722
|
Object.entries(state.inboxNotifications).filter(
|
|
6723
|
-
([_id, notification]) => notification.kind === "thread" && notification.threadId
|
|
6723
|
+
([_id, notification]) => notification.kind === "thread" && notification.threadId === threadId
|
|
6724
6724
|
)
|
|
6725
6725
|
)
|
|
6726
6726
|
};
|
|
@@ -6862,7 +6862,7 @@ function applyOptimisticUpdates(state) {
|
|
|
6862
6862
|
optimisticUpdate.comment
|
|
6863
6863
|
);
|
|
6864
6864
|
const inboxNotification = Object.values(result.inboxNotifications).find(
|
|
6865
|
-
(notification) => notification.kind === "thread" && notification.threadId
|
|
6865
|
+
(notification) => notification.kind === "thread" && notification.threadId === thread.id
|
|
6866
6866
|
);
|
|
6867
6867
|
if (inboxNotification === void 0) {
|
|
6868
6868
|
break;
|