@liveblocks/react 2.24.0-deque1 → 2.24.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 +7 -5
- package/dist/_private.cjs.map +1 -1
- package/dist/_private.d.cts +1 -1
- package/dist/_private.d.ts +1 -1
- package/dist/_private.js +3 -1
- package/dist/_private.js.map +1 -1
- package/dist/{chunk-L4OEDVVN.js → chunk-2GC6FA36.js} +2 -2
- package/dist/{chunk-C337YEKB.cjs → chunk-32HQP5F6.cjs} +486 -137
- package/dist/chunk-32HQP5F6.cjs.map +1 -0
- package/dist/{chunk-LFSDRNVE.cjs → chunk-F2Y7N4WI.cjs} +2 -2
- package/dist/{chunk-LFSDRNVE.cjs.map → chunk-F2Y7N4WI.cjs.map} +1 -1
- package/dist/{chunk-URVBSXYW.js → chunk-N6OQQVYV.js} +501 -152
- package/dist/chunk-N6OQQVYV.js.map +1 -0
- package/dist/index.cjs +12 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/{room-CqmA66N2.d.cts → room-CqT08uWZ.d.cts} +210 -70
- package/dist/{room-CqmA66N2.d.ts → room-CqT08uWZ.d.ts} +210 -70
- package/dist/suspense.cjs +12 -4
- package/dist/suspense.cjs.map +1 -1
- package/dist/suspense.d.cts +1 -1
- package/dist/suspense.d.ts +1 -1
- package/dist/suspense.js +11 -3
- package/dist/suspense.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-C337YEKB.cjs.map +0 -1
- package/dist/chunk-URVBSXYW.js.map +0 -1
- /package/dist/{chunk-L4OEDVVN.js.map → chunk-2GC6FA36.js.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkF2Y7N4WIcjs = require('./chunk-F2Y7N4WI.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -68,12 +68,20 @@ var _chunkLFSDRNVEcjs = require('./chunk-LFSDRNVE.cjs');
|
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
var _chunk32HQP5F6cjs = require('./chunk-32HQP5F6.cjs');
|
|
72
76
|
|
|
73
77
|
// src/index.ts
|
|
74
78
|
var _core = require('@liveblocks/core');
|
|
75
79
|
var _client = require('@liveblocks/client');
|
|
76
|
-
_core.detectDupes.call(void 0,
|
|
80
|
+
_core.detectDupes.call(void 0, _chunkF2Y7N4WIcjs.PKG_NAME, _chunkF2Y7N4WIcjs.PKG_VERSION, _chunkF2Y7N4WIcjs.PKG_FORMAT);
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
77
85
|
|
|
78
86
|
|
|
79
87
|
|
|
@@ -141,5 +149,5 @@ _core.detectDupes.call(void 0, _chunkLFSDRNVEcjs.PKG_NAME, _chunkLFSDRNVEcjs.PKG
|
|
|
141
149
|
|
|
142
150
|
|
|
143
151
|
|
|
144
|
-
exports.ClientContext =
|
|
152
|
+
exports.ClientContext = _chunk32HQP5F6cjs.ClientContext; exports.ClientSideSuspense = _chunkF2Y7N4WIcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk32HQP5F6cjs.LiveblocksProvider; exports.RoomContext = _chunk32HQP5F6cjs.RoomContext; exports.RoomProvider = _chunk32HQP5F6cjs._RoomProvider; exports.createLiveblocksContext = _chunk32HQP5F6cjs.createLiveblocksContext; exports.createRoomContext = _chunk32HQP5F6cjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunk32HQP5F6cjs._useAddReaction; exports.useAttachmentUrl = _chunk32HQP5F6cjs.useAttachmentUrl; exports.useBatch = _chunk32HQP5F6cjs.useBatch; exports.useBroadcastEvent = _chunk32HQP5F6cjs._useBroadcastEvent; exports.useCanRedo = _chunk32HQP5F6cjs.useCanRedo; exports.useCanUndo = _chunk32HQP5F6cjs.useCanUndo; exports.useClient = _chunk32HQP5F6cjs.useClient; exports.useCreateComment = _chunk32HQP5F6cjs.useCreateComment; exports.useCreateThread = _chunk32HQP5F6cjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunk32HQP5F6cjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk32HQP5F6cjs.useDeleteComment; exports.useDeleteInboxNotification = _chunk32HQP5F6cjs.useDeleteInboxNotification; exports.useDeleteThread = _chunk32HQP5F6cjs._useDeleteThread; exports.useEditComment = _chunk32HQP5F6cjs.useEditComment; exports.useEditThreadMetadata = _chunk32HQP5F6cjs._useEditThreadMetadata; exports.useErrorListener = _chunk32HQP5F6cjs.useErrorListener; exports.useEventListener = _chunk32HQP5F6cjs._useEventListener; exports.useHistory = _chunk32HQP5F6cjs.useHistory; exports.useHistoryVersionData = _chunk32HQP5F6cjs.useHistoryVersionData; exports.useHistoryVersions = _chunk32HQP5F6cjs._useHistoryVersions; exports.useInboxNotificationThread = _chunk32HQP5F6cjs._useInboxNotificationThread; exports.useInboxNotifications = _chunk32HQP5F6cjs.useInboxNotifications; exports.useIsInsideRoom = _chunk32HQP5F6cjs._useIsInsideRoom; exports.useLostConnectionListener = _chunk32HQP5F6cjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk32HQP5F6cjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk32HQP5F6cjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk32HQP5F6cjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk32HQP5F6cjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk32HQP5F6cjs.useMarkThreadAsUnresolved; exports.useMutation = _chunk32HQP5F6cjs._useMutation; exports.useMyPresence = _chunk32HQP5F6cjs._useMyPresence; exports.useNotificationSettings = _chunk32HQP5F6cjs.useNotificationSettings; exports.useOther = _chunk32HQP5F6cjs._useOther; exports.useOthers = _chunk32HQP5F6cjs._useOthers; exports.useOthersConnectionIds = _chunk32HQP5F6cjs.useOthersConnectionIds; exports.useOthersListener = _chunk32HQP5F6cjs._useOthersListener; exports.useOthersMapped = _chunk32HQP5F6cjs._useOthersMapped; exports.useRedo = _chunk32HQP5F6cjs.useRedo; exports.useRemoveReaction = _chunk32HQP5F6cjs.useRemoveReaction; exports.useRoom = _chunk32HQP5F6cjs._useRoom; exports.useRoomInfo = _chunk32HQP5F6cjs.useRoomInfo; exports.useRoomNotificationSettings = _chunk32HQP5F6cjs._useRoomNotificationSettings; exports.useRoomSubscriptionSettings = _chunk32HQP5F6cjs._useRoomSubscriptionSettings; exports.useSelf = _chunk32HQP5F6cjs._useSelf; exports.useStatus = _chunk32HQP5F6cjs.useStatus; exports.useStorage = _chunk32HQP5F6cjs._useStorage; exports.useStorageRoot = _chunk32HQP5F6cjs._useStorageRoot; exports.useStorageStatus = _chunk32HQP5F6cjs.useStorageStatus; exports.useSubscribeToThread = _chunk32HQP5F6cjs.useSubscribeToThread; exports.useSyncStatus = _chunk32HQP5F6cjs.useSyncStatus; exports.useThreadSubscription = _chunk32HQP5F6cjs.useThreadSubscription; exports.useThreads = _chunk32HQP5F6cjs._useThreads; exports.useUndo = _chunk32HQP5F6cjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunk32HQP5F6cjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunk32HQP5F6cjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunk32HQP5F6cjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunk32HQP5F6cjs.useUpdateNotificationSettings; exports.useUpdateRoomNotificationSettings = _chunk32HQP5F6cjs.useUpdateRoomNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunk32HQP5F6cjs.useUpdateRoomSubscriptionSettings; exports.useUser = _chunk32HQP5F6cjs._useUser; exports.useUserThreads_experimental = _chunk32HQP5F6cjs._useUserThreads_experimental;
|
|
145
153
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","../src/index.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","../src/index.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;AC3EA,wCAA4B;AAc5B,4CAAsD;AAXtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;AD4E7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uhJAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","sourcesContent":[null,"/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useUpdateRoomSubscriptionSettings,\n useHistoryVersionData,\n} from \"./room\";\n\n// Export the classic (non-Suspense) versions of our hooks\n// (This part differs from src/suspense.ts)\nexport {\n useOther,\n useOthers,\n useOthersConnectionIds,\n useOthersMapped,\n useSelf,\n useStorage,\n useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext,
|
|
1
|
+
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, x as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aq as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, P as useCreateComment, Q as useCreateThread, z as useDeleteAllInboxNotifications, R as useDeleteComment, A as useDeleteInboxNotification, S as useDeleteThread, T as useEditComment, V as useEditThreadMetadata, B as useErrorListener, $ as useEventListener, a0 as useHistory, ah as useHistoryVersionData, ar as useHistoryVersions, _ as useInboxNotificationThread, au as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, W as useMarkThreadAsResolved, X as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, av as useNotificationSettings, ai as useOther, aj as useOthers, ak as useOthersConnectionIds, a6 as useOthersListener, al as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, ay as useRoomInfo, as as useRoomNotificationSettings, at as useRoomSubscriptionSettings, am as useSelf, aa as useStatus, an as useStorage, ab as useStorageRoot, ao as useStorageStatus, Y as useSubscribeToThread, F as useSyncStatus, ac as useThreadSubscription, ap as useThreads, ad as useUndo, az as useUnreadInboxNotificationsCount, Z as useUnsubscribeFromThread, ae as useUpdateMyPresence, aw as useUpdateNotificationSettings, af as useUpdateRoomNotificationSettings, ag as useUpdateRoomSubscriptionSettings, aA as useUser, ax as useUserThreads_experimental } from './room-CqT08uWZ.cjs';
|
|
2
2
|
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext,
|
|
1
|
+
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, x as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aq as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, P as useCreateComment, Q as useCreateThread, z as useDeleteAllInboxNotifications, R as useDeleteComment, A as useDeleteInboxNotification, S as useDeleteThread, T as useEditComment, V as useEditThreadMetadata, B as useErrorListener, $ as useEventListener, a0 as useHistory, ah as useHistoryVersionData, ar as useHistoryVersions, _ as useInboxNotificationThread, au as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, W as useMarkThreadAsResolved, X as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, av as useNotificationSettings, ai as useOther, aj as useOthers, ak as useOthersConnectionIds, a6 as useOthersListener, al as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, ay as useRoomInfo, as as useRoomNotificationSettings, at as useRoomSubscriptionSettings, am as useSelf, aa as useStatus, an as useStorage, ab as useStorageRoot, ao as useStorageStatus, Y as useSubscribeToThread, F as useSyncStatus, ac as useThreadSubscription, ap as useThreads, ad as useUndo, az as useUnreadInboxNotificationsCount, Z as useUnsubscribeFromThread, ae as useUpdateMyPresence, aw as useUpdateNotificationSettings, af as useUpdateRoomNotificationSettings, ag as useUpdateRoomSubscriptionSettings, aA as useUser, ax as useUserThreads_experimental } from './room-CqT08uWZ.js';
|
|
2
2
|
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
PKG_FORMAT,
|
|
4
4
|
PKG_NAME,
|
|
5
5
|
PKG_VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2GC6FA36.js";
|
|
7
7
|
import {
|
|
8
8
|
ClientContext,
|
|
9
9
|
LiveblocksProvider,
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
_useOthersMapped,
|
|
27
27
|
_useRoom,
|
|
28
28
|
_useRoomNotificationSettings,
|
|
29
|
+
_useRoomSubscriptionSettings,
|
|
29
30
|
_useSelf,
|
|
30
31
|
_useStorage,
|
|
31
32
|
_useStorageRoot,
|
|
@@ -62,13 +63,16 @@ import {
|
|
|
62
63
|
useRoomInfo,
|
|
63
64
|
useStatus,
|
|
64
65
|
useStorageStatus,
|
|
66
|
+
useSubscribeToThread,
|
|
65
67
|
useSyncStatus,
|
|
66
68
|
useThreadSubscription,
|
|
67
69
|
useUndo,
|
|
68
70
|
useUnreadInboxNotificationsCount,
|
|
71
|
+
useUnsubscribeFromThread,
|
|
69
72
|
useUpdateNotificationSettings,
|
|
70
|
-
useUpdateRoomNotificationSettings
|
|
71
|
-
|
|
73
|
+
useUpdateRoomNotificationSettings,
|
|
74
|
+
useUpdateRoomSubscriptionSettings
|
|
75
|
+
} from "./chunk-N6OQQVYV.js";
|
|
72
76
|
|
|
73
77
|
// src/index.ts
|
|
74
78
|
import { detectDupes } from "@liveblocks/core";
|
|
@@ -126,19 +130,23 @@ export {
|
|
|
126
130
|
_useRoom as useRoom,
|
|
127
131
|
useRoomInfo,
|
|
128
132
|
_useRoomNotificationSettings as useRoomNotificationSettings,
|
|
133
|
+
_useRoomSubscriptionSettings as useRoomSubscriptionSettings,
|
|
129
134
|
_useSelf as useSelf,
|
|
130
135
|
useStatus,
|
|
131
136
|
_useStorage as useStorage,
|
|
132
137
|
_useStorageRoot as useStorageRoot,
|
|
133
138
|
useStorageStatus,
|
|
139
|
+
useSubscribeToThread,
|
|
134
140
|
useSyncStatus,
|
|
135
141
|
useThreadSubscription,
|
|
136
142
|
_useThreads as useThreads,
|
|
137
143
|
useUndo,
|
|
138
144
|
useUnreadInboxNotificationsCount,
|
|
145
|
+
useUnsubscribeFromThread,
|
|
139
146
|
_useUpdateMyPresence as useUpdateMyPresence,
|
|
140
147
|
useUpdateNotificationSettings,
|
|
141
148
|
useUpdateRoomNotificationSettings,
|
|
149
|
+
useUpdateRoomSubscriptionSettings,
|
|
142
150
|
_useUser as useUser,
|
|
143
151
|
_useUserThreads_experimental as useUserThreads_experimental
|
|
144
152
|
};
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useHistoryVersionData,\n} from \"./room\";\n\n// Export the classic (non-Suspense) versions of our hooks\n// (This part differs from src/suspense.ts)\nexport {\n useOther,\n useOthers,\n useOthersConnectionIds,\n useOthersMapped,\n useSelf,\n useStorage,\n useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useUpdateRoomSubscriptionSettings,\n useHistoryVersionData,\n} from \"./room\";\n\n// Export the classic (non-Suspense) versions of our hooks\n// (This part differs from src/suspense.ts)\nexport {\n useOther,\n useOthers,\n useOthersConnectionIds,\n useOthersMapped,\n useSelf,\n useStorage,\n useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAc5B,SAAS,SAAS,oCAAoC;AAXtD,YAAY,UAAU,aAAa,UAAU;","names":[]}
|