@liveblocks/react 3.13.0-vincent3 → 3.13.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.
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  var PKG_NAME = "@liveblocks/react";
3
- var PKG_VERSION = "3.13.0-vincent3";
3
+ var PKG_VERSION = "3.13.0";
4
4
  var PKG_FORMAT = "esm";
5
5
 
6
6
  // src/ClientSideSuspense.tsx
@@ -20,4 +20,4 @@ export {
20
20
  PKG_FORMAT,
21
21
  ClientSideSuspense
22
22
  };
23
- //# sourceMappingURL=chunk-N6XTID4W.js.map
23
+ //# sourceMappingURL=chunk-RTM66YNN.js.map
package/dist/index.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkARSAULLNcjs = require('./chunk-ARSAULLN.cjs');
6
+ var _chunkC7F5PZXEcjs = require('./chunk-C7F5PZXE.cjs');
7
7
 
8
8
 
9
9
 
@@ -80,12 +80,14 @@ var _chunkARSAULLNcjs = require('./chunk-ARSAULLN.cjs');
80
80
 
81
81
 
82
82
 
83
- var _chunk5I7TKGJBcjs = require('./chunk-5I7TKGJB.cjs');
83
+
84
+ var _chunkQFAOGFJKcjs = require('./chunk-QFAOGFJK.cjs');
84
85
 
85
86
  // src/index.ts
86
87
  var _core = require('@liveblocks/core');
87
88
  var _client = require('@liveblocks/client');
88
- _core.detectDupes.call(void 0, _chunkARSAULLNcjs.PKG_NAME, _chunkARSAULLNcjs.PKG_VERSION, _chunkARSAULLNcjs.PKG_FORMAT);
89
+ _core.detectDupes.call(void 0, _chunkC7F5PZXEcjs.PKG_NAME, _chunkC7F5PZXEcjs.PKG_VERSION, _chunkC7F5PZXEcjs.PKG_FORMAT);
90
+
89
91
 
90
92
 
91
93
 
