@liveblocks/react 3.8.0-next3 → 3.8.0-tiptap1

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/suspense.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk4ZS65AZVcjs = require('./chunk-4ZS65AZV.cjs');
6
+ var _chunkZU7C6DJEcjs = require('./chunk-ZU7C6DJE.cjs');
7
7
 
8
8
 
9
9
 
@@ -74,14 +74,12 @@ var _chunk4ZS65AZVcjs = require('./chunk-4ZS65AZV.cjs');
74
74
 
75
75
 
76
76
 
77
-
78
- var _chunkOYVPE6CVcjs = require('./chunk-OYVPE6CV.cjs');
77
+ var _chunk4GCS3365cjs = require('./chunk-4GCS3365.cjs');
79
78
 
80
79
  // src/suspense.ts
81
80
  var _core = require('@liveblocks/core');
82
81
  var _client = require('@liveblocks/client');
83
- _core.detectDupes.call(void 0, _chunk4ZS65AZVcjs.PKG_NAME, _chunk4ZS65AZVcjs.PKG_VERSION, _chunk4ZS65AZVcjs.PKG_FORMAT);
84
-
82
+ _core.detectDupes.call(void 0, _chunkZU7C6DJEcjs.PKG_NAME, _chunkZU7C6DJEcjs.PKG_VERSION, _chunkZU7C6DJEcjs.PKG_FORMAT);
85
83
 
86
84
 
87
85
 
