@liveblocks/react 3.17.0 → 3.18.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.
@@ -4252,8 +4252,7 @@ function useStorage_withRoomContext(RoomContext, selector, isEqual) {
4252
4252
  return null;
4253
4253
  } else {
4254
4254
  const root = rootOrNull;
4255
- const imm = root.toImmutable();
4256
- return imm;
4255
+ return root.toJSON();
4257
4256
  }
4258
4257
  }, [rootOrNull]);
4259
4258
  const getServerSnapshot = alwaysNull;
@@ -4375,7 +4374,9 @@ function useFeedMessagesSuspense_withRoomContext(RoomContext, feedId, options) {
4375
4374
  const room = useRoom_withRoomContext(RoomContext);
4376
4375
  const { store } = getRoomExtrasForClient(client);
4377
4376
  const queryKey = makeFeedMessagesQueryKey(room.id, feedId, options);
4378
- use(store.outputs.loadingFeedMessages.getOrCreate(queryKey).waitUntilLoaded());
4377
+ use(
4378
+ store.outputs.loadingFeedMessages.getOrCreate(queryKey).waitUntilLoaded()
4379
+ );
4379
4380
  const result = useFeedMessages_withRoomContext(RoomContext, feedId, options);
4380
4381
  assert2(!result.error, "Did not expect error");
4381
4382
  assert2(!result.isLoading, "Did not expect loading");
@@ -6185,4 +6186,4 @@ export {
6185
6186
  _useStorageRoot,
6186
6187
  _useUpdateMyPresence
6187
6188
  };
6188
- //# sourceMappingURL=chunk-D3G7BVLV.js.map
6189
+ //# sourceMappingURL=chunk-HNWWOVBM.js.map