@liveblocks/react
Advanced tools
Comparing version 2.11.1 to 2.12.0-rc1
@@ -1,4 +0,4 @@ | ||
export { C as CreateThreadError, g as getUmbrellaStoreForClient } from './liveblocks-SAVcXwMX.js'; | ||
export { C as CreateThreadError, g as getUmbrellaStoreForClient } from './liveblocks-1ujmr05d.js'; | ||
import { SyncSource } from '@liveblocks/core'; | ||
import '@liveblocks/client'; | ||
import '@liveblocks/core'; | ||
import 'react'; | ||
@@ -14,2 +14,7 @@ | ||
export { useMentionSuggestions }; | ||
/** | ||
* @private For internal use only. Do not rely on this hook. | ||
*/ | ||
declare function useSyncSource(): SyncSource | undefined; | ||
export { useMentionSuggestions, useSyncSource }; |
@@ -6,3 +6,3 @@ "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 _chunk3MM4G6XBjs = require('./chunk-3MM4G6XB.js'); | ||
var _chunkIACZPXTYjs = require('./chunk-IACZPXTY.js'); | ||
@@ -14,4 +14,4 @@ // src/use-mention-suggestions.ts | ||
function useMentionSuggestions(search) { | ||
const client = _chunk3MM4G6XBjs.useClient.call(void 0, ); | ||
const room = _chunk3MM4G6XBjs._useRoom.call(void 0, ); | ||
const client = _chunkIACZPXTYjs.useClient.call(void 0, ); | ||
const room = _chunkIACZPXTYjs._useRoom.call(void 0, ); | ||
const [mentionSuggestions, setMentionSuggestions] = _react2.default.useState(); | ||
@@ -65,6 +65,22 @@ const lastInvokedAt = _react2.default.useRef(); | ||
// src/use-sync-source.ts | ||
function useSyncSource() { | ||
const client = _chunkIACZPXTYjs.useClient.call(void 0, ); | ||
const createSyncSource = client[_core.kInternal].createSyncSource; | ||
const [syncSource, setSyncSource] = _react2.default.useState(); | ||
_react2.default.useEffect(() => { | ||
const newSyncSource = createSyncSource(); | ||
setSyncSource(newSyncSource); | ||
return () => newSyncSource.destroy(); | ||
}, [createSyncSource]); | ||
return syncSource; | ||
} | ||
exports.CreateThreadError = _chunk3MM4G6XBjs.CreateThreadError; exports.getUmbrellaStoreForClient = _chunk3MM4G6XBjs.getUmbrellaStoreForClient; exports.useMentionSuggestions = useMentionSuggestions; | ||
exports.CreateThreadError = _chunkIACZPXTYjs.CreateThreadError; exports.getUmbrellaStoreForClient = _chunkIACZPXTYjs.getUmbrellaStoreForClient; exports.useMentionSuggestions = useMentionSuggestions; exports.useSyncSource = useSyncSource; | ||
//# sourceMappingURL=_private.js.map |
@@ -1,5 +0,5 @@ | ||
export { C as ClientSideSuspense, R as RoomContext, _ as RoomProvider, c as createRoomContext, a as useAddReaction, S as useAttachmentUrl, u as useBatch, b as useBroadcastEvent, d as useCanRedo, e as useCanUndo, I as useCommentsErrorListener, f as useCreateComment, g as useCreateThread, h as useDeleteComment, i as useDeleteThread, j as useEditComment, k as useEditThreadMetadata, n as useErrorListener, o as useEventListener, p as useHistory, H as useHistoryVersionData, T as useHistoryVersions, q as useIsInsideRoom, r as useLostConnectionListener, s as useMarkThreadAsRead, l as useMarkThreadAsResolved, m as useMarkThreadAsUnresolved, t as useMutation, v as useMyPresence, J as useOther, K as useOthers, L as useOthersConnectionIds, w as useOthersListener, M as useOthersMapped, x as useRedo, y as useRemoveReaction, z as useRoom, U as useRoomNotificationSettings, N as useSelf, A as useStatus, O as useStorage, B as useStorageRoot, P as useStorageStatus, D as useThreadSubscription, Q as useThreads, E as useUndo, F as useUpdateMyPresence, G as useUpdateRoomNotificationSettings } from './suspense-W7Cp9ygn.js'; | ||
export { e as ClientContext, L as LiveblocksProvider, M as MutationContext, U as UseStorageStatusOptions, d as UseThreadsOptions, f as createLiveblocksContext, u as useClient, j as useDeleteAllInboxNotifications, k as useDeleteInboxNotification, _ as useInboxNotificationThread, l as useInboxNotifications, h as useMarkAllInboxNotificationsAsRead, i as useMarkInboxNotificationAsRead, n as useRoomInfo, o as useUnreadInboxNotificationsCount, p as useUser, m as useUserThreads_experimental } from './liveblocks-SAVcXwMX.js'; | ||
export { C as ClientSideSuspense, R as RoomContext, _ as RoomProvider, c as createRoomContext, a as useAddReaction, S as useAttachmentUrl, u as useBatch, b as useBroadcastEvent, d as useCanRedo, e as useCanUndo, I as useCommentsErrorListener, f as useCreateComment, g as useCreateThread, h as useDeleteComment, i as useDeleteThread, j as useEditComment, k as useEditThreadMetadata, n as useErrorListener, o as useEventListener, p as useHistory, H as useHistoryVersionData, T as useHistoryVersions, q as useIsInsideRoom, r as useLostConnectionListener, s as useMarkThreadAsRead, l as useMarkThreadAsResolved, m as useMarkThreadAsUnresolved, t as useMutation, v as useMyPresence, J as useOther, K as useOthers, L as useOthersConnectionIds, w as useOthersListener, M as useOthersMapped, x as useRedo, y as useRemoveReaction, z as useRoom, U as useRoomNotificationSettings, N as useSelf, A as useStatus, O as useStorage, B as useStorageRoot, P as useStorageStatus, D as useThreadSubscription, Q as useThreads, E as useUndo, F as useUpdateMyPresence, G as useUpdateRoomNotificationSettings } from './suspense-560_K0iP.js'; | ||
export { e as ClientContext, L as LiveblocksProvider, M as MutationContext, U as UseStorageStatusOptions, d as UseThreadsOptions, f as createLiveblocksContext, u as useClient, h as useDeleteAllInboxNotifications, i as useDeleteInboxNotification, _ as useInboxNotificationThread, m as useInboxNotifications, j as useMarkAllInboxNotificationsAsRead, k as useMarkInboxNotificationAsRead, o as useRoomInfo, l as useSyncStatus, p as useUnreadInboxNotificationsCount, q as useUser, n as useUserThreads_experimental } from './liveblocks-1ujmr05d.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 _chunkOVU4MAZAjs = require('./chunk-OVU4MAZA.js'); | ||
var _chunk6ESOPOJRjs = require('./chunk-6ESOPOJR.js'); | ||
@@ -70,8 +70,9 @@ | ||
var _chunk3MM4G6XBjs = require('./chunk-3MM4G6XB.js'); | ||
var _chunkIACZPXTYjs = require('./chunk-IACZPXTY.js'); | ||
// src/index.ts | ||
var _core = require('@liveblocks/core'); | ||
var _client = require('@liveblocks/client'); | ||
_core.detectDupes.call(void 0, _chunkOVU4MAZAjs.PKG_NAME, _chunkOVU4MAZAjs.PKG_VERSION, _chunkOVU4MAZAjs.PKG_FORMAT); | ||
_core.detectDupes.call(void 0, _chunk6ESOPOJRjs.PKG_NAME, _chunk6ESOPOJRjs.PKG_VERSION, _chunk6ESOPOJRjs.PKG_FORMAT); | ||
@@ -141,3 +142,4 @@ | ||
exports.ClientContext = _chunk3MM4G6XBjs.ClientContext; exports.ClientSideSuspense = _chunkOVU4MAZAjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk3MM4G6XBjs.LiveblocksProvider; exports.RoomContext = _chunk3MM4G6XBjs.RoomContext; exports.RoomProvider = _chunk3MM4G6XBjs._RoomProvider; exports.createLiveblocksContext = _chunk3MM4G6XBjs.createLiveblocksContext; exports.createRoomContext = _chunk3MM4G6XBjs.createRoomContext; exports.shallow = _client.shallow; exports.useAddReaction = _chunk3MM4G6XBjs._useAddReaction; exports.useAttachmentUrl = _chunk3MM4G6XBjs.useAttachmentUrl; exports.useBatch = _chunk3MM4G6XBjs.useBatch; exports.useBroadcastEvent = _chunk3MM4G6XBjs._useBroadcastEvent; exports.useCanRedo = _chunk3MM4G6XBjs.useCanRedo; exports.useCanUndo = _chunk3MM4G6XBjs.useCanUndo; exports.useClient = _chunk3MM4G6XBjs.useClient; exports.useCommentsErrorListener = _chunk3MM4G6XBjs.useCommentsErrorListener; exports.useCreateComment = _chunk3MM4G6XBjs.useCreateComment; exports.useCreateThread = _chunk3MM4G6XBjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunk3MM4G6XBjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk3MM4G6XBjs.useDeleteComment; exports.useDeleteInboxNotification = _chunk3MM4G6XBjs.useDeleteInboxNotification; exports.useDeleteThread = _chunk3MM4G6XBjs._useDeleteThread; exports.useEditComment = _chunk3MM4G6XBjs.useEditComment; exports.useEditThreadMetadata = _chunk3MM4G6XBjs._useEditThreadMetadata; exports.useErrorListener = _chunk3MM4G6XBjs.useErrorListener; exports.useEventListener = _chunk3MM4G6XBjs._useEventListener; exports.useHistory = _chunk3MM4G6XBjs.useHistory; exports.useHistoryVersionData = _chunk3MM4G6XBjs.useHistoryVersionData; exports.useHistoryVersions = _chunk3MM4G6XBjs._useHistoryVersions; exports.useInboxNotificationThread = _chunk3MM4G6XBjs._useInboxNotificationThread; exports.useInboxNotifications = _chunk3MM4G6XBjs.useInboxNotifications; exports.useIsInsideRoom = _chunk3MM4G6XBjs._useIsInsideRoom; exports.useLostConnectionListener = _chunk3MM4G6XBjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk3MM4G6XBjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk3MM4G6XBjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk3MM4G6XBjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk3MM4G6XBjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk3MM4G6XBjs.useMarkThreadAsUnresolved; exports.useMutation = _chunk3MM4G6XBjs._useMutation; exports.useMyPresence = _chunk3MM4G6XBjs._useMyPresence; exports.useOther = _chunk3MM4G6XBjs._useOther; exports.useOthers = _chunk3MM4G6XBjs._useOthers; exports.useOthersConnectionIds = _chunk3MM4G6XBjs.useOthersConnectionIds; exports.useOthersListener = _chunk3MM4G6XBjs._useOthersListener; exports.useOthersMapped = _chunk3MM4G6XBjs._useOthersMapped; exports.useRedo = _chunk3MM4G6XBjs.useRedo; exports.useRemoveReaction = _chunk3MM4G6XBjs.useRemoveReaction; exports.useRoom = _chunk3MM4G6XBjs._useRoom; exports.useRoomInfo = _chunk3MM4G6XBjs.useRoomInfo; exports.useRoomNotificationSettings = _chunk3MM4G6XBjs._useRoomNotificationSettings; exports.useSelf = _chunk3MM4G6XBjs._useSelf; exports.useStatus = _chunk3MM4G6XBjs.useStatus; exports.useStorage = _chunk3MM4G6XBjs._useStorage; exports.useStorageRoot = _chunk3MM4G6XBjs._useStorageRoot; exports.useStorageStatus = _chunk3MM4G6XBjs.useStorageStatus; exports.useThreadSubscription = _chunk3MM4G6XBjs.useThreadSubscription; exports.useThreads = _chunk3MM4G6XBjs._useThreads; exports.useUndo = _chunk3MM4G6XBjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunk3MM4G6XBjs.useUnreadInboxNotificationsCount; exports.useUpdateMyPresence = _chunk3MM4G6XBjs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunk3MM4G6XBjs.useUpdateRoomNotificationSettings; exports.useUser = _chunk3MM4G6XBjs._useUser; exports.useUserThreads_experimental = _chunk3MM4G6XBjs._useUserThreads_experimental; | ||
exports.ClientContext = _chunkIACZPXTYjs.ClientContext; exports.ClientSideSuspense = _chunk6ESOPOJRjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkIACZPXTYjs.LiveblocksProvider; exports.RoomContext = _chunkIACZPXTYjs.RoomContext; exports.RoomProvider = _chunkIACZPXTYjs._RoomProvider; exports.createLiveblocksContext = _chunkIACZPXTYjs.createLiveblocksContext; exports.createRoomContext = _chunkIACZPXTYjs.createRoomContext; exports.shallow = _client.shallow; exports.useAddReaction = _chunkIACZPXTYjs._useAddReaction; exports.useAttachmentUrl = _chunkIACZPXTYjs.useAttachmentUrl; exports.useBatch = _chunkIACZPXTYjs.useBatch; exports.useBroadcastEvent = _chunkIACZPXTYjs._useBroadcastEvent; exports.useCanRedo = _chunkIACZPXTYjs.useCanRedo; exports.useCanUndo = _chunkIACZPXTYjs.useCanUndo; exports.useClient = _chunkIACZPXTYjs.useClient; exports.useCommentsErrorListener = _chunkIACZPXTYjs.useCommentsErrorListener; exports.useCreateComment = _chunkIACZPXTYjs.useCreateComment; exports.useCreateThread = _chunkIACZPXTYjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunkIACZPXTYjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkIACZPXTYjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkIACZPXTYjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkIACZPXTYjs._useDeleteThread; exports.useEditComment = _chunkIACZPXTYjs.useEditComment; exports.useEditThreadMetadata = _chunkIACZPXTYjs._useEditThreadMetadata; exports.useErrorListener = _chunkIACZPXTYjs.useErrorListener; exports.useEventListener = _chunkIACZPXTYjs._useEventListener; exports.useHistory = _chunkIACZPXTYjs.useHistory; exports.useHistoryVersionData = _chunkIACZPXTYjs.useHistoryVersionData; exports.useHistoryVersions = _chunkIACZPXTYjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkIACZPXTYjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkIACZPXTYjs.useInboxNotifications; exports.useIsInsideRoom = _chunkIACZPXTYjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkIACZPXTYjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkIACZPXTYjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkIACZPXTYjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkIACZPXTYjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkIACZPXTYjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkIACZPXTYjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkIACZPXTYjs._useMutation; exports.useMyPresence = _chunkIACZPXTYjs._useMyPresence; exports.useOther = _chunkIACZPXTYjs._useOther; exports.useOthers = _chunkIACZPXTYjs._useOthers; exports.useOthersConnectionIds = _chunkIACZPXTYjs.useOthersConnectionIds; exports.useOthersListener = _chunkIACZPXTYjs._useOthersListener; exports.useOthersMapped = _chunkIACZPXTYjs._useOthersMapped; exports.useRedo = _chunkIACZPXTYjs.useRedo; exports.useRemoveReaction = _chunkIACZPXTYjs.useRemoveReaction; exports.useRoom = _chunkIACZPXTYjs._useRoom; exports.useRoomInfo = _chunkIACZPXTYjs.useRoomInfo; exports.useRoomNotificationSettings = _chunkIACZPXTYjs._useRoomNotificationSettings; exports.useSelf = _chunkIACZPXTYjs._useSelf; exports.useStatus = _chunkIACZPXTYjs.useStatus; exports.useStorage = _chunkIACZPXTYjs._useStorage; exports.useStorageRoot = _chunkIACZPXTYjs._useStorageRoot; exports.useStorageStatus = _chunkIACZPXTYjs.useStorageStatus; exports.useSyncStatus = _chunkIACZPXTYjs.useSyncStatus; exports.useThreadSubscription = _chunkIACZPXTYjs.useThreadSubscription; exports.useThreads = _chunkIACZPXTYjs._useThreads; exports.useUndo = _chunkIACZPXTYjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkIACZPXTYjs.useUnreadInboxNotificationsCount; exports.useUpdateMyPresence = _chunkIACZPXTYjs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunkIACZPXTYjs.useUpdateRoomNotificationSettings; exports.useUser = _chunkIACZPXTYjs._useUser; exports.useUserThreads_experimental = _chunkIACZPXTYjs._useUserThreads_experimental; | ||
//# sourceMappingURL=index.js.map |
@@ -1,5 +0,5 @@ | ||
export { C as ClientSideSuspense, R as RoomContext, _ as RoomProvider, a as useAddReaction, a2 as useAttachmentUrl, u as useBatch, b as useBroadcastEvent, d as useCanRedo, e as useCanUndo, f as useCreateComment, g as useCreateThread, h as useDeleteComment, i as useDeleteThread, j as useEditComment, k as useEditThreadMetadata, n as useErrorListener, o as useEventListener, p as useHistory, a3 as useHistoryVersions, q as useIsInsideRoom, r as useLostConnectionListener, s as useMarkThreadAsRead, l as useMarkThreadAsResolved, m as useMarkThreadAsUnresolved, t as useMutation, v as useMyPresence, V as useOther, W as useOthers, X as useOthersConnectionIds, w as useOthersListener, Y as useOthersMapped, x as useRedo, y as useRemoveReaction, z as useRoom, a4 as useRoomNotificationSettings, Z as useSelf, A as useStatus, $ as useStorage, B as useStorageRoot, a0 as useStorageStatus, D as useThreadSubscription, a1 as useThreads, E as useUndo, F as useUpdateMyPresence, G as useUpdateRoomNotificationSettings } from './suspense-W7Cp9ygn.js'; | ||
export { e as ClientContext, L as LiveblocksProvider, M as MutationContext, U as UseStorageStatusOptions, d as UseThreadsOptions, u as useClient, j as useDeleteAllInboxNotifications, k as useDeleteInboxNotification, _ as useInboxNotificationThread, q as useInboxNotifications, h as useMarkAllInboxNotificationsAsRead, i as useMarkInboxNotificationAsRead, r as useRoomInfo, s as useUnreadInboxNotificationsCount, t as useUser, v as useUserThreads_experimental } from './liveblocks-SAVcXwMX.js'; | ||
export { C as ClientSideSuspense, R as RoomContext, _ as RoomProvider, a as useAddReaction, a2 as useAttachmentUrl, u as useBatch, b as useBroadcastEvent, d as useCanRedo, e as useCanUndo, f as useCreateComment, g as useCreateThread, h as useDeleteComment, i as useDeleteThread, j as useEditComment, k as useEditThreadMetadata, n as useErrorListener, o as useEventListener, p as useHistory, a3 as useHistoryVersions, q as useIsInsideRoom, r as useLostConnectionListener, s as useMarkThreadAsRead, l as useMarkThreadAsResolved, m as useMarkThreadAsUnresolved, t as useMutation, v as useMyPresence, V as useOther, W as useOthers, X as useOthersConnectionIds, w as useOthersListener, Y as useOthersMapped, x as useRedo, y as useRemoveReaction, z as useRoom, a4 as useRoomNotificationSettings, Z as useSelf, A as useStatus, $ as useStorage, B as useStorageRoot, a0 as useStorageStatus, D as useThreadSubscription, a1 as useThreads, E as useUndo, F as useUpdateMyPresence, G as useUpdateRoomNotificationSettings } from './suspense-560_K0iP.js'; | ||
export { e as ClientContext, L as LiveblocksProvider, M as MutationContext, U as UseStorageStatusOptions, d as UseThreadsOptions, u as useClient, h as useDeleteAllInboxNotifications, i as useDeleteInboxNotification, _ as useInboxNotificationThread, r as useInboxNotifications, j as useMarkAllInboxNotificationsAsRead, k as useMarkInboxNotificationAsRead, s as useRoomInfo, l as useSyncStatus, t as useUnreadInboxNotificationsCount, v as useUser, w as useUserThreads_experimental } from './liveblocks-1ujmr05d.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 _chunkOVU4MAZAjs = require('./chunk-OVU4MAZA.js'); | ||
var _chunk6ESOPOJRjs = require('./chunk-6ESOPOJR.js'); | ||
@@ -66,8 +66,9 @@ | ||
var _chunk3MM4G6XBjs = require('./chunk-3MM4G6XB.js'); | ||
var _chunkIACZPXTYjs = require('./chunk-IACZPXTY.js'); | ||
// src/suspense.ts | ||
var _core = require('@liveblocks/core'); | ||
var _client = require('@liveblocks/client'); | ||
_core.detectDupes.call(void 0, _chunkOVU4MAZAjs.PKG_NAME, _chunkOVU4MAZAjs.PKG_VERSION, _chunkOVU4MAZAjs.PKG_FORMAT); | ||
_core.detectDupes.call(void 0, _chunk6ESOPOJRjs.PKG_NAME, _chunk6ESOPOJRjs.PKG_VERSION, _chunk6ESOPOJRjs.PKG_FORMAT); | ||
@@ -133,3 +134,4 @@ | ||
exports.ClientContext = _chunk3MM4G6XBjs.ClientContext; exports.ClientSideSuspense = _chunkOVU4MAZAjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk3MM4G6XBjs.LiveblocksProvider; exports.RoomContext = _chunk3MM4G6XBjs.RoomContext; exports.RoomProvider = _chunk3MM4G6XBjs._RoomProvider; exports.shallow = _client.shallow; exports.useAddReaction = _chunk3MM4G6XBjs._useAddReaction; exports.useAttachmentUrl = _chunk3MM4G6XBjs.useAttachmentUrlSuspense; exports.useBatch = _chunk3MM4G6XBjs.useBatch; exports.useBroadcastEvent = _chunk3MM4G6XBjs._useBroadcastEvent; exports.useCanRedo = _chunk3MM4G6XBjs.useCanRedo; exports.useCanUndo = _chunk3MM4G6XBjs.useCanUndo; exports.useClient = _chunk3MM4G6XBjs.useClient; exports.useCreateComment = _chunk3MM4G6XBjs.useCreateComment; exports.useCreateThread = _chunk3MM4G6XBjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunk3MM4G6XBjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk3MM4G6XBjs.useDeleteComment; exports.useDeleteInboxNotification = _chunk3MM4G6XBjs.useDeleteInboxNotification; exports.useDeleteThread = _chunk3MM4G6XBjs._useDeleteThread; exports.useEditComment = _chunk3MM4G6XBjs.useEditComment; exports.useEditThreadMetadata = _chunk3MM4G6XBjs._useEditThreadMetadata; exports.useErrorListener = _chunk3MM4G6XBjs.useErrorListener; exports.useEventListener = _chunk3MM4G6XBjs._useEventListener; exports.useHistory = _chunk3MM4G6XBjs.useHistory; exports.useHistoryVersions = _chunk3MM4G6XBjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunk3MM4G6XBjs._useInboxNotificationThread; exports.useInboxNotifications = _chunk3MM4G6XBjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunk3MM4G6XBjs._useIsInsideRoom; exports.useLostConnectionListener = _chunk3MM4G6XBjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk3MM4G6XBjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk3MM4G6XBjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk3MM4G6XBjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk3MM4G6XBjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk3MM4G6XBjs.useMarkThreadAsUnresolved; exports.useMutation = _chunk3MM4G6XBjs._useMutation; exports.useMyPresence = _chunk3MM4G6XBjs._useMyPresence; exports.useOther = _chunk3MM4G6XBjs._useOtherSuspense; exports.useOthers = _chunk3MM4G6XBjs._useOthersSuspense; exports.useOthersConnectionIds = _chunk3MM4G6XBjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunk3MM4G6XBjs._useOthersListener; exports.useOthersMapped = _chunk3MM4G6XBjs._useOthersMappedSuspense; exports.useRedo = _chunk3MM4G6XBjs.useRedo; exports.useRemoveReaction = _chunk3MM4G6XBjs.useRemoveReaction; exports.useRoom = _chunk3MM4G6XBjs._useRoom; exports.useRoomInfo = _chunk3MM4G6XBjs.useRoomInfoSuspense; exports.useRoomNotificationSettings = _chunk3MM4G6XBjs._useRoomNotificationSettingsSuspense; exports.useSelf = _chunk3MM4G6XBjs._useSelfSuspense; exports.useStatus = _chunk3MM4G6XBjs.useStatus; exports.useStorage = _chunk3MM4G6XBjs._useStorageSuspense; exports.useStorageRoot = _chunk3MM4G6XBjs._useStorageRoot; exports.useStorageStatus = _chunk3MM4G6XBjs.useStorageStatusSuspense; exports.useThreadSubscription = _chunk3MM4G6XBjs.useThreadSubscription; exports.useThreads = _chunk3MM4G6XBjs._useThreadsSuspense; exports.useUndo = _chunk3MM4G6XBjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunk3MM4G6XBjs.useUnreadInboxNotificationsCountSuspense; exports.useUpdateMyPresence = _chunk3MM4G6XBjs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunk3MM4G6XBjs.useUpdateRoomNotificationSettings; exports.useUser = _chunk3MM4G6XBjs._useUserSuspense; exports.useUserThreads_experimental = _chunk3MM4G6XBjs._useUserThreadsSuspense_experimental; | ||
exports.ClientContext = _chunkIACZPXTYjs.ClientContext; exports.ClientSideSuspense = _chunk6ESOPOJRjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkIACZPXTYjs.LiveblocksProvider; exports.RoomContext = _chunkIACZPXTYjs.RoomContext; exports.RoomProvider = _chunkIACZPXTYjs._RoomProvider; exports.shallow = _client.shallow; exports.useAddReaction = _chunkIACZPXTYjs._useAddReaction; exports.useAttachmentUrl = _chunkIACZPXTYjs.useAttachmentUrlSuspense; exports.useBatch = _chunkIACZPXTYjs.useBatch; exports.useBroadcastEvent = _chunkIACZPXTYjs._useBroadcastEvent; exports.useCanRedo = _chunkIACZPXTYjs.useCanRedo; exports.useCanUndo = _chunkIACZPXTYjs.useCanUndo; exports.useClient = _chunkIACZPXTYjs.useClient; exports.useCreateComment = _chunkIACZPXTYjs.useCreateComment; exports.useCreateThread = _chunkIACZPXTYjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunkIACZPXTYjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkIACZPXTYjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkIACZPXTYjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkIACZPXTYjs._useDeleteThread; exports.useEditComment = _chunkIACZPXTYjs.useEditComment; exports.useEditThreadMetadata = _chunkIACZPXTYjs._useEditThreadMetadata; exports.useErrorListener = _chunkIACZPXTYjs.useErrorListener; exports.useEventListener = _chunkIACZPXTYjs._useEventListener; exports.useHistory = _chunkIACZPXTYjs.useHistory; exports.useHistoryVersions = _chunkIACZPXTYjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunkIACZPXTYjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkIACZPXTYjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunkIACZPXTYjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkIACZPXTYjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkIACZPXTYjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkIACZPXTYjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkIACZPXTYjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkIACZPXTYjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkIACZPXTYjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkIACZPXTYjs._useMutation; exports.useMyPresence = _chunkIACZPXTYjs._useMyPresence; exports.useOther = _chunkIACZPXTYjs._useOtherSuspense; exports.useOthers = _chunkIACZPXTYjs._useOthersSuspense; exports.useOthersConnectionIds = _chunkIACZPXTYjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunkIACZPXTYjs._useOthersListener; exports.useOthersMapped = _chunkIACZPXTYjs._useOthersMappedSuspense; exports.useRedo = _chunkIACZPXTYjs.useRedo; exports.useRemoveReaction = _chunkIACZPXTYjs.useRemoveReaction; exports.useRoom = _chunkIACZPXTYjs._useRoom; exports.useRoomInfo = _chunkIACZPXTYjs.useRoomInfoSuspense; exports.useRoomNotificationSettings = _chunkIACZPXTYjs._useRoomNotificationSettingsSuspense; exports.useSelf = _chunkIACZPXTYjs._useSelfSuspense; exports.useStatus = _chunkIACZPXTYjs.useStatus; exports.useStorage = _chunkIACZPXTYjs._useStorageSuspense; exports.useStorageRoot = _chunkIACZPXTYjs._useStorageRoot; exports.useStorageStatus = _chunkIACZPXTYjs.useStorageStatusSuspense; exports.useSyncStatus = _chunkIACZPXTYjs.useSyncStatus; exports.useThreadSubscription = _chunkIACZPXTYjs.useThreadSubscription; exports.useThreads = _chunkIACZPXTYjs._useThreadsSuspense; exports.useUndo = _chunkIACZPXTYjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkIACZPXTYjs.useUnreadInboxNotificationsCountSuspense; exports.useUpdateMyPresence = _chunkIACZPXTYjs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunkIACZPXTYjs.useUpdateRoomNotificationSettings; exports.useUser = _chunkIACZPXTYjs._useUserSuspense; exports.useUserThreads_experimental = _chunkIACZPXTYjs._useUserThreadsSuspense_experimental; | ||
//# sourceMappingURL=suspense.js.map |
{ | ||
"name": "@liveblocks/react", | ||
"version": "2.11.1", | ||
"version": "2.12.0-rc1", | ||
"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.11.1", | ||
"@liveblocks/core": "2.11.1", | ||
"@liveblocks/client": "2.12.0-rc1", | ||
"@liveblocks/core": "2.12.0-rc1", | ||
"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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1083144
10552
1
1
+ Added@liveblocks/client@2.12.0-rc1(transitive)
+ Added@liveblocks/core@2.12.0-rc1(transitive)
- Removed@liveblocks/client@2.11.1(transitive)
- Removed@liveblocks/core@2.11.1(transitive)
Updated@liveblocks/core@2.12.0-rc1