@liveblocks/core 3.13.3-slate1 → 3.14.0-pre1
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.
|
|
9
|
+
var PKG_VERSION = "3.14.0-pre1";
|
|
10
10
|
var PKG_FORMAT = "cjs";
|
|
11
11
|
|
|
12
12
|
// src/dupe-detection.ts
|
|
@@ -5990,7 +5990,7 @@ var OpCode = Object.freeze({
|
|
|
5990
5990
|
CREATE_MAP: 7,
|
|
5991
5991
|
CREATE_REGISTER: 8
|
|
5992
5992
|
});
|
|
5993
|
-
function
|
|
5993
|
+
function isIgnoredOp(op) {
|
|
5994
5994
|
return op.type === OpCode.DELETE_CRDT && op.id === "ACK";
|
|
5995
5995
|
}
|
|
5996
5996
|
|
|
@@ -9330,7 +9330,7 @@ function createRoom(options, config) {
|
|
|
9330
9330
|
};
|
|
9331
9331
|
}
|
|
9332
9332
|
function applyOp(op, source) {
|
|
9333
|
-
if (
|
|
9333
|
+
if (isIgnoredOp(op)) {
|
|
9334
9334
|
return { modified: false };
|
|
9335
9335
|
}
|
|
9336
9336
|
switch (op.type) {
|