@@ -155,5 +153,5 @@ _core.detectDupes.call(void 0, _chunk4ZS65AZVcjs.PKG_NAME, _chunk4ZS65AZVcjs.PKG
155
153
 
156
154
 
157
155
 
158
- exports.ClientContext = _chunkOYVPE6CVcjs.ClientContext; exports.ClientSideSuspense = _chunk4ZS65AZVcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkOYVPE6CVcjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunkOYVPE6CVcjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunkOYVPE6CVcjs.RegisterAiTool; exports.RoomContext = _chunkOYVPE6CVcjs.RoomContext; exports.RoomProvider = _chunkOYVPE6CVcjs._RoomProvider; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunkOYVPE6CVcjs._useAddReaction; exports.useAiChat = _chunkOYVPE6CVcjs._useAiChatSuspense; exports.useAiChatMessages = _chunkOYVPE6CVcjs._useAiChatMessagesSuspense; exports.useAiChatStatus = _chunkOYVPE6CVcjs.useAiChatStatus; exports.useAiChats = _chunkOYVPE6CVcjs._useAiChatsSuspense; exports.useAttachmentUrl = _chunkOYVPE6CVcjs.useAttachmentUrlSuspense; exports.useBroadcastEvent = _chunkOYVPE6CVcjs._useBroadcastEvent; exports.useCanRedo = _chunkOYVPE6CVcjs.useCanRedo; exports.useCanUndo = _chunkOYVPE6CVcjs.useCanUndo; exports.useClient = _chunkOYVPE6CVcjs.useClient; exports.useCreateAiChat = _chunkOYVPE6CVcjs.useCreateAiChat; exports.useCreateComment = _chunkOYVPE6CVcjs.useCreateComment; exports.useCreateThread = _chunkOYVPE6CVcjs._useCreateThread; exports.useDeleteAiChat = _chunkOYVPE6CVcjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunkOYVPE6CVcjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkOYVPE6CVcjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkOYVPE6CVcjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkOYVPE6CVcjs._useDeleteThread; exports.useEditComment = _chunkOYVPE6CVcjs.useEditComment; exports.useEditThreadMetadata = _chunkOYVPE6CVcjs._useEditThreadMetadata; exports.useErrorListener = _chunkOYVPE6CVcjs.useErrorListener; exports.useEventListener = _chunkOYVPE6CVcjs._useEventListener; exports.useGroupInfo = _chunkOYVPE6CVcjs.useGroupInfoSuspense; exports.useHistory = _chunkOYVPE6CVcjs.useHistory; exports.useHistoryVersions = _chunkOYVPE6CVcjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunkOYVPE6CVcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkOYVPE6CVcjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunkOYVPE6CVcjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkOYVPE6CVcjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkOYVPE6CVcjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkOYVPE6CVcjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkOYVPE6CVcjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkOYVPE6CVcjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkOYVPE6CVcjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkOYVPE6CVcjs._useMutation; exports.useMyPresence = _chunkOYVPE6CVcjs._useMyPresence; exports.useNotificationSettings = _chunkOYVPE6CVcjs.useNotificationSettingsSuspense; exports.useOther = _chunkOYVPE6CVcjs._useOtherSuspense; exports.useOthers = _chunkOYVPE6CVcjs._useOthersSuspense; exports.useOthersConnectionIds = _chunkOYVPE6CVcjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunkOYVPE6CVcjs._useOthersListener; exports.useOthersMapped = _chunkOYVPE6CVcjs._useOthersMappedSuspense; exports.useRedo = _chunkOYVPE6CVcjs.useRedo; exports.useRemoveReaction = _chunkOYVPE6CVcjs.useRemoveReaction; exports.useRoom = _chunkOYVPE6CVcjs._useRoom; exports.useRoomInfo = _chunkOYVPE6CVcjs.useRoomInfoSuspense; exports.useRoomSubscriptionSettings = _chunkOYVPE6CVcjs._useRoomSubscriptionSettingsSuspense; exports.useSelf = _chunkOYVPE6CVcjs._useSelfSuspense; exports.useSendAiMessage = _chunkOYVPE6CVcjs.useSendAiMessage; exports.useStatus = _chunkOYVPE6CVcjs.useStatus; exports.useStorage = _chunkOYVPE6CVcjs._useStorageSuspense; exports.useStorageRoot = _chunkOYVPE6CVcjs._useStorageRoot; exports.useSubscribeToThread = _chunkOYVPE6CVcjs.useSubscribeToThread; exports.useSyncStatus = _chunkOYVPE6CVcjs.useSyncStatus; exports.useThreadSubscription = _chunkOYVPE6CVcjs.useThreadSubscription; exports.useThreads = _chunkOYVPE6CVcjs._useThreadsSuspense; exports.useUndo = _chunkOYVPE6CVcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkOYVPE6CVcjs.useUnreadInboxNotificationsCountSuspense; exports.useUnsubscribeFromThread = _chunkOYVPE6CVcjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunkOYVPE6CVcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunkOYVPE6CVcjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunkOYVPE6CVcjs.useUpdateRoomSubscriptionSettings; exports.useUser = _chunkOYVPE6CVcjs._useUserSuspense; exports.useUserThreads_experimental = _chunkOYVPE6CVcjs._useUserThreadsSuspense_experimental;
156
+ exports.ClientContext = _chunk4GCS3365cjs.ClientContext; exports.ClientSideSuspense = _chunkZU7C6DJEcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk4GCS3365cjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunk4GCS3365cjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunk4GCS3365cjs.RegisterAiTool; exports.RoomContext = _chunk4GCS3365cjs.RoomContext; exports.RoomProvider = _chunk4GCS3365cjs._RoomProvider; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunk4GCS3365cjs._useAddReaction; exports.useAiChat = _chunk4GCS3365cjs._useAiChatSuspense; exports.useAiChatMessages = _chunk4GCS3365cjs._useAiChatMessagesSuspense; exports.useAiChats = _chunk4GCS3365cjs._useAiChatsSuspense; exports.useAttachmentUrl = _chunk4GCS3365cjs.useAttachmentUrlSuspense; exports.useBroadcastEvent = _chunk4GCS3365cjs._useBroadcastEvent; exports.useCanRedo = _chunk4GCS3365cjs.useCanRedo; exports.useCanUndo = _chunk4GCS3365cjs.useCanUndo; exports.useClient = _chunk4GCS3365cjs.useClient; exports.useCreateAiChat = _chunk4GCS3365cjs.useCreateAiChat; exports.useCreateComment = _chunk4GCS3365cjs.useCreateComment; exports.useCreateThread = _chunk4GCS3365cjs._useCreateThread; exports.useDeleteAiChat = _chunk4GCS3365cjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunk4GCS3365cjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk4GCS3365cjs.useDeleteComment; exports.useDeleteInboxNotification = _chunk4GCS3365cjs.useDeleteInboxNotification; exports.useDeleteThread = _chunk4GCS3365cjs._useDeleteThread; exports.useEditComment = _chunk4GCS3365cjs.useEditComment; exports.useEditThreadMetadata = _chunk4GCS3365cjs._useEditThreadMetadata; exports.useErrorListener = _chunk4GCS3365cjs.useErrorListener; exports.useEventListener = _chunk4GCS3365cjs._useEventListener; exports.useGroupInfo = _chunk4GCS3365cjs.useGroupInfoSuspense; exports.useHistory = _chunk4GCS3365cjs.useHistory; exports.useHistoryVersions = _chunk4GCS3365cjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunk4GCS3365cjs._useInboxNotificationThread; exports.useInboxNotifications = _chunk4GCS3365cjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunk4GCS3365cjs._useIsInsideRoom; exports.useLostConnectionListener = _chunk4GCS3365cjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk4GCS3365cjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk4GCS3365cjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk4GCS3365cjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk4GCS3365cjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk4GCS3365cjs.useMarkThreadAsUnresolved; exports.useMutation = _chunk4GCS3365cjs._useMutation; exports.useMyPresence = _chunk4GCS3365cjs._useMyPresence; exports.useNotificationSettings = _chunk4GCS3365cjs.useNotificationSettingsSuspense; exports.useOther = _chunk4GCS3365cjs._useOtherSuspense; exports.useOthers = _chunk4GCS3365cjs._useOthersSuspense; exports.useOthersConnectionIds = _chunk4GCS3365cjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunk4GCS3365cjs._useOthersListener; exports.useOthersMapped = _chunk4GCS3365cjs._useOthersMappedSuspense; exports.useRedo = _chunk4GCS3365cjs.useRedo; exports.useRemoveReaction = _chunk4GCS3365cjs.useRemoveReaction; exports.useRoom = _chunk4GCS3365cjs._useRoom; exports.useRoomInfo = _chunk4GCS3365cjs.useRoomInfoSuspense; exports.useRoomSubscriptionSettings = _chunk4GCS3365cjs._useRoomSubscriptionSettingsSuspense; exports.useSelf = _chunk4GCS3365cjs._useSelfSuspense; exports.useSendAiMessage = _chunk4GCS3365cjs.useSendAiMessage; exports.useStatus = _chunk4GCS3365cjs.useStatus; exports.useStorage = _chunk4GCS3365cjs._useStorageSuspense; exports.useStorageRoot = _chunk4GCS3365cjs._useStorageRoot; exports.useSubscribeToThread = _chunk4GCS3365cjs.useSubscribeToThread; exports.useSyncStatus = _chunk4GCS3365cjs.useSyncStatus; exports.useThreadSubscription = _chunk4GCS3365cjs.useThreadSubscription; exports.useThreads = _chunk4GCS3365cjs._useThreadsSuspense; exports.useUndo = _chunk4GCS3365cjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunk4GCS3365cjs.useUnreadInboxNotificationsCountSuspense; exports.useUnsubscribeFromThread = _chunk4GCS3365cjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunk4GCS3365cjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunk4GCS3365cjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunk4GCS3365cjs.useUpdateRoomSubscriptionSettings; exports.useUser = _chunk4GCS3365cjs._useUserSuspense; exports.useUserThreads_experimental = _chunk4GCS3365cjs._useUserThreadsSuspense_experimental;
159
157
  //# sourceMappingURL=suspense.cjs.map
@@ -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;AACF,wDAA6B;AAC7B;AACA;AC9EA,wCAA4B;AAe5B,4CAAsD;AAZtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;AD+E7C;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;AACF,gxJAAC","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 { AiChatStatus, RegisterAiKnowledgeProps, RegisterAiToolProps } 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} from \"./liveblocks\";\n"]}
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;AACF,wDAA6B;AAC7B;AACA;AC7EA,wCAA4B;AAe5B,4CAAsD;AAZtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;AD8E7C;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;AACF,mtJAAC","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 { RegisterAiKnowledgeProps, RegisterAiToolProps } 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} from \"./liveblocks\";\n"]}
@@ -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, b2 as useAiChat, b1 as useAiChatMessages, aK as useAiChatStatus, b0 as useAiChats, aS as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, az as useCreateAiChat, V as useCreateComment, W as useCreateThread, aA 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, aY as useGroupInfo, a5 as useHistory, aT as useHistoryVersions, _ as useInboxNotificationThread, aV 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, aW as useNotificationSettings, aL as useOther, aM as useOthers, aN as useOthersConnectionIds, ab as useOthersListener, aO as useOthersMapped, ac as useRedo, ad as useRemoveReaction, ae as useRoom, aX as useRoomInfo, aU as useRoomSubscriptionSettings, aP as useSelf, aB as useSendAiMessage, af as useStatus, aQ as useStorage, ag as useStorageRoot, a2 as useSubscribeToThread, J as useSyncStatus, ah as useThreadSubscription, aR as useThreads, ai as useUndo, aZ as useUnreadInboxNotificationsCount, a3 as useUnsubscribeFromThread, aj as useUpdateMyPresence, ay as useUpdateNotificationSettings, ak as useUpdateRoomSubscriptionSettings, a_ as useUser, a$ as useUserThreads_experimental } from './room-C97RX2dB.cjs';
2
+ export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, w as RegisterAiToolProps, y as RoomContext, K as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, N as useAddReaction, b0 as useAiChat, a$ as useAiChatMessages, a_ as useAiChats, aQ as useAttachmentUrl, O as useBroadcastEvent, P as useCanRedo, Q as useCanUndo, z as useClient, ay as useCreateAiChat, T as useCreateComment, V as useCreateThread, az as useDeleteAiChat, B as useDeleteAllInboxNotifications, W as useDeleteComment, D as useDeleteInboxNotification, X as useDeleteThread, Y as useEditComment, Z as useEditThreadMetadata, E as useErrorListener, a3 as useEventListener, aW as useGroupInfo, a4 as useHistory, aR as useHistoryVersions, _ as useInboxNotificationThread, aT as useInboxNotifications, a5 as useIsInsideRoom, a6 as useLostConnectionListener, F as useMarkAllInboxNotificationsAsRead, H as useMarkInboxNotificationAsRead, a7 as useMarkThreadAsRead, $ as useMarkThreadAsResolved, a0 as useMarkThreadAsUnresolved, a8 as useMutation, a9 as useMyPresence, aU as useNotificationSettings, aJ as useOther, aK as useOthers, aL as useOthersConnectionIds, aa as useOthersListener, aM as useOthersMapped, ab as useRedo, ac as useRemoveReaction, ad as useRoom, aV as useRoomInfo, aS as useRoomSubscriptionSettings, aN as useSelf, aA as useSendAiMessage, ae as useStatus, aO as useStorage, af as useStorageRoot, a1 as useSubscribeToThread, I as useSyncStatus, ag as useThreadSubscription, aP as useThreads, ah as useUndo, aX as useUnreadInboxNotificationsCount, a2 as useUnsubscribeFromThread, ai as useUpdateMyPresence, ax as useUpdateNotificationSettings, aj as useUpdateRoomSubscriptionSettings, aY as useUser, aZ as useUserThreads_experimental } from './room-BtcL74U0.cjs';
3
3
  export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react';
