@liveblocks/client 0.15.5 → 0.15.6

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/lib/esm/index.js CHANGED
@@ -882,6 +882,7 @@ const _LiveMap = class extends AbstractCrdt {
882
882
  return false;
883
883
  }
884
884
  item._detach();
885
+ __privateGet$1(this, _map$1).delete(key);
885
886
  if (this._doc && item._id) {
886
887
  const storageUpdates = /* @__PURE__ */ new Map();
887
888
  storageUpdates.set(this._id, {
@@ -897,7 +898,6 @@ const _LiveMap = class extends AbstractCrdt {
897
898
  }
898
899
  ], item._serialize(this._id, key), storageUpdates);
899
900
  }
900
- __privateGet$1(this, _map$1).delete(key);
901
901
  return true;
902
902
  }
903
903
  entries() {
package/lib/esm/index.mjs CHANGED
@@ -882,6 +882,7 @@ const _LiveMap = class extends AbstractCrdt {
882
882
  return false;
883
883
  }
884
884
  item._detach();
885
+ __privateGet$1(this, _map$1).delete(key);
885
886
  if (this._doc && item._id) {
886
887
  const storageUpdates = /* @__PURE__ */ new Map();
887
888
  storageUpdates.set(this._id, {
@@ -897,7 +898,6 @@ const _LiveMap = class extends AbstractCrdt {
897
898
  }
898
899
  ], item._serialize(this._id, key), storageUpdates);
899
900
  }
900
- __privateGet$1(this, _map$1).delete(key);
901
901
  return true;
902
902
  }
903
903
  entries() {
package/lib/index.js CHANGED
@@ -1471,6 +1471,8 @@ var LiveMap = function (_AbstractCrdt) {
1471
1471
 
1472
1472
  item._detach();
1473
1473
 
1474
+ _classPrivateFieldGet(this, _map$1).delete(key);
1475
+
1474
1476
  if (this._doc && item._id) {
1475
1477
  var _updates4;
1476
1478
 
@@ -1490,8 +1492,6 @@ var LiveMap = function (_AbstractCrdt) {
1490
1492
  }], item._serialize(this._id, key), storageUpdates);
1491
1493
  }
1492
1494
 
1493
- _classPrivateFieldGet(this, _map$1).delete(key);
1494
-
1495
1495
  return true;
1496
1496
  };
1497
1497
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liveblocks/client",
3
- "version": "0.15.5",
3
+ "version": "0.15.6",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -65,4 +65,4 @@
65
65
  "url": "https://github.com/liveblocks/liveblocks.git",
66
66
  "directory": "packages/liveblocks-client"
67
67
  }
68
- }
68
+ }