@liveblocks/react 2.15.1 → 2.16.0-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  var PKG_NAME = "@liveblocks/react";
3
- var PKG_VERSION = "2.15.1";
3
+ var PKG_VERSION = "2.16.0-rc1";
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-UX3CG7ZS.mjs.map
23
+ //# sourceMappingURL=chunk-SIZA7M3F.mjs.map
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
- export { x as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, y as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aq as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, z as useClient, ah as useCommentsErrorListener, P as useCreateComment, Q as useCreateThread, A as useDeleteAllInboxNotifications, S as useDeleteComment, B as useDeleteInboxNotification, T as useDeleteThread, V as useEditComment, W as useEditThreadMetadata, Z as useErrorListener, $ as useEventListener, a0 as useHistory, ag as useHistoryVersionData, ar as useHistoryVersions, _ as useInboxNotificationThread, at as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, X as useMarkThreadAsResolved, Y as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, ai as useOther, aj as useOthers, ak as useOthersConnectionIds, a6 as useOthersListener, al as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, av as useRoomInfo, as as useRoomNotificationSettings, am as useSelf, aa as useStatus, an as useStorage, ab as useStorageRoot, ao as useStorageStatus, F as useSyncStatus, ac as useThreadSubscription, ap as useThreads, ad as useUndo, aw as useUnreadInboxNotificationsCount, ae as useUpdateMyPresence, af as useUpdateRoomNotificationSettings, ax as useUser, au as useUserThreads_experimental } from './room-XbmI0Hoh.mjs';
1
+ export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, x as createLiveblocksContext, G as createRoomContext, I as useAddReaction, ao as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, P as useCreateComment, Q as useCreateThread, z as useDeleteAllInboxNotifications, S as useDeleteComment, A as useDeleteInboxNotification, T as useDeleteThread, V as useEditComment, W as useEditThreadMetadata, B as useErrorListener, Z as useEventListener, $ as useHistory, af as useHistoryVersionData, ap as useHistoryVersions, _ as useInboxNotificationThread, ar as useInboxNotifications, a0 as useIsInsideRoom, a1 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a2 as useMarkThreadAsRead, X as useMarkThreadAsResolved, Y as useMarkThreadAsUnresolved, a3 as useMutation, a4 as useMyPresence, ag as useOther, ah as useOthers, ai as useOthersConnectionIds, a5 as useOthersListener, aj as useOthersMapped, a6 as useRedo, a7 as useRemoveReaction, a8 as useRoom, at as useRoomInfo, aq as useRoomNotificationSettings, ak as useSelf, a9 as useStatus, al as useStorage, aa as useStorageRoot, am as useStorageStatus, F as useSyncStatus, ab as useThreadSubscription, an as useThreads, ac as useUndo, au as useUnreadInboxNotificationsCount, ad as useUpdateMyPresence, ae as useUpdateRoomNotificationSettings, av as useUser, as as useUserThreads_experimental } from './room-Ce3twcjb.mjs';
2
2
  export { Json, JsonObject, shallow } from '@liveblocks/client';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { ReactNode } from 'react';
5
5
  import '@liveblocks/core';
6
6
 
