@liveblocks/react 3.7.0-preview1 → 3.7.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-AUFFB5BH.js → chunk-KYXF6473.js} +2 -2
- package/dist/{chunk-X5PYKCZB.cjs → chunk-OXA6JGB4.cjs} +2 -2
- package/dist/chunk-OXA6JGB4.cjs.map +1 -0
- package/dist/{chunk-42HXAXED.cjs → chunk-W2H56LB3.cjs} +99 -74
- package/dist/chunk-W2H56LB3.cjs.map +1 -0
- package/dist/{chunk-LYWCKEAX.js → chunk-WGUV4Z4E.js} +72 -47
- package/dist/chunk-WGUV4Z4E.js.map +1 -0
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{room-RdHnZMhs.d.cts → room-mUz5TTmo.d.cts} +23 -5
- package/dist/{room-RdHnZMhs.d.ts → room-mUz5TTmo.d.ts} +23 -5
- package/dist/suspense.cjs +4 -4
- package/dist/suspense.d.cts +1 -1
- package/dist/suspense.d.ts +1 -1
- package/dist/suspense.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-42HXAXED.cjs.map +0 -1
- package/dist/chunk-LYWCKEAX.js.map +0 -1
- package/dist/chunk-X5PYKCZB.cjs.map +0 -1
- /package/dist/{chunk-AUFFB5BH.js.map → chunk-KYXF6473.js.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOXA6JGB4cjs = require('./chunk-OXA6JGB4.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -77,12 +77,12 @@ var _chunkX5PYKCZBcjs = require('./chunk-X5PYKCZB.cjs');
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
var
|
|
80
|
+
var _chunkW2H56LB3cjs = require('./chunk-W2H56LB3.cjs');
|
|
81
81
|
|
|
82
82
|
// src/index.ts
|
|
83
83
|
var _core = require('@liveblocks/core');
|
|
84
84
|
var _client = require('@liveblocks/client');
|
|
85
|
-
_core.detectDupes.call(void 0,
|
|
85
|
+
_core.detectDupes.call(void 0, _chunkOXA6JGB4cjs.PKG_NAME, _chunkOXA6JGB4cjs.PKG_VERSION, _chunkOXA6JGB4cjs.PKG_FORMAT);
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
|
|
@@ -159,5 +159,5 @@ _core.detectDupes.call(void 0, _chunkX5PYKCZBcjs.PKG_NAME, _chunkX5PYKCZBcjs.PKG
|
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
|
|
162
|
-
exports.ClientContext =
|
|
162
|
+
exports.ClientContext = _chunkW2H56LB3cjs.ClientContext; exports.ClientSideSuspense = _chunkOXA6JGB4cjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkW2H56LB3cjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunkW2H56LB3cjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunkW2H56LB3cjs.RegisterAiTool; exports.RoomContext = _chunkW2H56LB3cjs.RoomContext; exports.RoomProvider = _chunkW2H56LB3cjs._RoomProvider; exports.createLiveblocksContext = _chunkW2H56LB3cjs.createLiveblocksContext; exports.createRoomContext = _chunkW2H56LB3cjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunkW2H56LB3cjs._useAddReaction; exports.useAiChat = _chunkW2H56LB3cjs._useAiChat; exports.useAiChatMessages = _chunkW2H56LB3cjs._useAiChatMessages; exports.useAiChats = _chunkW2H56LB3cjs._useAiChats; exports.useAttachmentUrl = _chunkW2H56LB3cjs.useAttachmentUrl; exports.useBroadcastEvent = _chunkW2H56LB3cjs._useBroadcastEvent; exports.useCanRedo = _chunkW2H56LB3cjs.useCanRedo; exports.useCanUndo = _chunkW2H56LB3cjs.useCanUndo; exports.useClient = _chunkW2H56LB3cjs.useClient; exports.useCreateAiChat = _chunkW2H56LB3cjs.useCreateAiChat; exports.useCreateComment = _chunkW2H56LB3cjs.useCreateComment; exports.useCreateThread = _chunkW2H56LB3cjs._useCreateThread; exports.useDeleteAiChat = _chunkW2H56LB3cjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunkW2H56LB3cjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkW2H56LB3cjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkW2H56LB3cjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkW2H56LB3cjs._useDeleteThread; exports.useEditComment = _chunkW2H56LB3cjs.useEditComment; exports.useEditThreadMetadata = _chunkW2H56LB3cjs._useEditThreadMetadata; exports.useErrorListener = _chunkW2H56LB3cjs.useErrorListener; exports.useEventListener = _chunkW2H56LB3cjs._useEventListener; exports.useGroupInfo = _chunkW2H56LB3cjs.useGroupInfo; exports.useHistory = _chunkW2H56LB3cjs.useHistory; exports.useHistoryVersionData = _chunkW2H56LB3cjs.useHistoryVersionData; exports.useHistoryVersions = _chunkW2H56LB3cjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkW2H56LB3cjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkW2H56LB3cjs.useInboxNotifications; exports.useIsInsideRoom = _chunkW2H56LB3cjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkW2H56LB3cjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkW2H56LB3cjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkW2H56LB3cjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkW2H56LB3cjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkW2H56LB3cjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkW2H56LB3cjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkW2H56LB3cjs._useMutation; exports.useMyPresence = _chunkW2H56LB3cjs._useMyPresence; exports.useNotificationSettings = _chunkW2H56LB3cjs.useNotificationSettings; exports.useOther = _chunkW2H56LB3cjs._useOther; exports.useOthers = _chunkW2H56LB3cjs._useOthers; exports.useOthersConnectionIds = _chunkW2H56LB3cjs.useOthersConnectionIds; exports.useOthersListener = _chunkW2H56LB3cjs._useOthersListener; exports.useOthersMapped = _chunkW2H56LB3cjs._useOthersMapped; exports.useRedo = _chunkW2H56LB3cjs.useRedo; exports.useRemoveReaction = _chunkW2H56LB3cjs.useRemoveReaction; exports.useRoom = _chunkW2H56LB3cjs._useRoom; exports.useRoomInfo = _chunkW2H56LB3cjs.useRoomInfo; exports.useRoomSubscriptionSettings = _chunkW2H56LB3cjs._useRoomSubscriptionSettings; exports.useSelf = _chunkW2H56LB3cjs._useSelf; exports.useSendAiMessage = _chunkW2H56LB3cjs.useSendAiMessage; exports.useStatus = _chunkW2H56LB3cjs.useStatus; exports.useStorage = _chunkW2H56LB3cjs._useStorage; exports.useStorageRoot = _chunkW2H56LB3cjs._useStorageRoot; exports.useSubscribeToThread = _chunkW2H56LB3cjs.useSubscribeToThread; exports.useSyncStatus = _chunkW2H56LB3cjs.useSyncStatus; exports.useThreadSubscription = _chunkW2H56LB3cjs.useThreadSubscription; exports.useThreads = _chunkW2H56LB3cjs._useThreads; exports.useUndo = _chunkW2H56LB3cjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkW2H56LB3cjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunkW2H56LB3cjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunkW2H56LB3cjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunkW2H56LB3cjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunkW2H56LB3cjs.useUpdateRoomSubscriptionSettings; exports.useUser = _chunkW2H56LB3cjs._useUser; exports.useUserThreads_experimental = _chunkW2H56LB3cjs._useUserThreads_experimental;
|
|
163
163
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-
|
|
2
|
-
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, K as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, A as createLiveblocksContext, J as createRoomContext, N as useAddReaction, aG as useAiChat, aI as useAiChatMessages, aH as useAiChats, as as useAttachmentUrl, O as useBroadcastEvent, P as useCanRedo, Q as useCanUndo, z as useClient, ay as useCreateAiChat, T as useCreateComment, V as useCreateThread, az as useDeleteAiChat, B as useDeleteAllInboxNotifications, W as useDeleteComment, D as useDeleteInboxNotification, X as useDeleteThread, Y as useEditComment, Z as useEditThreadMetadata, E as useErrorListener, a3 as useEventListener, aD as useGroupInfo, a4 as useHistory, ak as useHistoryVersionData, at as useHistoryVersions, _ as useInboxNotificationThread, av as useInboxNotifications, a5 as useIsInsideRoom, a6 as useLostConnectionListener, F as useMarkAllInboxNotificationsAsRead, H as useMarkInboxNotificationAsRead, a7 as useMarkThreadAsRead, $ as useMarkThreadAsResolved, a0 as useMarkThreadAsUnresolved, a8 as useMutation, a9 as useMyPresence, aw as useNotificationSettings, al as useOther, am as useOthers, an as useOthersConnectionIds, aa as useOthersListener, ao as useOthersMapped, ab as useRedo, ac as useRemoveReaction, ad as useRoom, aC as useRoomInfo, au as useRoomSubscriptionSettings, ap as useSelf, aA as useSendAiMessage, ae as useStatus, aq as useStorage, af as useStorageRoot, a1 as useSubscribeToThread, I as useSyncStatus, ag as useThreadSubscription, ar as useThreads, ah as useUndo, aE as useUnreadInboxNotificationsCount, a2 as useUnsubscribeFromThread, ai as useUpdateMyPresence, ax as useUpdateNotificationSettings, aj as useUpdateRoomSubscriptionSettings, aF as useUser, aB as useUserThreads_experimental } from './room-
|
|
1
|
+
import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-mUz5TTmo.cjs';
|
|
2
|
+
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, K as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, A as createLiveblocksContext, J as createRoomContext, N as useAddReaction, aG as useAiChat, aI as useAiChatMessages, aH as useAiChats, as as useAttachmentUrl, O as useBroadcastEvent, P as useCanRedo, Q as useCanUndo, z as useClient, ay as useCreateAiChat, T as useCreateComment, V as useCreateThread, az as useDeleteAiChat, B as useDeleteAllInboxNotifications, W as useDeleteComment, D as useDeleteInboxNotification, X as useDeleteThread, Y as useEditComment, Z as useEditThreadMetadata, E as useErrorListener, a3 as useEventListener, aD as useGroupInfo, a4 as useHistory, ak as useHistoryVersionData, at as useHistoryVersions, _ as useInboxNotificationThread, av as useInboxNotifications, a5 as useIsInsideRoom, a6 as useLostConnectionListener, F as useMarkAllInboxNotificationsAsRead, H as useMarkInboxNotificationAsRead, a7 as useMarkThreadAsRead, $ as useMarkThreadAsResolved, a0 as useMarkThreadAsUnresolved, a8 as useMutation, a9 as useMyPresence, aw as useNotificationSettings, al as useOther, am as useOthers, an as useOthersConnectionIds, aa as useOthersListener, ao as useOthersMapped, ab as useRedo, ac as useRemoveReaction, ad as useRoom, aC as useRoomInfo, au as useRoomSubscriptionSettings, ap as useSelf, aA as useSendAiMessage, ae as useStatus, aq as useStorage, af as useStorageRoot, a1 as useSubscribeToThread, I as useSyncStatus, ag as useThreadSubscription, ar as useThreads, ah as useUndo, aE as useUnreadInboxNotificationsCount, a2 as useUnsubscribeFromThread, ai as useUpdateMyPresence, ax as useUpdateNotificationSettings, aj as useUpdateRoomSubscriptionSettings, aF as useUser, aB as useUserThreads_experimental } from './room-mUz5TTmo.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 { C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, K as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, A as createLiveblocksContext, J as createRoomContext, N as useAddReaction, aG as useAiChat, aI as useAiChatMessages, aH as useAiChats, as as useAttachmentUrl, O as useBroadcastEvent, P as useCanRedo, Q as useCanUndo, z as useClient, ay as useCreateAiChat, T as useCreateComment, V as useCreateThread, az as useDeleteAiChat, B as useDeleteAllInboxNotifications, W as useDeleteComment, D as useDeleteInboxNotification, X as useDeleteThread, Y as useEditComment, Z as useEditThreadMetadata, E as useErrorListener, a3 as useEventListener, aD as useGroupInfo, a4 as useHistory, ak as useHistoryVersionData, at as useHistoryVersions, _ as useInboxNotificationThread, av as useInboxNotifications, a5 as useIsInsideRoom, a6 as useLostConnectionListener, F as useMarkAllInboxNotificationsAsRead, H as useMarkInboxNotificationAsRead, a7 as useMarkThreadAsRead, $ as useMarkThreadAsResolved, a0 as useMarkThreadAsUnresolved, a8 as useMutation, a9 as useMyPresence, aw as useNotificationSettings, al as useOther, am as useOthers, an as useOthersConnectionIds, aa as useOthersListener, ao as useOthersMapped, ab as useRedo, ac as useRemoveReaction, ad as useRoom, aC as useRoomInfo, au as useRoomSubscriptionSettings, ap as useSelf, aA as useSendAiMessage, ae as useStatus, aq as useStorage, af as useStorageRoot, a1 as useSubscribeToThread, I as useSyncStatus, ag as useThreadSubscription, ar as useThreads, ah as useUndo, aE as useUnreadInboxNotificationsCount, a2 as useUnsubscribeFromThread, ai as useUpdateMyPresence, ax as useUpdateNotificationSettings, aj as useUpdateRoomSubscriptionSettings, aF as useUser, aB as useUserThreads_experimental } from './room-
|
|
1
|
+
import { R as RegisterAiKnowledgeProps, w as RegisterAiToolProps } from './room-mUz5TTmo.js';
|
|
2
|
+
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, y as RoomContext, K as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, A as createLiveblocksContext, J as createRoomContext, N as useAddReaction, aG as useAiChat, aI as useAiChatMessages, aH as useAiChats, as as useAttachmentUrl, O as useBroadcastEvent, P as useCanRedo, Q as useCanUndo, z as useClient, ay as useCreateAiChat, T as useCreateComment, V as useCreateThread, az as useDeleteAiChat, B as useDeleteAllInboxNotifications, W as useDeleteComment, D as useDeleteInboxNotification, X as useDeleteThread, Y as useEditComment, Z as useEditThreadMetadata, E as useErrorListener, a3 as useEventListener, aD as useGroupInfo, a4 as useHistory, ak as useHistoryVersionData, at as useHistoryVersions, _ as useInboxNotificationThread, av as useInboxNotifications, a5 as useIsInsideRoom, a6 as useLostConnectionListener, F as useMarkAllInboxNotificationsAsRead, H as useMarkInboxNotificationAsRead, a7 as useMarkThreadAsRead, $ as useMarkThreadAsResolved, a0 as useMarkThreadAsUnresolved, a8 as useMutation, a9 as useMyPresence, aw as useNotificationSettings, al as useOther, am as useOthers, an as useOthersConnectionIds, aa as useOthersListener, ao as useOthersMapped, ab as useRedo, ac as useRemoveReaction, ad as useRoom, aC as useRoomInfo, au as useRoomSubscriptionSettings, ap as useSelf, aA as useSendAiMessage, ae as useStatus, aq as useStorage, af as useStorageRoot, a1 as useSubscribeToThread, I as useSyncStatus, ag as useThreadSubscription, ar as useThreads, ah as useUndo, aE as useUnreadInboxNotificationsCount, a2 as useUnsubscribeFromThread, ai as useUpdateMyPresence, ax as useUpdateNotificationSettings, aj as useUpdateRoomSubscriptionSettings, aF as useUser, aB as useUserThreads_experimental } from './room-mUz5TTmo.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-KYXF6473.js";
|
|
7
7
|
import {
|
|
8
8
|
ClientContext,
|
|
9
9
|
LiveblocksProvider,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
useUnsubscribeFromThread,
|
|
78
78
|
useUpdateNotificationSettings,
|
|
79
79
|
useUpdateRoomSubscriptionSettings
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-WGUV4Z4E.js";
|
|
81
81
|
|
|
82
82
|
// src/index.ts
|
|
83
83
|
import { detectDupes } from "@liveblocks/core";
|
|
@@ -134,6 +134,23 @@ type UseThreadsOptions<M extends BaseMetadata> = {
|
|
|
134
134
|
*/
|
|
135
135
|
scrollOnLoad?: boolean;
|
|
136
136
|
};
|
|
137
|
+
type InboxNotificationsQuery = {
|
|
138
|
+
/**
|
|
139
|
+
* Whether to only return inbox notifications for a specific room.
|
|
140
|
+
*/
|
|
141
|
+
roomId?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Whether to only return inbox notifications for a specific kind.
|
|
144
|
+
*/
|
|
145
|
+
kind?: string;
|
|
146
|
+
};
|
|
147
|
+
type UseInboxNotificationsOptions = {
|
|
148
|
+
/**
|
|
149
|
+
* The query to filter the inbox notifications by. If provided, only inbox notifications
|
|
150
|
+
* that match the query will be returned. If not provided, all inbox notifications will be returned.
|
|
151
|
+
*/
|
|
152
|
+
query?: InboxNotificationsQuery;
|
|
153
|
+
};
|
|
137
154
|
type UserAsyncResult<T> = AsyncResult<T, "user">;
|
|
138
155
|
type UserAsyncSuccess<T> = AsyncSuccess<T, "user">;
|
|
139
156
|
type RoomInfoAsyncResult = AsyncResult<DRI, "info">;
|
|
@@ -1183,7 +1200,7 @@ type LiveblocksContextBundle<U extends BaseUserMeta, M extends BaseMetadata> = R
|
|
|
1183
1200
|
* @example
|
|
1184
1201
|
* const { inboxNotifications, error, isLoading } = useInboxNotifications();
|
|
1185
1202
|
*/
|
|
1186
|
-
useInboxNotifications(): InboxNotificationsAsyncResult;
|
|
1203
|
+
useInboxNotifications(options?: UseInboxNotificationsOptions): InboxNotificationsAsyncResult;
|
|
1187
1204
|
/**
|
|
1188
1205
|
* Returns the number of unread inbox notifications for the current user.
|
|
1189
1206
|
*
|
|
@@ -1226,7 +1243,7 @@ type LiveblocksContextBundle<U extends BaseUserMeta, M extends BaseMetadata> = R
|
|
|
1226
1243
|
* @example
|
|
1227
1244
|
* const { inboxNotifications } = useInboxNotifications();
|
|
1228
1245
|
*/
|
|
1229
|
-
useInboxNotifications(): InboxNotificationsAsyncSuccess;
|
|
1246
|
+
useInboxNotifications(options?: UseInboxNotificationsOptions): InboxNotificationsAsyncSuccess;
|
|
1230
1247
|
/**
|
|
1231
1248
|
* Returns the number of unread inbox notifications for the current user.
|
|
1232
1249
|
*
|
|
@@ -1460,6 +1477,7 @@ type LoadableResource<T> = {
|
|
|
1460
1477
|
type RoomId = string;
|
|
1461
1478
|
type UserQueryKey = string;
|
|
1462
1479
|
type RoomQueryKey = string;
|
|
1480
|
+
type InboxNotificationsQueryKey = string;
|
|
1463
1481
|
type AiChatsQueryKey = string;
|
|
1464
1482
|
/**
|
|
1465
1483
|
* A lookup table (LUT) for all the inbox notifications.
|
|
@@ -1585,7 +1603,7 @@ declare class UmbrellaStore<M extends BaseMetadata> {
|
|
|
1585
1603
|
readonly loadingUserThreads: DefaultMap<UserQueryKey, LoadableResource<ThreadsAsyncResult<M>>>;
|
|
1586
1604
|
readonly notifications: DerivedSignal<CleanNotifications>;
|
|
1587
1605
|
readonly threadSubscriptions: DerivedSignal<CleanThreadSubscriptions>;
|
|
1588
|
-
readonly loadingNotifications: LoadableResource<InboxNotificationsAsyncResult
|
|
1606
|
+
readonly loadingNotifications: DefaultMap<InboxNotificationsQueryKey, LoadableResource<InboxNotificationsAsyncResult>>;
|
|
1589
1607
|
readonly roomSubscriptionSettingsByRoomId: DefaultMap<RoomId, LoadableResource<RoomSubscriptionSettingsAsyncResult>>;
|
|
1590
1608
|
readonly versionsByRoomId: DefaultMap<RoomId, LoadableResource<HistoryVersionsAsyncResult>>;
|
|
1591
1609
|
readonly notificationSettings: LoadableResource<NotificationSettingsAsyncResult>;
|
|
@@ -1759,14 +1777,14 @@ declare function createLiveblocksContext<U extends BaseUserMeta = DU, M extends
|
|
|
1759
1777
|
* @example
|
|
1760
1778
|
* const { inboxNotifications, error, isLoading } = useInboxNotifications();
|
|
1761
1779
|
*/
|
|
1762
|
-
declare function useInboxNotifications(): InboxNotificationsAsyncResult;
|
|
1780
|
+
declare function useInboxNotifications(options?: UseInboxNotificationsOptions): InboxNotificationsAsyncResult;
|
|
1763
1781
|
/**
|
|
1764
1782
|
* Returns the inbox notifications for the current user.
|
|
1765
1783
|
*
|
|
1766
1784
|
* @example
|
|
1767
1785
|
* const { inboxNotifications } = useInboxNotifications();
|
|
1768
1786
|
*/
|
|
1769
|
-
declare function useInboxNotificationsSuspense(): {
|
|
1787
|
+
declare function useInboxNotificationsSuspense(options?: UseInboxNotificationsOptions): {
|
|
1770
1788
|
readonly isLoading: false;
|
|
1771
1789
|
readonly inboxNotifications: _liveblocks_core.InboxNotificationData[];
|
|
1772
1790
|
readonly error?: undefined;
|
|
@@ -134,6 +134,23 @@ type UseThreadsOptions<M extends BaseMetadata> = {
|
|
|
134
134
|
*/
|
|
135
135
|
scrollOnLoad?: boolean;
|
|
136
136
|
};
|
|
137
|
+
type InboxNotificationsQuery = {
|
|
138
|
+
/**
|
|
139
|
+
* Whether to only return inbox notifications for a specific room.
|
|
140
|
+
*/
|
|
141
|
+
roomId?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Whether to only return inbox notifications for a specific kind.
|
|
144
|
+
*/
|
|
145
|
+
kind?: string;
|
|
146
|
+
};
|
|
147
|
+
type UseInboxNotificationsOptions = {
|
|
148
|
+
/**
|
|
149
|
+
* The query to filter the inbox notifications by. If provided, only inbox notifications
|
|
150
|
+
* that match the query will be returned. If not provided, all inbox notifications will be returned.
|
|
151
|
+
*/
|
|
152
|
+
query?: InboxNotificationsQuery;
|
|
153
|
+
};
|
|
137
154
|
type UserAsyncResult<T> = AsyncResult<T, "user">;
|
|
138
155
|
type UserAsyncSuccess<T> = AsyncSuccess<T, "user">;
|
|
139
156
|
type RoomInfoAsyncResult = AsyncResult<DRI, "info">;
|
|
@@ -1183,7 +1200,7 @@ type LiveblocksContextBundle<U extends BaseUserMeta, M extends BaseMetadata> = R
|
|
|
1183
1200
|
* @example
|
|
1184
1201
|
* const { inboxNotifications, error, isLoading } = useInboxNotifications();
|
|
1185
1202
|
*/
|
|
1186
|
-
useInboxNotifications(): InboxNotificationsAsyncResult;
|
|
1203
|
+
useInboxNotifications(options?: UseInboxNotificationsOptions): InboxNotificationsAsyncResult;
|
|
1187
1204
|
/**
|
|
1188
1205
|
* Returns the number of unread inbox notifications for the current user.
|
|
1189
1206
|
*
|
|
@@ -1226,7 +1243,7 @@ type LiveblocksContextBundle<U extends BaseUserMeta, M extends BaseMetadata> = R
|
|
|
1226
1243
|
* @example
|
|
1227
1244
|
* const { inboxNotifications } = useInboxNotifications();
|
|
1228
1245
|
*/
|
|
1229
|
-
useInboxNotifications(): InboxNotificationsAsyncSuccess;
|
|
1246
|
+
useInboxNotifications(options?: UseInboxNotificationsOptions): InboxNotificationsAsyncSuccess;
|
|
1230
1247
|
/**
|
|
1231
1248
|
* Returns the number of unread inbox notifications for the current user.
|
|
1232
1249
|
*
|
|
@@ -1460,6 +1477,7 @@ type LoadableResource<T> = {
|
|
|
1460
1477
|
type RoomId = string;
|
|
1461
1478
|
type UserQueryKey = string;
|
|
1462
1479
|
type RoomQueryKey = string;
|
|
1480
|
+
type InboxNotificationsQueryKey = string;
|
|
1463
1481
|
type AiChatsQueryKey = string;
|
|
1464
1482
|
/**
|
|
1465
1483
|
* A lookup table (LUT) for all the inbox notifications.
|
|
@@ -1585,7 +1603,7 @@ declare class UmbrellaStore<M extends BaseMetadata> {
|
|
|
1585
1603
|
readonly loadingUserThreads: DefaultMap<UserQueryKey, LoadableResource<ThreadsAsyncResult<M>>>;
|
|
1586
1604
|
readonly notifications: DerivedSignal<CleanNotifications>;
|
|
1587
1605
|
readonly threadSubscriptions: DerivedSignal<CleanThreadSubscriptions>;
|
|
1588
|
-
readonly loadingNotifications: LoadableResource<InboxNotificationsAsyncResult
|
|
1606
|
+
readonly loadingNotifications: DefaultMap<InboxNotificationsQueryKey, LoadableResource<InboxNotificationsAsyncResult>>;
|
|
1589
1607
|
readonly roomSubscriptionSettingsByRoomId: DefaultMap<RoomId, LoadableResource<RoomSubscriptionSettingsAsyncResult>>;
|
|
1590
1608
|
readonly versionsByRoomId: DefaultMap<RoomId, LoadableResource<HistoryVersionsAsyncResult>>;
|
|
1591
1609
|
readonly notificationSettings: LoadableResource<NotificationSettingsAsyncResult>;
|
|
@@ -1759,14 +1777,14 @@ declare function createLiveblocksContext<U extends BaseUserMeta = DU, M extends
|
|
|
1759
1777
|
* @example
|
|
1760
1778
|
* const { inboxNotifications, error, isLoading } = useInboxNotifications();
|
|
1761
1779
|
*/
|
|
1762
|
-
declare function useInboxNotifications(): InboxNotificationsAsyncResult;
|
|
1780
|
+
declare function useInboxNotifications(options?: UseInboxNotificationsOptions): InboxNotificationsAsyncResult;
|
|
1763
1781
|
/**
|
|
1764
1782
|
* Returns the inbox notifications for the current user.
|
|
1765
1783
|
*
|
|
1766
1784
|
* @example
|
|
1767
1785
|
* const { inboxNotifications } = useInboxNotifications();
|
|
1768
1786
|
*/
|
|
1769
|
-
declare function useInboxNotificationsSuspense(): {
|
|
1787
|
+
declare function useInboxNotificationsSuspense(options?: UseInboxNotificationsOptions): {
|
|
1770
1788
|
readonly isLoading: false;
|
|
1771
1789
|
readonly inboxNotifications: _liveblocks_core.InboxNotificationData[];
|
|
1772
1790
|
readonly error?: undefined;
|
package/dist/suspense.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkOXA6JGB4cjs = require('./chunk-OXA6JGB4.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -74,12 +74,12 @@ var _chunkX5PYKCZBcjs = require('./chunk-X5PYKCZB.cjs');
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var _chunkW2H56LB3cjs = require('./chunk-W2H56LB3.cjs');
|
|
78
78
|
|
|
79
79
|
// src/suspense.ts
|
|
80
80
|
var _core = require('@liveblocks/core');
|
|
81
81
|
var _client = require('@liveblocks/client');
|
|
82
|
-
_core.detectDupes.call(void 0,
|
|
82
|
+
_core.detectDupes.call(void 0, _chunkOXA6JGB4cjs.PKG_NAME, _chunkOXA6JGB4cjs.PKG_VERSION, _chunkOXA6JGB4cjs.PKG_FORMAT);
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
|
|
@@ -153,5 +153,5 @@ _core.detectDupes.call(void 0, _chunkX5PYKCZBcjs.PKG_NAME, _chunkX5PYKCZBcjs.PKG
|
|
|
153
153
|
|
|
154
154
|
|
|
155
155
|
|
|
156
|
-
exports.ClientContext =
|
|
156
|
+
exports.ClientContext = _chunkW2H56LB3cjs.ClientContext; exports.ClientSideSuspense = _chunkOXA6JGB4cjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkW2H56LB3cjs.LiveblocksProvider; exports.RegisterAiKnowledge = _chunkW2H56LB3cjs.RegisterAiKnowledge; exports.RegisterAiTool = _chunkW2H56LB3cjs.RegisterAiTool; exports.RoomContext = _chunkW2H56LB3cjs.RoomContext; exports.RoomProvider = _chunkW2H56LB3cjs._RoomProvider; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunkW2H56LB3cjs._useAddReaction; exports.useAiChat = _chunkW2H56LB3cjs._useAiChatSuspense; exports.useAiChatMessages = _chunkW2H56LB3cjs._useAiChatMessagesSuspense; exports.useAiChats = _chunkW2H56LB3cjs._useAiChatsSuspense; exports.useAttachmentUrl = _chunkW2H56LB3cjs.useAttachmentUrlSuspense; exports.useBroadcastEvent = _chunkW2H56LB3cjs._useBroadcastEvent; exports.useCanRedo = _chunkW2H56LB3cjs.useCanRedo; exports.useCanUndo = _chunkW2H56LB3cjs.useCanUndo; exports.useClient = _chunkW2H56LB3cjs.useClient; exports.useCreateAiChat = _chunkW2H56LB3cjs.useCreateAiChat; exports.useCreateComment = _chunkW2H56LB3cjs.useCreateComment; exports.useCreateThread = _chunkW2H56LB3cjs._useCreateThread; exports.useDeleteAiChat = _chunkW2H56LB3cjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunkW2H56LB3cjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkW2H56LB3cjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkW2H56LB3cjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkW2H56LB3cjs._useDeleteThread; exports.useEditComment = _chunkW2H56LB3cjs.useEditComment; exports.useEditThreadMetadata = _chunkW2H56LB3cjs._useEditThreadMetadata; exports.useErrorListener = _chunkW2H56LB3cjs.useErrorListener; exports.useEventListener = _chunkW2H56LB3cjs._useEventListener; exports.useGroupInfo = _chunkW2H56LB3cjs.useGroupInfoSuspense; exports.useHistory = _chunkW2H56LB3cjs.useHistory; exports.useHistoryVersions = _chunkW2H56LB3cjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunkW2H56LB3cjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkW2H56LB3cjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunkW2H56LB3cjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkW2H56LB3cjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkW2H56LB3cjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkW2H56LB3cjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkW2H56LB3cjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkW2H56LB3cjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkW2H56LB3cjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkW2H56LB3cjs._useMutation; exports.useMyPresence = _chunkW2H56LB3cjs._useMyPresence; exports.useNotificationSettings = _chunkW2H56LB3cjs.useNotificationSettingsSuspense; exports.useOther = _chunkW2H56LB3cjs._useOtherSuspense; exports.useOthers = _chunkW2H56LB3cjs._useOthersSuspense; exports.useOthersConnectionIds = _chunkW2H56LB3cjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunkW2H56LB3cjs._useOthersListener; exports.useOthersMapped = _chunkW2H56LB3cjs._useOthersMappedSuspense; exports.useRedo = _chunkW2H56LB3cjs.useRedo; exports.useRemoveReaction = _chunkW2H56LB3cjs.useRemoveReaction; exports.useRoom = _chunkW2H56LB3cjs._useRoom; exports.useRoomInfo = _chunkW2H56LB3cjs.useRoomInfoSuspense; exports.useRoomSubscriptionSettings = _chunkW2H56LB3cjs._useRoomSubscriptionSettingsSuspense; exports.useSelf = _chunkW2H56LB3cjs._useSelfSuspense; exports.useSendAiMessage = _chunkW2H56LB3cjs.useSendAiMessage; exports.useStatus = _chunkW2H56LB3cjs.useStatus; exports.useStorage = _chunkW2H56LB3cjs._useStorageSuspense; exports.useStorageRoot = _chunkW2H56LB3cjs._useStorageRoot; exports.useSubscribeToThread = _chunkW2H56LB3cjs.useSubscribeToThread; exports.useSyncStatus = _chunkW2H56LB3cjs.useSyncStatus; exports.useThreadSubscription = _chunkW2H56LB3cjs.useThreadSubscription; exports.useThreads = _chunkW2H56LB3cjs._useThreadsSuspense; exports.useUndo = _chunkW2H56LB3cjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkW2H56LB3cjs.useUnreadInboxNotificationsCountSuspense; exports.useUnsubscribeFromThread = _chunkW2H56LB3cjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunkW2H56LB3cjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunkW2H56LB3cjs.useUpdateNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunkW2H56LB3cjs.useUpdateRoomSubscriptionSettings; exports.useUser = _chunkW2H56LB3cjs._useUserSuspense; exports.useUserThreads_experimental = _chunkW2H56LB3cjs._useUserThreadsSuspense_experimental;
|
|
157
157
|
//# sourceMappingURL=suspense.cjs.map
|
package/dist/suspense.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ClientSideSuspense, RegisterAiKnowledge, RegisterAiTool } from './index.cjs';
|
|
2
|
-
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, w as RegisterAiToolProps, y as RoomContext, K as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, N as useAddReaction, b0 as useAiChat, a$ as useAiChatMessages, a_ as useAiChats, aQ as useAttachmentUrl, O as useBroadcastEvent, P as useCanRedo, Q as useCanUndo, z as useClient, ay as useCreateAiChat, T as useCreateComment, V as useCreateThread, az as useDeleteAiChat, B as useDeleteAllInboxNotifications, W as useDeleteComment, D as useDeleteInboxNotification, X as useDeleteThread, Y as useEditComment, Z as useEditThreadMetadata, E as useErrorListener, a3 as useEventListener, aW as useGroupInfo, a4 as useHistory, aR as useHistoryVersions, _ as useInboxNotificationThread, aT as useInboxNotifications, a5 as useIsInsideRoom, a6 as useLostConnectionListener, F as useMarkAllInboxNotificationsAsRead, H as useMarkInboxNotificationAsRead, a7 as useMarkThreadAsRead, $ as useMarkThreadAsResolved, a0 as useMarkThreadAsUnresolved, a8 as useMutation, a9 as useMyPresence, aU as useNotificationSettings, aJ as useOther, aK as useOthers, aL as useOthersConnectionIds, aa as useOthersListener, aM as useOthersMapped, ab as useRedo, ac as useRemoveReaction, ad as useRoom, aV as useRoomInfo, aS as useRoomSubscriptionSettings, aN as useSelf, aA as useSendAiMessage, ae as useStatus, aO as useStorage, af as useStorageRoot, a1 as useSubscribeToThread, I as useSyncStatus, ag as useThreadSubscription, aP as useThreads, ah as useUndo, aX as useUnreadInboxNotificationsCount, a2 as useUnsubscribeFromThread, ai as useUpdateMyPresence, ax as useUpdateNotificationSettings, aj as useUpdateRoomSubscriptionSettings, aY as useUser, aZ as useUserThreads_experimental } from './room-
|
|
2
|
+
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, w as RegisterAiToolProps, y as RoomContext, K as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, N as useAddReaction, b0 as useAiChat, a$ as useAiChatMessages, a_ as useAiChats, aQ as useAttachmentUrl, O as useBroadcastEvent, P as useCanRedo, Q as useCanUndo, z as useClient, ay as useCreateAiChat, T as useCreateComment, V as useCreateThread, az as useDeleteAiChat, B as useDeleteAllInboxNotifications, W as useDeleteComment, D as useDeleteInboxNotification, X as useDeleteThread, Y as useEditComment, Z as useEditThreadMetadata, E as useErrorListener, a3 as useEventListener, aW as useGroupInfo, a4 as useHistory, aR as useHistoryVersions, _ as useInboxNotificationThread, aT as useInboxNotifications, a5 as useIsInsideRoom, a6 as useLostConnectionListener, F as useMarkAllInboxNotificationsAsRead, H as useMarkInboxNotificationAsRead, a7 as useMarkThreadAsRead, $ as useMarkThreadAsResolved, a0 as useMarkThreadAsUnresolved, a8 as useMutation, a9 as useMyPresence, aU as useNotificationSettings, aJ as useOther, aK as useOthers, aL as useOthersConnectionIds, aa as useOthersListener, aM as useOthersMapped, ab as useRedo, ac as useRemoveReaction, ad as useRoom, aV as useRoomInfo, aS as useRoomSubscriptionSettings, aN as useSelf, aA as useSendAiMessage, ae as useStatus, aO as useStorage, af as useStorageRoot, a1 as useSubscribeToThread, I as useSyncStatus, ag as useThreadSubscription, aP as useThreads, ah as useUndo, aX as useUnreadInboxNotificationsCount, a2 as useUnsubscribeFromThread, ai as useUpdateMyPresence, ax as useUpdateNotificationSettings, aj as useUpdateRoomSubscriptionSettings, aY as useUser, aZ as useUserThreads_experimental } from './room-mUz5TTmo.cjs';
|
|
3
3
|
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
package/dist/suspense.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ClientSideSuspense, RegisterAiKnowledge, RegisterAiTool } from './index.js';
|
|
2
|
-
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, w as RegisterAiToolProps, y as RoomContext, K as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, N as useAddReaction, b0 as useAiChat, a$ as useAiChatMessages, a_ as useAiChats, aQ as useAttachmentUrl, O as useBroadcastEvent, P as useCanRedo, Q as useCanUndo, z as useClient, ay as useCreateAiChat, T as useCreateComment, V as useCreateThread, az as useDeleteAiChat, B as useDeleteAllInboxNotifications, W as useDeleteComment, D as useDeleteInboxNotification, X as useDeleteThread, Y as useEditComment, Z as useEditThreadMetadata, E as useErrorListener, a3 as useEventListener, aW as useGroupInfo, a4 as useHistory, aR as useHistoryVersions, _ as useInboxNotificationThread, aT as useInboxNotifications, a5 as useIsInsideRoom, a6 as useLostConnectionListener, F as useMarkAllInboxNotificationsAsRead, H as useMarkInboxNotificationAsRead, a7 as useMarkThreadAsRead, $ as useMarkThreadAsResolved, a0 as useMarkThreadAsUnresolved, a8 as useMutation, a9 as useMyPresence, aU as useNotificationSettings, aJ as useOther, aK as useOthers, aL as useOthersConnectionIds, aa as useOthersListener, aM as useOthersMapped, ab as useRedo, ac as useRemoveReaction, ad as useRoom, aV as useRoomInfo, aS as useRoomSubscriptionSettings, aN as useSelf, aA as useSendAiMessage, ae as useStatus, aO as useStorage, af as useStorageRoot, a1 as useSubscribeToThread, I as useSyncStatus, ag as useThreadSubscription, aP as useThreads, ah as useUndo, aX as useUnreadInboxNotificationsCount, a2 as useUnsubscribeFromThread, ai as useUpdateMyPresence, ax as useUpdateNotificationSettings, aj as useUpdateRoomSubscriptionSettings, aY as useUser, aZ as useUserThreads_experimental } from './room-
|
|
2
|
+
export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RegisterAiKnowledgeProps, w as RegisterAiToolProps, y as RoomContext, K as RoomProvider, S as SendAiMessageOptions, U as UseSendAiMessageOptions, x as UseThreadsOptions, N as useAddReaction, b0 as useAiChat, a$ as useAiChatMessages, a_ as useAiChats, aQ as useAttachmentUrl, O as useBroadcastEvent, P as useCanRedo, Q as useCanUndo, z as useClient, ay as useCreateAiChat, T as useCreateComment, V as useCreateThread, az as useDeleteAiChat, B as useDeleteAllInboxNotifications, W as useDeleteComment, D as useDeleteInboxNotification, X as useDeleteThread, Y as useEditComment, Z as useEditThreadMetadata, E as useErrorListener, a3 as useEventListener, aW as useGroupInfo, a4 as useHistory, aR as useHistoryVersions, _ as useInboxNotificationThread, aT as useInboxNotifications, a5 as useIsInsideRoom, a6 as useLostConnectionListener, F as useMarkAllInboxNotificationsAsRead, H as useMarkInboxNotificationAsRead, a7 as useMarkThreadAsRead, $ as useMarkThreadAsResolved, a0 as useMarkThreadAsUnresolved, a8 as useMutation, a9 as useMyPresence, aU as useNotificationSettings, aJ as useOther, aK as useOthers, aL as useOthersConnectionIds, aa as useOthersListener, aM as useOthersMapped, ab as useRedo, ac as useRemoveReaction, ad as useRoom, aV as useRoomInfo, aS as useRoomSubscriptionSettings, aN as useSelf, aA as useSendAiMessage, ae as useStatus, aO as useStorage, af as useStorageRoot, a1 as useSubscribeToThread, I as useSyncStatus, ag as useThreadSubscription, aP as useThreads, ah as useUndo, aX as useUnreadInboxNotificationsCount, a2 as useUnsubscribeFromThread, ai as useUpdateMyPresence, ax as useUpdateNotificationSettings, aj as useUpdateRoomSubscriptionSettings, aY as useUser, aZ as useUserThreads_experimental } from './room-mUz5TTmo.js';
|
|
3
3
|
export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
package/dist/suspense.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
PKG_FORMAT,
|
|
4
4
|
PKG_NAME,
|
|
5
5
|
PKG_VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KYXF6473.js";
|
|
7
7
|
import {
|
|
8
8
|
ClientContext,
|
|
9
9
|
LiveblocksProvider,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
useUnsubscribeFromThread,
|
|
75
75
|
useUpdateNotificationSettings,
|
|
76
76
|
useUpdateRoomSubscriptionSettings
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-WGUV4Z4E.js";
|
|
78
78
|
|
|
79
79
|
// src/suspense.ts
|
|
80
80
|
import { detectDupes } from "@liveblocks/core";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/react",
|
|
3
|
-
"version": "3.7.0
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "A set of React hooks and providers to use Liveblocks declaratively. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"showdeps": "depcruise src --include-only '^src' --exclude='__tests__' --output-type dot | dot -T svg > /tmp/dependency-graph.svg && open /tmp/dependency-graph.svg"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@liveblocks/client": "3.7.0
|
|
65
|
-
"@liveblocks/core": "3.7.0
|
|
64
|
+
"@liveblocks/client": "3.7.0",
|
|
65
|
+
"@liveblocks/core": "3.7.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@types/react": "*",
|