@liveblocks/react 3.13.0-metadata1 → 3.13.0-vincent1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_private.cjs +7 -7
- package/dist/_private.d.cts +2 -2
- package/dist/_private.d.ts +2 -2
- package/dist/_private.js +1 -1
- package/dist/{chunk-UTYX6TS4.cjs → chunk-5I7TKGJB.cjs} +17 -171
- package/dist/chunk-5I7TKGJB.cjs.map +1 -0
- package/dist/{chunk-5WSMZNJK.js → chunk-7EY432UH.js} +2 -2
- package/dist/{chunk-LGJ7R5KY.js → chunk-CCOIV25T.js} +18 -172
- package/dist/chunk-CCOIV25T.js.map +1 -0
- package/dist/{chunk-43FP2UXY.cjs → chunk-JV37Z4SU.cjs} +2 -2
- package/dist/{chunk-43FP2UXY.cjs.map → chunk-JV37Z4SU.cjs.map} +1 -1
- package/dist/index.cjs +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -8
- package/dist/index.js.map +1 -1
- package/dist/{room-N2gjE_Co.d.cts → room-BadENFHi.d.cts} +113 -143
- package/dist/{room-N2gjE_Co.d.ts → room-BadENFHi.d.ts} +113 -143
- package/dist/suspense.cjs +4 -6
- 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 +6 -8
- package/dist/suspense.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-LGJ7R5KY.js.map +0 -1
- package/dist/chunk-UTYX6TS4.cjs.map +0 -1
- /package/dist/{chunk-5WSMZNJK.js.map → chunk-7EY432UH.js.map} +0 -0
package/dist/suspense.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJV37Z4SUcjs = require('./chunk-JV37Z4SU.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -76,14 +76,12 @@ var _chunk43FP2UXYcjs = require('./chunk-43FP2UXY.cjs');
|
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
var _chunkUTYX6TS4cjs = require('./chunk-UTYX6TS4.cjs');
|
|
79
|
+
var _chunk5I7TKGJBcjs = require('./chunk-5I7TKGJB.cjs');
|
|
81
80
|
|
|
82
81
|
// src/suspense.ts
|
|
83
82
|
var _core = require('@liveblocks/core');
|
|
84
83
|
var _client = require('@liveblocks/client');
|
|
85
|
-
_core.detectDupes.call(void 0,
|
|
86
|
-
|
|
84
|
+
_core.detectDupes.call(void 0, _chunkJV37Z4SUcjs.PKG_NAME, _chunkJV37Z4SUcjs.PKG_VERSION, _chunkJV37Z4SUcjs.PKG_FORMAT);
|
|
87
85
|
|
|
88
86
|
|
|
89
87
|
|
|
@@ -159,5 +157,5 @@ _core.detectDupes.call(void 0, _chunk43FP2UXYcjs.PKG_NAME, _chunk43FP2UXYcjs.PKG
|
|
|
159
157
|
|
|
160
158
|
|
|
161
159
|
|
|
162
|
-
exports.ClientContext =
|
|
160
|
+
exports.ClientContext = _chunk5I7TKGJBcjs.ClientContext; exports.ClientSideSuspense = _chunkJV37Z4SUcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk5I7TKGJBcjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunk5I7TKGJBcjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunk5I7TKGJBcjs.RegisterAiTool; exports.RoomContext = _chunk5I7TKGJBcjs.RoomContext; exports.RoomProvider = _chunk5I7TKGJBcjs._RoomProvider; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunk5I7TKGJBcjs._useAddReaction; exports.useAiChat = _chunk5I7TKGJBcjs._useAiChatSuspense; exports.useAiChatMessages = _chunk5I7TKGJBcjs._useAiChatMessagesSuspense; exports.useAiChatStatus = _chunk5I7TKGJBcjs.useAiChatStatus; exports.useAiChats = _chunk5I7TKGJBcjs._useAiChatsSuspense; exports.useAttachmentUrl = _chunk5I7TKGJBcjs.useAttachmentUrlSuspense; exports.useBroadcastEvent = _chunk5I7TKGJBcjs._useBroadcastEvent; exports.useCanRedo = _chunk5I7TKGJBcjs.useCanRedo; exports.useCanUndo = _chunk5I7TKGJBcjs.useCanUndo; exports.useClient = _chunk5I7TKGJBcjs.useClient; exports.useCreateAiChat = _chunk5I7TKGJBcjs.useCreateAiChat; exports.useCreateComment = _chunk5I7TKGJBcjs.useCreateComment; exports.useCreateThread = _chunk5I7TKGJBcjs._useCreateThread; exports.useDeleteAiChat = _chunk5I7TKGJBcjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunk5I7TKGJBcjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk5I7TKGJBcjs.useDeleteComment; exports.useDeleteInboxNotification = _chunk5I7TKGJBcjs.useDeleteInboxNotification; exports.useDeleteThread = _chunk5I7TKGJBcjs._useDeleteThread; exports.useEditComment = _chunk5I7TKGJBcjs.useEditComment; exports.useEditThreadMetadata = _chunk5I7TKGJBcjs._useEditThreadMetadata; exports.useErrorListener = _chunk5I7TKGJBcjs.useErrorListener; exports.useEventListener = _chunk5I7TKGJBcjs._useEventListener; exports.useGroupInfo = _chunk5I7TKGJBcjs.useGroupInfoSuspense; exports.useHistory = _chunk5I7TKGJBcjs.useHistory; exports.useHistoryVersions = _chunk5I7TKGJBcjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunk5I7TKGJBcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunk5I7TKGJBcjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunk5I7TKGJBcjs._useIsInsideRoom; exports.useLostConnectionListener = _chunk5I7TKGJBcjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk5I7TKGJBcjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk5I7TKGJBcjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk5I7TKGJBcjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk5I7TKGJBcjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk5I7TKGJBcjs.useMarkThreadAsUnresolved; exports.useMutation = _chunk5I7TKGJBcjs._useMutation; exports.useMyPresence = _chunk5I7TKGJBcjs._useMyPresence; exports.useNotificationSettings = _chunk5I7TKGJBcjs.useNotificationSettingsSuspense; exports.useOther = _chunk5I7TKGJBcjs._useOtherSuspense; exports.useOthers = _chunk5I7TKGJBcjs._useOthersSuspense; exports.useOthersConnectionIds = _chunk5I7TKGJBcjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunk5I7TKGJBcjs._useOthersListener; exports.useOthersMapped = _chunk5I7TKGJBcjs._useOthersMappedSuspense; exports.useRedo = _chunk5I7TKGJBcjs.useRedo; exports.useRemoveReaction = _chunk5I7TKGJBcjs.useRemoveReaction; exports.useRoom = _chunk5I7TKGJBcjs._useRoom; exports.useRoomInfo = _chunk5I7TKGJBcjs.useRoomInfoSuspense; exports.useRoomSubscriptionSettings = _chunk5I7TKGJBcjs._useRoomSubscriptionSettingsSuspense; exports.useSelf = _chunk5I7TKGJBcjs._useSelfSuspense; exports.useSendAiMessage = _chunk5I7TKGJBcjs.useSendAiMessage; exports.useStatus = _chunk5I7TKGJBcjs.useStatus; exports.useStorage = _chunk5I7TKGJBcjs._useStorageSuspense; exports.useStorageRoot = _chunk5I7TKGJBcjs._useStorageRoot; exports.useSubscribeToThread = _chunk5I7TKGJBcjs.useSubscribeToThread; exports.useSyncStatus = _chunk5I7TKGJBcjs.useSyncStatus; exports.useThreadSubscription = _chunk5I7TKGJBcjs.useThreadSubscription; exports.useThreads = _chunk5I7TKGJBcjs._useThreadsSuspense; exports.useUndo = _chunk5I7TKGJBcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunk5I7TKGJBcjs.useUnreadInboxNotificationsCountSuspense; exports.useUnsubscribeFromThread = _chunk5I7TKGJBcjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunk5I7TKGJBcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunk5I7TKGJBcjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunk5I7TKGJBcjs.useUpdateRoomSubscriptionSettings; exports.useUrlMetadata = _chunk5I7TKGJBcjs._useUrlMetadataSuspense; exports.useUser = _chunk5I7TKGJBcjs._useUserSuspense; exports.useUserThreads_experimental = _chunk5I7TKGJBcjs._useUserThreadsSuspense_experimental;
|
|
163
161
|
//# sourceMappingURL=suspense.cjs.map
|
package/dist/suspense.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/suspense.cjs","../src/suspense.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;AACA;AACA;AACA;AACA;
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/suspense.cjs","../src/suspense.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;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;AC/EA,wCAA4B;AAe5B,4CAAsD;AAZtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;ADgF7C;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;AACA;AACA;AACA;AACA;AACF,o1JAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/suspense.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 UseSendAiMessageOptions,\n UseThreadsOptions,\n SendAiMessageOptions,\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 { ClientContext, RoomContext, useClient } from \"./contexts\";\nexport { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport {\n LiveblocksProvider,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useSyncStatus,\n useErrorListener,\n} from \"./liveblocks\";\nexport {\n RoomProvider,\n useAddReaction,\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 useUpdateRoomSubscriptionSettings,\n} from \"./room\";\n\n// Export the Suspense versions of our hooks\n// (This part differs from src/index.ts)\nexport {\n useOtherSuspense as useOther,\n useOthersSuspense as useOthers,\n useOthersConnectionIdsSuspense as useOthersConnectionIds,\n useOthersMappedSuspense as useOthersMapped,\n useSelfSuspense as useSelf,\n useStorageSuspense as useStorage,\n useThreadsSuspense as useThreads,\n useAttachmentUrlSuspense as useAttachmentUrl,\n useHistoryVersionsSuspense as useHistoryVersions,\n useRoomSubscriptionSettingsSuspense as useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotificationsSuspense as useInboxNotifications,\n useNotificationSettingsSuspense as useNotificationSettings,\n useRoomInfoSuspense as useRoomInfo,\n useGroupInfoSuspense as useGroupInfo,\n useUnreadInboxNotificationsCountSuspense as useUnreadInboxNotificationsCount,\n useUserSuspense as useUser,\n useUserThreadsSuspense_experimental as useUserThreads_experimental,\n useAiChatsSuspense as useAiChats,\n useAiChatMessagesSuspense as useAiChatMessages,\n useAiChatSuspense as useAiChat,\n useAiChatStatus,\n useUrlMetadataSuspense as useUrlMetadata,\n} from \"./liveblocks\";\n"]}
|
package/dist/suspense.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ClientSideSuspense, RegisterAiKnowledge, RegisterAiTool } from './index.cjs';
|
|
2
|
-
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, w as RegisterAiToolProps, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, O as useAddReaction,
|
|
2
|
+
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, w as RegisterAiToolProps, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, O as useAddReaction, b4 as useAiChat, b3 as useAiChatMessages, aL as useAiChatStatus, b2 as useAiChats, aU as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aA as useCreateAiChat, V as useCreateComment, W as useCreateThread, aB as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, $ as useEditThreadMetadata, F as useErrorListener, a4 as useEventListener, a_ as useGroupInfo, a5 as useHistory, aV as useHistoryVersions, _ as useInboxNotificationThread, aX as useInboxNotifications, a6 as useIsInsideRoom, a7 as useLostConnectionListener, H as useMarkAllInboxNotificationsAsRead, I as useMarkInboxNotificationAsRead, a8 as useMarkThreadAsRead, a0 as useMarkThreadAsResolved, a1 as useMarkThreadAsUnresolved, a9 as useMutation, aa as useMyPresence, aY as useNotificationSettings, aN as useOther, aO as useOthers, aP as useOthersConnectionIds, ab as useOthersListener, aQ as useOthersMapped, ac as useRedo, ad as useRemoveReaction, ae as useRoom, aZ as useRoomInfo, aW as useRoomSubscriptionSettings, aR as useSelf, aC as useSendAiMessage, af as useStatus, aS as useStorage, ag as useStorageRoot, a2 as useSubscribeToThread, J as useSyncStatus, ah as useThreadSubscription, aT as useThreads, ai as useUndo, a$ as useUnreadInboxNotificationsCount, a3 as useUnsubscribeFromThread, aj as useUpdateMyPresence, az as useUpdateNotificationSettings, ak as useUpdateRoomSubscriptionSettings, b5 as useUrlMetadata, b0 as useUser, b1 as useUserThreads_experimental } from './room-BadENFHi.cjs';
|
|
3
3
|
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
package/dist/suspense.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ClientSideSuspense, RegisterAiKnowledge, RegisterAiTool } from './index.js';
|
|
2
|
-
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, w as RegisterAiToolProps, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, O as useAddReaction,
|
|
2
|
+
export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, w as RegisterAiToolProps, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, O as useAddReaction, b4 as useAiChat, b3 as useAiChatMessages, aL as useAiChatStatus, b2 as useAiChats, aU as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aA as useCreateAiChat, V as useCreateComment, W as useCreateThread, aB as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, $ as useEditThreadMetadata, F as useErrorListener, a4 as useEventListener, a_ as useGroupInfo, a5 as useHistory, aV as useHistoryVersions, _ as useInboxNotificationThread, aX as useInboxNotifications, a6 as useIsInsideRoom, a7 as useLostConnectionListener, H as useMarkAllInboxNotificationsAsRead, I as useMarkInboxNotificationAsRead, a8 as useMarkThreadAsRead, a0 as useMarkThreadAsResolved, a1 as useMarkThreadAsUnresolved, a9 as useMutation, aa as useMyPresence, aY as useNotificationSettings, aN as useOther, aO as useOthers, aP as useOthersConnectionIds, ab as useOthersListener, aQ as useOthersMapped, ac as useRedo, ad as useRemoveReaction, ae as useRoom, aZ as useRoomInfo, aW as useRoomSubscriptionSettings, aR as useSelf, aC as useSendAiMessage, af as useStatus, aS as useStorage, ag as useStorageRoot, a2 as useSubscribeToThread, J as useSyncStatus, ah as useThreadSubscription, aT as useThreads, ai as useUndo, a$ as useUnreadInboxNotificationsCount, a3 as useUnsubscribeFromThread, aj as useUpdateMyPresence, az as useUpdateNotificationSettings, ak as useUpdateRoomSubscriptionSettings, b5 as useUrlMetadata, b0 as useUser, b1 as useUserThreads_experimental } from './room-BadENFHi.js';
|
|
3
3
|
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
package/dist/suspense.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-7EY432UH.js";
|
|
7
7
|
import {
|
|
8
8
|
ClientContext,
|
|
9
9
|
LiveblocksProvider,
|
|
@@ -16,11 +16,8 @@ import {
|
|
|
16
16
|
_useAiChatSuspense,
|
|
17
17
|
_useAiChatsSuspense,
|
|
18
18
|
_useBroadcastEvent,
|
|
19
|
-
_useCreateComment,
|
|
20
19
|
_useCreateThread,
|
|
21
20
|
_useDeleteThread,
|
|
22
|
-
_useEditComment,
|
|
23
|
-
_useEditCommentMetadata,
|
|
24
21
|
_useEditThreadMetadata,
|
|
25
22
|
_useEventListener,
|
|
26
23
|
_useHistoryVersionsSuspense,
|
|
@@ -48,10 +45,12 @@ import {
|
|
|
48
45
|
useCanUndo,
|
|
49
46
|
useClient,
|
|
50
47
|
useCreateAiChat,
|
|
48
|
+
useCreateComment,
|
|
51
49
|
useDeleteAiChat,
|
|
52
50
|
useDeleteAllInboxNotifications,
|
|
53
51
|
useDeleteComment,
|
|
54
52
|
useDeleteInboxNotification,
|
|
53
|
+
useEditComment,
|
|
55
54
|
useErrorListener,
|
|
56
55
|
useGroupInfoSuspense,
|
|
57
56
|
useHistory,
|
|
@@ -77,7 +76,7 @@ import {
|
|
|
77
76
|
useUnsubscribeFromThread,
|
|
78
77
|
useUpdateNotificationSettings,
|
|
79
78
|
useUpdateRoomSubscriptionSettings
|
|
80
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-CCOIV25T.js";
|
|
81
80
|
|
|
82
81
|
// src/suspense.ts
|
|
83
82
|
import { detectDupes } from "@liveblocks/core";
|
|
@@ -104,15 +103,14 @@ export {
|
|
|
104
103
|
useCanUndo,
|
|
105
104
|
useClient,
|
|
106
105
|
useCreateAiChat,
|
|
107
|
-
|
|
106
|
+
useCreateComment,
|
|
108
107
|
_useCreateThread as useCreateThread,
|
|
109
108
|
useDeleteAiChat,
|
|
110
109
|
useDeleteAllInboxNotifications,
|
|
111
110
|
useDeleteComment,
|
|
112
111
|
useDeleteInboxNotification,
|
|
113
112
|
_useDeleteThread as useDeleteThread,
|
|
114
|
-
|
|
115
|
-
_useEditCommentMetadata as useEditCommentMetadata,
|
|
113
|
+
useEditComment,
|
|
116
114
|
_useEditThreadMetadata as useEditThreadMetadata,
|
|
117
115
|
useErrorListener,
|
|
118
116
|
_useEventListener as useEventListener,
|
package/dist/suspense.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/suspense.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 UseSendAiMessageOptions,\n UseThreadsOptions,\n SendAiMessageOptions,\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 { ClientContext, RoomContext, useClient } from \"./contexts\";\nexport { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport {\n LiveblocksProvider,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useSyncStatus,\n useErrorListener,\n} from \"./liveblocks\";\nexport {\n RoomProvider,\n useAddReaction,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n
|
|
1
|
+
{"version":3,"sources":["../src/suspense.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 UseSendAiMessageOptions,\n UseThreadsOptions,\n SendAiMessageOptions,\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 { ClientContext, RoomContext, useClient } from \"./contexts\";\nexport { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport {\n LiveblocksProvider,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useSyncStatus,\n useErrorListener,\n} from \"./liveblocks\";\nexport {\n RoomProvider,\n useAddReaction,\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 useUpdateRoomSubscriptionSettings,\n} from \"./room\";\n\n// Export the Suspense versions of our hooks\n// (This part differs from src/index.ts)\nexport {\n useOtherSuspense as useOther,\n useOthersSuspense as useOthers,\n useOthersConnectionIdsSuspense as useOthersConnectionIds,\n useOthersMappedSuspense as useOthersMapped,\n useSelfSuspense as useSelf,\n useStorageSuspense as useStorage,\n useThreadsSuspense as useThreads,\n useAttachmentUrlSuspense as useAttachmentUrl,\n useHistoryVersionsSuspense as useHistoryVersions,\n useRoomSubscriptionSettingsSuspense as useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotificationsSuspense as useInboxNotifications,\n useNotificationSettingsSuspense as useNotificationSettings,\n useRoomInfoSuspense as useRoomInfo,\n useGroupInfoSuspense as useGroupInfo,\n useUnreadInboxNotificationsCountSuspense as useUnreadInboxNotificationsCount,\n useUserSuspense as useUser,\n useUserThreadsSuspense_experimental as useUserThreads_experimental,\n useAiChatsSuspense as useAiChats,\n useAiChatMessagesSuspense as useAiChatMessages,\n useAiChatSuspense as useAiChat,\n useAiChatStatus,\n useUrlMetadataSuspense as useUrlMetadata,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAe5B,SAAS,SAAS,oCAAoC;AAZtD,YAAY,UAAU,aAAa,UAAU;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/react",
|
|
3
|
-
"version": "3.13.0-
|
|
3
|
+
"version": "3.13.0-vincent1",
|
|
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": "module",
|
|
@@ -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": "3.13.0-
|
|
65
|
-
"@liveblocks/core": "3.13.0-
|
|
64
|
+
"@liveblocks/client": "3.13.0-vincent1",
|
|
65
|
+
"@liveblocks/core": "3.13.0-vincent1"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@types/react": "*",
|