@liveblocks/react
Advanced tools
Comparing version 2.13.3-emails2 to 2.14.0-lexical1
@@ -1,3 +0,3 @@ | ||
export { C as CreateThreadError, g as getUmbrellaStoreForClient, b as useAddRoomCommentReaction, a as useClientOrNull, c as useCreateRoomComment, d as useCreateRoomThread, e as useDeleteRoomComment, f as useDeleteRoomThread, h as useEditRoomComment, i as useEditRoomThreadMetadata, j as useMarkRoomThreadAsRead, k as useMarkRoomThreadAsResolved, l as useMarkRoomThreadAsUnresolved, m as useRemoveRoomCommentReaction, n as useReportTextEditor, o as useRoomAttachmentUrl, u as useRoomOrNull, p as useRoomPermissions } from './room-Rl_QnQMY.js'; | ||
import { SyncSource } from '@liveblocks/core'; | ||
export { C as CreateThreadError, g as getUmbrellaStoreForClient, b as useAddRoomCommentReaction, a as useClientOrNull, c as useCreateRoomComment, d as useCreateRoomThread, e as useCreateTextMention, f as useDeleteRoomComment, h as useDeleteRoomThread, i as useDeleteTextMention, j as useEditRoomComment, k as useEditRoomThreadMetadata, l as useMarkRoomThreadAsRead, m as useMarkRoomThreadAsResolved, n as useMarkRoomThreadAsUnresolved, o as useMentionSuggestionsCache, p as useRemoveRoomCommentReaction, q as useReportTextEditor, r as useResolveMentionSuggestions, s as useRoomAttachmentUrl, u as useRoomOrNull, t as useRoomPermissions, v as useYjsProvider } from './room-FAbgoSMw.js'; | ||
import { ISignal, SyncSource } from '@liveblocks/core'; | ||
import '@liveblocks/client'; | ||
@@ -14,2 +14,5 @@ import 'react'; | ||
declare function useSignal<T>(signal: ISignal<T>): T; | ||
declare function useSignal<T, V>(signal: ISignal<T>, selector: (value: T) => V, isEqual?: (a: V, b: V) => boolean): V; | ||
/** | ||
@@ -20,2 +23,2 @@ * @private For internal use only. Do not rely on this hook. | ||
export { useMentionSuggestions, useSyncSource }; | ||
export { useMentionSuggestions, useSignal, useSyncSource }; |
@@ -21,4 +21,10 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } | ||
var _chunkX4DDEZYLjs = require('./chunk-X4DDEZYL.js'); | ||
var _chunkN33NEN5Rjs = require('./chunk-N33NEN5R.js'); | ||
// src/use-mention-suggestions.ts | ||
@@ -29,8 +35,7 @@ var _core = require('@liveblocks/core'); | ||
function useMentionSuggestions(roomId, search) { | ||
const client = _chunkX4DDEZYLjs.useClient.call(void 0, ); | ||
const [mentionSuggestions, setMentionSuggestions] = _react2.default.useState(); | ||
const lastInvokedAt = _react2.default.useRef(); | ||
const resolveMentionSuggestions = _chunkN33NEN5Rjs.useResolveMentionSuggestions.call(void 0, ); | ||
const mentionSuggestionsCache = _chunkN33NEN5Rjs.useMentionSuggestionsCache.call(void 0, ); | ||
_react2.default.useEffect(() => { | ||
const mentionSuggestionsCache = client[_core.kInternal].mentionSuggestionsCache; | ||
const resolveMentionSuggestions = client[_core.kInternal].resolveMentionSuggestions; | ||
if (search === void 0 || !resolveMentionSuggestions) { | ||
@@ -75,3 +80,3 @@ return; | ||
}; | ||
}, [client, search, roomId]); | ||
}, [search, roomId, resolveMentionSuggestions, mentionSuggestionsCache]); | ||
return mentionSuggestions; | ||
@@ -84,3 +89,3 @@ } | ||
function useSyncSource() { | ||
const client = _chunkX4DDEZYLjs.useClient.call(void 0, ); | ||
const client = _chunkN33NEN5Rjs.useClient.call(void 0, ); | ||
const createSyncSource = client[_core.kInternal].createSyncSource; | ||
@@ -116,3 +121,9 @@ const [syncSource, setSyncSource] = _react2.default.useState(); | ||
exports.CreateThreadError = _chunkX4DDEZYLjs.CreateThreadError; exports.getUmbrellaStoreForClient = _chunkX4DDEZYLjs.getUmbrellaStoreForClient; exports.useAddRoomCommentReaction = _chunkX4DDEZYLjs.useAddRoomCommentReaction; exports.useClientOrNull = _chunkX4DDEZYLjs.useClientOrNull; exports.useCreateRoomComment = _chunkX4DDEZYLjs.useCreateRoomComment; exports.useCreateRoomThread = _chunkX4DDEZYLjs.useCreateRoomThread; exports.useDeleteRoomComment = _chunkX4DDEZYLjs.useDeleteRoomComment; exports.useDeleteRoomThread = _chunkX4DDEZYLjs.useDeleteRoomThread; exports.useEditRoomComment = _chunkX4DDEZYLjs.useEditRoomComment; exports.useEditRoomThreadMetadata = _chunkX4DDEZYLjs.useEditRoomThreadMetadata; exports.useMarkRoomThreadAsRead = _chunkX4DDEZYLjs.useMarkRoomThreadAsRead; exports.useMarkRoomThreadAsResolved = _chunkX4DDEZYLjs.useMarkRoomThreadAsResolved; exports.useMarkRoomThreadAsUnresolved = _chunkX4DDEZYLjs.useMarkRoomThreadAsUnresolved; exports.useMentionSuggestions = useMentionSuggestions; exports.useRemoveRoomCommentReaction = _chunkX4DDEZYLjs.useRemoveRoomCommentReaction; exports.useReportTextEditor = _chunkX4DDEZYLjs.useReportTextEditor; exports.useRoomAttachmentUrl = _chunkX4DDEZYLjs.useRoomAttachmentUrl; exports.useRoomOrNull = _chunkX4DDEZYLjs.useRoomOrNull; exports.useRoomPermissions = _chunkX4DDEZYLjs.useRoomPermissions; exports.useSyncSource = useSyncSource; | ||
exports.CreateThreadError = _chunkN33NEN5Rjs.CreateThreadError; exports.getUmbrellaStoreForClient = _chunkN33NEN5Rjs.getUmbrellaStoreForClient; exports.useAddRoomCommentReaction = _chunkN33NEN5Rjs.useAddRoomCommentReaction; exports.useClientOrNull = _chunkN33NEN5Rjs.useClientOrNull; exports.useCreateRoomComment = _chunkN33NEN5Rjs.useCreateRoomComment; exports.useCreateRoomThread = _chunkN33NEN5Rjs.useCreateRoomThread; exports.useCreateTextMention = _chunkN33NEN5Rjs.useCreateTextMention; exports.useDeleteRoomComment = _chunkN33NEN5Rjs.useDeleteRoomComment; exports.useDeleteRoomThread = _chunkN33NEN5Rjs.useDeleteRoomThread; exports.useDeleteTextMention = _chunkN33NEN5Rjs.useDeleteTextMention; exports.useEditRoomComment = _chunkN33NEN5Rjs.useEditRoomComment; exports.useEditRoomThreadMetadata = _chunkN33NEN5Rjs.useEditRoomThreadMetadata; exports.useMarkRoomThreadAsRead = _chunkN33NEN5Rjs.useMarkRoomThreadAsRead; exports.useMarkRoomThreadAsResolved = _chunkN33NEN5Rjs.useMarkRoomThreadAsResolved; exports.useMarkRoomThreadAsUnresolved = _chunkN33NEN5Rjs.useMarkRoomThreadAsUnresolved; exports.useMentionSuggestions = useMentionSuggestions; exports.useMentionSuggestionsCache = _chunkN33NEN5Rjs.useMentionSuggestionsCache; exports.useRemoveRoomCommentReaction = _chunkN33NEN5Rjs.useRemoveRoomCommentReaction; exports.useReportTextEditor = _chunkN33NEN5Rjs.useReportTextEditor; exports.useResolveMentionSuggestions = _chunkN33NEN5Rjs.useResolveMentionSuggestions; exports.useRoomAttachmentUrl = _chunkN33NEN5Rjs.useRoomAttachmentUrl; exports.useRoomOrNull = _chunkN33NEN5Rjs.useRoomOrNull; exports.useRoomPermissions = _chunkN33NEN5Rjs.useRoomPermissions; exports.useSignal = _chunkN33NEN5Rjs.useSignal; exports.useSyncSource = useSyncSource; exports.useYjsProvider = _chunkN33NEN5Rjs.useYjsProvider; | ||
//# sourceMappingURL=_private.js.map |
@@ -1,2 +0,2 @@ | ||
export { r as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, B as RoomProvider, U as UseStorageStatusOptions, q as UseThreadsOptions, s as createLiveblocksContext, A as createRoomContext, D as useAddReaction, al as useAttachmentUrl, E as useBatch, F as useBroadcastEvent, G as useCanRedo, H as useCanUndo, t as useClient, ac as useCommentsErrorListener, I as useCreateComment, J as useCreateThread, v as useDeleteAllInboxNotifications, K as useDeleteComment, w as useDeleteInboxNotification, N as useDeleteThread, O as useEditComment, P as useEditThreadMetadata, T as useErrorListener, V as useEventListener, W as useHistory, ab as useHistoryVersionData, am as useHistoryVersions, _ as useInboxNotificationThread, ao as useInboxNotifications, X as useIsInsideRoom, Y as useLostConnectionListener, x as useMarkAllInboxNotificationsAsRead, y as useMarkInboxNotificationAsRead, Z as useMarkThreadAsRead, Q as useMarkThreadAsResolved, S as useMarkThreadAsUnresolved, $ as useMutation, a0 as useMyPresence, ad as useOther, ae as useOthers, af as useOthersConnectionIds, a1 as useOthersListener, ag as useOthersMapped, a2 as useRedo, a3 as useRemoveReaction, a4 as useRoom, aq as useRoomInfo, an as useRoomNotificationSettings, ah as useSelf, a5 as useStatus, ai as useStorage, a6 as useStorageRoot, aj as useStorageStatus, z as useSyncStatus, a7 as useThreadSubscription, ak as useThreads, a8 as useUndo, ar as useUnreadInboxNotificationsCount, a9 as useUpdateMyPresence, aa as useUpdateRoomNotificationSettings, as as useUser, ap as useUserThreads_experimental } from './room-Rl_QnQMY.js'; | ||
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-FAbgoSMw.js'; | ||
export { Json, JsonObject, shallow } from '@liveblocks/client'; | ||
@@ -3,0 +3,0 @@ import * as React from 'react'; |
@@ -6,3 +6,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkRWQ74ZK6js = require('./chunk-RWQ74ZK6.js'); | ||
var _chunkQJWT5TQ2js = require('./chunk-QJWT5TQ2.js'); | ||
@@ -71,3 +71,3 @@ | ||
var _chunkX4DDEZYLjs = require('./chunk-X4DDEZYL.js'); | ||
var _chunkN33NEN5Rjs = require('./chunk-N33NEN5R.js'); | ||
@@ -77,3 +77,3 @@ // src/index.ts | ||
var _client = require('@liveblocks/client'); | ||
_core.detectDupes.call(void 0, _chunkRWQ74ZK6js.PKG_NAME, _chunkRWQ74ZK6js.PKG_VERSION, _chunkRWQ74ZK6js.PKG_FORMAT); | ||
_core.detectDupes.call(void 0, _chunkQJWT5TQ2js.PKG_NAME, _chunkQJWT5TQ2js.PKG_VERSION, _chunkQJWT5TQ2js.PKG_FORMAT); | ||
@@ -144,3 +144,3 @@ | ||
exports.ClientContext = _chunkX4DDEZYLjs.ClientContext; exports.ClientSideSuspense = _chunkRWQ74ZK6js.ClientSideSuspense; exports.LiveblocksProvider = _chunkX4DDEZYLjs.LiveblocksProvider; exports.RoomContext = _chunkX4DDEZYLjs.RoomContext; exports.RoomProvider = _chunkX4DDEZYLjs._RoomProvider; exports.createLiveblocksContext = _chunkX4DDEZYLjs.createLiveblocksContext; exports.createRoomContext = _chunkX4DDEZYLjs.createRoomContext; exports.shallow = _client.shallow; exports.useAddReaction = _chunkX4DDEZYLjs._useAddReaction; exports.useAttachmentUrl = _chunkX4DDEZYLjs.useAttachmentUrl; exports.useBatch = _chunkX4DDEZYLjs.useBatch; exports.useBroadcastEvent = _chunkX4DDEZYLjs._useBroadcastEvent; exports.useCanRedo = _chunkX4DDEZYLjs.useCanRedo; exports.useCanUndo = _chunkX4DDEZYLjs.useCanUndo; exports.useClient = _chunkX4DDEZYLjs.useClient; exports.useCommentsErrorListener = _chunkX4DDEZYLjs.useCommentsErrorListener; exports.useCreateComment = _chunkX4DDEZYLjs.useCreateComment; exports.useCreateThread = _chunkX4DDEZYLjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunkX4DDEZYLjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkX4DDEZYLjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkX4DDEZYLjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkX4DDEZYLjs._useDeleteThread; exports.useEditComment = _chunkX4DDEZYLjs.useEditComment; exports.useEditThreadMetadata = _chunkX4DDEZYLjs._useEditThreadMetadata; exports.useErrorListener = _chunkX4DDEZYLjs.useErrorListener; exports.useEventListener = _chunkX4DDEZYLjs._useEventListener; exports.useHistory = _chunkX4DDEZYLjs.useHistory; exports.useHistoryVersionData = _chunkX4DDEZYLjs.useHistoryVersionData; exports.useHistoryVersions = _chunkX4DDEZYLjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkX4DDEZYLjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkX4DDEZYLjs.useInboxNotifications; exports.useIsInsideRoom = _chunkX4DDEZYLjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkX4DDEZYLjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkX4DDEZYLjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkX4DDEZYLjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkX4DDEZYLjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkX4DDEZYLjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkX4DDEZYLjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkX4DDEZYLjs._useMutation; exports.useMyPresence = _chunkX4DDEZYLjs._useMyPresence; exports.useOther = _chunkX4DDEZYLjs._useOther; exports.useOthers = _chunkX4DDEZYLjs._useOthers; exports.useOthersConnectionIds = _chunkX4DDEZYLjs.useOthersConnectionIds; exports.useOthersListener = _chunkX4DDEZYLjs._useOthersListener; exports.useOthersMapped = _chunkX4DDEZYLjs._useOthersMapped; exports.useRedo = _chunkX4DDEZYLjs.useRedo; exports.useRemoveReaction = _chunkX4DDEZYLjs.useRemoveReaction; exports.useRoom = _chunkX4DDEZYLjs._useRoom; exports.useRoomInfo = _chunkX4DDEZYLjs.useRoomInfo; exports.useRoomNotificationSettings = _chunkX4DDEZYLjs._useRoomNotificationSettings; exports.useSelf = _chunkX4DDEZYLjs._useSelf; exports.useStatus = _chunkX4DDEZYLjs.useStatus; exports.useStorage = _chunkX4DDEZYLjs._useStorage; exports.useStorageRoot = _chunkX4DDEZYLjs._useStorageRoot; exports.useStorageStatus = _chunkX4DDEZYLjs.useStorageStatus; exports.useSyncStatus = _chunkX4DDEZYLjs.useSyncStatus; exports.useThreadSubscription = _chunkX4DDEZYLjs.useThreadSubscription; exports.useThreads = _chunkX4DDEZYLjs._useThreads; exports.useUndo = _chunkX4DDEZYLjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkX4DDEZYLjs.useUnreadInboxNotificationsCount; exports.useUpdateMyPresence = _chunkX4DDEZYLjs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunkX4DDEZYLjs.useUpdateRoomNotificationSettings; exports.useUser = _chunkX4DDEZYLjs._useUser; exports.useUserThreads_experimental = _chunkX4DDEZYLjs._useUserThreads_experimental; | ||
exports.ClientContext = _chunkN33NEN5Rjs.ClientContext; exports.ClientSideSuspense = _chunkQJWT5TQ2js.ClientSideSuspense; exports.LiveblocksProvider = _chunkN33NEN5Rjs.LiveblocksProvider; exports.RoomContext = _chunkN33NEN5Rjs.RoomContext; exports.RoomProvider = _chunkN33NEN5Rjs._RoomProvider; exports.createLiveblocksContext = _chunkN33NEN5Rjs.createLiveblocksContext; exports.createRoomContext = _chunkN33NEN5Rjs.createRoomContext; exports.shallow = _client.shallow; exports.useAddReaction = _chunkN33NEN5Rjs._useAddReaction; exports.useAttachmentUrl = _chunkN33NEN5Rjs.useAttachmentUrl; exports.useBatch = _chunkN33NEN5Rjs.useBatch; exports.useBroadcastEvent = _chunkN33NEN5Rjs._useBroadcastEvent; exports.useCanRedo = _chunkN33NEN5Rjs.useCanRedo; exports.useCanUndo = _chunkN33NEN5Rjs.useCanUndo; exports.useClient = _chunkN33NEN5Rjs.useClient; exports.useCommentsErrorListener = _chunkN33NEN5Rjs.useCommentsErrorListener; exports.useCreateComment = _chunkN33NEN5Rjs.useCreateComment; exports.useCreateThread = _chunkN33NEN5Rjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunkN33NEN5Rjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkN33NEN5Rjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkN33NEN5Rjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkN33NEN5Rjs._useDeleteThread; exports.useEditComment = _chunkN33NEN5Rjs.useEditComment; exports.useEditThreadMetadata = _chunkN33NEN5Rjs._useEditThreadMetadata; exports.useErrorListener = _chunkN33NEN5Rjs.useErrorListener; exports.useEventListener = _chunkN33NEN5Rjs._useEventListener; exports.useHistory = _chunkN33NEN5Rjs.useHistory; exports.useHistoryVersionData = _chunkN33NEN5Rjs.useHistoryVersionData; exports.useHistoryVersions = _chunkN33NEN5Rjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkN33NEN5Rjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkN33NEN5Rjs.useInboxNotifications; exports.useIsInsideRoom = _chunkN33NEN5Rjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkN33NEN5Rjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkN33NEN5Rjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkN33NEN5Rjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkN33NEN5Rjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkN33NEN5Rjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkN33NEN5Rjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkN33NEN5Rjs._useMutation; exports.useMyPresence = _chunkN33NEN5Rjs._useMyPresence; exports.useOther = _chunkN33NEN5Rjs._useOther; exports.useOthers = _chunkN33NEN5Rjs._useOthers; exports.useOthersConnectionIds = _chunkN33NEN5Rjs.useOthersConnectionIds; exports.useOthersListener = _chunkN33NEN5Rjs._useOthersListener; exports.useOthersMapped = _chunkN33NEN5Rjs._useOthersMapped; exports.useRedo = _chunkN33NEN5Rjs.useRedo; exports.useRemoveReaction = _chunkN33NEN5Rjs.useRemoveReaction; exports.useRoom = _chunkN33NEN5Rjs._useRoom; exports.useRoomInfo = _chunkN33NEN5Rjs.useRoomInfo; exports.useRoomNotificationSettings = _chunkN33NEN5Rjs._useRoomNotificationSettings; exports.useSelf = _chunkN33NEN5Rjs._useSelf; exports.useStatus = _chunkN33NEN5Rjs.useStatus; exports.useStorage = _chunkN33NEN5Rjs._useStorage; exports.useStorageRoot = _chunkN33NEN5Rjs._useStorageRoot; exports.useStorageStatus = _chunkN33NEN5Rjs.useStorageStatus; exports.useSyncStatus = _chunkN33NEN5Rjs.useSyncStatus; exports.useThreadSubscription = _chunkN33NEN5Rjs.useThreadSubscription; exports.useThreads = _chunkN33NEN5Rjs._useThreads; exports.useUndo = _chunkN33NEN5Rjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkN33NEN5Rjs.useUnreadInboxNotificationsCount; exports.useUpdateMyPresence = _chunkN33NEN5Rjs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunkN33NEN5Rjs.useUpdateRoomNotificationSettings; exports.useUser = _chunkN33NEN5Rjs._useUser; exports.useUserThreads_experimental = _chunkN33NEN5Rjs._useUserThreads_experimental; | ||
//# sourceMappingURL=index.js.map |
export { ClientSideSuspense } from './index.js'; | ||
export { r as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, B as RoomProvider, U as UseStorageStatusOptions, q as UseThreadsOptions, D as useAddReaction, aB as useAttachmentUrl, E as useBatch, F as useBroadcastEvent, G as useCanRedo, H as useCanUndo, t as useClient, I as useCreateComment, J as useCreateThread, v as useDeleteAllInboxNotifications, K as useDeleteComment, w as useDeleteInboxNotification, N as useDeleteThread, O as useEditComment, P as useEditThreadMetadata, T as useErrorListener, V as useEventListener, W as useHistory, aC as useHistoryVersions, _ as useInboxNotificationThread, aE as useInboxNotifications, X as useIsInsideRoom, Y as useLostConnectionListener, x as useMarkAllInboxNotificationsAsRead, y as useMarkInboxNotificationAsRead, Z as useMarkThreadAsRead, Q as useMarkThreadAsResolved, S as useMarkThreadAsUnresolved, $ as useMutation, a0 as useMyPresence, at as useOther, au as useOthers, av as useOthersConnectionIds, a1 as useOthersListener, aw as useOthersMapped, a2 as useRedo, a3 as useRemoveReaction, a4 as useRoom, aF as useRoomInfo, aD as useRoomNotificationSettings, ax as useSelf, a5 as useStatus, ay as useStorage, a6 as useStorageRoot, az as useStorageStatus, z as useSyncStatus, a7 as useThreadSubscription, aA as useThreads, a8 as useUndo, aG as useUnreadInboxNotificationsCount, a9 as useUpdateMyPresence, aa as useUpdateRoomNotificationSettings, aH as useUser, aI as useUserThreads_experimental } from './room-Rl_QnQMY.js'; | ||
export { x as ClientContext, L as LiveblocksProvider, M as MutationContext, R as RoomContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, I as useAddReaction, aG as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, z as useClient, 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, aH as useHistoryVersions, _ as useInboxNotificationThread, aJ 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, ay as useOther, az as useOthers, aA as useOthersConnectionIds, a6 as useOthersListener, aB as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, aK as useRoomInfo, aI as useRoomNotificationSettings, aC as useSelf, aa as useStatus, aD as useStorage, ab as useStorageRoot, aE as useStorageStatus, F as useSyncStatus, ac as useThreadSubscription, aF as useThreads, ad as useUndo, aL as useUnreadInboxNotificationsCount, ae as useUpdateMyPresence, af as useUpdateRoomNotificationSettings, aM as useUser, aN as useUserThreads_experimental } from './room-FAbgoSMw.js'; | ||
export { Json, JsonObject, shallow } from '@liveblocks/client'; | ||
import 'react'; | ||
import '@liveblocks/core'; |
@@ -6,3 +6,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
var _chunkRWQ74ZK6js = require('./chunk-RWQ74ZK6.js'); | ||
var _chunkQJWT5TQ2js = require('./chunk-QJWT5TQ2.js'); | ||
@@ -67,3 +67,3 @@ | ||
var _chunkX4DDEZYLjs = require('./chunk-X4DDEZYL.js'); | ||
var _chunkN33NEN5Rjs = require('./chunk-N33NEN5R.js'); | ||
@@ -73,3 +73,3 @@ // src/suspense.ts | ||
var _client = require('@liveblocks/client'); | ||
_core.detectDupes.call(void 0, _chunkRWQ74ZK6js.PKG_NAME, _chunkRWQ74ZK6js.PKG_VERSION, _chunkRWQ74ZK6js.PKG_FORMAT); | ||
_core.detectDupes.call(void 0, _chunkQJWT5TQ2js.PKG_NAME, _chunkQJWT5TQ2js.PKG_VERSION, _chunkQJWT5TQ2js.PKG_FORMAT); | ||
@@ -136,3 +136,3 @@ | ||
exports.ClientContext = _chunkX4DDEZYLjs.ClientContext; exports.ClientSideSuspense = _chunkRWQ74ZK6js.ClientSideSuspense; exports.LiveblocksProvider = _chunkX4DDEZYLjs.LiveblocksProvider; exports.RoomContext = _chunkX4DDEZYLjs.RoomContext; exports.RoomProvider = _chunkX4DDEZYLjs._RoomProvider; exports.shallow = _client.shallow; exports.useAddReaction = _chunkX4DDEZYLjs._useAddReaction; exports.useAttachmentUrl = _chunkX4DDEZYLjs.useAttachmentUrlSuspense; exports.useBatch = _chunkX4DDEZYLjs.useBatch; exports.useBroadcastEvent = _chunkX4DDEZYLjs._useBroadcastEvent; exports.useCanRedo = _chunkX4DDEZYLjs.useCanRedo; exports.useCanUndo = _chunkX4DDEZYLjs.useCanUndo; exports.useClient = _chunkX4DDEZYLjs.useClient; exports.useCreateComment = _chunkX4DDEZYLjs.useCreateComment; exports.useCreateThread = _chunkX4DDEZYLjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunkX4DDEZYLjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkX4DDEZYLjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkX4DDEZYLjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkX4DDEZYLjs._useDeleteThread; exports.useEditComment = _chunkX4DDEZYLjs.useEditComment; exports.useEditThreadMetadata = _chunkX4DDEZYLjs._useEditThreadMetadata; exports.useErrorListener = _chunkX4DDEZYLjs.useErrorListener; exports.useEventListener = _chunkX4DDEZYLjs._useEventListener; exports.useHistory = _chunkX4DDEZYLjs.useHistory; exports.useHistoryVersions = _chunkX4DDEZYLjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunkX4DDEZYLjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkX4DDEZYLjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunkX4DDEZYLjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkX4DDEZYLjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkX4DDEZYLjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkX4DDEZYLjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkX4DDEZYLjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkX4DDEZYLjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkX4DDEZYLjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkX4DDEZYLjs._useMutation; exports.useMyPresence = _chunkX4DDEZYLjs._useMyPresence; exports.useOther = _chunkX4DDEZYLjs._useOtherSuspense; exports.useOthers = _chunkX4DDEZYLjs._useOthersSuspense; exports.useOthersConnectionIds = _chunkX4DDEZYLjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunkX4DDEZYLjs._useOthersListener; exports.useOthersMapped = _chunkX4DDEZYLjs._useOthersMappedSuspense; exports.useRedo = _chunkX4DDEZYLjs.useRedo; exports.useRemoveReaction = _chunkX4DDEZYLjs.useRemoveReaction; exports.useRoom = _chunkX4DDEZYLjs._useRoom; exports.useRoomInfo = _chunkX4DDEZYLjs.useRoomInfoSuspense; exports.useRoomNotificationSettings = _chunkX4DDEZYLjs._useRoomNotificationSettingsSuspense; exports.useSelf = _chunkX4DDEZYLjs._useSelfSuspense; exports.useStatus = _chunkX4DDEZYLjs.useStatus; exports.useStorage = _chunkX4DDEZYLjs._useStorageSuspense; exports.useStorageRoot = _chunkX4DDEZYLjs._useStorageRoot; exports.useStorageStatus = _chunkX4DDEZYLjs.useStorageStatusSuspense; exports.useSyncStatus = _chunkX4DDEZYLjs.useSyncStatus; exports.useThreadSubscription = _chunkX4DDEZYLjs.useThreadSubscription; exports.useThreads = _chunkX4DDEZYLjs._useThreadsSuspense; exports.useUndo = _chunkX4DDEZYLjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkX4DDEZYLjs.useUnreadInboxNotificationsCountSuspense; exports.useUpdateMyPresence = _chunkX4DDEZYLjs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunkX4DDEZYLjs.useUpdateRoomNotificationSettings; exports.useUser = _chunkX4DDEZYLjs._useUserSuspense; exports.useUserThreads_experimental = _chunkX4DDEZYLjs._useUserThreadsSuspense_experimental; | ||
exports.ClientContext = _chunkN33NEN5Rjs.ClientContext; exports.ClientSideSuspense = _chunkQJWT5TQ2js.ClientSideSuspense; exports.LiveblocksProvider = _chunkN33NEN5Rjs.LiveblocksProvider; exports.RoomContext = _chunkN33NEN5Rjs.RoomContext; exports.RoomProvider = _chunkN33NEN5Rjs._RoomProvider; exports.shallow = _client.shallow; exports.useAddReaction = _chunkN33NEN5Rjs._useAddReaction; exports.useAttachmentUrl = _chunkN33NEN5Rjs.useAttachmentUrlSuspense; exports.useBatch = _chunkN33NEN5Rjs.useBatch; exports.useBroadcastEvent = _chunkN33NEN5Rjs._useBroadcastEvent; exports.useCanRedo = _chunkN33NEN5Rjs.useCanRedo; exports.useCanUndo = _chunkN33NEN5Rjs.useCanUndo; exports.useClient = _chunkN33NEN5Rjs.useClient; exports.useCreateComment = _chunkN33NEN5Rjs.useCreateComment; exports.useCreateThread = _chunkN33NEN5Rjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunkN33NEN5Rjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkN33NEN5Rjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkN33NEN5Rjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkN33NEN5Rjs._useDeleteThread; exports.useEditComment = _chunkN33NEN5Rjs.useEditComment; exports.useEditThreadMetadata = _chunkN33NEN5Rjs._useEditThreadMetadata; exports.useErrorListener = _chunkN33NEN5Rjs.useErrorListener; exports.useEventListener = _chunkN33NEN5Rjs._useEventListener; exports.useHistory = _chunkN33NEN5Rjs.useHistory; exports.useHistoryVersions = _chunkN33NEN5Rjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunkN33NEN5Rjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkN33NEN5Rjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunkN33NEN5Rjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkN33NEN5Rjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkN33NEN5Rjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkN33NEN5Rjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkN33NEN5Rjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkN33NEN5Rjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkN33NEN5Rjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkN33NEN5Rjs._useMutation; exports.useMyPresence = _chunkN33NEN5Rjs._useMyPresence; exports.useOther = _chunkN33NEN5Rjs._useOtherSuspense; exports.useOthers = _chunkN33NEN5Rjs._useOthersSuspense; exports.useOthersConnectionIds = _chunkN33NEN5Rjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunkN33NEN5Rjs._useOthersListener; exports.useOthersMapped = _chunkN33NEN5Rjs._useOthersMappedSuspense; exports.useRedo = _chunkN33NEN5Rjs.useRedo; exports.useRemoveReaction = _chunkN33NEN5Rjs.useRemoveReaction; exports.useRoom = _chunkN33NEN5Rjs._useRoom; exports.useRoomInfo = _chunkN33NEN5Rjs.useRoomInfoSuspense; exports.useRoomNotificationSettings = _chunkN33NEN5Rjs._useRoomNotificationSettingsSuspense; exports.useSelf = _chunkN33NEN5Rjs._useSelfSuspense; exports.useStatus = _chunkN33NEN5Rjs.useStatus; exports.useStorage = _chunkN33NEN5Rjs._useStorageSuspense; exports.useStorageRoot = _chunkN33NEN5Rjs._useStorageRoot; exports.useStorageStatus = _chunkN33NEN5Rjs.useStorageStatusSuspense; exports.useSyncStatus = _chunkN33NEN5Rjs.useSyncStatus; exports.useThreadSubscription = _chunkN33NEN5Rjs.useThreadSubscription; exports.useThreads = _chunkN33NEN5Rjs._useThreadsSuspense; exports.useUndo = _chunkN33NEN5Rjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkN33NEN5Rjs.useUnreadInboxNotificationsCountSuspense; exports.useUpdateMyPresence = _chunkN33NEN5Rjs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunkN33NEN5Rjs.useUpdateRoomNotificationSettings; exports.useUser = _chunkN33NEN5Rjs._useUserSuspense; exports.useUserThreads_experimental = _chunkN33NEN5Rjs._useUserThreadsSuspense_experimental; | ||
//# sourceMappingURL=suspense.js.map |
{ | ||
"name": "@liveblocks/react", | ||
"version": "2.13.3-emails2", | ||
"version": "2.14.0-lexical1", | ||
"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.", | ||
@@ -64,4 +64,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@liveblocks/client": "2.13.3-emails2", | ||
"@liveblocks/core": "2.13.3-emails2", | ||
"@liveblocks/client": "2.14.0-lexical1", | ||
"@liveblocks/core": "2.14.0-lexical1", | ||
"use-sync-external-store": "^1.2.2" | ||
@@ -68,0 +68,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1145960
11112
1
+ Added@liveblocks/client@2.14.0-lexical1(transitive)
+ Added@liveblocks/core@2.14.0-lexical1(transitive)
- Removed@liveblocks/client@2.13.3-emails2(transitive)
- Removed@liveblocks/core@2.13.3-emails2(transitive)