@liveblocks/core 1.9.0 → 1.9.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.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.9.0";
9
+ var PKG_VERSION = "1.9.1";
10
10
  var PKG_FORMAT = "esm";
11
11
 
12
12
  // src/dupe-detection.ts
@@ -2452,6 +2452,14 @@ var OpCode = /* @__PURE__ */ ((OpCode2) => {
2452
2452
  OpCode2[OpCode2["CREATE_REGISTER"] = 8] = "CREATE_REGISTER";
2453
2453
  return OpCode2;
2454
2454
  })(OpCode || {});
2455
+ function ackOp(opId) {
2456
+ return {
2457
+ type: 5 /* DELETE_CRDT */,
2458
+ id: "ACK",
2459
+ // (H)ACK
2460
+ opId
2461
+ };
2462
+ }
2455
2463
  function isAckOp(op) {
2456
2464
  return op.type === 5 /* DELETE_CRDT */ && op.id === "ACK";
2457
2465
  }
@@ -7135,6 +7143,7 @@ export {
7135
7143
  OpCode,
7136
7144
  ServerMsgCode,
7137
7145
  WebsocketCloseCodes,
7146
+ ackOp,
7138
7147
  asPos,
7139
7148
  assert,
7140
7149
  assertNever,