@liveblocks/react 2.0.5 → 2.1.1-test1

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/index.mjs CHANGED
@@ -8,14 +8,13 @@ import {
8
8
  PKG_VERSION,
9
9
  RoomContext,
10
10
  _RoomProvider,
11
- __1,
12
- __2,
13
11
  _useAddReaction,
14
12
  _useBroadcastEvent,
15
13
  _useCreateThread,
16
14
  _useDeleteThread,
17
15
  _useEditThreadMetadata,
18
16
  _useEventListener,
17
+ _useInboxNotificationThread,
19
18
  _useMutation,
20
19
  _useMyPresence,
21
20
  _useOther,
@@ -28,6 +27,7 @@ import {
28
27
  _useStorageRoot,
29
28
  _useThreads,
30
29
  _useUpdateMyPresence,
30
+ _useUser,
31
31
  createLiveblocksContext,
32
32
  createRoomContext,
33
33
  selectedThreads,
@@ -52,11 +52,12 @@ import {
52
52
  useRoomInfo,
53
53
  useRoomNotificationSettings,
54
54
  useStatus,
55
+ useStorageStatus,
55
56
  useThreadSubscription,
56
57
  useUndo,
57
58
  useUnreadInboxNotificationsCount,
58
59
  useUpdateRoomNotificationSettings
59
- } from "./chunk-RJICDM5G.mjs";
60
+ } from "./chunk-RFQF5Q2A.mjs";
60
61
 
61
62
  // src/index.ts
62
63
  import { detectDupes } from "@liveblocks/core";
@@ -89,7 +90,7 @@ export {
89
90
  useErrorListener,
90
91
  _useEventListener as useEventListener,
91
92
  useHistory,
92
- __1 as useInboxNotificationThread,
93
+ _useInboxNotificationThread as useInboxNotificationThread,
93
94
  useInboxNotifications,
94
95
  useLostConnectionListener,
95
96
  useMarkAllInboxNotificationsAsRead,
@@ -111,12 +112,13 @@ export {
111
112
  useStatus,
112
113
  _useStorage as useStorage,
113
114
  _useStorageRoot as useStorageRoot,
115
+ useStorageStatus,
114
116
  useThreadSubscription,
115
117
  _useThreads as useThreads,
116
118
  useUndo,
117
119
  useUnreadInboxNotificationsCount,
118
120
  _useUpdateMyPresence as useUpdateMyPresence,
119
121
  useUpdateRoomNotificationSettings,
120
- __2 as useUser
122
+ _useUser as useUser
121
123
  };
122
124
  //# sourceMappingURL=index.mjs.map
@@ -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 { MutationContext, UseThreadsOptions } 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 LiveblocksProvider,\n createLiveblocksContext,\n useClient,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\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 useDeleteThread,\n useDeleteComment,\n useEditComment,\n useEditThreadMetadata,\n useErrorListener,\n useEventListener,\n useHistory,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useRoomNotificationSettings,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n} from \"./room\";\n\nexport { useCommentsErrorListener, CreateThreadError } from \"./room\";\nexport { selectedThreads } from \"./comments/lib/selected-threads\";\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} from \"./room\";\nexport {\n useInboxNotifications,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAU5B,SAAS,eAAe;AAPxB,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 { MutationContext, UseThreadsOptions } 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 LiveblocksProvider,\n createLiveblocksContext,\n useClient,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\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 useErrorListener,\n useEventListener,\n useHistory,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useRoomNotificationSettings,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n} from \"./room\";\n\nexport { useCommentsErrorListener, CreateThreadError } from \"./room\";\nexport { selectedThreads } from \"./comments/lib/selected-threads\";\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} from \"./room\";\nexport {\n useInboxNotifications,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAU5B,SAAS,eAAe;AAPxB,YAAY,UAAU,aAAa,UAAU;","names":[]}