@@ -165,5 +167,5 @@ _core.detectDupes.call(void 0, _chunkARSAULLNcjs.PKG_NAME, _chunkARSAULLNcjs.PKG
165
167
 
166
168
 
167
169
 
168
- exports.ClientContext = _chunk5I7TKGJBcjs.ClientContext; exports.ClientSideSuspense = _chunkARSAULLNcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk5I7TKGJBcjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunk5I7TKGJBcjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunk5I7TKGJBcjs.RegisterAiTool; exports.RoomContext = _chunk5I7TKGJBcjs.RoomContext; exports.RoomProvider = _chunk5I7TKGJBcjs._RoomProvider; exports.createLiveblocksContext = _chunk5I7TKGJBcjs.createLiveblocksContext; exports.createRoomContext = _chunk5I7TKGJBcjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunk5I7TKGJBcjs._useAddReaction; exports.useAiChat = _chunk5I7TKGJBcjs._useAiChat; exports.useAiChatMessages = _chunk5I7TKGJBcjs._useAiChatMessages; exports.useAiChatStatus = _chunk5I7TKGJBcjs.useAiChatStatus; exports.useAiChats = _chunk5I7TKGJBcjs._useAiChats; exports.useAttachmentUrl = _chunk5I7TKGJBcjs.useAttachmentUrl; 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.useGroupInfo; exports.useHistory = _chunk5I7TKGJBcjs.useHistory; exports.useHistoryVersionData = _chunk5I7TKGJBcjs.useHistoryVersionData; exports.useHistoryVersions = _chunk5I7TKGJBcjs._useHistoryVersions; exports.useInboxNotificationThread = _chunk5I7TKGJBcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunk5I7TKGJBcjs.useInboxNotifications; 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.useNotificationSettings; exports.useOther = _chunk5I7TKGJBcjs._useOther; exports.useOthers = _chunk5I7TKGJBcjs._useOthers; exports.useOthersConnectionIds = _chunk5I7TKGJBcjs.useOthersConnectionIds; exports.useOthersListener = _chunk5I7TKGJBcjs._useOthersListener; exports.useOthersMapped = _chunk5I7TKGJBcjs._useOthersMapped; exports.useRedo = _chunk5I7TKGJBcjs.useRedo; exports.useRemoveReaction = _chunk5I7TKGJBcjs.useRemoveReaction; exports.useRoom = _chunk5I7TKGJBcjs._useRoom; exports.useRoomInfo = _chunk5I7TKGJBcjs.useRoomInfo; exports.useRoomSubscriptionSettings = _chunk5I7TKGJBcjs._useRoomSubscriptionSettings; exports.useSearchComments = _chunk5I7TKGJBcjs._useSearchComments; exports.useSelf = _chunk5I7TKGJBcjs._useSelf; exports.useSendAiMessage = _chunk5I7TKGJBcjs.useSendAiMessage; exports.useStatus = _chunk5I7TKGJBcjs.useStatus; exports.useStorage = _chunk5I7TKGJBcjs._useStorage; exports.useStorageRoot = _chunk5I7TKGJBcjs._useStorageRoot; exports.useSubscribeToThread = _chunk5I7TKGJBcjs.useSubscribeToThread; exports.useSyncStatus = _chunk5I7TKGJBcjs.useSyncStatus; exports.useThreadSubscription = _chunk5I7TKGJBcjs.useThreadSubscription; exports.useThreads = _chunk5I7TKGJBcjs._useThreads; exports.useUndo = _chunk5I7TKGJBcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunk5I7TKGJBcjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunk5I7TKGJBcjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunk5I7TKGJBcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunk5I7TKGJBcjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunk5I7TKGJBcjs.useUpdateRoomSubscriptionSettings; exports.useUrlMetadata = _chunk5I7TKGJBcjs._useUrlMetadata; exports.useUser = _chunk5I7TKGJBcjs._useUser; exports.useUserThreads_experimental = _chunk5I7TKGJBcjs._useUserThreads_experimental;
170
+ exports.ClientContext = _chunkQFAOGFJKcjs.ClientContext; exports.ClientSideSuspense = _chunkC7F5PZXEcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkQFAOGFJKcjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunkQFAOGFJKcjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunkQFAOGFJKcjs.RegisterAiTool; exports.RoomContext = _chunkQFAOGFJKcjs.RoomContext; exports.RoomProvider = _chunkQFAOGFJKcjs._RoomProvider; exports.createLiveblocksContext = _chunkQFAOGFJKcjs.createLiveblocksContext; exports.createRoomContext = _chunkQFAOGFJKcjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunkQFAOGFJKcjs._useAddReaction; exports.useAiChat = _chunkQFAOGFJKcjs._useAiChat; exports.useAiChatMessages = _chunkQFAOGFJKcjs._useAiChatMessages; exports.useAiChatStatus = _chunkQFAOGFJKcjs.useAiChatStatus; exports.useAiChats = _chunkQFAOGFJKcjs._useAiChats; exports.useAttachmentUrl = _chunkQFAOGFJKcjs.useAttachmentUrl; exports.useBroadcastEvent = _chunkQFAOGFJKcjs._useBroadcastEvent; exports.useCanRedo = _chunkQFAOGFJKcjs.useCanRedo; exports.useCanUndo = _chunkQFAOGFJKcjs.useCanUndo; exports.useClient = _chunkQFAOGFJKcjs.useClient; exports.useCreateAiChat = _chunkQFAOGFJKcjs.useCreateAiChat; exports.useCreateComment = _chunkQFAOGFJKcjs._useCreateComment; exports.useCreateThread = _chunkQFAOGFJKcjs._useCreateThread; exports.useDeleteAiChat = _chunkQFAOGFJKcjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunkQFAOGFJKcjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkQFAOGFJKcjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkQFAOGFJKcjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkQFAOGFJKcjs._useDeleteThread; exports.useEditComment = _chunkQFAOGFJKcjs._useEditComment; exports.useEditCommentMetadata = _chunkQFAOGFJKcjs._useEditCommentMetadata; exports.useEditThreadMetadata = _chunkQFAOGFJKcjs._useEditThreadMetadata; exports.useErrorListener = _chunkQFAOGFJKcjs.useErrorListener; exports.useEventListener = _chunkQFAOGFJKcjs._useEventListener; exports.useGroupInfo = _chunkQFAOGFJKcjs.useGroupInfo; exports.useHistory = _chunkQFAOGFJKcjs.useHistory; exports.useHistoryVersionData = _chunkQFAOGFJKcjs.useHistoryVersionData; exports.useHistoryVersions = _chunkQFAOGFJKcjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkQFAOGFJKcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkQFAOGFJKcjs.useInboxNotifications; exports.useIsInsideRoom = _chunkQFAOGFJKcjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkQFAOGFJKcjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkQFAOGFJKcjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkQFAOGFJKcjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkQFAOGFJKcjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkQFAOGFJKcjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkQFAOGFJKcjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkQFAOGFJKcjs._useMutation; exports.useMyPresence = _chunkQFAOGFJKcjs._useMyPresence; exports.useNotificationSettings = _chunkQFAOGFJKcjs.useNotificationSettings; exports.useOther = _chunkQFAOGFJKcjs._useOther; exports.useOthers = _chunkQFAOGFJKcjs._useOthers; exports.useOthersConnectionIds = _chunkQFAOGFJKcjs.useOthersConnectionIds; exports.useOthersListener = _chunkQFAOGFJKcjs._useOthersListener; exports.useOthersMapped = _chunkQFAOGFJKcjs._useOthersMapped; exports.useRedo = _chunkQFAOGFJKcjs.useRedo; exports.useRemoveReaction = _chunkQFAOGFJKcjs.useRemoveReaction; exports.useRoom = _chunkQFAOGFJKcjs._useRoom; exports.useRoomInfo = _chunkQFAOGFJKcjs.useRoomInfo; exports.useRoomSubscriptionSettings = _chunkQFAOGFJKcjs._useRoomSubscriptionSettings; exports.useSearchComments = _chunkQFAOGFJKcjs._useSearchComments; exports.useSelf = _chunkQFAOGFJKcjs._useSelf; exports.useSendAiMessage = _chunkQFAOGFJKcjs.useSendAiMessage; exports.useStatus = _chunkQFAOGFJKcjs.useStatus; exports.useStorage = _chunkQFAOGFJKcjs._useStorage; exports.useStorageRoot = _chunkQFAOGFJKcjs._useStorageRoot; exports.useSubscribeToThread = _chunkQFAOGFJKcjs.useSubscribeToThread; exports.useSyncStatus = _chunkQFAOGFJKcjs.useSyncStatus; exports.useThreadSubscription = _chunkQFAOGFJKcjs.useThreadSubscription; exports.useThreads = _chunkQFAOGFJKcjs._useThreads; exports.useUndo = _chunkQFAOGFJKcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkQFAOGFJKcjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunkQFAOGFJKcjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunkQFAOGFJKcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunkQFAOGFJKcjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunkQFAOGFJKcjs.useUpdateRoomSubscriptionSettings; exports.useUrlMetadata = _chunkQFAOGFJKcjs._useUrlMetadata; exports.useUser = _chunkQFAOGFJKcjs._useUser; exports.useUserThreads_experimental = _chunkQFAOGFJKcjs._useUserThreads_experimental;
169
171
  //# sourceMappingURL=index.cjs.map
@@ -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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;ACnFA,wCAA4B;AAe5B,4CAAsD;AAZtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;ADoF7C;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;AACA;AACA;AACA;AACA;AACF,q8JAAC","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 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 { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport { ClientContext, RoomContext, useClient } from \"./contexts\";\nexport {\n createLiveblocksContext,\n LiveblocksProvider,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\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 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 useThreads,\n useSearchComments,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useGroupInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n useAiChat,\n useAiChats,\n useAiChatMessages,\n useAiChatStatus,\n useUrlMetadata,\n} from \"./liveblocks\";\n"]}
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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;ACpFA,wCAA4B;AAe5B,4CAAsD;AAZtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;ADqF7C;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;AACA;AACA;AACA;AACA;AACA;AACF,mhKAAC","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 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 { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport { ClientContext, RoomContext, useClient } from \"./contexts\";\nexport {\n createLiveblocksContext,\n LiveblocksProvider,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomProvider,\n useAddReaction,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useEditCommentMetadata,\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 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 useThreads,\n useSearchComments,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useGroupInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n useAiChat,\n useAiChats,\n useAiChatMessages,\n useAiChatStatus,\n useUrlMetadata,\n} from \"./liveblocks\";\n"]}
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-BadENFHi.cjs';
2
- export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, B as createLiveblocksContext, K as createRoomContext, O as useAddReaction, aI as useAiChat, aK as useAiChatMessages, aL as useAiChatStatus, aJ 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, aF as useGroupInfo, a5 as useHistory, al as useHistoryVersionData, 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, am as useOther, an as useOthers, ao as useOthersConnectionIds, ab as useOthersListener, ap as useOthersMapped, ac as useRedo, ad as useRemoveReaction, ae as useRoom, aE as useRoomInfo, aw as useRoomSubscriptionSettings, at as useSearchComments, aq as useSelf, aC as useSendAiMessage, af as useStatus, ar as useStorage, ag as useStorageRoot, a2 as useSubscribeToThread, J as useSyncStatus, ah as useThreadSubscription, as as useThreads, ai as useUndo, aG as useUnreadInboxNotificationsCount, a3 as useUnsubscribeFromThread, aj as useUpdateMyPresence, az as useUpdateNotificationSettings, ak as useUpdateRoomSubscriptionSettings, aM as useUrlMetadata, aH as useUser, aD as useUserThreads_experimental } from './room-BadENFHi.cjs';
1
+ import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-CEMGQ1Mj.cjs';
2
+ export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, B as createLiveblocksContext, K as createRoomContext, O as useAddReaction, aJ as useAiChat, aL as useAiChatMessages, aM as useAiChatStatus, aK as useAiChats, av as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aB as useCreateAiChat, V as useCreateComment, W as useCreateThread, aC as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, a0 as useEditCommentMetadata, $ as useEditThreadMetadata, F as useErrorListener, a5 as useEventListener, aG as useGroupInfo, a6 as useHistory, am as useHistoryVersionData, aw as useHistoryVersions, _ as useInboxNotificationThread, ay as useInboxNotifications, a7 as useIsInsideRoom, a8 as useLostConnectionListener, H as useMarkAllInboxNotificationsAsRead, I as useMarkInboxNotificationAsRead, a9 as useMarkThreadAsRead, a1 as useMarkThreadAsResolved, a2 as useMarkThreadAsUnresolved, aa as useMutation, ab as useMyPresence, az as useNotificationSettings, an as useOther, ao as useOthers, ap as useOthersConnectionIds, ac as useOthersListener, aq as useOthersMapped, ad as useRedo, ae as useRemoveReaction, af as useRoom, aF as useRoomInfo, ax as useRoomSubscriptionSettings, au as useSearchComments, ar as useSelf, aD as useSendAiMessage, ag as useStatus, as as useStorage, ah as useStorageRoot, a3 as useSubscribeToThread, J as useSyncStatus, ai as useThreadSubscription, at as useThreads, aj as useUndo, aH as useUnreadInboxNotificationsCount, a4 as useUnsubscribeFromThread, ak as useUpdateMyPresence, aA as useUpdateNotificationSettings, al as useUpdateRoomSubscriptionSettings, aN as useUrlMetadata, aI as useUser, aE as useUserThreads_experimental } from './room-CEMGQ1Mj.cjs';
3
3
  export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as react from 'react';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-BadENFHi.js';
