@liveblocks/core 2.7.0-beta1 → 2.7.0-beta2
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 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- 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 = "2.7.0-
|
|
9
|
+
var PKG_VERSION = "2.7.0-beta2";
|
|
10
10
|
var PKG_FORMAT = "cjs";
|
|
11
11
|
|
|
12
12
|
// src/dupe-detection.ts
|
|
@@ -7440,7 +7440,8 @@ function deleteComment(thread, commentId, deletedAt) {
|
|
|
7440
7440
|
(comment) => comment.id === commentId ? {
|
|
7441
7441
|
...comment,
|
|
7442
7442
|
deletedAt,
|
|
7443
|
-
body: void 0
|
|
7443
|
+
body: void 0,
|
|
7444
|
+
attachments: []
|
|
7444
7445
|
} : comment
|
|
7445
7446
|
);
|
|
7446
7447
|
if (!updatedComments.some((comment) => comment.deletedAt === void 0)) {
|