@liveblocks/core 3.13.0 → 3.13.1

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.cjs 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 = "3.13.0";
9
+ var PKG_VERSION = "3.13.1";
10
10
  var PKG_FORMAT = "cjs";
11
11
 
12
12
  // src/dupe-detection.ts
@@ -6753,8 +6753,10 @@ var LiveList = class _LiveList extends AbstractCrdt {
6753
6753
  }
6754
6754
  child._setParentLink(this, newKey);
6755
6755
  this._insertAndSort(child);
6756
+ const newIndex = this.#items.indexOf(child);
6756
6757
  return {
6757
- modified: false
6758
+ modified: makeUpdate(this, [insertDelta(newIndex, child)]),
6759
+ reverse: []
6758
6760
  };
6759
6761
  } else {
6760
6762
  if (newKey === previousKey) {