2
- export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, B as createLiveblocksContext, K as createRoomContext, O as useAddReaction, aI as useAiChat, aK as useAiChatMessages, aL as useAiChatStatus, aJ 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, aF as useGroupInfo, a5 as useHistory, al as useHistoryVersionData, 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, am as useOther, an as useOthers, ao as useOthersConnectionIds, ab as useOthersListener, ap as useOthersMapped, ac as useRedo, ad as useRemoveReaction, ae as useRoom, aE as useRoomInfo, aw as useRoomSubscriptionSettings, at as useSearchComments, aq as useSelf, aC as useSendAiMessage, af as useStatus, ar as useStorage, ag as useStorageRoot, a2 as useSubscribeToThread, J as useSyncStatus, ah as useThreadSubscription, as as useThreads, ai as useUndo, aG as useUnreadInboxNotificationsCount, a3 as useUnsubscribeFromThread, aj as useUpdateMyPresence, az as useUpdateNotificationSettings, ak as useUpdateRoomSubscriptionSettings, aM as useUrlMetadata, aH as useUser, aD as useUserThreads_experimental } from './room-BadENFHi.js';
1
+ import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-CEMGQ1Mj.js';
2
+ export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, N as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, B as createLiveblocksContext, K as createRoomContext, O as useAddReaction, aJ as useAiChat, aL as useAiChatMessages, aM as useAiChatStatus, aK as useAiChats, av as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aB as useCreateAiChat, V as useCreateComment, W as useCreateThread, aC as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, a0 as useEditCommentMetadata, $ as useEditThreadMetadata, F as useErrorListener, a5 as useEventListener, aG as useGroupInfo, a6 as useHistory, am as useHistoryVersionData, aw as useHistoryVersions, _ as useInboxNotificationThread, ay as useInboxNotifications, a7 as useIsInsideRoom, a8 as useLostConnectionListener, H as useMarkAllInboxNotificationsAsRead, I as useMarkInboxNotificationAsRead, a9 as useMarkThreadAsRead, a1 as useMarkThreadAsResolved, a2 as useMarkThreadAsUnresolved, aa as useMutation, ab as useMyPresence, az as useNotificationSettings, an as useOther, ao as useOthers, ap as useOthersConnectionIds, ac as useOthersListener, aq as useOthersMapped, ad as useRedo, ae as useRemoveReaction, af as useRoom, aF as useRoomInfo, ax as useRoomSubscriptionSettings, au as useSearchComments, ar as useSelf, aD as useSendAiMessage, ag as useStatus, as as useStorage, ah as useStorageRoot, a3 as useSubscribeToThread, J as useSyncStatus, ai as useThreadSubscription, at as useThreads, aj as useUndo, aH as useUnreadInboxNotificationsCount, a4 as useUnsubscribeFromThread, ak as useUpdateMyPresence, aA as useUpdateNotificationSettings, al as useUpdateRoomSubscriptionSettings, aN as useUrlMetadata, aI as useUser, aE as useUserThreads_experimental } from './room-CEMGQ1Mj.js';
3
3
  export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  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-N6XTID4W.js";
