@liveblocks/react 2.18.4-uns1 → 2.19.0
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 +5 -5
- package/dist/_private.d.cts +1 -1
- package/dist/_private.d.ts +1 -1
- package/dist/_private.js +1 -1
- package/dist/{chunk-OVSZW7FP.js → chunk-5RVW253W.js} +34 -13
- package/dist/chunk-5RVW253W.js.map +1 -0
- package/dist/{chunk-XFNPHHAO.cjs → chunk-CDTX5424.cjs} +2 -2
- package/dist/{chunk-XFNPHHAO.cjs.map → chunk-CDTX5424.cjs.map} +1 -1
- package/dist/{chunk-EC62ST5F.cjs → chunk-EUXIW5LV.cjs} +50 -29
- package/dist/chunk-EUXIW5LV.cjs.map +1 -0
- package/dist/{chunk-FKN4BSVX.js → chunk-QYTJHNNQ.js} +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{room-1E8LCqCD.d.cts → room-Bf3S78LF.d.cts} +0 -17
- package/dist/{room-1E8LCqCD.d.ts → room-Bf3S78LF.d.ts} +0 -17
- 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-EC62ST5F.cjs.map +0 -1
- package/dist/chunk-OVSZW7FP.js.map +0 -1
- /package/dist/{chunk-FKN4BSVX.js.map → chunk-QYTJHNNQ.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/version.ts
|
|
2
2
|
var PKG_NAME = "@liveblocks/react";
|
|
3
|
-
var PKG_VERSION = "2.
|
|
3
|
+
var PKG_VERSION = "2.19.0";
|
|
4
4
|
var PKG_FORMAT = "cjs";
|
|
5
5
|
|
|
6
6
|
// src/ClientSideSuspense.tsx
|
|
@@ -20,4 +20,4 @@ function ClientSideSuspense(props) {
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
exports.PKG_NAME = PKG_NAME; exports.PKG_VERSION = PKG_VERSION; exports.PKG_FORMAT = PKG_FORMAT; exports.ClientSideSuspense = ClientSideSuspense;
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-CDTX5424.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-CDTX5424.cjs","../src/version.ts","../src/ClientSideSuspense.tsx"],"names":[],"mappings":"AAAA;ACGO,IAAM,SAAA,EAAW,mBAAA;AACjB,IAAM,YAAA,EAAiD,QAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;ADD7D;AACA;AEJA,8BAA8C;AAkC1C,+CAAA;AAVG,SAAS,kBAAA,CAAmB,KAAA,EAAc;AAC/C,EAAA,MAAM,CAAC,OAAA,EAAS,UAAU,EAAA,EAAI,6BAAA,KAAc,CAAA;AAE5C,EAAA,8BAAA,CAAU,EAAA,GAAM;AAGd,IAAA,UAAA,CAAW,IAAI,CAAA;AAAA,EACjB,CAAA,EAAG,CAAC,CAAC,CAAA;AAEL,EAAA,uBACE,6BAAA,eAAC,EAAA,EAAS,QAAA,EAAU,KAAA,CAAM,QAAA,EACvB,QAAA,EAAA,QAAA,EACG,OAAO,KAAA,CAAM,SAAA,IAAa,WAAA,EACxB,KAAA,CAAM,QAAA,CAAS,EAAA,EACf,KAAA,CAAM,SAAA,EACR,KAAA,CAAM,SAAA,CACZ,CAAA;AAEJ;AF5BA;AACA;AACE;AACA;AACA;AACA;AACF,iJAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-CDTX5424.cjs","sourcesContent":[null,"declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n","import type { ReactNode } from \"react\";\nimport { Suspense, useEffect, useState } from \"react\";\n\ntype Props = {\n fallback: ReactNode;\n children: (() => ReactNode | undefined) | ReactNode | undefined;\n};\n\n/**\n * Almost like a normal <Suspense> component, except that for server-side\n * renders, the fallback will be used.\n *\n * The child props will have to be provided in a function, i.e. change:\n *\n * <Suspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </Suspense>\n *\n * To:\n *\n * <ClientSideSuspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </ClientSideSuspense>\n *\n */\nexport function ClientSideSuspense(props: Props) {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n // Effects are never executed on the server side. The point of this is to\n // delay the flipping of this boolean until after hydration has happened.\n setMounted(true);\n }, []);\n\n return (\n <Suspense fallback={props.fallback}>\n {mounted\n ? typeof props.children === \"function\"\n ? props.children()\n : props.children\n : props.fallback}\n </Suspense>\n );\n}\n"]}
|
|
@@ -258,7 +258,7 @@ function autobind(self) {
|
|
|
258
258
|
for (const key of Reflect.ownKeys(obj)) {
|
|
259
259
|
if (seen.has(key)) continue;
|
|
260
260
|
const descriptor = Reflect.getOwnPropertyDescriptor(obj, key);
|
|
261
|
-
if (typeof _optionalChain([descriptor, 'optionalAccess',
|
|
261
|
+
if (typeof _optionalChain([descriptor, 'optionalAccess', _2 => _2.value]) === "function") {
|
|
262
262
|
seen.add(key);
|
|
263
263
|
self[key] = self[key].bind(self);
|
|
264
264
|
}
|
|
@@ -358,7 +358,7 @@ var ThreadDB = class _ThreadDB {
|
|
|
358
358
|
/** Returns an existing thread by ID. Will never return a deleted thread. */
|
|
359
359
|
get(threadId) {
|
|
360
360
|
const thread = this.getEvenIfDeleted(threadId);
|
|
361
|
-
return _optionalChain([thread, 'optionalAccess',
|
|
361
|
+
return _optionalChain([thread, 'optionalAccess', _3 => _3.deletedAt]) ? void 0 : thread;
|
|
362
362
|
}
|
|
363
363
|
/** Returns the (possibly deleted) thread by ID. */
|
|
364
364
|
getEvenIfDeleted(threadId) {
|
|
@@ -484,7 +484,7 @@ var PaginatedResource = class {
|
|
|
484
484
|
}
|
|
485
485
|
async #fetchMore() {
|
|
486
486
|
const state = this.#signal.get();
|
|
487
|
-
if (!_optionalChain([state, 'access',
|
|
487
|
+
if (!_optionalChain([state, 'access', _4 => _4.data, 'optionalAccess', _5 => _5.cursor]) || state.data.isFetchingMore) {
|
|
488
488
|
return;
|
|
489
489
|
}
|
|
490
490
|
this.#patch({ isFetchingMore: true });
|
|
@@ -505,7 +505,7 @@ var PaginatedResource = class {
|
|
|
505
505
|
}
|
|
506
506
|
fetchMore() {
|
|
507
507
|
const state = this.#signal.get();
|
|
508
|
-
if (!_optionalChain([state, 'access',
|
|
508
|
+
if (!_optionalChain([state, 'access', _6 => _6.data, 'optionalAccess', _7 => _7.cursor])) return noop2;
|
|
509
509
|
if (!this.#pendingFetchMore) {
|
|
510
510
|
this.#pendingFetchMore = this.#fetchMore().finally(() => {
|
|
511
511
|
this.#pendingFetchMore = null;
|
|
@@ -731,11 +731,14 @@ function createStore_forPermissionHints() {
|
|
|
731
731
|
};
|
|
732
732
|
}
|
|
733
733
|
function createStore_forUserNotificationSettings(updates) {
|
|
734
|
-
const signal = new (0, _core.Signal)(
|
|
735
|
-
_core.createUserNotificationSettings.call(void 0, {})
|
|
736
|
-
);
|
|
734
|
+
const signal = new (0, _core.Signal)({});
|
|
737
735
|
function update(settings) {
|
|
738
|
-
signal.set(
|
|
736
|
+
signal.set((prevSettings) => {
|
|
737
|
+
return {
|
|
738
|
+
...prevSettings,
|
|
739
|
+
...settings
|
|
740
|
+
};
|
|
741
|
+
});
|
|
739
742
|
}
|
|
740
743
|
return {
|
|
741
744
|
signal: _core.DerivedSignal.from(
|
|
@@ -1496,14 +1499,32 @@ function applyOptimisticUpdates_forSettings(settingsLUT, optimisticUpdates) {
|
|
|
1496
1499
|
}
|
|
1497
1500
|
return settingsByRoomId;
|
|
1498
1501
|
}
|
|
1499
|
-
function applyOptimisticUpdates_forUserNotificationSettings(
|
|
1500
|
-
|
|
1501
|
-
for (const
|
|
1502
|
-
|
|
1503
|
-
|
|
1502
|
+
function applyOptimisticUpdates_forUserNotificationSettings(baseSettings, optimisticUpdates) {
|
|
1503
|
+
const outcomingSettings = { ...baseSettings };
|
|
1504
|
+
for (const optimisticUpdate of optimisticUpdates) {
|
|
1505
|
+
switch (optimisticUpdate.type) {
|
|
1506
|
+
case "update-user-notification-settings": {
|
|
1507
|
+
const incomingSettings = optimisticUpdate.settings;
|
|
1508
|
+
for (const channelKey of _core.keys.call(void 0, incomingSettings)) {
|
|
1509
|
+
const key = channelKey;
|
|
1510
|
+
const channelUpdates = incomingSettings[key];
|
|
1511
|
+
if (channelUpdates) {
|
|
1512
|
+
const realChannelUpdates = Object.fromEntries(
|
|
1513
|
+
_core.entries.call(void 0, channelUpdates).filter(
|
|
1514
|
+
([_, value]) => value !== void 0
|
|
1515
|
+
)
|
|
1516
|
+
);
|
|
1517
|
+
outcomingSettings[key] = {
|
|
1518
|
+
...outcomingSettings[key],
|
|
1519
|
+
...realChannelUpdates
|
|
1520
|
+
};
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
break;
|
|
1524
|
+
}
|
|
1504
1525
|
}
|
|
1505
1526
|
}
|
|
1506
|
-
return
|
|
1527
|
+
return outcomingSettings;
|
|
1507
1528
|
}
|
|
1508
1529
|
function compareInboxNotifications(inboxNotificationA, inboxNotificationB) {
|
|
1509
1530
|
if (inboxNotificationA.notifiedAt > inboxNotificationB.notifiedAt) {
|
|
@@ -1554,7 +1575,7 @@ function applyUpsertComment(thread, comment) {
|
|
|
1554
1575
|
updatedAt: new Date(
|
|
1555
1576
|
Math.max(
|
|
1556
1577
|
thread.updatedAt.getTime(),
|
|
1557
|
-
_optionalChain([comment, 'access',
|
|
1578
|
+
_optionalChain([comment, 'access', _8 => _8.editedAt, 'optionalAccess', _9 => _9.getTime, 'call', _10 => _10()]) || comment.createdAt.getTime()
|
|
1558
1579
|
)
|
|
1559
1580
|
),
|
|
1560
1581
|
comments: updatedComments
|
|
@@ -1713,7 +1734,7 @@ function selectorFor_useUnreadInboxNotificationsCount(result) {
|
|
|
1713
1734
|
);
|
|
1714
1735
|
}
|
|
1715
1736
|
function selectorFor_useUser(state, userId) {
|
|
1716
|
-
if (state === void 0 || _optionalChain([state, 'optionalAccess',
|
|
1737
|
+
if (state === void 0 || _optionalChain([state, 'optionalAccess', _11 => _11.isLoading])) {
|
|
1717
1738
|
return _nullishCoalesce(state, () => ( { isLoading: true }));
|
|
1718
1739
|
}
|
|
1719
1740
|
if (state.error) {
|
|
@@ -1731,7 +1752,7 @@ function selectorFor_useUser(state, userId) {
|
|
|
1731
1752
|
};
|
|
1732
1753
|
}
|
|
1733
1754
|
function selectorFor_useRoomInfo(state, roomId) {
|
|
1734
|
-
if (state === void 0 || _optionalChain([state, 'optionalAccess',
|
|
1755
|
+
if (state === void 0 || _optionalChain([state, 'optionalAccess', _12 => _12.isLoading])) {
|
|
1735
1756
|
return _nullishCoalesce(state, () => ( { isLoading: true }));
|
|
1736
1757
|
}
|
|
1737
1758
|
if (state.error) {
|
|
@@ -2058,7 +2079,7 @@ function useUpdateNotificationSettings_withClient(client) {
|
|
|
2058
2079
|
store.optimisticUpdates.remove(optimisticUpdateId);
|
|
2059
2080
|
if (err instanceof _core.HttpError) {
|
|
2060
2081
|
if (err.status === 422) {
|
|
2061
|
-
const msg = [_optionalChain([err, 'access',
|
|
2082
|
+
const msg = [_optionalChain([err, 'access', _13 => _13.details, 'optionalAccess', _14 => _14.error]), _optionalChain([err, 'access', _15 => _15.details, 'optionalAccess', _16 => _16.reason])].filter(Boolean).join("\n");
|
|
2062
2083
|
console.error(msg);
|
|
2063
2084
|
}
|
|
2064
2085
|
client[_core.kInternal].emitError(
|
|
@@ -2254,7 +2275,7 @@ function createSharedContext(client) {
|
|
|
2254
2275
|
}
|
|
2255
2276
|
function useEnsureNoLiveblocksProvider(options) {
|
|
2256
2277
|
const existing = useClientOrNull();
|
|
2257
|
-
if (!_optionalChain([options, 'optionalAccess',
|
|
2278
|
+
if (!_optionalChain([options, 'optionalAccess', _17 => _17.allowNesting]) && existing !== null) {
|
|
2258
2279
|
throw new Error(
|
|
2259
2280
|
"You cannot nest multiple LiveblocksProvider instances in the same React tree."
|
|
2260
2281
|
);
|
|
@@ -2399,7 +2420,7 @@ var _useUserSuspense = useUserSuspense;
|
|
|
2399
2420
|
var _useUserThreads_experimental = useUserThreads_experimental;
|
|
2400
2421
|
var _useUserThreadsSuspense_experimental = useUserThreadsSuspense_experimental;
|
|
2401
2422
|
function useSyncStatus_withClient(client, options) {
|
|
2402
|
-
const smooth = useInitial(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2423
|
+
const smooth = useInitial(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _18 => _18.smooth]), () => ( false)));
|
|
2403
2424
|
if (smooth) {
|
|
2404
2425
|
return useSyncStatusSmooth_withClient(client);
|
|
2405
2426
|
} else {
|
|
@@ -2577,8 +2598,8 @@ function makeRoomExtrasForClient(client) {
|
|
|
2577
2598
|
if (innerError.status === 403) {
|
|
2578
2599
|
const detailedMessage = [
|
|
2579
2600
|
innerError.message,
|
|
2580
|
-
_optionalChain([innerError, 'access',
|
|
2581
|
-
_optionalChain([innerError, 'access',
|
|
2601
|
+
_optionalChain([innerError, 'access', _19 => _19.details, 'optionalAccess', _20 => _20.suggestion]),
|
|
2602
|
+
_optionalChain([innerError, 'access', _21 => _21.details, 'optionalAccess', _22 => _22.docs])
|
|
2582
2603
|
].filter(Boolean).join("\n");
|
|
2583
2604
|
_core.console.error(detailedMessage);
|
|
2584
2605
|
}
|
|
@@ -2932,7 +2953,7 @@ function useMentionSuggestionsCache() {
|
|
|
2932
2953
|
return client[_core.kInternal].mentionSuggestionsCache;
|
|
2933
2954
|
}
|
|
2934
2955
|
function useStorageStatus(options) {
|
|
2935
|
-
const smooth = useInitial(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2956
|
+
const smooth = useInitial(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _23 => _23.smooth]), () => ( false)));
|
|
2936
2957
|
if (smooth) {
|
|
2937
2958
|
return useStorageStatusSmooth();
|
|
2938
2959
|
} else {
|
|
@@ -3246,7 +3267,7 @@ function useCreateRoomThread(roomId) {
|
|
|
3246
3267
|
thread: newThread,
|
|
3247
3268
|
roomId
|
|
3248
3269
|
});
|
|
3249
|
-
const attachmentIds = _optionalChain([attachments, 'optionalAccess',
|
|
3270
|
+
const attachmentIds = _optionalChain([attachments, 'optionalAccess', _24 => _24.map, 'call', _25 => _25((attachment) => attachment.id)]);
|
|
3250
3271
|
client[_core.kInternal].httpClient.createThread({
|
|
3251
3272
|
roomId,
|
|
3252
3273
|
threadId,
|
|
@@ -3286,7 +3307,7 @@ function useDeleteRoomThread(roomId) {
|
|
|
3286
3307
|
const { store, onMutationFailure } = getRoomExtrasForClient(client);
|
|
3287
3308
|
const userId = getCurrentUserId(client);
|
|
3288
3309
|
const existing = store.outputs.threads.get().get(threadId);
|
|
3289
|
-
if (_optionalChain([existing, 'optionalAccess',
|
|
3310
|
+
if (_optionalChain([existing, 'optionalAccess', _26 => _26.comments, 'optionalAccess', _27 => _27[0], 'optionalAccess', _28 => _28.userId]) !== userId) {
|
|
3290
3311
|
throw new Error("Only the thread creator can delete the thread");
|
|
3291
3312
|
}
|
|
3292
3313
|
const optimisticId = store.optimisticUpdates.add({
|
|
@@ -3374,7 +3395,7 @@ function useCreateRoomComment(roomId) {
|
|
|
3374
3395
|
type: "create-comment",
|
|
3375
3396
|
comment
|
|
3376
3397
|
});
|
|
3377
|
-
const attachmentIds = _optionalChain([attachments, 'optionalAccess',
|
|
3398
|
+
const attachmentIds = _optionalChain([attachments, 'optionalAccess', _29 => _29.map, 'call', _30 => _30((attachment) => attachment.id)]);
|
|
3378
3399
|
client[_core.kInternal].httpClient.createComment({ roomId, threadId, commentId, body, attachmentIds }).then(
|
|
3379
3400
|
(newComment) => {
|
|
3380
3401
|
store.createComment(newComment, optimisticId);
|
|
@@ -3430,7 +3451,7 @@ function useEditRoomComment(roomId) {
|
|
|
3430
3451
|
attachments: _nullishCoalesce(attachments, () => ( []))
|
|
3431
3452
|
}
|
|
3432
3453
|
});
|
|
3433
|
-
const attachmentIds = _optionalChain([attachments, 'optionalAccess',
|
|
3454
|
+
const attachmentIds = _optionalChain([attachments, 'optionalAccess', _31 => _31.map, 'call', _32 => _32((attachment) => attachment.id)]);
|
|
3434
3455
|
client[_core.kInternal].httpClient.editComment({ roomId, threadId, commentId, body, attachmentIds }).then(
|
|
3435
3456
|
(editedComment) => {
|
|
3436
3457
|
store.editComment(threadId, optimisticId, editedComment);
|
|
@@ -3894,7 +3915,7 @@ function useThreadsSuspense(options = {}) {
|
|
|
3894
3915
|
return result;
|
|
3895
3916
|
}
|
|
3896
3917
|
function selectorFor_useAttachmentUrl(state) {
|
|
3897
|
-
if (state === void 0 || _optionalChain([state, 'optionalAccess',
|
|
3918
|
+
if (state === void 0 || _optionalChain([state, 'optionalAccess', _33 => _33.isLoading])) {
|
|
3898
3919
|
return _nullishCoalesce(state, () => ( { isLoading: true }));
|
|
3899
3920
|
}
|
|
3900
3921
|
if (state.error) {
|
|
@@ -4113,4 +4134,4 @@ var _useUpdateMyPresence = useUpdateMyPresence;
|
|
|
4113
4134
|
|
|
4114
4135
|
|
|
4115
4136
|
exports.RoomContext = RoomContext; exports.useRoomOrNull = useRoomOrNull; exports.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector; exports.useSignal = useSignal; exports.ClientContext = ClientContext; exports.getUmbrellaStoreForClient = getUmbrellaStoreForClient; exports.useClientOrNull = useClientOrNull; exports.useClient = useClient; exports.LiveblocksProvider = LiveblocksProvider; exports.createLiveblocksContext = createLiveblocksContext; exports.useInboxNotifications = useInboxNotifications; exports.useInboxNotificationsSuspense = useInboxNotificationsSuspense; exports.useMarkAllInboxNotificationsAsRead = useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = useMarkInboxNotificationAsRead; exports.useDeleteAllInboxNotifications = useDeleteAllInboxNotifications; exports.useDeleteInboxNotification = useDeleteInboxNotification; exports.useUnreadInboxNotificationsCount = useUnreadInboxNotificationsCount; exports.useUnreadInboxNotificationsCountSuspense = useUnreadInboxNotificationsCountSuspense; exports.useNotificationSettings = useNotificationSettings; exports.useNotificationSettingsSuspense = useNotificationSettingsSuspense; exports.useUpdateNotificationSettings = useUpdateNotificationSettings; exports.useRoomInfo = useRoomInfo; exports.useRoomInfoSuspense = useRoomInfoSuspense; exports._useInboxNotificationThread = _useInboxNotificationThread; exports._useUser = _useUser; exports._useUserSuspense = _useUserSuspense; exports._useUserThreads_experimental = _useUserThreads_experimental; exports._useUserThreadsSuspense_experimental = _useUserThreadsSuspense_experimental; exports.useSyncStatus = useSyncStatus; exports.useErrorListener = useErrorListener; exports.useStatus = useStatus; exports.useReportTextEditor = useReportTextEditor; exports.useYjsProvider = useYjsProvider; exports.useCreateTextMention = useCreateTextMention; exports.useDeleteTextMention = useDeleteTextMention; exports.useResolveMentionSuggestions = useResolveMentionSuggestions; exports.useMentionSuggestionsCache = useMentionSuggestionsCache; exports.useStorageStatus = useStorageStatus; exports.useBatch = useBatch; exports.useLostConnectionListener = useLostConnectionListener; exports.useHistory = useHistory; exports.useUndo = useUndo; exports.useRedo = useRedo; exports.useCanUndo = useCanUndo; exports.useCanRedo = useCanRedo; exports.useOthersConnectionIds = useOthersConnectionIds; exports.useCreateRoomThread = useCreateRoomThread; exports.useDeleteRoomThread = useDeleteRoomThread; exports.useEditRoomThreadMetadata = useEditRoomThreadMetadata; exports.useCreateComment = useCreateComment; exports.useCreateRoomComment = useCreateRoomComment; exports.useEditComment = useEditComment; exports.useEditRoomComment = useEditRoomComment; exports.useDeleteComment = useDeleteComment; exports.useDeleteRoomComment = useDeleteRoomComment; exports.useAddRoomCommentReaction = useAddRoomCommentReaction; exports.useRemoveReaction = useRemoveReaction; exports.useRemoveRoomCommentReaction = useRemoveRoomCommentReaction; exports.useMarkThreadAsRead = useMarkThreadAsRead; exports.useMarkRoomThreadAsRead = useMarkRoomThreadAsRead; exports.useMarkThreadAsResolved = useMarkThreadAsResolved; exports.useMarkRoomThreadAsResolved = useMarkRoomThreadAsResolved; exports.useMarkThreadAsUnresolved = useMarkThreadAsUnresolved; exports.useMarkRoomThreadAsUnresolved = useMarkRoomThreadAsUnresolved; exports.useThreadSubscription = useThreadSubscription; exports.useHistoryVersionData = useHistoryVersionData; exports.useUpdateRoomNotificationSettings = useUpdateRoomNotificationSettings; exports.useOthersConnectionIdsSuspense = useOthersConnectionIdsSuspense; exports.useStorageStatusSuspense = useStorageStatusSuspense; exports.useAttachmentUrl = useAttachmentUrl; exports.useRoomAttachmentUrl = useRoomAttachmentUrl; exports.useAttachmentUrlSuspense = useAttachmentUrlSuspense; exports.useRoomPermissions = useRoomPermissions; exports.createRoomContext = createRoomContext; exports._RoomProvider = _RoomProvider; exports._useBroadcastEvent = _useBroadcastEvent; exports._useOthersListener = _useOthersListener; exports._useRoom = _useRoom; exports._useIsInsideRoom = _useIsInsideRoom; exports._useAddReaction = _useAddReaction; exports._useMutation = _useMutation; exports._useCreateThread = _useCreateThread; exports._useDeleteThread = _useDeleteThread; exports._useEditThreadMetadata = _useEditThreadMetadata; exports._useEventListener = _useEventListener; exports._useMyPresence = _useMyPresence; exports._useOthersMapped = _useOthersMapped; exports._useOthersMappedSuspense = _useOthersMappedSuspense; exports._useThreads = _useThreads; exports._useThreadsSuspense = _useThreadsSuspense; exports._useRoomNotificationSettings = _useRoomNotificationSettings; exports._useRoomNotificationSettingsSuspense = _useRoomNotificationSettingsSuspense; exports._useHistoryVersions = _useHistoryVersions; exports._useHistoryVersionsSuspense = _useHistoryVersionsSuspense; exports._useOther = _useOther; exports._useOthers = _useOthers; exports._useOtherSuspense = _useOtherSuspense; exports._useOthersSuspense = _useOthersSuspense; exports._useStorage = _useStorage; exports._useStorageSuspense = _useStorageSuspense; exports._useSelf = _useSelf; exports._useSelfSuspense = _useSelfSuspense; exports._useStorageRoot = _useStorageRoot; exports._useUpdateMyPresence = _useUpdateMyPresence;
|
|
4116
|
-
//# sourceMappingURL=chunk-
|
|
4137
|
+
//# sourceMappingURL=chunk-EUXIW5LV.cjs.map
|