@@ -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, b2 as useAiChat, b1 as useAiChatMessages, aK as useAiChatStatus, b0 as useAiChats, aS as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, az as useCreateAiChat, V as useCreateComment, W as useCreateThread, aA 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, aY as useGroupInfo, a5 as useHistory, aT as useHistoryVersions, _ as useInboxNotificationThread, aV 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, aW as useNotificationSettings, aL as useOther, aM as useOthers, aN as useOthersConnectionIds, ab as useOthersListener, aO as useOthersMapped, ac as useRedo, ad as useRemoveReaction, ae as useRoom, aX as useRoomInfo, aU as useRoomSubscriptionSettings, aP as useSelf, aB as useSendAiMessage, af as useStatus, aQ as useStorage, ag as useStorageRoot, a2 as useSubscribeToThread, J as useSyncStatus, ah as useThreadSubscription, aR as useThreads, ai as useUndo, aZ as useUnreadInboxNotificationsCount, a3 as useUnsubscribeFromThread, aj as useUpdateMyPresence, ay as useUpdateNotificationSettings, ak as useUpdateRoomSubscriptionSettings, a_ as useUser, a$ as useUserThreads_experimental } from './room-C97RX2dB.js';
2
+ export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, w as RegisterAiToolProps, y as RoomContext, K as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, N as useAddReaction, b0 as useAiChat, a$ as useAiChatMessages, a_ as useAiChats, aQ as useAttachmentUrl, O as useBroadcastEvent, P as useCanRedo, Q as useCanUndo, z as useClient, ay as useCreateAiChat, T as useCreateComment, V as useCreateThread, az as useDeleteAiChat, B as useDeleteAllInboxNotifications, W as useDeleteComment, D as useDeleteInboxNotification, X as useDeleteThread, Y as useEditComment, Z as useEditThreadMetadata, E as useErrorListener, a3 as useEventListener, aW as useGroupInfo, a4 as useHistory, aR as useHistoryVersions, _ as useInboxNotificationThread, aT as useInboxNotifications, a5 as useIsInsideRoom, a6 as useLostConnectionListener, F as useMarkAllInboxNotificationsAsRead, H as useMarkInboxNotificationAsRead, a7 as useMarkThreadAsRead, $ as useMarkThreadAsResolved, a0 as useMarkThreadAsUnresolved, a8 as useMutation, a9 as useMyPresence, aU as useNotificationSettings, aJ as useOther, aK as useOthers, aL as useOthersConnectionIds, aa as useOthersListener, aM as useOthersMapped, ab as useRedo, ac as useRemoveReaction, ad as useRoom, aV as useRoomInfo, aS as useRoomSubscriptionSettings, aN as useSelf, aA as useSendAiMessage, ae as useStatus, aO as useStorage, af as useStorageRoot, a1 as useSubscribeToThread, I as useSyncStatus, ag as useThreadSubscription, aP as useThreads, ah as useUndo, aX as useUnreadInboxNotificationsCount, a2 as useUnsubscribeFromThread, ai as useUpdateMyPresence, ax as useUpdateNotificationSettings, aj as useUpdateRoomSubscriptionSettings, aY as useUser, aZ as useUserThreads_experimental } from './room-BtcL74U0.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-2A5VCDEZ.js";
6
+ } from "./chunk-RCYYHORY.js";
7
7
  import {
8
8
  ClientContext,
9
9
  LiveblocksProvider,
@@ -38,7 +38,6 @@ import {
38
38
  _useUpdateMyPresence,
39
39
  _useUserSuspense,
40
40
  _useUserThreadsSuspense_experimental,
41
- useAiChatStatus,
42
41
  useAttachmentUrlSuspense,
43
42
  useCanRedo,
44
43
  useCanUndo,
@@ -75,7 +74,7 @@ import {
75
74
  useUnsubscribeFromThread,
76
75
  useUpdateNotificationSettings,
77
76
  useUpdateRoomSubscriptionSettings
78
- } from "./chunk-DL5PAL6E.js";
77
+ } from "./chunk-OKYUUXNY.js";
79
78
 
80
79
  // src/suspense.ts
81
80
  import { detectDupes } from "@liveblocks/core";
@@ -94,7 +93,6 @@ export {
94
93
  _useAddReaction as useAddReaction,
95
94
  _useAiChatSuspense as useAiChat,
96
95
  _useAiChatMessagesSuspense as useAiChatMessages,
97
- useAiChatStatus,
98
96
  _useAiChatsSuspense as useAiChats,
99
97
  useAttachmentUrlSuspense as useAttachmentUrl,
100
98
  _useBroadcastEvent as useBroadcastEvent,
@@ -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 { AiChatStatus, RegisterAiKnowledgeProps, RegisterAiToolProps } 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} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAe5B,SAAS,SAAS,oCAAoC;AAZtD,YAAY,UAAU,aAAa,UAAU;","names":[]}
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 { RegisterAiKnowledgeProps, RegisterAiToolProps } 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} 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.8.0-next3",
3
+ "version": "3.8.0-tiptap1",
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.8.0-next3",
65
- "@liveblocks/core": "3.8.0-next3"
64
+ "@liveblocks/client": "3.8.0-tiptap1",
65
+ "@liveblocks/core": "3.8.0-tiptap1"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "@types/react": "*",