@liveblocks/core 1.4.0 → 1.4.1-test1
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 +11 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -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 = "1.4.
|
|
9
|
+
var PKG_VERSION = "1.4.1-test1";
|
|
10
10
|
var PKG_FORMAT = "cjs";
|
|
11
11
|
|
|
12
12
|
// src/dupe-detection.ts
|
|
@@ -2356,7 +2356,16 @@ var LiveList = class _LiveList extends AbstractCrdt {
|
|
|
2356
2356
|
};
|
|
2357
2357
|
ops.push(op);
|
|
2358
2358
|
for (const item of this._items) {
|
|
2359
|
-
|
|
2359
|
+
const parentKey2 = item._getParentKeyOrThrow();
|
|
2360
|
+
const childOps = HACK_addIntentAndDeletedIdToOperation(
|
|
2361
|
+
item._toOps(this._id, parentKey2, pool),
|
|
2362
|
+
void 0
|
|
2363
|
+
);
|
|
2364
|
+
const childOpId = childOps[0].opId;
|
|
2365
|
+
if (childOpId !== void 0) {
|
|
2366
|
+
this._unacknowledgedSets.set(parentKey2, childOpId);
|
|
2367
|
+
}
|
|
2368
|
+
ops.push(...childOps);
|
|
2360
2369
|
}
|
|
2361
2370
|
return ops;
|
|
2362
2371
|
}
|