6
+ } from "./chunk-RTM66YNN.js";
7
7
  import {
8
8
  ClientContext,
9
9
  LiveblocksProvider,
@@ -16,8 +16,11 @@ import {
16
16
  _useAiChatMessages,
17
17
  _useAiChats,
18
18
  _useBroadcastEvent,
19
+ _useCreateComment,
19
20
  _useCreateThread,
20
21
  _useDeleteThread,
22
+ _useEditComment,
23
+ _useEditCommentMetadata,
21
24
  _useEditThreadMetadata,
22
25
  _useEventListener,
23
26
  _useHistoryVersions,
@@ -48,12 +51,10 @@ import {
48
51
  useCanUndo,
49
52
  useClient,
50
53
  useCreateAiChat,
51
- useCreateComment,
52
54
  useDeleteAiChat,
53
55
  useDeleteAllInboxNotifications,
54
56
  useDeleteComment,
55
57
  useDeleteInboxNotification,
56
- useEditComment,
57
58
  useErrorListener,
58
59
  useGroupInfo,
59
60
  useHistory,
@@ -80,7 +81,7 @@ import {
80
81
  useUnsubscribeFromThread,
81
82
  useUpdateNotificationSettings,
82
83
  useUpdateRoomSubscriptionSettings
83
- } from "./chunk-CCOIV25T.js";
84
+ } from "./chunk-ERRJHA6O.js";
84
85
 
85
86
  // src/index.ts
86
87
  import { detectDupes } from "@liveblocks/core";
@@ -109,14 +110,15 @@ export {
109
110
  useCanUndo,
110
111
  useClient,
111
112
  useCreateAiChat,
112
- useCreateComment,
113
+ _useCreateComment as useCreateComment,
113
114
  _useCreateThread as useCreateThread,
114
115
  useDeleteAiChat,
115
116
  useDeleteAllInboxNotifications,
116
117
  useDeleteComment,
117
118
  useDeleteInboxNotification,
118
119
  _useDeleteThread as useDeleteThread,
119
- useEditComment,
120
+ _useEditComment as useEditComment,
121
+ _useEditCommentMetadata as useEditCommentMetadata,
120
122
  _useEditThreadMetadata as useEditThreadMetadata,
121
123
  useErrorListener,
122
124
  _useEventListener as useEventListener,
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 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 { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport { ClientContext, RoomContext, useClient } from \"./contexts\";\nexport {\n createLiveblocksContext,\n LiveblocksProvider,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\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 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 useThreads,\n useSearchComments,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useGroupInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n useAiChat,\n useAiChats,\n useAiChatMessages,\n useAiChatStatus,\n useUrlMetadata,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAe5B,SAAS,SAAS,oCAAoC;AAZtD,YAAY,UAAU,aAAa,UAAU;","names":[]}
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 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 { RegisterAiKnowledge, RegisterAiTool } from \"./ai\";\nexport type {\n AiChatStatus,\n RegisterAiKnowledgeProps,\n RegisterAiToolProps,\n} from \"./types/ai\";\nexport { ClientContext, RoomContext, useClient } from \"./contexts\";\nexport {\n createLiveblocksContext,\n LiveblocksProvider,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomProvider,\n useAddReaction,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useEditCommentMetadata,\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 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 useThreads,\n useSearchComments,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSendAiMessage,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useGroupInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n useAiChat,\n useAiChats,\n useAiChatMessages,\n useAiChatStatus,\n useUrlMetadata,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAe5B,SAAS,SAAS,oCAAoC;AAZtD,YAAY,UAAU,aAAa,UAAU;","names":[]}