@liveblocks/react 2.13.3-emails2 → 2.14.0-v2encoding
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.d.mts +1 -1
- package/dist/_private.d.ts +1 -1
- package/dist/_private.js +16 -7
- package/dist/_private.js.map +1 -1
- package/dist/_private.mjs +19 -10
- package/dist/_private.mjs.map +1 -1
- package/dist/{chunk-X4DDEZYL.js → chunk-7ZCTUIE6.js} +274 -202
- package/dist/chunk-7ZCTUIE6.js.map +1 -0
- package/dist/{chunk-BRCWZCNY.mjs → chunk-BYPL4Y26.mjs} +270 -198
- package/dist/chunk-BYPL4Y26.mjs.map +1 -0
- package/dist/{chunk-ZKHAR6BQ.mjs → chunk-CAMSPWNT.mjs} +2 -2
- package/dist/{chunk-RWQ74ZK6.js → chunk-FPO6VPFA.js} +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +2 -2
- package/dist/{room-Rl_QnQMY.d.mts → room-gbqt3lTY.d.mts} +14 -40
- package/dist/{room-Rl_QnQMY.d.ts → room-gbqt3lTY.d.ts} +14 -40
- package/dist/suspense.d.mts +1 -1
- package/dist/suspense.d.ts +1 -1
- package/dist/suspense.js +4 -4
- package/dist/suspense.mjs +2 -2
- package/package.json +3 -3
- package/dist/chunk-BRCWZCNY.mjs.map +0 -1
- package/dist/chunk-X4DDEZYL.js.map +0 -1
- /package/dist/{chunk-ZKHAR6BQ.mjs.map → chunk-CAMSPWNT.mjs.map} +0 -0
- /package/dist/{chunk-RWQ74ZK6.js.map → chunk-FPO6VPFA.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
var PKG_NAME = "@liveblocks/react";
|
|
3
|
-
var PKG_VERSION = "2.
|
|
3
|
+
var PKG_VERSION = "2.14.0-v2encoding";
|
|
4
4
|
var PKG_FORMAT = "esm";
|
|
5
5
|
|
|
6
6
|
// src/ClientSideSuspense.tsx
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
PKG_FORMAT,
|
|
20
20
|
ClientSideSuspense
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=chunk-
|
|
22
|
+
//# sourceMappingURL=chunk-CAMSPWNT.mjs.map
|
|
@@ -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; } }// src/version.ts
|
|
2
2
|
var PKG_NAME = "@liveblocks/react";
|
|
3
|
-
var PKG_VERSION = "2.
|
|
3
|
+
var PKG_VERSION = "2.14.0-v2encoding";
|
|
4
4
|
var PKG_FORMAT = "cjs";
|
|
5
5
|
|
|
6
6
|
// src/ClientSideSuspense.tsx
|
|
@@ -19,4 +19,4 @@ function ClientSideSuspense(props) {
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
exports.PKG_NAME = PKG_NAME; exports.PKG_VERSION = PKG_VERSION; exports.PKG_FORMAT = PKG_FORMAT; exports.ClientSideSuspense = ClientSideSuspense;
|
|
22
|
-
//# sourceMappingURL=chunk-
|
|
22
|
+
//# sourceMappingURL=chunk-FPO6VPFA.js.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { x as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, y as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aq as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, z as useClient, ah as useCommentsErrorListener, P as useCreateComment, Q as useCreateThread, A as useDeleteAllInboxNotifications, S as useDeleteComment, B as useDeleteInboxNotification, T as useDeleteThread, V as useEditComment, W as useEditThreadMetadata, Z as useErrorListener, $ as useEventListener, a0 as useHistory, ag as useHistoryVersionData, ar as useHistoryVersions, _ as useInboxNotificationThread, at as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, X as useMarkThreadAsResolved, Y as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, ai as useOther, aj as useOthers, ak as useOthersConnectionIds, a6 as useOthersListener, al as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, av as useRoomInfo, as as useRoomNotificationSettings, am as useSelf, aa as useStatus, an as useStorage, ab as useStorageRoot, ao as useStorageStatus, F as useSyncStatus, ac as useThreadSubscription, ap as useThreads, ad as useUndo, aw as useUnreadInboxNotificationsCount, ae as useUpdateMyPresence, af as useUpdateRoomNotificationSettings, ax as useUser, au as useUserThreads_experimental } from './room-gbqt3lTY.mjs';
|
|
2
2
|
export { Json, JsonObject, shallow } from '@liveblocks/client';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { x as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, y as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aq as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, z as useClient, ah as useCommentsErrorListener, P as useCreateComment, Q as useCreateThread, A as useDeleteAllInboxNotifications, S as useDeleteComment, B as useDeleteInboxNotification, T as useDeleteThread, V as useEditComment, W as useEditThreadMetadata, Z as useErrorListener, $ as useEventListener, a0 as useHistory, ag as useHistoryVersionData, ar as useHistoryVersions, _ as useInboxNotificationThread, at as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, X as useMarkThreadAsResolved, Y as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, ai as useOther, aj as useOthers, ak as useOthersConnectionIds, a6 as useOthersListener, al as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, av as useRoomInfo, as as useRoomNotificationSettings, am as useSelf, aa as useStatus, an as useStorage, ab as useStorageRoot, ao as useStorageStatus, F as useSyncStatus, ac as useThreadSubscription, ap as useThreads, ad as useUndo, aw as useUnreadInboxNotificationsCount, ae as useUpdateMyPresence, af as useUpdateRoomNotificationSettings, ax as useUser, au as useUserThreads_experimental } from './room-gbqt3lTY.js';
|
|
2
2
|
export { Json, JsonObject, shallow } from '@liveblocks/client';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkFPO6VPFAjs = require('./chunk-FPO6VPFA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -67,12 +67,12 @@ var _chunkRWQ74ZK6js = require('./chunk-RWQ74ZK6.js');
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
var
|
|
70
|
+
var _chunk7ZCTUIE6js = require('./chunk-7ZCTUIE6.js');
|
|
71
71
|
|
|
72
72
|
// src/index.ts
|
|
73
73
|
var _core = require('@liveblocks/core');
|
|
74
74
|
var _client = require('@liveblocks/client');
|
|
75
|
-
_core.detectDupes.call(void 0,
|
|
75
|
+
_core.detectDupes.call(void 0, _chunkFPO6VPFAjs.PKG_NAME, _chunkFPO6VPFAjs.PKG_VERSION, _chunkFPO6VPFAjs.PKG_FORMAT);
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
|
|
@@ -138,5 +138,5 @@ _core.detectDupes.call(void 0, _chunkRWQ74ZK6js.PKG_NAME, _chunkRWQ74ZK6js.PKG_V
|
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
exports.ClientContext =
|
|
141
|
+
exports.ClientContext = _chunk7ZCTUIE6js.ClientContext; exports.ClientSideSuspense = _chunkFPO6VPFAjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk7ZCTUIE6js.LiveblocksProvider; exports.RoomContext = _chunk7ZCTUIE6js.RoomContext; exports.RoomProvider = _chunk7ZCTUIE6js._RoomProvider; exports.createLiveblocksContext = _chunk7ZCTUIE6js.createLiveblocksContext; exports.createRoomContext = _chunk7ZCTUIE6js.createRoomContext; exports.shallow = _client.shallow; exports.useAddReaction = _chunk7ZCTUIE6js._useAddReaction; exports.useAttachmentUrl = _chunk7ZCTUIE6js.useAttachmentUrl; exports.useBatch = _chunk7ZCTUIE6js.useBatch; exports.useBroadcastEvent = _chunk7ZCTUIE6js._useBroadcastEvent; exports.useCanRedo = _chunk7ZCTUIE6js.useCanRedo; exports.useCanUndo = _chunk7ZCTUIE6js.useCanUndo; exports.useClient = _chunk7ZCTUIE6js.useClient; exports.useCommentsErrorListener = _chunk7ZCTUIE6js.useCommentsErrorListener; exports.useCreateComment = _chunk7ZCTUIE6js.useCreateComment; exports.useCreateThread = _chunk7ZCTUIE6js._useCreateThread; exports.useDeleteAllInboxNotifications = _chunk7ZCTUIE6js.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk7ZCTUIE6js.useDeleteComment; exports.useDeleteInboxNotification = _chunk7ZCTUIE6js.useDeleteInboxNotification; exports.useDeleteThread = _chunk7ZCTUIE6js._useDeleteThread; exports.useEditComment = _chunk7ZCTUIE6js.useEditComment; exports.useEditThreadMetadata = _chunk7ZCTUIE6js._useEditThreadMetadata; exports.useErrorListener = _chunk7ZCTUIE6js.useErrorListener; exports.useEventListener = _chunk7ZCTUIE6js._useEventListener; exports.useHistory = _chunk7ZCTUIE6js.useHistory; exports.useHistoryVersionData = _chunk7ZCTUIE6js.useHistoryVersionData; exports.useHistoryVersions = _chunk7ZCTUIE6js._useHistoryVersions; exports.useInboxNotificationThread = _chunk7ZCTUIE6js._useInboxNotificationThread; exports.useInboxNotifications = _chunk7ZCTUIE6js.useInboxNotifications; exports.useIsInsideRoom = _chunk7ZCTUIE6js._useIsInsideRoom; exports.useLostConnectionListener = _chunk7ZCTUIE6js.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk7ZCTUIE6js.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk7ZCTUIE6js.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk7ZCTUIE6js.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk7ZCTUIE6js.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk7ZCTUIE6js.useMarkThreadAsUnresolved; exports.useMutation = _chunk7ZCTUIE6js._useMutation; exports.useMyPresence = _chunk7ZCTUIE6js._useMyPresence; exports.useOther = _chunk7ZCTUIE6js._useOther; exports.useOthers = _chunk7ZCTUIE6js._useOthers; exports.useOthersConnectionIds = _chunk7ZCTUIE6js.useOthersConnectionIds; exports.useOthersListener = _chunk7ZCTUIE6js._useOthersListener; exports.useOthersMapped = _chunk7ZCTUIE6js._useOthersMapped; exports.useRedo = _chunk7ZCTUIE6js.useRedo; exports.useRemoveReaction = _chunk7ZCTUIE6js.useRemoveReaction; exports.useRoom = _chunk7ZCTUIE6js._useRoom; exports.useRoomInfo = _chunk7ZCTUIE6js.useRoomInfo; exports.useRoomNotificationSettings = _chunk7ZCTUIE6js._useRoomNotificationSettings; exports.useSelf = _chunk7ZCTUIE6js._useSelf; exports.useStatus = _chunk7ZCTUIE6js.useStatus; exports.useStorage = _chunk7ZCTUIE6js._useStorage; exports.useStorageRoot = _chunk7ZCTUIE6js._useStorageRoot; exports.useStorageStatus = _chunk7ZCTUIE6js.useStorageStatus; exports.useSyncStatus = _chunk7ZCTUIE6js.useSyncStatus; exports.useThreadSubscription = _chunk7ZCTUIE6js.useThreadSubscription; exports.useThreads = _chunk7ZCTUIE6js._useThreads; exports.useUndo = _chunk7ZCTUIE6js.useUndo; exports.useUnreadInboxNotificationsCount = _chunk7ZCTUIE6js.useUnreadInboxNotificationsCount; exports.useUpdateMyPresence = _chunk7ZCTUIE6js._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunk7ZCTUIE6js.useUpdateRoomNotificationSettings; exports.useUser = _chunk7ZCTUIE6js._useUser; exports.useUserThreads_experimental = _chunk7ZCTUIE6js._useUserThreads_experimental;
|
|
142
142
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
PKG_FORMAT,
|
|
4
4
|
PKG_NAME,
|
|
5
5
|
PKG_VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CAMSPWNT.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ClientContext,
|
|
9
9
|
LiveblocksProvider,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
useUndo,
|
|
68
68
|
useUnreadInboxNotificationsCount,
|
|
69
69
|
useUpdateRoomNotificationSettings
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-BYPL4Y26.mjs";
|
|
71
71
|
|
|
72
72
|
// src/index.ts
|
|
73
73
|
import { detectDupes } from "@liveblocks/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JsonObject, LsonObject, BaseUserMeta, LiveObject, User, Json, RoomNotificationSettings, Room, Status, BroadcastOptions, OthersEvent, LostConnectionEvent, History, BaseMetadata as BaseMetadata$1, Client as Client$1, ClientOptions, StorageStatus as StorageStatus$1, ThreadData as ThreadData$1, CommentData as CommentData$1 } from '@liveblocks/client';
|
|
2
2
|
import * as _liveblocks_core from '@liveblocks/core';
|
|
3
|
-
import { BaseMetadata, CommentBody, Patchable, StorageStatus, QueryMetadata, AsyncResult, DRI, AsyncSuccess, Resolve, CommentAttachment, PartialUnless, InboxNotificationData, ToImmutable, AsyncLoading, AsyncError, ThreadData, HistoryVersion, Client, SyncStatus, LiveblocksError, RoomEventMessage, CommentData, ThreadDataWithDeleteInfo, OpaqueClient, Permission, CommentUserReaction, ThreadDeleteInfo, InboxNotificationDeleteInfo, RoomNotificationSettings as RoomNotificationSettings$1, DistributiveOmit, DU, DM, OpaqueRoom, TextEditorType, DP, DS, DE } from '@liveblocks/core';
|
|
3
|
+
import { BaseMetadata, CommentBody, Patchable, StorageStatus, QueryMetadata, AsyncResult, DRI, AsyncSuccess, Resolve, CommentAttachment, PartialUnless, InboxNotificationData, ToImmutable, AsyncLoading, AsyncError, ThreadData, HistoryVersion, Client, SyncStatus, LiveblocksError, RoomEventMessage, CommentData, ThreadDataWithDeleteInfo, OpaqueClient, Permission, CommentUserReaction, ThreadDeleteInfo, InboxNotificationDeleteInfo, RoomNotificationSettings as RoomNotificationSettings$1, DistributiveOmit, DU, DM, OpaqueRoom, TextEditorType, IYjsProvider, DP, DS, DE } from '@liveblocks/core';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { PropsWithChildren } from 'react';
|
|
6
6
|
|
|
@@ -1120,10 +1120,7 @@ declare type ReadonlyThreadDB<M extends BaseMetadata> = Omit<ThreadDB<M>, "upser
|
|
|
1120
1120
|
*
|
|
1121
1121
|
*/
|
|
1122
1122
|
declare class ThreadDB<M extends BaseMetadata> {
|
|
1123
|
-
private
|
|
1124
|
-
private _asc;
|
|
1125
|
-
private _desc;
|
|
1126
|
-
private _version;
|
|
1123
|
+
#private;
|
|
1127
1124
|
constructor();
|
|
1128
1125
|
clone(): ThreadDB<M>;
|
|
1129
1126
|
/** Gets the transaction count for this DB. Increments any time the DB is modified. */
|
|
@@ -1153,7 +1150,6 @@ declare class ThreadDB<M extends BaseMetadata> {
|
|
|
1153
1150
|
* Will never return deleted threads in the result.
|
|
1154
1151
|
*/
|
|
1155
1152
|
findMany(roomId: string | undefined, query: ThreadsQuery<M>, direction: "asc" | "desc"): ThreadData<M>[];
|
|
1156
|
-
private touch;
|
|
1157
1153
|
}
|
|
1158
1154
|
|
|
1159
1155
|
declare type OptimisticUpdate<M extends BaseMetadata> = CreateThreadOptimisticUpdate<M> | DeleteThreadOptimisticUpdate | EditThreadMetadataOptimisticUpdate<M> | MarkThreadAsResolvedOptimisticUpdate | MarkThreadAsUnresolvedOptimisticUpdate | CreateCommentOptimisticUpdate | EditCommentOptimisticUpdate | DeleteCommentOptimisticUpdate | AddReactionOptimisticUpdate | RemoveReactionOptimisticUpdate | MarkInboxNotificationAsReadOptimisticUpdate | MarkAllInboxNotificationsAsReadOptimisticUpdate | DeleteInboxNotificationOptimisticUpdate | DeleteAllInboxNotificationsOptimisticUpdate | UpdateNotificationSettingsOptimisticUpdate;
|
|
@@ -1301,22 +1297,7 @@ declare type UmbrellaStoreState<M extends BaseMetadata> = {
|
|
|
1301
1297
|
versionsByRoomId: Record<string, Record<string, HistoryVersion>>;
|
|
1302
1298
|
};
|
|
1303
1299
|
declare class UmbrellaStore<M extends BaseMetadata> {
|
|
1304
|
-
private
|
|
1305
|
-
private _syncSource;
|
|
1306
|
-
private _rawThreadsDB;
|
|
1307
|
-
private _prevVersion;
|
|
1308
|
-
private _store;
|
|
1309
|
-
private _prevState;
|
|
1310
|
-
private _stateCached;
|
|
1311
|
-
private _notificationsLastRequestedAt;
|
|
1312
|
-
private _notifications;
|
|
1313
|
-
private _roomThreadsLastRequestedAtByRoom;
|
|
1314
|
-
private _roomThreads;
|
|
1315
|
-
private _userThreadsLastRequestedAt;
|
|
1316
|
-
private _userThreads;
|
|
1317
|
-
private _roomVersions;
|
|
1318
|
-
private _roomVersionsLastRequestedAtByRoom;
|
|
1319
|
-
private _roomNotificationSettings;
|
|
1300
|
+
#private;
|
|
1320
1301
|
constructor(client: OpaqueClient);
|
|
1321
1302
|
private get;
|
|
1322
1303
|
batch(callback: () => void): void;
|
|
@@ -1333,11 +1314,6 @@ declare class UmbrellaStore<M extends BaseMetadata> {
|
|
|
1333
1314
|
getRoomVersionsLoadingState(roomId: string): AsyncResult<HistoryVersion[], "versions">;
|
|
1334
1315
|
subscribe(callback: () => void): () => void;
|
|
1335
1316
|
_getPermissions(roomId: string): Set<Permission> | undefined;
|
|
1336
|
-
private mutateThreadsDB;
|
|
1337
|
-
private updateInboxNotificationsCache;
|
|
1338
|
-
private setNotificationSettings;
|
|
1339
|
-
private updateRoomVersions;
|
|
1340
|
-
private updateOptimisticUpdatesCache;
|
|
1341
1317
|
/**
|
|
1342
1318
|
* Updates an existing inbox notification with a new value, replacing the
|
|
1343
1319
|
* corresponding optimistic update.
|
|
@@ -1365,17 +1341,6 @@ declare class UmbrellaStore<M extends BaseMetadata> {
|
|
|
1365
1341
|
* Creates an new thread, replacing the corresponding optimistic update.
|
|
1366
1342
|
*/
|
|
1367
1343
|
createThread(optimisticUpdateId: string, thread: Readonly<ThreadDataWithDeleteInfo<M>>): void;
|
|
1368
|
-
/**
|
|
1369
|
-
* Updates an existing thread with a new value, replacing the corresponding
|
|
1370
|
-
* optimistic update.
|
|
1371
|
-
*
|
|
1372
|
-
* This will not update anything if:
|
|
1373
|
-
* - The thread ID isn't found in the cache; or
|
|
1374
|
-
* - The thread ID was already deleted from the cache; or
|
|
1375
|
-
* - The thread ID in the cache was updated more recently than the optimistic
|
|
1376
|
-
* update's timestamp (if given)
|
|
1377
|
-
*/
|
|
1378
|
-
private updateThread;
|
|
1379
1344
|
patchThread(threadId: string, optimisticUpdateId: string | null, patch: {
|
|
1380
1345
|
metadata?: M;
|
|
1381
1346
|
resolved?: boolean;
|
|
@@ -1410,7 +1375,6 @@ declare class UmbrellaStore<M extends BaseMetadata> {
|
|
|
1410
1375
|
removeOptimisticUpdate(optimisticUpdateId: string): void;
|
|
1411
1376
|
fetchNotificationsDeltaUpdate(signal: AbortSignal): Promise<void>;
|
|
1412
1377
|
waitUntilNotificationsLoaded(): UsablePromise<void>;
|
|
1413
|
-
private updateRoomPermissions;
|
|
1414
1378
|
waitUntilRoomThreadsLoaded(roomId: string, query: ThreadsQuery<M> | undefined): UsablePromise<void>;
|
|
1415
1379
|
fetchRoomThreadsDeltaUpdate(roomId: string, signal: AbortSignal): Promise<void>;
|
|
1416
1380
|
waitUntilUserThreadsLoaded(query: ThreadsQuery<M> | undefined): UsablePromise<void>;
|
|
@@ -1635,6 +1599,16 @@ declare function useRoomOrNull<P extends JsonObject, S extends LsonObject, U ext
|
|
|
1635
1599
|
declare function useStatus(): Status;
|
|
1636
1600
|
/** @private - Internal API, do not rely on it. */
|
|
1637
1601
|
declare function useReportTextEditor(editor: TextEditorType, rootKey: string): void;
|
|
1602
|
+
/** @private - Internal API, do not rely on it. */
|
|
1603
|
+
declare function useYjsProvider(): IYjsProvider | undefined;
|
|
1604
|
+
/** @private - Internal API, do not rely on it. */
|
|
1605
|
+
declare function useCreateTextMention(): (userId: string, mentionId: string) => void;
|
|
1606
|
+
/** @private - Internal API, do not rely on it. */
|
|
1607
|
+
declare function useDeleteTextMention(): (mentionId: string) => void;
|
|
1608
|
+
/** @private - Internal API, do not rely on it. */
|
|
1609
|
+
declare function useResolveMentionSuggestions(): ((args: _liveblocks_core.ResolveMentionSuggestionsArgs) => _liveblocks_core.OptionalPromise<string[]>) | undefined;
|
|
1610
|
+
/** @private - Internal API, do not rely on it. */
|
|
1611
|
+
declare function useMentionSuggestionsCache(): Map<string, string[]>;
|
|
1638
1612
|
/**
|
|
1639
1613
|
* Returns the current storage status for the Room, and triggers
|
|
1640
1614
|
* a re-render whenever it changes. Can be used to render a "Saving..."
|
|
@@ -2368,4 +2342,4 @@ declare const _useStorageRoot: TypedBundle["useStorageRoot"];
|
|
|
2368
2342
|
*/
|
|
2369
2343
|
declare const _useUpdateMyPresence: TypedBundle["useUpdateMyPresence"];
|
|
2370
2344
|
|
|
2371
|
-
export {
|
|
2345
|
+
export { _useEventListener as $, useDeleteAllInboxNotifications as A, useDeleteInboxNotification as B, CreateThreadError as C, useMarkAllInboxNotificationsAsRead as D, useMarkInboxNotificationAsRead as E, useSyncStatus as F, createRoomContext as G, _RoomProvider as H, _useAddReaction as I, useBatch as J, _useBroadcastEvent as K, LiveblocksProvider as L, type MutationContext as M, useCanRedo as N, useCanUndo as O, useCreateComment as P, _useCreateThread as Q, RoomContext as R, useDeleteComment as S, _useDeleteThread as T, type UseStorageStatusOptions as U, useEditComment as V, _useEditThreadMetadata as W, useMarkThreadAsResolved as X, useMarkThreadAsUnresolved as Y, useErrorListener as Z, _useInboxNotificationThread as _, useClientOrNull as a, useHistory as a0, _useIsInsideRoom as a1, useLostConnectionListener as a2, useMarkThreadAsRead as a3, _useMutation as a4, _useMyPresence as a5, _useOthersListener as a6, useRedo as a7, useRemoveReaction as a8, _useRoom as a9, useOthersConnectionIdsSuspense as aA, _useOthersMappedSuspense as aB, _useSelfSuspense as aC, _useStorageSuspense as aD, useStorageStatusSuspense as aE, _useThreadsSuspense as aF, useAttachmentUrlSuspense as aG, _useHistoryVersionsSuspense as aH, _useRoomNotificationSettingsSuspense as aI, useInboxNotificationsSuspense as aJ, useRoomInfoSuspense as aK, useUnreadInboxNotificationsCountSuspense as aL, _useUserSuspense as aM, _useUserThreadsSuspense_experimental as aN, useStatus as aa, _useStorageRoot as ab, useThreadSubscription as ac, useUndo as ad, _useUpdateMyPresence as ae, useUpdateRoomNotificationSettings as af, useHistoryVersionData as ag, useCommentsErrorListener as ah, _useOther as ai, _useOthers as aj, useOthersConnectionIds as ak, _useOthersMapped as al, _useSelf as am, _useStorage as an, useStorageStatus as ao, _useThreads as ap, useAttachmentUrl as aq, _useHistoryVersions as ar, _useRoomNotificationSettings as as, useInboxNotifications as at, _useUserThreads_experimental as au, useRoomInfo as av, useUnreadInboxNotificationsCount as aw, _useUser as ax, _useOtherSuspense as ay, _useOthersSuspense as az, useAddRoomCommentReaction as b, useCreateRoomComment as c, useCreateRoomThread as d, useCreateTextMention as e, useDeleteRoomComment as f, getUmbrellaStoreForClient as g, useDeleteRoomThread as h, useDeleteTextMention as i, useEditRoomComment as j, useEditRoomThreadMetadata as k, useMarkRoomThreadAsRead as l, useMarkRoomThreadAsResolved as m, useMarkRoomThreadAsUnresolved as n, useMentionSuggestionsCache as o, useRemoveRoomCommentReaction as p, useReportTextEditor as q, useResolveMentionSuggestions as r, useRoomAttachmentUrl as s, useRoomPermissions as t, useRoomOrNull as u, useYjsProvider as v, type UseThreadsOptions as w, ClientContext as x, createLiveblocksContext as y, useClient as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JsonObject, LsonObject, BaseUserMeta, LiveObject, User, Json, RoomNotificationSettings, Room, Status, BroadcastOptions, OthersEvent, LostConnectionEvent, History, BaseMetadata as BaseMetadata$1, Client as Client$1, ClientOptions, StorageStatus as StorageStatus$1, ThreadData as ThreadData$1, CommentData as CommentData$1 } from '@liveblocks/client';
|
|
2
2
|
import * as _liveblocks_core from '@liveblocks/core';
|
|
3
|
-
import { BaseMetadata, CommentBody, Patchable, StorageStatus, QueryMetadata, AsyncResult, DRI, AsyncSuccess, Resolve, CommentAttachment, PartialUnless, InboxNotificationData, ToImmutable, AsyncLoading, AsyncError, ThreadData, HistoryVersion, Client, SyncStatus, LiveblocksError, RoomEventMessage, CommentData, ThreadDataWithDeleteInfo, OpaqueClient, Permission, CommentUserReaction, ThreadDeleteInfo, InboxNotificationDeleteInfo, RoomNotificationSettings as RoomNotificationSettings$1, DistributiveOmit, DU, DM, OpaqueRoom, TextEditorType, DP, DS, DE } from '@liveblocks/core';
|
|
3
|
+
import { BaseMetadata, CommentBody, Patchable, StorageStatus, QueryMetadata, AsyncResult, DRI, AsyncSuccess, Resolve, CommentAttachment, PartialUnless, InboxNotificationData, ToImmutable, AsyncLoading, AsyncError, ThreadData, HistoryVersion, Client, SyncStatus, LiveblocksError, RoomEventMessage, CommentData, ThreadDataWithDeleteInfo, OpaqueClient, Permission, CommentUserReaction, ThreadDeleteInfo, InboxNotificationDeleteInfo, RoomNotificationSettings as RoomNotificationSettings$1, DistributiveOmit, DU, DM, OpaqueRoom, TextEditorType, IYjsProvider, DP, DS, DE } from '@liveblocks/core';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { PropsWithChildren } from 'react';
|
|
6
6
|
|
|
@@ -1120,10 +1120,7 @@ declare type ReadonlyThreadDB<M extends BaseMetadata> = Omit<ThreadDB<M>, "upser
|
|
|
1120
1120
|
*
|
|
1121
1121
|
*/
|
|
1122
1122
|
declare class ThreadDB<M extends BaseMetadata> {
|
|
1123
|
-
private
|
|
1124
|
-
private _asc;
|
|
1125
|
-
private _desc;
|
|
1126
|
-
private _version;
|
|
1123
|
+
#private;
|
|
1127
1124
|
constructor();
|
|
1128
1125
|
clone(): ThreadDB<M>;
|
|
1129
1126
|
/** Gets the transaction count for this DB. Increments any time the DB is modified. */
|
|
@@ -1153,7 +1150,6 @@ declare class ThreadDB<M extends BaseMetadata> {
|
|
|
1153
1150
|
* Will never return deleted threads in the result.
|
|
1154
1151
|
*/
|
|
1155
1152
|
findMany(roomId: string | undefined, query: ThreadsQuery<M>, direction: "asc" | "desc"): ThreadData<M>[];
|
|
1156
|
-
private touch;
|
|
1157
1153
|
}
|
|
1158
1154
|
|
|
1159
1155
|
declare type OptimisticUpdate<M extends BaseMetadata> = CreateThreadOptimisticUpdate<M> | DeleteThreadOptimisticUpdate | EditThreadMetadataOptimisticUpdate<M> | MarkThreadAsResolvedOptimisticUpdate | MarkThreadAsUnresolvedOptimisticUpdate | CreateCommentOptimisticUpdate | EditCommentOptimisticUpdate | DeleteCommentOptimisticUpdate | AddReactionOptimisticUpdate | RemoveReactionOptimisticUpdate | MarkInboxNotificationAsReadOptimisticUpdate | MarkAllInboxNotificationsAsReadOptimisticUpdate | DeleteInboxNotificationOptimisticUpdate | DeleteAllInboxNotificationsOptimisticUpdate | UpdateNotificationSettingsOptimisticUpdate;
|
|
@@ -1301,22 +1297,7 @@ declare type UmbrellaStoreState<M extends BaseMetadata> = {
|
|
|
1301
1297
|
versionsByRoomId: Record<string, Record<string, HistoryVersion>>;
|
|
1302
1298
|
};
|
|
1303
1299
|
declare class UmbrellaStore<M extends BaseMetadata> {
|
|
1304
|
-
private
|
|
1305
|
-
private _syncSource;
|
|
1306
|
-
private _rawThreadsDB;
|
|
1307
|
-
private _prevVersion;
|
|
1308
|
-
private _store;
|
|
1309
|
-
private _prevState;
|
|
1310
|
-
private _stateCached;
|
|
1311
|
-
private _notificationsLastRequestedAt;
|
|
1312
|
-
private _notifications;
|
|
1313
|
-
private _roomThreadsLastRequestedAtByRoom;
|
|
1314
|
-
private _roomThreads;
|
|
1315
|
-
private _userThreadsLastRequestedAt;
|
|
1316
|
-
private _userThreads;
|
|
1317
|
-
private _roomVersions;
|
|
1318
|
-
private _roomVersionsLastRequestedAtByRoom;
|
|
1319
|
-
private _roomNotificationSettings;
|
|
1300
|
+
#private;
|
|
1320
1301
|
constructor(client: OpaqueClient);
|
|
1321
1302
|
private get;
|
|
1322
1303
|
batch(callback: () => void): void;
|
|
@@ -1333,11 +1314,6 @@ declare class UmbrellaStore<M extends BaseMetadata> {
|
|
|
1333
1314
|
getRoomVersionsLoadingState(roomId: string): AsyncResult<HistoryVersion[], "versions">;
|
|
1334
1315
|
subscribe(callback: () => void): () => void;
|
|
1335
1316
|
_getPermissions(roomId: string): Set<Permission> | undefined;
|
|
1336
|
-
private mutateThreadsDB;
|
|
1337
|
-
private updateInboxNotificationsCache;
|
|
1338
|
-
private setNotificationSettings;
|
|
1339
|
-
private updateRoomVersions;
|
|
1340
|
-
private updateOptimisticUpdatesCache;
|
|
1341
1317
|
/**
|
|
1342
1318
|
* Updates an existing inbox notification with a new value, replacing the
|
|
1343
1319
|
* corresponding optimistic update.
|
|
@@ -1365,17 +1341,6 @@ declare class UmbrellaStore<M extends BaseMetadata> {
|
|
|
1365
1341
|
* Creates an new thread, replacing the corresponding optimistic update.
|
|
1366
1342
|
*/
|
|
1367
1343
|
createThread(optimisticUpdateId: string, thread: Readonly<ThreadDataWithDeleteInfo<M>>): void;
|
|
1368
|
-
/**
|
|
1369
|
-
* Updates an existing thread with a new value, replacing the corresponding
|
|
1370
|
-
* optimistic update.
|
|
1371
|
-
*
|
|
1372
|
-
* This will not update anything if:
|
|
1373
|
-
* - The thread ID isn't found in the cache; or
|
|
1374
|
-
* - The thread ID was already deleted from the cache; or
|
|
1375
|
-
* - The thread ID in the cache was updated more recently than the optimistic
|
|
1376
|
-
* update's timestamp (if given)
|
|
1377
|
-
*/
|
|
1378
|
-
private updateThread;
|
|
1379
1344
|
patchThread(threadId: string, optimisticUpdateId: string | null, patch: {
|
|
1380
1345
|
metadata?: M;
|
|
1381
1346
|
resolved?: boolean;
|
|
@@ -1410,7 +1375,6 @@ declare class UmbrellaStore<M extends BaseMetadata> {
|
|
|
1410
1375
|
removeOptimisticUpdate(optimisticUpdateId: string): void;
|
|
1411
1376
|
fetchNotificationsDeltaUpdate(signal: AbortSignal): Promise<void>;
|
|
1412
1377
|
waitUntilNotificationsLoaded(): UsablePromise<void>;
|
|
1413
|
-
private updateRoomPermissions;
|
|
1414
1378
|
waitUntilRoomThreadsLoaded(roomId: string, query: ThreadsQuery<M> | undefined): UsablePromise<void>;
|
|
1415
1379
|
fetchRoomThreadsDeltaUpdate(roomId: string, signal: AbortSignal): Promise<void>;
|
|
1416
1380
|
waitUntilUserThreadsLoaded(query: ThreadsQuery<M> | undefined): UsablePromise<void>;
|
|
@@ -1635,6 +1599,16 @@ declare function useRoomOrNull<P extends JsonObject, S extends LsonObject, U ext
|
|
|
1635
1599
|
declare function useStatus(): Status;
|
|
1636
1600
|
/** @private - Internal API, do not rely on it. */
|
|
1637
1601
|
declare function useReportTextEditor(editor: TextEditorType, rootKey: string): void;
|
|
1602
|
+
/** @private - Internal API, do not rely on it. */
|
|
1603
|
+
declare function useYjsProvider(): IYjsProvider | undefined;
|
|
1604
|
+
/** @private - Internal API, do not rely on it. */
|
|
1605
|
+
declare function useCreateTextMention(): (userId: string, mentionId: string) => void;
|
|
1606
|
+
/** @private - Internal API, do not rely on it. */
|
|
1607
|
+
declare function useDeleteTextMention(): (mentionId: string) => void;
|
|
1608
|
+
/** @private - Internal API, do not rely on it. */
|
|
1609
|
+
declare function useResolveMentionSuggestions(): ((args: _liveblocks_core.ResolveMentionSuggestionsArgs) => _liveblocks_core.OptionalPromise<string[]>) | undefined;
|
|
1610
|
+
/** @private - Internal API, do not rely on it. */
|
|
1611
|
+
declare function useMentionSuggestionsCache(): Map<string, string[]>;
|
|
1638
1612
|
/**
|
|
1639
1613
|
* Returns the current storage status for the Room, and triggers
|
|
1640
1614
|
* a re-render whenever it changes. Can be used to render a "Saving..."
|
|
@@ -2368,4 +2342,4 @@ declare const _useStorageRoot: TypedBundle["useStorageRoot"];
|
|
|
2368
2342
|
*/
|
|
2369
2343
|
declare const _useUpdateMyPresence: TypedBundle["useUpdateMyPresence"];
|
|
2370
2344
|
|
|
2371
|
-
export {
|
|
2345
|
+
export { _useEventListener as $, useDeleteAllInboxNotifications as A, useDeleteInboxNotification as B, CreateThreadError as C, useMarkAllInboxNotificationsAsRead as D, useMarkInboxNotificationAsRead as E, useSyncStatus as F, createRoomContext as G, _RoomProvider as H, _useAddReaction as I, useBatch as J, _useBroadcastEvent as K, LiveblocksProvider as L, type MutationContext as M, useCanRedo as N, useCanUndo as O, useCreateComment as P, _useCreateThread as Q, RoomContext as R, useDeleteComment as S, _useDeleteThread as T, type UseStorageStatusOptions as U, useEditComment as V, _useEditThreadMetadata as W, useMarkThreadAsResolved as X, useMarkThreadAsUnresolved as Y, useErrorListener as Z, _useInboxNotificationThread as _, useClientOrNull as a, useHistory as a0, _useIsInsideRoom as a1, useLostConnectionListener as a2, useMarkThreadAsRead as a3, _useMutation as a4, _useMyPresence as a5, _useOthersListener as a6, useRedo as a7, useRemoveReaction as a8, _useRoom as a9, useOthersConnectionIdsSuspense as aA, _useOthersMappedSuspense as aB, _useSelfSuspense as aC, _useStorageSuspense as aD, useStorageStatusSuspense as aE, _useThreadsSuspense as aF, useAttachmentUrlSuspense as aG, _useHistoryVersionsSuspense as aH, _useRoomNotificationSettingsSuspense as aI, useInboxNotificationsSuspense as aJ, useRoomInfoSuspense as aK, useUnreadInboxNotificationsCountSuspense as aL, _useUserSuspense as aM, _useUserThreadsSuspense_experimental as aN, useStatus as aa, _useStorageRoot as ab, useThreadSubscription as ac, useUndo as ad, _useUpdateMyPresence as ae, useUpdateRoomNotificationSettings as af, useHistoryVersionData as ag, useCommentsErrorListener as ah, _useOther as ai, _useOthers as aj, useOthersConnectionIds as ak, _useOthersMapped as al, _useSelf as am, _useStorage as an, useStorageStatus as ao, _useThreads as ap, useAttachmentUrl as aq, _useHistoryVersions as ar, _useRoomNotificationSettings as as, useInboxNotifications as at, _useUserThreads_experimental as au, useRoomInfo as av, useUnreadInboxNotificationsCount as aw, _useUser as ax, _useOtherSuspense as ay, _useOthersSuspense as az, useAddRoomCommentReaction as b, useCreateRoomComment as c, useCreateRoomThread as d, useCreateTextMention as e, useDeleteRoomComment as f, getUmbrellaStoreForClient as g, useDeleteRoomThread as h, useDeleteTextMention as i, useEditRoomComment as j, useEditRoomThreadMetadata as k, useMarkRoomThreadAsRead as l, useMarkRoomThreadAsResolved as m, useMarkRoomThreadAsUnresolved as n, useMentionSuggestionsCache as o, useRemoveRoomCommentReaction as p, useReportTextEditor as q, useResolveMentionSuggestions as r, useRoomAttachmentUrl as s, useRoomPermissions as t, useRoomOrNull as u, useYjsProvider as v, type UseThreadsOptions as w, ClientContext as x, createLiveblocksContext as y, useClient as z };
|
package/dist/suspense.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ClientSideSuspense } from './index.mjs';
|
|
2
|
-
export {
|
|
2
|
+
export { x as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, I as useAddReaction, aG as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, z as useClient, P as useCreateComment, Q as useCreateThread, A as useDeleteAllInboxNotifications, S as useDeleteComment, B as useDeleteInboxNotification, T as useDeleteThread, V as useEditComment, W as useEditThreadMetadata, Z as useErrorListener, $ as useEventListener, a0 as useHistory, aH as useHistoryVersions, _ as useInboxNotificationThread, aJ as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, X as useMarkThreadAsResolved, Y as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, ay as useOther, az as useOthers, aA as useOthersConnectionIds, a6 as useOthersListener, aB as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, aK as useRoomInfo, aI as useRoomNotificationSettings, aC as useSelf, aa as useStatus, aD as useStorage, ab as useStorageRoot, aE as useStorageStatus, F as useSyncStatus, ac as useThreadSubscription, aF as useThreads, ad as useUndo, aL as useUnreadInboxNotificationsCount, ae as useUpdateMyPresence, af as useUpdateRoomNotificationSettings, aM as useUser, aN as useUserThreads_experimental } from './room-gbqt3lTY.mjs';
|
|
3
3
|
export { Json, JsonObject, shallow } from '@liveblocks/client';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@liveblocks/core';
|
package/dist/suspense.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ClientSideSuspense } from './index.js';
|
|
2
|
-
export {
|
|
2
|
+
export { x as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, I as useAddReaction, aG as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, z as useClient, P as useCreateComment, Q as useCreateThread, A as useDeleteAllInboxNotifications, S as useDeleteComment, B as useDeleteInboxNotification, T as useDeleteThread, V as useEditComment, W as useEditThreadMetadata, Z as useErrorListener, $ as useEventListener, a0 as useHistory, aH as useHistoryVersions, _ as useInboxNotificationThread, aJ as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, X as useMarkThreadAsResolved, Y as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, ay as useOther, az as useOthers, aA as useOthersConnectionIds, a6 as useOthersListener, aB as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, aK as useRoomInfo, aI as useRoomNotificationSettings, aC as useSelf, aa as useStatus, aD as useStorage, ab as useStorageRoot, aE as useStorageStatus, F as useSyncStatus, ac as useThreadSubscription, aF as useThreads, ad as useUndo, aL as useUnreadInboxNotificationsCount, ae as useUpdateMyPresence, af as useUpdateRoomNotificationSettings, aM as useUser, aN as useUserThreads_experimental } from './room-gbqt3lTY.js';
|
|
3
3
|
export { Json, JsonObject, shallow } from '@liveblocks/client';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@liveblocks/core';
|
package/dist/suspense.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkFPO6VPFAjs = require('./chunk-FPO6VPFA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -63,12 +63,12 @@ var _chunkRWQ74ZK6js = require('./chunk-RWQ74ZK6.js');
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
var
|
|
66
|
+
var _chunk7ZCTUIE6js = require('./chunk-7ZCTUIE6.js');
|
|
67
67
|
|
|
68
68
|
// src/suspense.ts
|
|
69
69
|
var _core = require('@liveblocks/core');
|
|
70
70
|
var _client = require('@liveblocks/client');
|
|
71
|
-
_core.detectDupes.call(void 0,
|
|
71
|
+
_core.detectDupes.call(void 0, _chunkFPO6VPFAjs.PKG_NAME, _chunkFPO6VPFAjs.PKG_VERSION, _chunkFPO6VPFAjs.PKG_FORMAT);
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
|
|
@@ -130,5 +130,5 @@ _core.detectDupes.call(void 0, _chunkRWQ74ZK6js.PKG_NAME, _chunkRWQ74ZK6js.PKG_V
|
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
|
|
133
|
-
exports.ClientContext =
|
|
133
|
+
exports.ClientContext = _chunk7ZCTUIE6js.ClientContext; exports.ClientSideSuspense = _chunkFPO6VPFAjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk7ZCTUIE6js.LiveblocksProvider; exports.RoomContext = _chunk7ZCTUIE6js.RoomContext; exports.RoomProvider = _chunk7ZCTUIE6js._RoomProvider; exports.shallow = _client.shallow; exports.useAddReaction = _chunk7ZCTUIE6js._useAddReaction; exports.useAttachmentUrl = _chunk7ZCTUIE6js.useAttachmentUrlSuspense; exports.useBatch = _chunk7ZCTUIE6js.useBatch; exports.useBroadcastEvent = _chunk7ZCTUIE6js._useBroadcastEvent; exports.useCanRedo = _chunk7ZCTUIE6js.useCanRedo; exports.useCanUndo = _chunk7ZCTUIE6js.useCanUndo; exports.useClient = _chunk7ZCTUIE6js.useClient; exports.useCreateComment = _chunk7ZCTUIE6js.useCreateComment; exports.useCreateThread = _chunk7ZCTUIE6js._useCreateThread; exports.useDeleteAllInboxNotifications = _chunk7ZCTUIE6js.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk7ZCTUIE6js.useDeleteComment; exports.useDeleteInboxNotification = _chunk7ZCTUIE6js.useDeleteInboxNotification; exports.useDeleteThread = _chunk7ZCTUIE6js._useDeleteThread; exports.useEditComment = _chunk7ZCTUIE6js.useEditComment; exports.useEditThreadMetadata = _chunk7ZCTUIE6js._useEditThreadMetadata; exports.useErrorListener = _chunk7ZCTUIE6js.useErrorListener; exports.useEventListener = _chunk7ZCTUIE6js._useEventListener; exports.useHistory = _chunk7ZCTUIE6js.useHistory; exports.useHistoryVersions = _chunk7ZCTUIE6js._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunk7ZCTUIE6js._useInboxNotificationThread; exports.useInboxNotifications = _chunk7ZCTUIE6js.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunk7ZCTUIE6js._useIsInsideRoom; exports.useLostConnectionListener = _chunk7ZCTUIE6js.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk7ZCTUIE6js.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk7ZCTUIE6js.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk7ZCTUIE6js.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk7ZCTUIE6js.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk7ZCTUIE6js.useMarkThreadAsUnresolved; exports.useMutation = _chunk7ZCTUIE6js._useMutation; exports.useMyPresence = _chunk7ZCTUIE6js._useMyPresence; exports.useOther = _chunk7ZCTUIE6js._useOtherSuspense; exports.useOthers = _chunk7ZCTUIE6js._useOthersSuspense; exports.useOthersConnectionIds = _chunk7ZCTUIE6js.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunk7ZCTUIE6js._useOthersListener; exports.useOthersMapped = _chunk7ZCTUIE6js._useOthersMappedSuspense; exports.useRedo = _chunk7ZCTUIE6js.useRedo; exports.useRemoveReaction = _chunk7ZCTUIE6js.useRemoveReaction; exports.useRoom = _chunk7ZCTUIE6js._useRoom; exports.useRoomInfo = _chunk7ZCTUIE6js.useRoomInfoSuspense; exports.useRoomNotificationSettings = _chunk7ZCTUIE6js._useRoomNotificationSettingsSuspense; exports.useSelf = _chunk7ZCTUIE6js._useSelfSuspense; exports.useStatus = _chunk7ZCTUIE6js.useStatus; exports.useStorage = _chunk7ZCTUIE6js._useStorageSuspense; exports.useStorageRoot = _chunk7ZCTUIE6js._useStorageRoot; exports.useStorageStatus = _chunk7ZCTUIE6js.useStorageStatusSuspense; exports.useSyncStatus = _chunk7ZCTUIE6js.useSyncStatus; exports.useThreadSubscription = _chunk7ZCTUIE6js.useThreadSubscription; exports.useThreads = _chunk7ZCTUIE6js._useThreadsSuspense; exports.useUndo = _chunk7ZCTUIE6js.useUndo; exports.useUnreadInboxNotificationsCount = _chunk7ZCTUIE6js.useUnreadInboxNotificationsCountSuspense; exports.useUpdateMyPresence = _chunk7ZCTUIE6js._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunk7ZCTUIE6js.useUpdateRoomNotificationSettings; exports.useUser = _chunk7ZCTUIE6js._useUserSuspense; exports.useUserThreads_experimental = _chunk7ZCTUIE6js._useUserThreadsSuspense_experimental;
|
|
134
134
|
//# sourceMappingURL=suspense.js.map
|
package/dist/suspense.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
PKG_FORMAT,
|
|
4
4
|
PKG_NAME,
|
|
5
5
|
PKG_VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CAMSPWNT.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ClientContext,
|
|
9
9
|
LiveblocksProvider,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
useUndo,
|
|
64
64
|
useUnreadInboxNotificationsCountSuspense,
|
|
65
65
|
useUpdateRoomNotificationSettings
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-BYPL4Y26.mjs";
|
|
67
67
|
|
|
68
68
|
// src/suspense.ts
|
|
69
69
|
import { detectDupes } from "@liveblocks/core";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0-v2encoding",
|
|
4
4
|
"description": "A set of React hooks and providers to use Liveblocks declaratively. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"showdeps": "depcruise src --include-only '^src' --exclude='__tests__' --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@liveblocks/client": "2.
|
|
65
|
-
"@liveblocks/core": "2.
|
|
64
|
+
"@liveblocks/client": "2.14.0-v2encoding",
|
|
65
|
+
"@liveblocks/core": "2.14.0-v2encoding",
|
|
66
66
|
"use-sync-external-store": "^1.2.2"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|