@liveblocks/core 3.14.0-types1 → 3.14.0-types2

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 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.14.0-types1";
9
+ var PKG_VERSION = "3.14.0-types2";
10
10
  var PKG_FORMAT = "cjs";
11
11
 
12
12
  // src/dupe-detection.ts
@@ -3143,7 +3143,7 @@ var ServerMsgCode = Object.freeze({
3143
3143
  BROADCASTED_EVENT: 103,
3144
3144
  ROOM_STATE: 104,
3145
3145
  // For Storage
3146
- STORAGE_STATE: 200,
3146
+ STORAGE_STATE_V7: 200,
3147
3147
  UPDATE_STORAGE: 201,
3148
3148
  // For Yjs Docs
3149
3149
  UPDATE_YDOC: 300,
@@ -9576,7 +9576,7 @@ function createRoom(options, config) {
9576
9576
  updates.others.push(onRoomStateMessage(message));
9577
9577
  break;
9578
9578
  }
9579
- case ServerMsgCode.STORAGE_STATE: {
9579
+ case ServerMsgCode.STORAGE_STATE_V7: {
9580
9580
  processInitialStorage(message);
9581
9581
  break;
9582
9582
  }
@@ -9731,7 +9731,7 @@ function createRoom(options, config) {
9731
9731
  async function streamStorage() {
9732
9732
  if (!managedSocket.authValue) return;
9733
9733
  const items = await httpClient.streamStorage({ roomId });
9734
- processInitialStorage({ type: ServerMsgCode.STORAGE_STATE, items });
9734
+ processInitialStorage({ type: ServerMsgCode.STORAGE_STATE_V7, items });
9735
9735
  }
9736
9736
  function refreshStorage(options2) {
9737
9737
  const messages = context.buffer.messages;