@liveblocks/core 1.2.2-test4 → 1.2.2-test5
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
var PKG_NAME = "@liveblocks/core";
|
|
3
|
-
var PKG_VERSION = "1.2.2-
|
|
3
|
+
var PKG_VERSION = "1.2.2-test5";
|
|
4
4
|
var PKG_FORMAT = "esm";
|
|
5
5
|
|
|
6
6
|
// src/dupe-detection.ts
|
|
@@ -5280,10 +5280,14 @@ ${Array.from(traces).join("\n\n")}`
|
|
|
5280
5280
|
};
|
|
5281
5281
|
}
|
|
5282
5282
|
function fetchYDoc(vector) {
|
|
5283
|
-
context.buffer.messages.
|
|
5284
|
-
type
|
|
5285
|
-
|
|
5286
|
-
|
|
5283
|
+
if (!context.buffer.messages.find((m) => {
|
|
5284
|
+
return m.type === 300 /* FETCH_YDOC */ && m.vector === vector;
|
|
5285
|
+
})) {
|
|
5286
|
+
context.buffer.messages.push({
|
|
5287
|
+
type: 300 /* FETCH_YDOC */,
|
|
5288
|
+
vector
|
|
5289
|
+
});
|
|
5290
|
+
}
|
|
5287
5291
|
flushNowOrSoon();
|
|
5288
5292
|
}
|
|
5289
5293
|
function undo() {
|