7
- declare type Props = {
7
+ type Props = {
8
8
  fallback: ReactNode;
9
9
  children: (() => ReactNode | undefined) | ReactNode | undefined;
10
10
  };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export { x as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, y as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aq as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, z as useClient, ah as useCommentsErrorListener, P as useCreateComment, Q as useCreateThread, A as useDeleteAllInboxNotifications, S as useDeleteComment, B as useDeleteInboxNotification, T as useDeleteThread, V as useEditComment, W as useEditThreadMetadata, Z as useErrorListener, $ as useEventListener, a0 as useHistory, ag as useHistoryVersionData, ar as useHistoryVersions, _ as useInboxNotificationThread, at as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, X as useMarkThreadAsResolved, Y as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, ai as useOther, aj as useOthers, ak as useOthersConnectionIds, a6 as useOthersListener, al as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, av as useRoomInfo, as as useRoomNotificationSettings, am as useSelf, aa as useStatus, an as useStorage, ab as useStorageRoot, ao as useStorageStatus, F as useSyncStatus, ac as useThreadSubscription, ap as useThreads, ad as useUndo, aw as useUnreadInboxNotificationsCount, ae as useUpdateMyPresence, af as useUpdateRoomNotificationSettings, ax as useUser, au as useUserThreads_experimental } from './room-XbmI0Hoh.js';
1
+ export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, x as createLiveblocksContext, G as createRoomContext, I as useAddReaction, ao as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, P as useCreateComment, Q as useCreateThread, z as useDeleteAllInboxNotifications, S as useDeleteComment, A as useDeleteInboxNotification, T as useDeleteThread, V as useEditComment, W as useEditThreadMetadata, B as useErrorListener, Z as useEventListener, $ as useHistory, af as useHistoryVersionData, ap as useHistoryVersions, _ as useInboxNotificationThread, ar as useInboxNotifications, a0 as useIsInsideRoom, a1 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a2 as useMarkThreadAsRead, X as useMarkThreadAsResolved, Y as useMarkThreadAsUnresolved, a3 as useMutation, a4 as useMyPresence, ag as useOther, ah as useOthers, ai as useOthersConnectionIds, a5 as useOthersListener, aj as useOthersMapped, a6 as useRedo, a7 as useRemoveReaction, a8 as useRoom, at as useRoomInfo, aq as useRoomNotificationSettings, ak as useSelf, a9 as useStatus, al as useStorage, aa as useStorageRoot, am as useStorageStatus, F as useSyncStatus, ab as useThreadSubscription, an as useThreads, ac as useUndo, au as useUnreadInboxNotificationsCount, ad as useUpdateMyPresence, ae as useUpdateRoomNotificationSettings, av as useUser, as as useUserThreads_experimental } from './room-Ce3twcjb.js';
2
2
  export { Json, JsonObject, shallow } from '@liveblocks/client';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { ReactNode } from 'react';
5
5
  import '@liveblocks/core';
6
6
 
