@liveblocks/react 3.16.0-flow2 → 3.16.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
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/version.ts
2
2
  var PKG_NAME = "@liveblocks/react";
3
- var PKG_VERSION = "3.16.0-flow2";
3
+ var PKG_VERSION = "3.16.0";
4
4
  var PKG_FORMAT = "cjs";
5
5
 
6
6
  // src/ClientSideSuspense.tsx
@@ -20,4 +20,4 @@ function ClientSideSuspense(props) {
20
20
 
21
21
 
22
22
  exports.PKG_NAME = PKG_NAME; exports.PKG_VERSION = PKG_VERSION; exports.PKG_FORMAT = PKG_FORMAT; exports.ClientSideSuspense = ClientSideSuspense;
23
- //# sourceMappingURL=chunk-6JXSC2A6.cjs.map
23
+ //# sourceMappingURL=chunk-VSO26OCO.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-6JXSC2A6.cjs","../src/version.ts","../src/ClientSideSuspense.tsx"],"names":[],"mappings":"AAAA;ACGO,IAAM,SAAA,EAAW,mBAAA;AACjB,IAAM,YAAA,EAAiD,cAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;ADD7D;AACA;AEJA,8BAA8C;AAkC1C,+CAAA;AAVG,SAAS,kBAAA,CAAmB,KAAA,EAAc;AAC/C,EAAA,MAAM,CAAC,OAAA,EAAS,UAAU,EAAA,EAAI,6BAAA,KAAc,CAAA;AAE5C,EAAA,8BAAA,CAAU,EAAA,GAAM;AAGd,IAAA,UAAA,CAAW,IAAI,CAAA;AAAA,EACjB,CAAA,EAAG,CAAC,CAAC,CAAA;AAEL,EAAA,uBACE,6BAAA,eAAC,EAAA,EAAS,QAAA,EAAU,KAAA,CAAM,QAAA,EACvB,QAAA,EAAA,QAAA,EACG,OAAO,KAAA,CAAM,SAAA,IAAa,WAAA,EACxB,KAAA,CAAM,QAAA,CAAS,EAAA,EACf,KAAA,CAAM,SAAA,EACR,KAAA,CAAM,SAAA,CACZ,CAAA;AAEJ;AF5BA;AACA;AACE;AACA;AACA;AACA;AACF,iJAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-6JXSC2A6.cjs","sourcesContent":[null,"declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n","import type { ReactNode } from \"react\";\nimport { Suspense, useEffect, useState } from \"react\";\n\ntype Props = {\n fallback: ReactNode;\n children: (() => ReactNode | undefined) | ReactNode | undefined;\n};\n\n/**\n * Almost like a normal <Suspense> component, except that for server-side\n * renders, the fallback will be used.\n *\n * The child props will have to be provided in a function, i.e. change:\n *\n * <Suspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </Suspense>\n *\n * To:\n *\n * <ClientSideSuspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </ClientSideSuspense>\n *\n */\nexport function ClientSideSuspense(props: Props) {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n // Effects are never executed on the server side. The point of this is to\n // delay the flipping of this boolean until after hydration has happened.\n setMounted(true);\n }, []);\n\n return (\n <Suspense fallback={props.fallback}>\n {mounted\n ? typeof props.children === \"function\"\n ? props.children()\n : props.children\n : props.fallback}\n </Suspense>\n );\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-VSO26OCO.cjs","../src/version.ts","../src/ClientSideSuspense.tsx"],"names":[],"mappings":"AAAA;ACGO,IAAM,SAAA,EAAW,mBAAA;AACjB,IAAM,YAAA,EAAiD,QAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;ADD7D;AACA;AEJA,8BAA8C;AAkC1C,+CAAA;AAVG,SAAS,kBAAA,CAAmB,KAAA,EAAc;AAC/C,EAAA,MAAM,CAAC,OAAA,EAAS,UAAU,EAAA,EAAI,6BAAA,KAAc,CAAA;AAE5C,EAAA,8BAAA,CAAU,EAAA,GAAM;AAGd,IAAA,UAAA,CAAW,IAAI,CAAA;AAAA,EACjB,CAAA,EAAG,CAAC,CAAC,CAAA;AAEL,EAAA,uBACE,6BAAA,eAAC,EAAA,EAAS,QAAA,EAAU,KAAA,CAAM,QAAA,EACvB,QAAA,EAAA,QAAA,EACG,OAAO,KAAA,CAAM,SAAA,IAAa,WAAA,EACxB,KAAA,CAAM,QAAA,CAAS,EAAA,EACf,KAAA,CAAM,SAAA,EACR,KAAA,CAAM,SAAA,CACZ,CAAA;AAEJ;AF5BA;AACA;AACE;AACA;AACA;AACA;AACF,iJAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-VSO26OCO.cjs","sourcesContent":[null,"declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n","import type { ReactNode } from \"react\";\nimport { Suspense, useEffect, useState } from \"react\";\n\ntype Props = {\n fallback: ReactNode;\n children: (() => ReactNode | undefined) | ReactNode | undefined;\n};\n\n/**\n * Almost like a normal <Suspense> component, except that for server-side\n * renders, the fallback will be used.\n *\n * The child props will have to be provided in a function, i.e. change:\n *\n * <Suspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </Suspense>\n *\n * To:\n *\n * <ClientSideSuspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </ClientSideSuspense>\n *\n */\nexport function ClientSideSuspense(props: Props) {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n // Effects are never executed on the server side. The point of this is to\n // delay the flipping of this boolean until after hydration has happened.\n setMounted(true);\n }, []);\n\n return (\n <Suspense fallback={props.fallback}>\n {mounted\n ? typeof props.children === \"function\"\n ? props.children()\n : props.children\n : props.fallback}\n </Suspense>\n );\n}\n"]}
package/dist/index.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk6JXSC2A6cjs = require('./chunk-6JXSC2A6.cjs');
6
+ var _chunkVSO26OCOcjs = require('./chunk-VSO26OCO.cjs');
7
7
 
8
8
 
9
9
 
@@ -81,12 +81,28 @@ var _chunk6JXSC2A6cjs = require('./chunk-6JXSC2A6.cjs');
81
81
 
82
82
 
83
83
 
84
- var _chunkQEGVIJNNcjs = require('./chunk-QEGVIJNN.cjs');
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+ var _chunkHFTIBRCDcjs = require('./chunk-HFTIBRCD.cjs');
85
93
 
86
94
  // src/index.ts
87
95
  var _core = require('@liveblocks/core');
88
96
  var _client = require('@liveblocks/client');
89
- _core.detectDupes.call(void 0, _chunk6JXSC2A6cjs.PKG_NAME, _chunk6JXSC2A6cjs.PKG_VERSION, _chunk6JXSC2A6cjs.PKG_FORMAT);
97
+ _core.detectDupes.call(void 0, _chunkVSO26OCOcjs.PKG_NAME, _chunkVSO26OCOcjs.PKG_VERSION, _chunkVSO26OCOcjs.PKG_FORMAT);
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
90
106
 
91
107
 
92
108
 
@@ -167,5 +183,5 @@ _core.detectDupes.call(void 0, _chunk6JXSC2A6cjs.PKG_NAME, _chunk6JXSC2A6cjs.PKG
167
183
 
168
184
 
169
185
 
170
- exports.ClientContext = _chunkQEGVIJNNcjs.ClientContext; exports.ClientSideSuspense = _chunk6JXSC2A6cjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkQEGVIJNNcjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunkQEGVIJNNcjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunkQEGVIJNNcjs.RegisterAiTool; exports.RoomContext = _chunkQEGVIJNNcjs.GlobalRoomContext; exports.RoomProvider = _chunkQEGVIJNNcjs._RoomProvider; exports.createLiveblocksContext = _chunkQEGVIJNNcjs.createLiveblocksContext; exports.createRoomContext = _chunkQEGVIJNNcjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunkQEGVIJNNcjs._useAddReaction; exports.useAiChat = _chunkQEGVIJNNcjs._useAiChat; exports.useAiChatMessages = _chunkQEGVIJNNcjs._useAiChatMessages; exports.useAiChatStatus = _chunkQEGVIJNNcjs.useAiChatStatus; exports.useAiChats = _chunkQEGVIJNNcjs._useAiChats; exports.useAttachmentUrl = _chunkQEGVIJNNcjs.useAttachmentUrl; exports.useBroadcastEvent = _chunkQEGVIJNNcjs._useBroadcastEvent; exports.useCanRedo = _chunkQEGVIJNNcjs.useCanRedo; exports.useCanUndo = _chunkQEGVIJNNcjs.useCanUndo; exports.useClient = _chunkQEGVIJNNcjs.useClient; exports.useCreateAiChat = _chunkQEGVIJNNcjs.useCreateAiChat; exports.useCreateComment = _chunkQEGVIJNNcjs._useCreateComment; exports.useCreateThread = _chunkQEGVIJNNcjs._useCreateThread; exports.useDeleteAiChat = _chunkQEGVIJNNcjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunkQEGVIJNNcjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkQEGVIJNNcjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkQEGVIJNNcjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkQEGVIJNNcjs._useDeleteThread; exports.useEditComment = _chunkQEGVIJNNcjs._useEditComment; exports.useEditCommentMetadata = _chunkQEGVIJNNcjs._useEditCommentMetadata; exports.useEditThreadMetadata = _chunkQEGVIJNNcjs._useEditThreadMetadata; exports.useErrorListener = _chunkQEGVIJNNcjs.useErrorListener; exports.useEventListener = _chunkQEGVIJNNcjs._useEventListener; exports.useGroupInfo = _chunkQEGVIJNNcjs.useGroupInfo; exports.useHistory = _chunkQEGVIJNNcjs.useHistory; exports.useHistoryVersionData = _chunkQEGVIJNNcjs.useHistoryVersionData; exports.useHistoryVersions = _chunkQEGVIJNNcjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkQEGVIJNNcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkQEGVIJNNcjs.useInboxNotifications; exports.useIsInsideRoom = _chunkQEGVIJNNcjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkQEGVIJNNcjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkQEGVIJNNcjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkQEGVIJNNcjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkQEGVIJNNcjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkQEGVIJNNcjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkQEGVIJNNcjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkQEGVIJNNcjs._useMutation; exports.useMyPresence = _chunkQEGVIJNNcjs._useMyPresence; exports.useNotificationSettings = _chunkQEGVIJNNcjs.useNotificationSettings; exports.useOther = _chunkQEGVIJNNcjs._useOther; exports.useOthers = _chunkQEGVIJNNcjs._useOthers; exports.useOthersConnectionIds = _chunkQEGVIJNNcjs.useOthersConnectionIds; exports.useOthersListener = _chunkQEGVIJNNcjs._useOthersListener; exports.useOthersMapped = _chunkQEGVIJNNcjs._useOthersMapped; exports.useRedo = _chunkQEGVIJNNcjs.useRedo; exports.useRemoveReaction = _chunkQEGVIJNNcjs.useRemoveReaction; exports.useRoom = _chunkQEGVIJNNcjs._useRoom; exports.useRoomInfo = _chunkQEGVIJNNcjs.useRoomInfo; exports.useRoomSubscriptionSettings = _chunkQEGVIJNNcjs._useRoomSubscriptionSettings; exports.useSearchComments = _chunkQEGVIJNNcjs._useSearchComments; exports.useSelf = _chunkQEGVIJNNcjs._useSelf; exports.useSendAiMessage = _chunkQEGVIJNNcjs.useSendAiMessage; exports.useStatus = _chunkQEGVIJNNcjs.useStatus; exports.useStorage = _chunkQEGVIJNNcjs._useStorage; exports.useStorageRoot = _chunkQEGVIJNNcjs._useStorageRoot; exports.useSubscribeToThread = _chunkQEGVIJNNcjs.useSubscribeToThread; exports.useSyncStatus = _chunkQEGVIJNNcjs.useSyncStatus; exports.useThreadSubscription = _chunkQEGVIJNNcjs.useThreadSubscription; exports.useThreads = _chunkQEGVIJNNcjs._useThreads; exports.useUndo = _chunkQEGVIJNNcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkQEGVIJNNcjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunkQEGVIJNNcjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunkQEGVIJNNcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunkQEGVIJNNcjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunkQEGVIJNNcjs.useUpdateRoomSubscriptionSettings; exports.useUrlMetadata = _chunkQEGVIJNNcjs._useUrlMetadata; exports.useUser = _chunkQEGVIJNNcjs._useUser; exports.useUserThreads_experimental = _chunkQEGVIJNNcjs._useUserThreads_experimental;
186
+ exports.ClientContext = _chunkHFTIBRCDcjs.ClientContext; exports.ClientSideSuspense = _chunkVSO26OCOcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkHFTIBRCDcjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunkHFTIBRCDcjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunkHFTIBRCDcjs.RegisterAiTool; exports.RoomContext = _chunkHFTIBRCDcjs.GlobalRoomContext; exports.RoomProvider = _chunkHFTIBRCDcjs._RoomProvider; exports.createLiveblocksContext = _chunkHFTIBRCDcjs.createLiveblocksContext; exports.createRoomContext = _chunkHFTIBRCDcjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunkHFTIBRCDcjs._useAddReaction; exports.useAiChat = _chunkHFTIBRCDcjs._useAiChat; exports.useAiChatMessages = _chunkHFTIBRCDcjs._useAiChatMessages; exports.useAiChatStatus = _chunkHFTIBRCDcjs.useAiChatStatus; exports.useAiChats = _chunkHFTIBRCDcjs._useAiChats; exports.useAttachmentUrl = _chunkHFTIBRCDcjs.useAttachmentUrl; exports.useBroadcastEvent = _chunkHFTIBRCDcjs._useBroadcastEvent; exports.useCanRedo = _chunkHFTIBRCDcjs.useCanRedo; exports.useCanUndo = _chunkHFTIBRCDcjs.useCanUndo; exports.useClient = _chunkHFTIBRCDcjs.useClient; exports.useCreateAiChat = _chunkHFTIBRCDcjs.useCreateAiChat; exports.useCreateComment = _chunkHFTIBRCDcjs._useCreateComment; exports.useCreateFeed = _chunkHFTIBRCDcjs.useCreateFeed; exports.useCreateFeedMessage = _chunkHFTIBRCDcjs.useCreateFeedMessage; exports.useCreateThread = _chunkHFTIBRCDcjs._useCreateThread; exports.useDeleteAiChat = _chunkHFTIBRCDcjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunkHFTIBRCDcjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkHFTIBRCDcjs.useDeleteComment; exports.useDeleteFeed = _chunkHFTIBRCDcjs.useDeleteFeed; exports.useDeleteFeedMessage = _chunkHFTIBRCDcjs.useDeleteFeedMessage; exports.useDeleteInboxNotification = _chunkHFTIBRCDcjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkHFTIBRCDcjs._useDeleteThread; exports.useEditComment = _chunkHFTIBRCDcjs._useEditComment; exports.useEditCommentMetadata = _chunkHFTIBRCDcjs._useEditCommentMetadata; exports.useEditThreadMetadata = _chunkHFTIBRCDcjs._useEditThreadMetadata; exports.useErrorListener = _chunkHFTIBRCDcjs.useErrorListener; exports.useEventListener = _chunkHFTIBRCDcjs._useEventListener; exports.useFeedMessages = _chunkHFTIBRCDcjs._useFeedMessages; exports.useFeeds = _chunkHFTIBRCDcjs._useFeeds; exports.useGroupInfo = _chunkHFTIBRCDcjs.useGroupInfo; exports.useHistory = _chunkHFTIBRCDcjs.useHistory; exports.useHistoryVersionData = _chunkHFTIBRCDcjs.useHistoryVersionData; exports.useHistoryVersions = _chunkHFTIBRCDcjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkHFTIBRCDcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkHFTIBRCDcjs.useInboxNotifications; exports.useIsInsideRoom = _chunkHFTIBRCDcjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkHFTIBRCDcjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkHFTIBRCDcjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkHFTIBRCDcjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkHFTIBRCDcjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkHFTIBRCDcjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkHFTIBRCDcjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkHFTIBRCDcjs._useMutation; exports.useMyPresence = _chunkHFTIBRCDcjs._useMyPresence; exports.useNotificationSettings = _chunkHFTIBRCDcjs.useNotificationSettings; exports.useOther = _chunkHFTIBRCDcjs._useOther; exports.useOthers = _chunkHFTIBRCDcjs._useOthers; exports.useOthersConnectionIds = _chunkHFTIBRCDcjs.useOthersConnectionIds; exports.useOthersListener = _chunkHFTIBRCDcjs._useOthersListener; exports.useOthersMapped = _chunkHFTIBRCDcjs._useOthersMapped; exports.useRedo = _chunkHFTIBRCDcjs.useRedo; exports.useRemoveReaction = _chunkHFTIBRCDcjs.useRemoveReaction; exports.useRoom = _chunkHFTIBRCDcjs._useRoom; exports.useRoomInfo = _chunkHFTIBRCDcjs.useRoomInfo; exports.useRoomSubscriptionSettings = _chunkHFTIBRCDcjs._useRoomSubscriptionSettings; exports.useSearchComments = _chunkHFTIBRCDcjs._useSearchComments; exports.useSelf = _chunkHFTIBRCDcjs._useSelf; exports.useSendAiMessage = _chunkHFTIBRCDcjs.useSendAiMessage; exports.useStatus = _chunkHFTIBRCDcjs.useStatus; exports.useStorage = _chunkHFTIBRCDcjs._useStorage; exports.useStorageRoot = _chunkHFTIBRCDcjs._useStorageRoot; exports.useSubscribeToThread = _chunkHFTIBRCDcjs.useSubscribeToThread; exports.useSyncStatus = _chunkHFTIBRCDcjs.useSyncStatus; exports.useThreadSubscription = _chunkHFTIBRCDcjs.useThreadSubscription; exports.useThreads = _chunkHFTIBRCDcjs._useThreads; exports.useUndo = _chunkHFTIBRCDcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkHFTIBRCDcjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunkHFTIBRCDcjs.useUnsubscribeFromThread; exports.useUpdateFeedMessage = _chunkHFTIBRCDcjs.useUpdateFeedMessage; exports.useUpdateFeedMetadata = _chunkHFTIBRCDcjs.useUpdateFeedMetadata; exports.useUpdateMyPresence = _chunkHFTIBRCDcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunkHFTIBRCDcjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunkHFTIBRCDcjs.useUpdateRoomSubscriptionSettings; exports.useUrlMetadata = _chunkHFTIBRCDcjs._useUrlMetadata; exports.useUser = _chunkHFTIBRCDcjs._useUser; exports.useUserThreads_experimental = _chunkHFTIBRCDcjs._useUserThreads_experimental;
171
187
  //# 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;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,yhKAAC","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 {\n ClientContext,\n GlobalRoomContext as RoomContext,\n useClient,\n} 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"]}
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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;AC5FA,wCAA4B;AAe5B,4CAAsD;AAZtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;AD6F7C;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uhLAAC","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 {\n ClientContext,\n GlobalRoomContext as RoomContext,\n useClient,\n} 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 useFeeds,\n useFeedMessages,\n useCreateFeed,\n useDeleteFeed,\n useUpdateFeedMetadata,\n useCreateFeedMessage,\n useDeleteFeedMessage,\n useUpdateFeedMessage,\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, y as RegisterAiToolProps } from './room-BvPZu216.cjs';
2
- export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, B as RoomContext, P as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, z as UseThreadsOptions, E as createLiveblocksContext, O as createRoomContext, Q as useAddReaction, aL as useAiChat, aN as useAiChatMessages, aO as useAiChatStatus, aM as useAiChats, ax as useAttachmentUrl, T as useBroadcastEvent, V as useCanRedo, W as useCanUndo, D as useClient, aD as useCreateAiChat, X as useCreateComment, Y as useCreateThread, aE as useDeleteAiChat, F as useDeleteAllInboxNotifications, Z as useDeleteComment, H as useDeleteInboxNotification, $ as useDeleteThread, a0 as useEditComment, a2 as useEditCommentMetadata, a1 as useEditThreadMetadata, I as useErrorListener, a7 as useEventListener, aI as useGroupInfo, a8 as useHistory, ao as useHistoryVersionData, ay as useHistoryVersions, _ as useInboxNotificationThread, aA as useInboxNotifications, a9 as useIsInsideRoom, aa as useLostConnectionListener, J as useMarkAllInboxNotificationsAsRead, K as useMarkInboxNotificationAsRead, ab as useMarkThreadAsRead, a3 as useMarkThreadAsResolved, a4 as useMarkThreadAsUnresolved, ac as useMutation, ad as useMyPresence, aB as useNotificationSettings, ap as useOther, aq as useOthers, ar as useOthersConnectionIds, ae as useOthersListener, as as useOthersMapped, af as useRedo, ag as useRemoveReaction, ah as useRoom, aH as useRoomInfo, az as useRoomSubscriptionSettings, aw as useSearchComments, at as useSelf, aF as useSendAiMessage, ai as useStatus, au as useStorage, aj as useStorageRoot, a5 as useSubscribeToThread, N as useSyncStatus, ak as useThreadSubscription, av as useThreads, al as useUndo, aJ as useUnreadInboxNotificationsCount, a6 as useUnsubscribeFromThread, am as useUpdateMyPresence, aC as useUpdateNotificationSettings, an as useUpdateRoomSubscriptionSettings, aP as useUrlMetadata, aK as useUser, aG as useUserThreads_experimental } from './room-BvPZu216.cjs';
1
+ import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-kE9R5ats.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, aR as useAiChat, aT as useAiChatMessages, aU as useAiChatStatus, aS as useAiChats, aD as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aJ as useCreateAiChat, V as useCreateComment, aw as useCreateFeed, az as useCreateFeedMessage, W as useCreateThread, aK as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, ax as useDeleteFeed, aA as useDeleteFeedMessage, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, a0 as useEditCommentMetadata, $ as useEditThreadMetadata, F as useErrorListener, a5 as useEventListener, av as useFeedMessages, au as useFeeds, aO as useGroupInfo, a6 as useHistory, am as useHistoryVersionData, aE as useHistoryVersions, _ as useInboxNotificationThread, aG 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, aH 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, aN as useRoomInfo, aF as useRoomSubscriptionSettings, aC as useSearchComments, ar as useSelf, aL 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, aP as useUnreadInboxNotificationsCount, a4 as useUnsubscribeFromThread, aB as useUpdateFeedMessage, ay as useUpdateFeedMetadata, ak as useUpdateMyPresence, aI as useUpdateNotificationSettings, al as useUpdateRoomSubscriptionSettings, aV as useUrlMetadata, aQ as useUser, aM as useUserThreads_experimental } from './room-kE9R5ats.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, y as RegisterAiToolProps } from './room-BvPZu216.js';
2
- export { A as AiChatStatus, C as ClientContext, L as LiveblocksProvider, M as MutationContext, B as RoomContext, P as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, z as UseThreadsOptions, E as createLiveblocksContext, O as createRoomContext, Q as useAddReaction, aL as useAiChat, aN as useAiChatMessages, aO as useAiChatStatus, aM as useAiChats, ax as useAttachmentUrl, T as useBroadcastEvent, V as useCanRedo, W as useCanUndo, D as useClient, aD as useCreateAiChat, X as useCreateComment, Y as useCreateThread, aE as useDeleteAiChat, F as useDeleteAllInboxNotifications, Z as useDeleteComment, H as useDeleteInboxNotification, $ as useDeleteThread, a0 as useEditComment, a2 as useEditCommentMetadata, a1 as useEditThreadMetadata, I as useErrorListener, a7 as useEventListener, aI as useGroupInfo, a8 as useHistory, ao as useHistoryVersionData, ay as useHistoryVersions, _ as useInboxNotificationThread, aA as useInboxNotifications, a9 as useIsInsideRoom, aa as useLostConnectionListener, J as useMarkAllInboxNotificationsAsRead, K as useMarkInboxNotificationAsRead, ab as useMarkThreadAsRead, a3 as useMarkThreadAsResolved, a4 as useMarkThreadAsUnresolved, ac as useMutation, ad as useMyPresence, aB as useNotificationSettings, ap as useOther, aq as useOthers, ar as useOthersConnectionIds, ae as useOthersListener, as as useOthersMapped, af as useRedo, ag as useRemoveReaction, ah as useRoom, aH as useRoomInfo, az as useRoomSubscriptionSettings, aw as useSearchComments, at as useSelf, aF as useSendAiMessage, ai as useStatus, au as useStorage, aj as useStorageRoot, a5 as useSubscribeToThread, N as useSyncStatus, ak as useThreadSubscription, av as useThreads, al as useUndo, aJ as useUnreadInboxNotificationsCount, a6 as useUnsubscribeFromThread, am as useUpdateMyPresence, aC as useUpdateNotificationSettings, an as useUpdateRoomSubscriptionSettings, aP as useUrlMetadata, aK as useUser, aG as useUserThreads_experimental } from './room-BvPZu216.js';
1
+ import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-kE9R5ats.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, aR as useAiChat, aT as useAiChatMessages, aU as useAiChatStatus, aS as useAiChats, aD as useAttachmentUrl, P as useBroadcastEvent, Q as useCanRedo, T as useCanUndo, z as useClient, aJ as useCreateAiChat, V as useCreateComment, aw as useCreateFeed, az as useCreateFeedMessage, W as useCreateThread, aK as useDeleteAiChat, D as useDeleteAllInboxNotifications, X as useDeleteComment, ax as useDeleteFeed, aA as useDeleteFeedMessage, E as useDeleteInboxNotification, Y as useDeleteThread, Z as useEditComment, a0 as useEditCommentMetadata, $ as useEditThreadMetadata, F as useErrorListener, a5 as useEventListener, av as useFeedMessages, au as useFeeds, aO as useGroupInfo, a6 as useHistory, am as useHistoryVersionData, aE as useHistoryVersions, _ as useInboxNotificationThread, aG 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, aH 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, aN as useRoomInfo, aF as useRoomSubscriptionSettings, aC as useSearchComments, ar as useSelf, aL 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, aP as useUnreadInboxNotificationsCount, a4 as useUnsubscribeFromThread, aB as useUpdateFeedMessage, ay as useUpdateFeedMetadata, ak as useUpdateMyPresence, aI as useUpdateNotificationSettings, al as useUpdateRoomSubscriptionSettings, aV as useUrlMetadata, aQ as useUser, aM as useUserThreads_experimental } from './room-kE9R5ats.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-2AIWAOIV.js";
6
+ } from "./chunk-A7EFQVZ3.js";
7
7
  import {
8
8
  ClientContext,
9
9
  GlobalRoomContext,
@@ -23,6 +23,8 @@ import {
23
23
  _useEditCommentMetadata,
24
24
  _useEditThreadMetadata,
25
25
  _useEventListener,
26
+ _useFeedMessages,
27
+ _useFeeds,
26
28
  _useHistoryVersions,
27
29
  _useInboxNotificationThread,
28
30
  _useIsInsideRoom,
@@ -51,9 +53,13 @@ import {
51
53
  useCanUndo,
52
54
  useClient,
53
55
  useCreateAiChat,
56
+ useCreateFeed,
57
+ useCreateFeedMessage,
54
58
  useDeleteAiChat,
55
59
  useDeleteAllInboxNotifications,
56
60
  useDeleteComment,
61
+ useDeleteFeed,
62
+ useDeleteFeedMessage,
57
63
  useDeleteInboxNotification,
58
64
  useErrorListener,
59
65
  useGroupInfo,
@@ -79,9 +85,11 @@ import {
79
85
  useUndo,
80
86
  useUnreadInboxNotificationsCount,
81
87
  useUnsubscribeFromThread,
88
+ useUpdateFeedMessage,
89
+ useUpdateFeedMetadata,
82
90
  useUpdateNotificationSettings,
83
91
  useUpdateRoomSubscriptionSettings
84
- } from "./chunk-2VF57BZV.js";
92
+ } from "./chunk-EEXHY3OA.js";
85
93
 
86
94
  // src/index.ts
87
95
  import { detectDupes } from "@liveblocks/core";
@@ -111,10 +119,14 @@ export {
111
119
  useClient,
112
120
  useCreateAiChat,
113
121
  _useCreateComment as useCreateComment,
122
+ useCreateFeed,
123
+ useCreateFeedMessage,
114
124
  _useCreateThread as useCreateThread,
115
125
  useDeleteAiChat,
116
126
  useDeleteAllInboxNotifications,
117
127
  useDeleteComment,
128
+ useDeleteFeed,
129
+ useDeleteFeedMessage,
118
130
  useDeleteInboxNotification,
119
131
  _useDeleteThread as useDeleteThread,
120
132
  _useEditComment as useEditComment,
@@ -122,6 +134,8 @@ export {
122
134
  _useEditThreadMetadata as useEditThreadMetadata,
123
135
  useErrorListener,
124
136
  _useEventListener as useEventListener,
137
+ _useFeedMessages as useFeedMessages,
138
+ _useFeeds as useFeeds,
125
139
  useGroupInfo,
126
140
  useHistory,
127
141
  useHistoryVersionData,
@@ -161,6 +175,8 @@ export {
161
175
  useUndo,
162
176
  useUnreadInboxNotificationsCount,
163
177
  useUnsubscribeFromThread,
178
+ useUpdateFeedMessage,
179
+ useUpdateFeedMetadata,
164
180
  _useUpdateMyPresence as useUpdateMyPresence,
165
181
  useUpdateNotificationSettings,
166
182
  useUpdateRoomSubscriptionSettings,
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 {\n ClientContext,\n GlobalRoomContext as RoomContext,\n useClient,\n} 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":[]}
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 {\n ClientContext,\n GlobalRoomContext as RoomContext,\n useClient,\n} 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 useFeeds,\n useFeedMessages,\n useCreateFeed,\n useDeleteFeed,\n useUpdateFeedMetadata,\n useCreateFeedMessage,\n useDeleteFeedMessage,\n useUpdateFeedMessage,\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":[]}