Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@liveblocks/react

Package Overview
Dependencies
Maintainers
0
Versions
429
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/react - npm Package Compare versions

Comparing version 2.13.3-emails2 to 2.14.0-v2encoding

dist/chunk-7ZCTUIE6.js

2

dist/_private.d.ts

@@ -1,2 +0,2 @@

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';
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-gbqt3lTY.js';
import { SyncSource } from '@liveblocks/core';

@@ -3,0 +3,0 @@ import '@liveblocks/client';

@@ -21,4 +21,9 @@ "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 _chunk7ZCTUIE6js = require('./chunk-7ZCTUIE6.js');
// src/use-mention-suggestions.ts

@@ -29,8 +34,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 = _chunk7ZCTUIE6js.useResolveMentionSuggestions.call(void 0, );
const mentionSuggestionsCache = _chunk7ZCTUIE6js.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 +79,3 @@ return;

};
}, [client, search, roomId]);
}, [search, roomId, resolveMentionSuggestions, mentionSuggestionsCache]);
return mentionSuggestions;

@@ -84,3 +88,3 @@ }

function useSyncSource() {
const client = _chunkX4DDEZYLjs.useClient.call(void 0, );
const client = _chunk7ZCTUIE6js.useClient.call(void 0, );
const createSyncSource = client[_core.kInternal].createSyncSource;

@@ -116,3 +120,8 @@ 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 = _chunk7ZCTUIE6js.CreateThreadError; exports.getUmbrellaStoreForClient = _chunk7ZCTUIE6js.getUmbrellaStoreForClient; exports.useAddRoomCommentReaction = _chunk7ZCTUIE6js.useAddRoomCommentReaction; exports.useClientOrNull = _chunk7ZCTUIE6js.useClientOrNull; exports.useCreateRoomComment = _chunk7ZCTUIE6js.useCreateRoomComment; exports.useCreateRoomThread = _chunk7ZCTUIE6js.useCreateRoomThread; exports.useCreateTextMention = _chunk7ZCTUIE6js.useCreateTextMention; exports.useDeleteRoomComment = _chunk7ZCTUIE6js.useDeleteRoomComment; exports.useDeleteRoomThread = _chunk7ZCTUIE6js.useDeleteRoomThread; exports.useDeleteTextMention = _chunk7ZCTUIE6js.useDeleteTextMention; exports.useEditRoomComment = _chunk7ZCTUIE6js.useEditRoomComment; exports.useEditRoomThreadMetadata = _chunk7ZCTUIE6js.useEditRoomThreadMetadata; exports.useMarkRoomThreadAsRead = _chunk7ZCTUIE6js.useMarkRoomThreadAsRead; exports.useMarkRoomThreadAsResolved = _chunk7ZCTUIE6js.useMarkRoomThreadAsResolved; exports.useMarkRoomThreadAsUnresolved = _chunk7ZCTUIE6js.useMarkRoomThreadAsUnresolved; exports.useMentionSuggestions = useMentionSuggestions; exports.useMentionSuggestionsCache = _chunk7ZCTUIE6js.useMentionSuggestionsCache; exports.useRemoveRoomCommentReaction = _chunk7ZCTUIE6js.useRemoveRoomCommentReaction; exports.useReportTextEditor = _chunk7ZCTUIE6js.useReportTextEditor; exports.useResolveMentionSuggestions = _chunk7ZCTUIE6js.useResolveMentionSuggestions; exports.useRoomAttachmentUrl = _chunk7ZCTUIE6js.useRoomAttachmentUrl; exports.useRoomOrNull = _chunk7ZCTUIE6js.useRoomOrNull; exports.useRoomPermissions = _chunk7ZCTUIE6js.useRoomPermissions; exports.useSyncSource = useSyncSource; exports.useYjsProvider = _chunk7ZCTUIE6js.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-gbqt3lTY.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 _chunkFPO6VPFAjs = require('./chunk-FPO6VPFA.js');

@@ -71,3 +71,3 @@

var _chunkX4DDEZYLjs = require('./chunk-X4DDEZYL.js');
var _chunk7ZCTUIE6js = require('./chunk-7ZCTUIE6.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, _chunkFPO6VPFAjs.PKG_NAME, _chunkFPO6VPFAjs.PKG_VERSION, _chunkFPO6VPFAjs.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 = _chunk7ZCTUIE6js.ClientContext; exports.ClientSideSuspense = _chunkFPO6VPFAjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk7ZCTUIE6js.LiveblocksProvider; exports.RoomContext = _chunk7ZCTUIE6js.RoomContext; exports.RoomProvider = _chunk7ZCTUIE6js._RoomProvider; exports.createLiveblocksContext = _chunk7ZCTUIE6js.createLiveblocksContext; exports.createRoomContext = _chunk7ZCTUIE6js.createRoomContext; exports.shallow = _client.shallow; exports.useAddReaction = _chunk7ZCTUIE6js._useAddReaction; exports.useAttachmentUrl = _chunk7ZCTUIE6js.useAttachmentUrl; exports.useBatch = _chunk7ZCTUIE6js.useBatch; exports.useBroadcastEvent = _chunk7ZCTUIE6js._useBroadcastEvent; exports.useCanRedo = _chunk7ZCTUIE6js.useCanRedo; exports.useCanUndo = _chunk7ZCTUIE6js.useCanUndo; exports.useClient = _chunk7ZCTUIE6js.useClient; exports.useCommentsErrorListener = _chunk7ZCTUIE6js.useCommentsErrorListener; exports.useCreateComment = _chunk7ZCTUIE6js.useCreateComment; exports.useCreateThread = _chunk7ZCTUIE6js._useCreateThread; exports.useDeleteAllInboxNotifications = _chunk7ZCTUIE6js.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk7ZCTUIE6js.useDeleteComment; exports.useDeleteInboxNotification = _chunk7ZCTUIE6js.useDeleteInboxNotification; exports.useDeleteThread = _chunk7ZCTUIE6js._useDeleteThread; exports.useEditComment = _chunk7ZCTUIE6js.useEditComment; exports.useEditThreadMetadata = _chunk7ZCTUIE6js._useEditThreadMetadata; exports.useErrorListener = _chunk7ZCTUIE6js.useErrorListener; exports.useEventListener = _chunk7ZCTUIE6js._useEventListener; exports.useHistory = _chunk7ZCTUIE6js.useHistory; exports.useHistoryVersionData = _chunk7ZCTUIE6js.useHistoryVersionData; exports.useHistoryVersions = _chunk7ZCTUIE6js._useHistoryVersions; exports.useInboxNotificationThread = _chunk7ZCTUIE6js._useInboxNotificationThread; exports.useInboxNotifications = _chunk7ZCTUIE6js.useInboxNotifications; exports.useIsInsideRoom = _chunk7ZCTUIE6js._useIsInsideRoom; exports.useLostConnectionListener = _chunk7ZCTUIE6js.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk7ZCTUIE6js.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk7ZCTUIE6js.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk7ZCTUIE6js.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk7ZCTUIE6js.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk7ZCTUIE6js.useMarkThreadAsUnresolved; exports.useMutation = _chunk7ZCTUIE6js._useMutation; exports.useMyPresence = _chunk7ZCTUIE6js._useMyPresence; exports.useOther = _chunk7ZCTUIE6js._useOther; exports.useOthers = _chunk7ZCTUIE6js._useOthers; exports.useOthersConnectionIds = _chunk7ZCTUIE6js.useOthersConnectionIds; exports.useOthersListener = _chunk7ZCTUIE6js._useOthersListener; exports.useOthersMapped = _chunk7ZCTUIE6js._useOthersMapped; exports.useRedo = _chunk7ZCTUIE6js.useRedo; exports.useRemoveReaction = _chunk7ZCTUIE6js.useRemoveReaction; exports.useRoom = _chunk7ZCTUIE6js._useRoom; exports.useRoomInfo = _chunk7ZCTUIE6js.useRoomInfo; exports.useRoomNotificationSettings = _chunk7ZCTUIE6js._useRoomNotificationSettings; exports.useSelf = _chunk7ZCTUIE6js._useSelf; exports.useStatus = _chunk7ZCTUIE6js.useStatus; exports.useStorage = _chunk7ZCTUIE6js._useStorage; exports.useStorageRoot = _chunk7ZCTUIE6js._useStorageRoot; exports.useStorageStatus = _chunk7ZCTUIE6js.useStorageStatus; exports.useSyncStatus = _chunk7ZCTUIE6js.useSyncStatus; exports.useThreadSubscription = _chunk7ZCTUIE6js.useThreadSubscription; exports.useThreads = _chunk7ZCTUIE6js._useThreads; exports.useUndo = _chunk7ZCTUIE6js.useUndo; exports.useUnreadInboxNotificationsCount = _chunk7ZCTUIE6js.useUnreadInboxNotificationsCount; exports.useUpdateMyPresence = _chunk7ZCTUIE6js._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunk7ZCTUIE6js.useUpdateRoomNotificationSettings; exports.useUser = _chunk7ZCTUIE6js._useUser; exports.useUserThreads_experimental = _chunk7ZCTUIE6js._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-gbqt3lTY.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 _chunkFPO6VPFAjs = require('./chunk-FPO6VPFA.js');

@@ -67,3 +67,3 @@

var _chunkX4DDEZYLjs = require('./chunk-X4DDEZYL.js');
var _chunk7ZCTUIE6js = require('./chunk-7ZCTUIE6.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, _chunkFPO6VPFAjs.PKG_NAME, _chunkFPO6VPFAjs.PKG_VERSION, _chunkFPO6VPFAjs.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 = _chunk7ZCTUIE6js.ClientContext; exports.ClientSideSuspense = _chunkFPO6VPFAjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk7ZCTUIE6js.LiveblocksProvider; exports.RoomContext = _chunk7ZCTUIE6js.RoomContext; exports.RoomProvider = _chunk7ZCTUIE6js._RoomProvider; exports.shallow = _client.shallow; exports.useAddReaction = _chunk7ZCTUIE6js._useAddReaction; exports.useAttachmentUrl = _chunk7ZCTUIE6js.useAttachmentUrlSuspense; exports.useBatch = _chunk7ZCTUIE6js.useBatch; exports.useBroadcastEvent = _chunk7ZCTUIE6js._useBroadcastEvent; exports.useCanRedo = _chunk7ZCTUIE6js.useCanRedo; exports.useCanUndo = _chunk7ZCTUIE6js.useCanUndo; exports.useClient = _chunk7ZCTUIE6js.useClient; exports.useCreateComment = _chunk7ZCTUIE6js.useCreateComment; exports.useCreateThread = _chunk7ZCTUIE6js._useCreateThread; exports.useDeleteAllInboxNotifications = _chunk7ZCTUIE6js.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk7ZCTUIE6js.useDeleteComment; exports.useDeleteInboxNotification = _chunk7ZCTUIE6js.useDeleteInboxNotification; exports.useDeleteThread = _chunk7ZCTUIE6js._useDeleteThread; exports.useEditComment = _chunk7ZCTUIE6js.useEditComment; exports.useEditThreadMetadata = _chunk7ZCTUIE6js._useEditThreadMetadata; exports.useErrorListener = _chunk7ZCTUIE6js.useErrorListener; exports.useEventListener = _chunk7ZCTUIE6js._useEventListener; exports.useHistory = _chunk7ZCTUIE6js.useHistory; exports.useHistoryVersions = _chunk7ZCTUIE6js._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunk7ZCTUIE6js._useInboxNotificationThread; exports.useInboxNotifications = _chunk7ZCTUIE6js.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunk7ZCTUIE6js._useIsInsideRoom; exports.useLostConnectionListener = _chunk7ZCTUIE6js.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk7ZCTUIE6js.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk7ZCTUIE6js.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk7ZCTUIE6js.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk7ZCTUIE6js.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk7ZCTUIE6js.useMarkThreadAsUnresolved; exports.useMutation = _chunk7ZCTUIE6js._useMutation; exports.useMyPresence = _chunk7ZCTUIE6js._useMyPresence; exports.useOther = _chunk7ZCTUIE6js._useOtherSuspense; exports.useOthers = _chunk7ZCTUIE6js._useOthersSuspense; exports.useOthersConnectionIds = _chunk7ZCTUIE6js.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunk7ZCTUIE6js._useOthersListener; exports.useOthersMapped = _chunk7ZCTUIE6js._useOthersMappedSuspense; exports.useRedo = _chunk7ZCTUIE6js.useRedo; exports.useRemoveReaction = _chunk7ZCTUIE6js.useRemoveReaction; exports.useRoom = _chunk7ZCTUIE6js._useRoom; exports.useRoomInfo = _chunk7ZCTUIE6js.useRoomInfoSuspense; exports.useRoomNotificationSettings = _chunk7ZCTUIE6js._useRoomNotificationSettingsSuspense; exports.useSelf = _chunk7ZCTUIE6js._useSelfSuspense; exports.useStatus = _chunk7ZCTUIE6js.useStatus; exports.useStorage = _chunk7ZCTUIE6js._useStorageSuspense; exports.useStorageRoot = _chunk7ZCTUIE6js._useStorageRoot; exports.useStorageStatus = _chunk7ZCTUIE6js.useStorageStatusSuspense; exports.useSyncStatus = _chunk7ZCTUIE6js.useSyncStatus; exports.useThreadSubscription = _chunk7ZCTUIE6js.useThreadSubscription; exports.useThreads = _chunk7ZCTUIE6js._useThreadsSuspense; exports.useUndo = _chunk7ZCTUIE6js.useUndo; exports.useUnreadInboxNotificationsCount = _chunk7ZCTUIE6js.useUnreadInboxNotificationsCountSuspense; exports.useUpdateMyPresence = _chunk7ZCTUIE6js._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunk7ZCTUIE6js.useUpdateRoomNotificationSettings; exports.useUser = _chunk7ZCTUIE6js._useUserSuspense; exports.useUserThreads_experimental = _chunk7ZCTUIE6js._useUserThreadsSuspense_experimental;
//# sourceMappingURL=suspense.js.map
{
"name": "@liveblocks/react",
"version": "2.13.3-emails2",
"version": "2.14.0-v2encoding",
"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-v2encoding",
"@liveblocks/core": "2.14.0-v2encoding",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc