@liveblocks/react 2.1.1-test2 → 2.2.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/{chunk-PAHCU5NM.mjs → chunk-SMD5PEIG.mjs} +212 -17
- package/dist/chunk-SMD5PEIG.mjs.map +1 -0
- package/dist/{chunk-KLG2CYJW.js → chunk-YJXGLDQP.js} +211 -16
- package/dist/chunk-YJXGLDQP.js.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{suspense-qP2VFyHd.d.mts → suspense-53yNOBIC.d.mts} +62 -46
- package/dist/{suspense-qP2VFyHd.d.ts → suspense-53yNOBIC.d.ts} +62 -46
- package/dist/suspense.d.mts +1 -1
- package/dist/suspense.d.ts +1 -1
- package/dist/suspense.js +7 -3
- package/dist/suspense.js.map +1 -1
- package/dist/suspense.mjs +5 -1
- package/dist/suspense.mjs.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-KLG2CYJW.js.map +0 -1
- package/dist/chunk-PAHCU5NM.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/version.ts
|
|
2
2
|
var PKG_NAME = "@liveblocks/react";
|
|
3
|
-
var PKG_VERSION = "2.
|
|
3
|
+
var PKG_VERSION = "2.2.0";
|
|
4
4
|
var PKG_FORMAT = "cjs";
|
|
5
5
|
|
|
6
6
|
// src/ClientSideSuspense.tsx
|
|
@@ -14,6 +14,12 @@ function ClientSideSuspense(props) {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// src/liveblocks.tsx
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
17
23
|
var _core = require('@liveblocks/core');
|
|
18
24
|
var _nanoid = require('nanoid');
|
|
19
25
|
|
|
@@ -287,7 +293,8 @@ function useInboxNotifications_withClient(client) {
|
|
|
287
293
|
store.subscribe,
|
|
288
294
|
store.get,
|
|
289
295
|
store.get,
|
|
290
|
-
selectorFor_useInboxNotifications
|
|
296
|
+
selectorFor_useInboxNotifications,
|
|
297
|
+
_core.shallow
|
|
291
298
|
);
|
|
292
299
|
}
|
|
293
300
|
function useInboxNotificationsSuspense_withClient(client) {
|
|
@@ -308,7 +315,8 @@ function useInboxNotificationsSuspense_withClient(client) {
|
|
|
308
315
|
store.subscribe,
|
|
309
316
|
store.get,
|
|
310
317
|
store.get,
|
|
311
|
-
selectorFor_useInboxNotificationsSuspense
|
|
318
|
+
selectorFor_useInboxNotificationsSuspense,
|
|
319
|
+
_core.shallow
|
|
312
320
|
);
|
|
313
321
|
}
|
|
314
322
|
function useUnreadInboxNotificationsCount_withClient(client) {
|
|
@@ -318,7 +326,8 @@ function useUnreadInboxNotificationsCount_withClient(client) {
|
|
|
318
326
|
store.subscribe,
|
|
319
327
|
store.get,
|
|
320
328
|
store.get,
|
|
321
|
-
selectorFor_useUnreadInboxNotificationsCount
|
|
329
|
+
selectorFor_useUnreadInboxNotificationsCount,
|
|
330
|
+
_core.shallow
|
|
322
331
|
);
|
|
323
332
|
}
|
|
324
333
|
function useUnreadInboxNotificationsCountSuspense_withClient(client) {
|
|
@@ -336,7 +345,8 @@ function useUnreadInboxNotificationsCountSuspense_withClient(client) {
|
|
|
336
345
|
store.subscribe,
|
|
337
346
|
store.get,
|
|
338
347
|
store.get,
|
|
339
|
-
selectorFor_useUnreadInboxNotificationsCountSuspense
|
|
348
|
+
selectorFor_useUnreadInboxNotificationsCountSuspense,
|
|
349
|
+
_core.shallow
|
|
340
350
|
);
|
|
341
351
|
}
|
|
342
352
|
function useMarkInboxNotificationAsRead_withClient(client) {
|
|
@@ -550,12 +560,15 @@ function useRoomInfoSuspense_withClient(client, roomId) {
|
|
|
550
560
|
};
|
|
551
561
|
}
|
|
552
562
|
function createSharedContext(client) {
|
|
563
|
+
const useClient2 = () => client;
|
|
553
564
|
return {
|
|
554
565
|
classic: {
|
|
566
|
+
useClient: useClient2,
|
|
555
567
|
useUser: (userId) => useUser_withClient(client, userId),
|
|
556
568
|
useRoomInfo: (roomId) => useRoomInfo_withClient(client, roomId)
|
|
557
569
|
},
|
|
558
570
|
suspense: {
|
|
571
|
+
useClient: useClient2,
|
|
559
572
|
useUser: (userId) => useUserSuspense_withClient(client, userId),
|
|
560
573
|
useRoomInfo: (roomId) => useRoomInfoSuspense_withClient(client, roomId)
|
|
561
574
|
}
|
|
@@ -677,6 +690,22 @@ var EditThreadMetadataError = class extends Error {
|
|
|
677
690
|
this.name = "EditThreadMetadataError";
|
|
678
691
|
}
|
|
679
692
|
};
|
|
693
|
+
var MarkThreadAsResolvedError = class extends Error {
|
|
694
|
+
constructor(cause, context) {
|
|
695
|
+
super("Mark thread as resolved failed.");
|
|
696
|
+
this.cause = cause;
|
|
697
|
+
this.context = context;
|
|
698
|
+
this.name = "MarkThreadAsResolvedError";
|
|
699
|
+
}
|
|
700
|
+
};
|
|
701
|
+
var MarkThreadAsUnresolvedError = class extends Error {
|
|
702
|
+
constructor(cause, context) {
|
|
703
|
+
super("Mark thread as unresolved failed.");
|
|
704
|
+
this.cause = cause;
|
|
705
|
+
this.context = context;
|
|
706
|
+
this.name = "MarkThreadAsUnresolvedError";
|
|
707
|
+
}
|
|
708
|
+
};
|
|
680
709
|
var CreateCommentError = class extends Error {
|
|
681
710
|
constructor(cause, context) {
|
|
682
711
|
super("Create comment failed.");
|
|
@@ -879,6 +908,7 @@ function useScrollToCommentOnLoadEffect(shouldScrollOnLoad, state) {
|
|
|
879
908
|
}
|
|
880
909
|
|
|
881
910
|
// src/room.tsx
|
|
911
|
+
var SMOOTH_DELAY = 1e3;
|
|
882
912
|
var noop2 = () => {
|
|
883
913
|
};
|
|
884
914
|
var identity = (x) => x;
|
|
@@ -1167,6 +1197,8 @@ function makeRoomContextBundle(client) {
|
|
|
1167
1197
|
useCreateThread,
|
|
1168
1198
|
useDeleteThread,
|
|
1169
1199
|
useEditThreadMetadata,
|
|
1200
|
+
useMarkThreadAsResolved,
|
|
1201
|
+
useMarkThreadAsUnresolved,
|
|
1170
1202
|
useCreateComment,
|
|
1171
1203
|
useEditComment,
|
|
1172
1204
|
useDeleteComment,
|
|
@@ -1208,6 +1240,8 @@ function makeRoomContextBundle(client) {
|
|
|
1208
1240
|
useCreateThread,
|
|
1209
1241
|
useDeleteThread,
|
|
1210
1242
|
useEditThreadMetadata,
|
|
1243
|
+
useMarkThreadAsResolved,
|
|
1244
|
+
useMarkThreadAsUnresolved,
|
|
1211
1245
|
useCreateComment,
|
|
1212
1246
|
useEditComment,
|
|
1213
1247
|
useDeleteComment,
|
|
@@ -1308,6 +1342,7 @@ function RoomProviderInner(props) {
|
|
|
1308
1342
|
switch (message.type) {
|
|
1309
1343
|
case _core.ServerMsgCode.COMMENT_EDITED:
|
|
1310
1344
|
case _core.ServerMsgCode.THREAD_METADATA_UPDATED:
|
|
1345
|
+
case _core.ServerMsgCode.THREAD_UPDATED:
|
|
1311
1346
|
case _core.ServerMsgCode.COMMENT_REACTION_ADDED:
|
|
1312
1347
|
case _core.ServerMsgCode.COMMENT_REACTION_REMOVED:
|
|
1313
1348
|
case _core.ServerMsgCode.COMMENT_DELETED:
|
|
@@ -1366,13 +1401,42 @@ function useStatus() {
|
|
|
1366
1401
|
const getServerSnapshot = room.getStatus;
|
|
1367
1402
|
return useSyncExternalStore2(subscribe, getSnapshot, getServerSnapshot);
|
|
1368
1403
|
}
|
|
1369
|
-
function useStorageStatus() {
|
|
1404
|
+
function useStorageStatus(options) {
|
|
1405
|
+
const smooth = useInitial(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _9 => _9.smooth]), () => ( false)));
|
|
1406
|
+
if (smooth) {
|
|
1407
|
+
return useStorageStatusSmooth();
|
|
1408
|
+
} else {
|
|
1409
|
+
return useStorageStatusImmediate();
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
function useStorageStatusImmediate() {
|
|
1370
1413
|
const room = useRoom();
|
|
1371
1414
|
const subscribe = room.events.storageStatus.subscribe;
|
|
1372
1415
|
const getSnapshot = room.getStorageStatus;
|
|
1373
1416
|
const getServerSnapshot = room.getStorageStatus;
|
|
1374
1417
|
return useSyncExternalStore2(subscribe, getSnapshot, getServerSnapshot);
|
|
1375
1418
|
}
|
|
1419
|
+
function useStorageStatusSmooth() {
|
|
1420
|
+
const room = useRoom();
|
|
1421
|
+
const [status, setStatus] = React4.useState(room.getStorageStatus);
|
|
1422
|
+
const oldStatus = useLatest(room.getStorageStatus());
|
|
1423
|
+
React4.useEffect(() => {
|
|
1424
|
+
let timeoutId;
|
|
1425
|
+
const unsub = room.events.storageStatus.subscribe((newStatus) => {
|
|
1426
|
+
if (oldStatus.current === "synchronizing" && newStatus === "synchronized") {
|
|
1427
|
+
timeoutId = setTimeout(() => setStatus(newStatus), SMOOTH_DELAY);
|
|
1428
|
+
} else {
|
|
1429
|
+
clearTimeout(timeoutId);
|
|
1430
|
+
setStatus(newStatus);
|
|
1431
|
+
}
|
|
1432
|
+
});
|
|
1433
|
+
return () => {
|
|
1434
|
+
clearTimeout(timeoutId);
|
|
1435
|
+
unsub();
|
|
1436
|
+
};
|
|
1437
|
+
}, [room, oldStatus]);
|
|
1438
|
+
return status;
|
|
1439
|
+
}
|
|
1376
1440
|
function useBatch() {
|
|
1377
1441
|
return useRoom().batch;
|
|
1378
1442
|
}
|
|
@@ -1667,7 +1731,8 @@ function useCreateThread() {
|
|
|
1667
1731
|
updatedAt: createdAt,
|
|
1668
1732
|
roomId: room.id,
|
|
1669
1733
|
metadata,
|
|
1670
|
-
comments: [newComment]
|
|
1734
|
+
comments: [newComment],
|
|
1735
|
+
resolved: false
|
|
1671
1736
|
};
|
|
1672
1737
|
const optimisticUpdateId = _nanoid.nanoid.call(void 0, );
|
|
1673
1738
|
const { store, onMutationFailure } = getExtrasForClient2(client);
|
|
@@ -1717,7 +1782,7 @@ function useDeleteThread() {
|
|
|
1717
1782
|
const { store, onMutationFailure } = getExtrasForClient2(client);
|
|
1718
1783
|
const thread = store.get().threads[threadId];
|
|
1719
1784
|
const userId = getCurrentUserId(room);
|
|
1720
|
-
if (_optionalChain([thread, 'optionalAccess',
|
|
1785
|
+
if (_optionalChain([thread, 'optionalAccess', _10 => _10.comments, 'optionalAccess', _11 => _11[0], 'optionalAccess', _12 => _12.userId]) !== userId) {
|
|
1721
1786
|
throw new Error("Only the thread creator can delete the thread");
|
|
1722
1787
|
}
|
|
1723
1788
|
store.pushOptimisticUpdate({
|
|
@@ -2212,6 +2277,138 @@ function useMarkThreadAsRead() {
|
|
|
2212
2277
|
[client, room]
|
|
2213
2278
|
);
|
|
2214
2279
|
}
|
|
2280
|
+
function useMarkThreadAsResolved() {
|
|
2281
|
+
const client = useClient();
|
|
2282
|
+
const room = useRoom();
|
|
2283
|
+
return React4.useCallback(
|
|
2284
|
+
(threadId) => {
|
|
2285
|
+
const optimisticUpdateId = _nanoid.nanoid.call(void 0, );
|
|
2286
|
+
const updatedAt = /* @__PURE__ */ new Date();
|
|
2287
|
+
const { store, onMutationFailure } = getExtrasForClient2(client);
|
|
2288
|
+
store.pushOptimisticUpdate({
|
|
2289
|
+
type: "mark-thread-as-resolved",
|
|
2290
|
+
id: optimisticUpdateId,
|
|
2291
|
+
threadId,
|
|
2292
|
+
updatedAt
|
|
2293
|
+
});
|
|
2294
|
+
const commentsAPI = room[_core.kInternal].comments;
|
|
2295
|
+
commentsAPI.markThreadAsResolved({ threadId }).then(
|
|
2296
|
+
() => {
|
|
2297
|
+
store.set((state) => {
|
|
2298
|
+
const existingThread = state.threads[threadId];
|
|
2299
|
+
const updatedOptimisticUpdates = state.optimisticUpdates.filter(
|
|
2300
|
+
(update) => update.id !== optimisticUpdateId
|
|
2301
|
+
);
|
|
2302
|
+
if (existingThread === void 0) {
|
|
2303
|
+
return {
|
|
2304
|
+
...state,
|
|
2305
|
+
optimisticUpdates: updatedOptimisticUpdates
|
|
2306
|
+
};
|
|
2307
|
+
}
|
|
2308
|
+
if (existingThread.deletedAt !== void 0) {
|
|
2309
|
+
return {
|
|
2310
|
+
...state,
|
|
2311
|
+
optimisticUpdates: updatedOptimisticUpdates
|
|
2312
|
+
};
|
|
2313
|
+
}
|
|
2314
|
+
if (existingThread.updatedAt && existingThread.updatedAt > updatedAt) {
|
|
2315
|
+
return {
|
|
2316
|
+
...state,
|
|
2317
|
+
optimisticUpdates: updatedOptimisticUpdates
|
|
2318
|
+
};
|
|
2319
|
+
}
|
|
2320
|
+
return {
|
|
2321
|
+
...state,
|
|
2322
|
+
threads: {
|
|
2323
|
+
...state.threads,
|
|
2324
|
+
[threadId]: {
|
|
2325
|
+
...existingThread,
|
|
2326
|
+
resolved: true
|
|
2327
|
+
}
|
|
2328
|
+
},
|
|
2329
|
+
optimisticUpdates: updatedOptimisticUpdates
|
|
2330
|
+
};
|
|
2331
|
+
});
|
|
2332
|
+
},
|
|
2333
|
+
(err) => onMutationFailure(
|
|
2334
|
+
err,
|
|
2335
|
+
optimisticUpdateId,
|
|
2336
|
+
(error) => new MarkThreadAsResolvedError(error, {
|
|
2337
|
+
roomId: room.id,
|
|
2338
|
+
threadId
|
|
2339
|
+
})
|
|
2340
|
+
)
|
|
2341
|
+
);
|
|
2342
|
+
},
|
|
2343
|
+
[client, room]
|
|
2344
|
+
);
|
|
2345
|
+
}
|
|
2346
|
+
function useMarkThreadAsUnresolved() {
|
|
2347
|
+
const client = useClient();
|
|
2348
|
+
const room = useRoom();
|
|
2349
|
+
return React4.useCallback(
|
|
2350
|
+
(threadId) => {
|
|
2351
|
+
const optimisticUpdateId = _nanoid.nanoid.call(void 0, );
|
|
2352
|
+
const updatedAt = /* @__PURE__ */ new Date();
|
|
2353
|
+
const { store, onMutationFailure } = getExtrasForClient2(client);
|
|
2354
|
+
store.pushOptimisticUpdate({
|
|
2355
|
+
type: "mark-thread-as-unresolved",
|
|
2356
|
+
id: optimisticUpdateId,
|
|
2357
|
+
threadId,
|
|
2358
|
+
updatedAt
|
|
2359
|
+
});
|
|
2360
|
+
const commentsAPI = room[_core.kInternal].comments;
|
|
2361
|
+
commentsAPI.markThreadAsUnresolved({ threadId }).then(
|
|
2362
|
+
() => {
|
|
2363
|
+
store.set((state) => {
|
|
2364
|
+
const existingThread = state.threads[threadId];
|
|
2365
|
+
const updatedOptimisticUpdates = state.optimisticUpdates.filter(
|
|
2366
|
+
(update) => update.id !== optimisticUpdateId
|
|
2367
|
+
);
|
|
2368
|
+
if (existingThread === void 0) {
|
|
2369
|
+
return {
|
|
2370
|
+
...state,
|
|
2371
|
+
optimisticUpdates: updatedOptimisticUpdates
|
|
2372
|
+
};
|
|
2373
|
+
}
|
|
2374
|
+
if (existingThread.deletedAt !== void 0) {
|
|
2375
|
+
return {
|
|
2376
|
+
...state,
|
|
2377
|
+
optimisticUpdates: updatedOptimisticUpdates
|
|
2378
|
+
};
|
|
2379
|
+
}
|
|
2380
|
+
if (existingThread.updatedAt && existingThread.updatedAt > updatedAt) {
|
|
2381
|
+
return {
|
|
2382
|
+
...state,
|
|
2383
|
+
optimisticUpdates: updatedOptimisticUpdates
|
|
2384
|
+
};
|
|
2385
|
+
}
|
|
2386
|
+
return {
|
|
2387
|
+
...state,
|
|
2388
|
+
threads: {
|
|
2389
|
+
...state.threads,
|
|
2390
|
+
[threadId]: {
|
|
2391
|
+
...existingThread,
|
|
2392
|
+
resolved: false
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2395
|
+
optimisticUpdates: updatedOptimisticUpdates
|
|
2396
|
+
};
|
|
2397
|
+
});
|
|
2398
|
+
},
|
|
2399
|
+
(err) => onMutationFailure(
|
|
2400
|
+
err,
|
|
2401
|
+
optimisticUpdateId,
|
|
2402
|
+
(error) => new MarkThreadAsUnresolvedError(error, {
|
|
2403
|
+
roomId: room.id,
|
|
2404
|
+
threadId
|
|
2405
|
+
})
|
|
2406
|
+
)
|
|
2407
|
+
);
|
|
2408
|
+
},
|
|
2409
|
+
[client, room]
|
|
2410
|
+
);
|
|
2411
|
+
}
|
|
2215
2412
|
function useThreadSubscription(threadId) {
|
|
2216
2413
|
const client = useClient();
|
|
2217
2414
|
const { store } = getExtrasForClient2(client);
|
|
@@ -2363,13 +2560,9 @@ function useStorageSuspense(selector, isEqual) {
|
|
|
2363
2560
|
isEqual
|
|
2364
2561
|
);
|
|
2365
2562
|
}
|
|
2366
|
-
function useStorageStatusSuspense() {
|
|
2563
|
+
function useStorageStatusSuspense(options) {
|
|
2367
2564
|
useSuspendUntilStorageReady();
|
|
2368
|
-
|
|
2369
|
-
const subscribe = room.events.storageStatus.subscribe;
|
|
2370
|
-
const getSnapshot = room.getStorageStatus;
|
|
2371
|
-
const getServerSnapshot = room.getStorageStatus;
|
|
2372
|
-
return useSyncExternalStore2(subscribe, getSnapshot, getServerSnapshot);
|
|
2565
|
+
return useStorageStatus(options);
|
|
2373
2566
|
}
|
|
2374
2567
|
function useThreadsSuspense(options = {
|
|
2375
2568
|
query: { metadata: {} }
|
|
@@ -2558,5 +2751,7 @@ var _useUpdateMyPresence = useUpdateMyPresence;
|
|
|
2558
2751
|
|
|
2559
2752
|
|
|
2560
2753
|
|
|
2561
|
-
|
|
2562
|
-
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
exports.PKG_NAME = PKG_NAME; exports.PKG_VERSION = PKG_VERSION; exports.PKG_FORMAT = PKG_FORMAT; exports.ClientSideSuspense = ClientSideSuspense; exports.ClientContext = ClientContext; exports.useClient = useClient; exports.LiveblocksProvider = LiveblocksProvider; exports.createLiveblocksContext = createLiveblocksContext; exports.useInboxNotifications = useInboxNotifications; exports.useInboxNotificationsSuspense = useInboxNotificationsSuspense; exports.useMarkAllInboxNotificationsAsRead = useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = useMarkInboxNotificationAsRead; exports.useUnreadInboxNotificationsCount = useUnreadInboxNotificationsCount; exports.useUnreadInboxNotificationsCountSuspense = useUnreadInboxNotificationsCountSuspense; exports.useRoomInfo = useRoomInfo; exports.useRoomInfoSuspense = useRoomInfoSuspense; exports._useInboxNotificationThread = _useInboxNotificationThread; exports._useUser = _useUser; exports._useUserSuspense = _useUserSuspense; exports.CreateThreadError = CreateThreadError; exports.selectedThreads = selectedThreads; exports.RoomContext = RoomContext; exports.useStatus = useStatus; exports.useStorageStatus = useStorageStatus; exports.useBatch = useBatch; exports.useLostConnectionListener = useLostConnectionListener; exports.useErrorListener = useErrorListener; exports.useHistory = useHistory; exports.useUndo = useUndo; exports.useRedo = useRedo; exports.useCanUndo = useCanUndo; exports.useCanRedo = useCanRedo; exports.useOthersConnectionIds = useOthersConnectionIds; exports.useCommentsErrorListener = useCommentsErrorListener; exports.useCreateComment = useCreateComment; exports.useEditComment = useEditComment; exports.useDeleteComment = useDeleteComment; exports.useRemoveReaction = useRemoveReaction; exports.useMarkThreadAsRead = useMarkThreadAsRead; exports.useMarkThreadAsResolved = useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = useMarkThreadAsUnresolved; exports.useThreadSubscription = useThreadSubscription; exports.useRoomNotificationSettings = useRoomNotificationSettings; exports.useUpdateRoomNotificationSettings = useUpdateRoomNotificationSettings; exports.useOthersConnectionIdsSuspense = useOthersConnectionIdsSuspense; exports.useStorageStatusSuspense = useStorageStatusSuspense; exports.createRoomContext = createRoomContext; exports._RoomProvider = _RoomProvider; exports._useBroadcastEvent = _useBroadcastEvent; exports._useOthersListener = _useOthersListener; exports._useRoom = _useRoom; 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._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;
|
|
2757
|
+
//# sourceMappingURL=chunk-YJXGLDQP.js.map
|