@meshagent/meshagent 0.43.2 → 0.43.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## [0.43.3]
2
+ - Stability
3
+
1
4
  ## [0.43.2]
2
5
  - Introduced `@meshagent/meshagent-livekit` as a standalone TypeScript helper package, with `livekit-client ^2.15.5`.
3
6
  - Reworked `@meshagent/meshagent-agents` packaging for dual ESM/CommonJS/browser resolution, including `.js` specifiers, module-scoped `src/`, and an ESM-default export.
@@ -8518,6 +8518,10 @@ var redoItem = (transaction, item, redoitems, itemsToDelete, ignoreRemoteMapChan
8518
8518
  } else {
8519
8519
  left = parentType._map.get(item.parentSub) || null;
8520
8520
  }
8521
+ if (left !== null && /** @type {AbstractType<any>} */
8522
+ left.parent._item !== parentItem) {
8523
+ left = parentType._map.get(item.parentSub) || null;
8524
+ }
8521
8525
  }
8522
8526
  const nextClock = getState(store, ownClientID);
8523
8527
  const nextId = createID(ownClientID, nextClock);
@@ -6025,6 +6025,10 @@ var redoItem = (transaction, item, redoitems, itemsToDelete, ignoreRemoteMapChan
6025
6025
  else {
6026
6026
  left = parentType._map.get(item.parentSub) || null;
6027
6027
  }
6028
+ if (left !== null &&
6029
+ left.parent._item !== parentItem) {
6030
+ left = parentType._map.get(item.parentSub) || null;
6031
+ }
6028
6032
  }
6029
6033
  const nextClock = getState(store, ownClientID);
6030
6034
  const nextId = createID(ownClientID, nextClock);
@@ -6036,6 +6036,10 @@ var redoItem = (transaction, item, redoitems, itemsToDelete, ignoreRemoteMapChan
6036
6036
  else {
6037
6037
  left = parentType._map.get(item.parentSub) || null;
6038
6038
  }
6039
+ if (left !== null &&
6040
+ left.parent._item !== parentItem) {
6041
+ left = parentType._map.get(item.parentSub) || null;
6042
+ }
6039
6043
  }
6040
6044
  const nextClock = getState(store, ownClientID);
6041
6045
  const nextId = createID(ownClientID, nextClock);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshagent/meshagent",
3
- "version": "0.43.2",
3
+ "version": "0.43.3",
4
4
  "description": "Meshagent Client",
5
5
  "homepage": "https://github.com/meshagent/meshagent-ts",
6
6
  "scripts": {