@liveblocks/core 3.13.0-rc1 → 3.13.0-rc2
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- 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.13.0-
|
|
9
|
+
var PKG_VERSION = "3.13.0-rc2";
|
|
10
10
|
var PKG_FORMAT = "cjs";
|
|
11
11
|
|
|
12
12
|
// src/dupe-detection.ts
|
|
@@ -3090,7 +3090,7 @@ var ServerMsgCode = Object.freeze({
|
|
|
3090
3090
|
BROADCASTED_EVENT: 103,
|
|
3091
3091
|
ROOM_STATE: 104,
|
|
3092
3092
|
// For Storage
|
|
3093
|
-
|
|
3093
|
+
STORAGE_STATE: 200,
|
|
3094
3094
|
UPDATE_STORAGE: 201,
|
|
3095
3095
|
// For Yjs Docs
|
|
3096
3096
|
UPDATE_YDOC: 300,
|
|
@@ -9475,7 +9475,7 @@ function createRoom(options, config) {
|
|
|
9475
9475
|
updates.others.push(onRoomStateMessage(message));
|
|
9476
9476
|
break;
|
|
9477
9477
|
}
|
|
9478
|
-
case ServerMsgCode.
|
|
9478
|
+
case ServerMsgCode.STORAGE_STATE: {
|
|
9479
9479
|
processInitialStorage(message);
|
|
9480
9480
|
break;
|
|
9481
9481
|
}
|
|
@@ -9633,7 +9633,7 @@ function createRoom(options, config) {
|
|
|
9633
9633
|
async function streamStorage() {
|
|
9634
9634
|
if (!managedSocket.authValue) return;
|
|
9635
9635
|
const items = await httpClient.streamStorage({ roomId });
|
|
9636
|
-
processInitialStorage({ type: ServerMsgCode.
|
|
9636
|
+
processInitialStorage({ type: ServerMsgCode.STORAGE_STATE, items });
|
|
9637
9637
|
}
|
|
9638
9638
|
function refreshStorage(options2) {
|
|
9639
9639
|
const messages = context.buffer.messages;
|