@liveblocks/core 1.11.2 → 1.11.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/dist/index.mjs 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.11.2";
9
+ var PKG_VERSION = "1.11.3";
10
10
  var PKG_FORMAT = "esm";
11
11
 
12
12
  // src/dupe-detection.ts
@@ -5436,7 +5436,9 @@ function createRoom(options, config) {
5436
5436
  }
5437
5437
  }
5438
5438
  if (activeBatch) {
5439
- activeBatch.ops.push(...ops);
5439
+ for (const op of ops) {
5440
+ activeBatch.ops.push(op);
5441
+ }
5440
5442
  for (const [key, value] of storageUpdates) {
5441
5443
  activeBatch.updates.storageUpdates.set(
5442
5444
  key,
@@ -6115,7 +6117,10 @@ ${Array.from(traces).join("\n\n")}`
6115
6117
  flushNowOrSoon();
6116
6118
  }
6117
6119
  function dispatchOps(ops) {
6118
- context.buffer.storageOperations.push(...ops);
6120
+ const { storageOperations } = context.buffer;
6121
+ for (const op of ops) {
6122
+ storageOperations.push(op);
6123
+ }
6119
6124
  flushNowOrSoon();
6120
6125
  }
6121
6126
  let _getStorage$ = null;