7
- declare type Props = {
7
+ type Props = {
8
8
  fallback: ReactNode;
9
9
  children: (() => ReactNode | undefined) | ReactNode | undefined;
10
10
  };
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkWV5AI4AEjs = require('./chunk-WV5AI4AE.js');
6
+ var _chunkIFSN2WSBjs = require('./chunk-IFSN2WSB.js');
7
7
 
8
8
 
9
9
 
@@ -66,14 +66,12 @@ var _chunkWV5AI4AEjs = require('./chunk-WV5AI4AE.js');
66
66
 
67
67
 
68
68
 
69
-
70
- var _chunkNUDMG62Pjs = require('./chunk-NUDMG62P.js');
69
+ var _chunkNZL5WL5Ojs = require('./chunk-NZL5WL5O.js');
71
70
 
72
71
  // src/index.ts
73
72
  var _core = require('@liveblocks/core');
74
73
  var _client = require('@liveblocks/client');
75
- _core.detectDupes.call(void 0, _chunkWV5AI4AEjs.PKG_NAME, _chunkWV5AI4AEjs.PKG_VERSION, _chunkWV5AI4AEjs.PKG_FORMAT);
76
-
74
+ _core.detectDupes.call(void 0, _chunkIFSN2WSBjs.PKG_NAME, _chunkIFSN2WSBjs.PKG_VERSION, _chunkIFSN2WSBjs.PKG_FORMAT);
77
75
 
78
76
 
79
77
 
@@ -138,5 +136,5 @@ _core.detectDupes.call(void 0, _chunkWV5AI4AEjs.PKG_NAME, _chunkWV5AI4AEjs.PKG_V
138
136
 
139
137
 
140
138
 
141
- exports.ClientContext = _chunkNUDMG62Pjs.ClientContext; exports.ClientSideSuspense = _chunkWV5AI4AEjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkNUDMG62Pjs.LiveblocksProvider; exports.RoomContext = _chunkNUDMG62Pjs.RoomContext; exports.RoomProvider = _chunkNUDMG62Pjs._RoomProvider; exports.createLiveblocksContext = _chunkNUDMG62Pjs.createLiveblocksContext; exports.createRoomContext = _chunkNUDMG62Pjs.createRoomContext; exports.shallow = _client.shallow; exports.useAddReaction = _chunkNUDMG62Pjs._useAddReaction; exports.useAttachmentUrl = _chunkNUDMG62Pjs.useAttachmentUrl; exports.useBatch = _chunkNUDMG62Pjs.useBatch; exports.useBroadcastEvent = _chunkNUDMG62Pjs._useBroadcastEvent; exports.useCanRedo = _chunkNUDMG62Pjs.useCanRedo; exports.useCanUndo = _chunkNUDMG62Pjs.useCanUndo; exports.useClient = _chunkNUDMG62Pjs.useClient; exports.useCommentsErrorListener = _chunkNUDMG62Pjs.useCommentsErrorListener; exports.useCreateComment = _chunkNUDMG62Pjs.useCreateComment; exports.useCreateThread = _chunkNUDMG62Pjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunkNUDMG62Pjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkNUDMG62Pjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkNUDMG62Pjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkNUDMG62Pjs._useDeleteThread; exports.useEditComment = _chunkNUDMG62Pjs.useEditComment; exports.useEditThreadMetadata = _chunkNUDMG62Pjs._useEditThreadMetadata; exports.useErrorListener = _chunkNUDMG62Pjs.useErrorListener; exports.useEventListener = _chunkNUDMG62Pjs._useEventListener; exports.useHistory = _chunkNUDMG62Pjs.useHistory; exports.useHistoryVersionData = _chunkNUDMG62Pjs.useHistoryVersionData; exports.useHistoryVersions = _chunkNUDMG62Pjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkNUDMG62Pjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkNUDMG62Pjs.useInboxNotifications; exports.useIsInsideRoom = _chunkNUDMG62Pjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkNUDMG62Pjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkNUDMG62Pjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkNUDMG62Pjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkNUDMG62Pjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkNUDMG62Pjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkNUDMG62Pjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkNUDMG62Pjs._useMutation; exports.useMyPresence = _chunkNUDMG62Pjs._useMyPresence; exports.useOther = _chunkNUDMG62Pjs._useOther; exports.useOthers = _chunkNUDMG62Pjs._useOthers; exports.useOthersConnectionIds = _chunkNUDMG62Pjs.useOthersConnectionIds; exports.useOthersListener = _chunkNUDMG62Pjs._useOthersListener; exports.useOthersMapped = _chunkNUDMG62Pjs._useOthersMapped; exports.useRedo = _chunkNUDMG62Pjs.useRedo; exports.useRemoveReaction = _chunkNUDMG62Pjs.useRemoveReaction; exports.useRoom = _chunkNUDMG62Pjs._useRoom; exports.useRoomInfo = _chunkNUDMG62Pjs.useRoomInfo; exports.useRoomNotificationSettings = _chunkNUDMG62Pjs._useRoomNotificationSettings; exports.useSelf = _chunkNUDMG62Pjs._useSelf; exports.useStatus = _chunkNUDMG62Pjs.useStatus; exports.useStorage = _chunkNUDMG62Pjs._useStorage; exports.useStorageRoot = _chunkNUDMG62Pjs._useStorageRoot; exports.useStorageStatus = _chunkNUDMG62Pjs.useStorageStatus; exports.useSyncStatus = _chunkNUDMG62Pjs.useSyncStatus; exports.useThreadSubscription = _chunkNUDMG62Pjs.useThreadSubscription; exports.useThreads = _chunkNUDMG62Pjs._useThreads; exports.useUndo = _chunkNUDMG62Pjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkNUDMG62Pjs.useUnreadInboxNotificationsCount; exports.useUpdateMyPresence = _chunkNUDMG62Pjs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunkNUDMG62Pjs.useUpdateRoomNotificationSettings; exports.useUser = _chunkNUDMG62Pjs._useUser; exports.useUserThreads_experimental = _chunkNUDMG62Pjs._useUserThreads_experimental;
139
+ exports.ClientContext = _chunkNZL5WL5Ojs.ClientContext; exports.ClientSideSuspense = _chunkIFSN2WSBjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkNZL5WL5Ojs.LiveblocksProvider; exports.RoomContext = _chunkNZL5WL5Ojs.RoomContext; exports.RoomProvider = _chunkNZL5WL5Ojs._RoomProvider; exports.createLiveblocksContext = _chunkNZL5WL5Ojs.createLiveblocksContext; exports.createRoomContext = _chunkNZL5WL5Ojs.createRoomContext; exports.shallow = _client.shallow; exports.useAddReaction = _chunkNZL5WL5Ojs._useAddReaction; exports.useAttachmentUrl = _chunkNZL5WL5Ojs.useAttachmentUrl; exports.useBatch = _chunkNZL5WL5Ojs.useBatch; exports.useBroadcastEvent = _chunkNZL5WL5Ojs._useBroadcastEvent; exports.useCanRedo = _chunkNZL5WL5Ojs.useCanRedo; exports.useCanUndo = _chunkNZL5WL5Ojs.useCanUndo; exports.useClient = _chunkNZL5WL5Ojs.useClient; exports.useCreateComment = _chunkNZL5WL5Ojs.useCreateComment; exports.useCreateThread = _chunkNZL5WL5Ojs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunkNZL5WL5Ojs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkNZL5WL5Ojs.useDeleteComment; exports.useDeleteInboxNotification = _chunkNZL5WL5Ojs.useDeleteInboxNotification; exports.useDeleteThread = _chunkNZL5WL5Ojs._useDeleteThread; exports.useEditComment = _chunkNZL5WL5Ojs.useEditComment; exports.useEditThreadMetadata = _chunkNZL5WL5Ojs._useEditThreadMetadata; exports.useErrorListener = _chunkNZL5WL5Ojs.useErrorListener; exports.useEventListener = _chunkNZL5WL5Ojs._useEventListener; exports.useHistory = _chunkNZL5WL5Ojs.useHistory; exports.useHistoryVersionData = _chunkNZL5WL5Ojs.useHistoryVersionData; exports.useHistoryVersions = _chunkNZL5WL5Ojs._useHistoryVersions; exports.useInboxNotificationThread = _chunkNZL5WL5Ojs._useInboxNotificationThread; exports.useInboxNotifications = _chunkNZL5WL5Ojs.useInboxNotifications; exports.useIsInsideRoom = _chunkNZL5WL5Ojs._useIsInsideRoom; exports.useLostConnectionListener = _chunkNZL5WL5Ojs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkNZL5WL5Ojs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkNZL5WL5Ojs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkNZL5WL5Ojs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkNZL5WL5Ojs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkNZL5WL5Ojs.useMarkThreadAsUnresolved; exports.useMutation = _chunkNZL5WL5Ojs._useMutation; exports.useMyPresence = _chunkNZL5WL5Ojs._useMyPresence; exports.useOther = _chunkNZL5WL5Ojs._useOther; exports.useOthers = _chunkNZL5WL5Ojs._useOthers; exports.useOthersConnectionIds = _chunkNZL5WL5Ojs.useOthersConnectionIds; exports.useOthersListener = _chunkNZL5WL5Ojs._useOthersListener; exports.useOthersMapped = _chunkNZL5WL5Ojs._useOthersMapped; exports.useRedo = _chunkNZL5WL5Ojs.useRedo; exports.useRemoveReaction = _chunkNZL5WL5Ojs.useRemoveReaction; exports.useRoom = _chunkNZL5WL5Ojs._useRoom; exports.useRoomInfo = _chunkNZL5WL5Ojs.useRoomInfo; exports.useRoomNotificationSettings = _chunkNZL5WL5Ojs._useRoomNotificationSettings; exports.useSelf = _chunkNZL5WL5Ojs._useSelf; exports.useStatus = _chunkNZL5WL5Ojs.useStatus; exports.useStorage = _chunkNZL5WL5Ojs._useStorage; exports.useStorageRoot = _chunkNZL5WL5Ojs._useStorageRoot; exports.useStorageStatus = _chunkNZL5WL5Ojs.useStorageStatus; exports.useSyncStatus = _chunkNZL5WL5Ojs.useSyncStatus; exports.useThreadSubscription = _chunkNZL5WL5Ojs.useThreadSubscription; exports.useThreads = _chunkNZL5WL5Ojs._useThreads; exports.useUndo = _chunkNZL5WL5Ojs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkNZL5WL5Ojs.useUnreadInboxNotificationsCount; exports.useUpdateMyPresence = _chunkNZL5WL5Ojs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunkNZL5WL5Ojs.useUpdateRoomNotificationSettings; exports.useUser = _chunkNZL5WL5Ojs._useUser; exports.useUserThreads_experimental = _chunkNZL5WL5Ojs._useUserThreads_experimental;
142
140
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAc5B,SAAS,eAAe;AAXxB,YAAY,UAAU,aAAa,UAAU","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 UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useErrorListener,\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 useUpdateRoomNotificationSettings,\n useHistoryVersionData,\n} from \"./room\";\n\nexport { useCommentsErrorListener } 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 useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"]}
1
+ {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.js","../src/index.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;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;AACF,sDAA4B;AAC5B;AACA;ACrEA,wCAA4B;AAc5B,4CAAwB;AAXxB,+BAAA,yBAAY,EAAU,4BAAA,EAAa,2BAAU,CAAA;ADsE7C;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;AACF,y5HAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.js","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 UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\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 useUpdateRoomNotificationSettings,\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 useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"]}
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  PKG_FORMAT,
4
4
  PKG_NAME,
5
5
  PKG_VERSION
6
- } from "./chunk-UX3CG7ZS.mjs";
6
+ } from "./chunk-SIZA7M3F.mjs";
7
7
  import {
8
8
  ClientContext,
9
9
  LiveblocksProvider,
@@ -40,7 +40,6 @@ import {
40
40
  useCanRedo,
41
41
  useCanUndo,
42
42
  useClient,
43
- useCommentsErrorListener,
44
43
  useCreateComment,
45
44
  useDeleteAllInboxNotifications,
46
45
  useDeleteComment,
@@ -67,7 +66,7 @@ import {
67
66
  useUndo,
68
67
  useUnreadInboxNotificationsCount,
69
68
  useUpdateRoomNotificationSettings
70
- } from "./chunk-GMKB6I6V.mjs";
69
+ } from "./chunk-JZBPCFEX.mjs";
71
70
 
72
71
  // src/index.ts
73
72
  import { detectDupes } from "@liveblocks/core";
@@ -89,7 +88,6 @@ export {
89
88
  useCanRedo,
90
89
  useCanUndo,
91
90
  useClient,
92
- useCommentsErrorListener,
93
91
  useCreateComment,
94
92
  _useCreateThread as useCreateThread,
95
93
  useDeleteAllInboxNotifications,
@@ -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 UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useErrorListener,\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 useUpdateRoomNotificationSettings,\n useHistoryVersionData,\n} from \"./room\";\n\nexport { useCommentsErrorListener } 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 useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAc5B,SAAS,eAAe;AAXxB,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 UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\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 useUpdateRoomNotificationSettings,\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 useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAc5B,SAAS,eAAe;AAXxB,YAAY,UAAU,aAAa,UAAU;","names":[]}