@liveblocks/react 3.17.0-rc1 → 3.18.0-rc1
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/_private.cjs +7 -7
- package/dist/_private.d.cts +2 -2
- package/dist/_private.d.ts +2 -2
- package/dist/_private.js +1 -1
- package/dist/{chunk-RQSGIWTN.cjs → chunk-B4IUIIGD.cjs} +5 -4
- package/dist/chunk-B4IUIIGD.cjs.map +1 -0
- package/dist/{chunk-6QSCLLEQ.js → chunk-FFM4VTOA.js} +2 -2
- package/dist/{chunk-D3G7BVLV.js → chunk-HNWWOVBM.js} +5 -4
- package/dist/chunk-HNWWOVBM.js.map +1 -0
- package/dist/{chunk-JPKIN43H.cjs → chunk-Y5TGTTS6.cjs} +2 -2
- package/dist/{chunk-JPKIN43H.cjs.map → chunk-Y5TGTTS6.cjs.map} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{room-C6NTdu0X.d.cts → room-jD8pdPCR.d.cts} +6 -6
- package/dist/{room-C6NTdu0X.d.ts → room-jD8pdPCR.d.ts} +6 -6
- package/dist/suspense.cjs +4 -4
- package/dist/suspense.d.cts +1 -1
- package/dist/suspense.d.ts +1 -1
- package/dist/suspense.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-D3G7BVLV.js.map +0 -1
- package/dist/chunk-RQSGIWTN.cjs.map +0 -1
- /package/dist/{chunk-6QSCLLEQ.js.map → chunk-FFM4VTOA.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
var PKG_NAME = "@liveblocks/react";
|
|
3
|
-
var PKG_VERSION = "3.
|
|
3
|
+
var PKG_VERSION = "3.18.0-rc1";
|
|
4
4
|
var PKG_FORMAT = "esm";
|
|
5
5
|
|
|
6
6
|
// src/ClientSideSuspense.tsx
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
PKG_FORMAT,
|
|
21
21
|
ClientSideSuspense
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-FFM4VTOA.js.map
|
|
@@ -4252,8 +4252,7 @@ function useStorage_withRoomContext(RoomContext, selector, isEqual) {
|
|
|
4252
4252
|
return null;
|
|
4253
4253
|
} else {
|
|
4254
4254
|
const root = rootOrNull;
|
|
4255
|
-
|
|
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(
|
|
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-
|
|
6189
|
+
//# sourceMappingURL=chunk-HNWWOVBM.js.map
|