@liveblocks/react 3.13.0-vincent2 → 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.
- package/dist/_private.cjs +7 -7
- package/dist/_private.d.cts +2 -2
- package/dist/_private.d.ts +2 -2
- package/dist/_private.js +1 -1
- package/dist/{chunk-F3MGJA3E.cjs → chunk-C7F5PZXE.cjs} +2 -2
- package/dist/chunk-C7F5PZXE.cjs.map +1 -0
- package/dist/{chunk-CCOIV25T.js → chunk-ERRJHA6O.js} +171 -16
- package/dist/chunk-ERRJHA6O.js.map +1 -0
- package/dist/{chunk-5I7TKGJB.cjs → chunk-QFAOGFJK.cjs} +170 -15
- package/dist/chunk-QFAOGFJK.cjs.map +1 -0
- package/dist/{chunk-YJFPVEXB.js → chunk-RTM66YNN.js} +2 -2
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/{room-BadENFHi.d.cts → room-CEMGQ1Mj.d.cts} +145 -108
- package/dist/{room-BadENFHi.d.ts → room-CEMGQ1Mj.d.ts} +145 -108
- package/dist/suspense.cjs +6 -4
- package/dist/suspense.cjs.map +1 -1
- package/dist/suspense.d.cts +1 -1
- package/dist/suspense.d.ts +1 -1
- package/dist/suspense.js +8 -6
- package/dist/suspense.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-5I7TKGJB.cjs.map +0 -1
- package/dist/chunk-CCOIV25T.js.map +0 -1
- package/dist/chunk-F3MGJA3E.cjs.map +0 -1
- /package/dist/{chunk-YJFPVEXB.js.map → chunk-RTM66YNN.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/version.ts
|
|
2
2
|
var PKG_NAME = "@liveblocks/react";
|
|
3
|
-
var PKG_VERSION = "3.13.0
|
|
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-
|
|
23
|
+
//# sourceMappingURL=chunk-RTM66YNN.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkC7F5PZXEcjs = require('./chunk-C7F5PZXE.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -80,12 +80,14 @@ var _chunkF3MGJA3Ecjs = require('./chunk-F3MGJA3E.cjs');
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
|
|
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,
|
|
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, _chunkF3MGJA3Ecjs.PKG_NAME, _chunkF3MGJA3Ecjs.PKG
|
|
|
165
167
|
|
|
166
168
|
|
|
167
169
|
|
|
168
|
-
exports.ClientContext =
|
|
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
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","../src/index.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","../src/index.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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-
|
|
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,
|
|
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-
|
|
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,
|
|
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-
|
|
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-
|
|
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":"
|
|
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":[]}
|