@liveblocks/react
Advanced tools
| // src/version.ts | ||
| var PKG_NAME = "@liveblocks/react"; | ||
| var PKG_VERSION = "2.25.0-aiprivatebeta0"; | ||
| var PKG_FORMAT = "esm"; | ||
| // src/ClientSideSuspense.tsx | ||
| import { Suspense, useEffect, useState } from "react"; | ||
| import { jsx } from "react/jsx-runtime"; | ||
| function ClientSideSuspense(props) { | ||
| const [mounted, setMounted] = useState(false); | ||
| useEffect(() => { | ||
| setMounted(true); | ||
| }, []); | ||
| return /* @__PURE__ */ jsx(Suspense, { fallback: props.fallback, children: mounted ? typeof props.children === "function" ? props.children() : props.children : props.fallback }); | ||
| } | ||
| export { | ||
| PKG_NAME, | ||
| PKG_VERSION, | ||
| PKG_FORMAT, | ||
| ClientSideSuspense | ||
| }; | ||
| //# sourceMappingURL=chunk-3FZLUESM.js.map |
| {"version":3,"sources":["../src/version.ts","../src/ClientSideSuspense.tsx"],"sourcesContent":["declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n","import type { ReactNode } from \"react\";\nimport { Suspense, useEffect, useState } from \"react\";\n\ntype Props = {\n fallback: ReactNode;\n children: (() => ReactNode | undefined) | ReactNode | undefined;\n};\n\n/**\n * Almost like a normal <Suspense> component, except that for server-side\n * renders, the fallback will be used.\n *\n * The child props will have to be provided in a function, i.e. change:\n *\n * <Suspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </Suspense>\n *\n * To:\n *\n * <ClientSideSuspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </ClientSideSuspense>\n *\n */\nexport function ClientSideSuspense(props: Props) {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n // Effects are never executed on the server side. The point of this is to\n // delay the flipping of this boolean until after hydration has happened.\n setMounted(true);\n }, []);\n\n return (\n <Suspense fallback={props.fallback}>\n {mounted\n ? typeof props.children === \"function\"\n ? props.children()\n : props.children\n : props.fallback}\n </Suspense>\n );\n}\n"],"mappings":";AAGO,IAAM,WAAW;AACjB,IAAM,cAAiD;AACvD,IAAM,aAAgD;;;ACJ7D,SAAS,UAAU,WAAW,gBAAgB;AAkC1C;AAVG,SAAS,mBAAmB,OAAc;AAC/C,QAAM,CAAC,SAAS,UAAU,IAAI,SAAS,KAAK;AAE5C,YAAU,MAAM;AAGd,eAAW,IAAI;AAAA,EACjB,GAAG,CAAC,CAAC;AAEL,SACE,oBAAC,YAAS,UAAU,MAAM,UACvB,oBACG,OAAO,MAAM,aAAa,aACxB,MAAM,SAAS,IACf,MAAM,WACR,MAAM,UACZ;AAEJ;","names":[]} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
| "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/version.ts | ||
| var PKG_NAME = "@liveblocks/react"; | ||
| var PKG_VERSION = "2.25.0-aiprivatebeta0"; | ||
| var PKG_FORMAT = "cjs"; | ||
| // src/ClientSideSuspense.tsx | ||
| var _react = require('react'); | ||
| var _jsxruntime = require('react/jsx-runtime'); | ||
| function ClientSideSuspense(props) { | ||
| const [mounted, setMounted] = _react.useState.call(void 0, false); | ||
| _react.useEffect.call(void 0, () => { | ||
| setMounted(true); | ||
| }, []); | ||
| return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: props.fallback, children: mounted ? typeof props.children === "function" ? props.children() : props.children : props.fallback }); | ||
| } | ||
| exports.PKG_NAME = PKG_NAME; exports.PKG_VERSION = PKG_VERSION; exports.PKG_FORMAT = PKG_FORMAT; exports.ClientSideSuspense = ClientSideSuspense; | ||
| //# sourceMappingURL=chunk-STFFVL4D.cjs.map |
| {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-STFFVL4D.cjs","../src/version.ts","../src/ClientSideSuspense.tsx"],"names":[],"mappings":"AAAA;ACGO,IAAM,SAAA,EAAW,mBAAA;AACjB,IAAM,YAAA,EAAiD,uBAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;ADD7D;AACA;AEJA,8BAA8C;AAkC1C,+CAAA;AAVG,SAAS,kBAAA,CAAmB,KAAA,EAAc;AAC/C,EAAA,MAAM,CAAC,OAAA,EAAS,UAAU,EAAA,EAAI,6BAAA,KAAc,CAAA;AAE5C,EAAA,8BAAA,CAAU,EAAA,GAAM;AAGd,IAAA,UAAA,CAAW,IAAI,CAAA;AAAA,EACjB,CAAA,EAAG,CAAC,CAAC,CAAA;AAEL,EAAA,uBACE,6BAAA,eAAC,EAAA,EAAS,QAAA,EAAU,KAAA,CAAM,QAAA,EACvB,QAAA,EAAA,QAAA,EACG,OAAO,KAAA,CAAM,SAAA,IAAa,WAAA,EACxB,KAAA,CAAM,QAAA,CAAS,EAAA,EACf,KAAA,CAAM,SAAA,EACR,KAAA,CAAM,SAAA,CACZ,CAAA;AAEJ;AF5BA;AACA;AACE;AACA;AACA;AACA;AACF,iJAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-STFFVL4D.cjs","sourcesContent":[null,"declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n","import type { ReactNode } from \"react\";\nimport { Suspense, useEffect, useState } from \"react\";\n\ntype Props = {\n fallback: ReactNode;\n children: (() => ReactNode | undefined) | ReactNode | undefined;\n};\n\n/**\n * Almost like a normal <Suspense> component, except that for server-side\n * renders, the fallback will be used.\n *\n * The child props will have to be provided in a function, i.e. change:\n *\n * <Suspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </Suspense>\n *\n * To:\n *\n * <ClientSideSuspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </ClientSideSuspense>\n *\n */\nexport function ClientSideSuspense(props: Props) {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n // Effects are never executed on the server side. The point of this is to\n // delay the flipping of this boolean until after hydration has happened.\n setMounted(true);\n }, []);\n\n return (\n <Suspense fallback={props.fallback}>\n {mounted\n ? typeof props.children === \"function\"\n ? props.children()\n : props.children\n : props.fallback}\n </Suspense>\n );\n}\n"]} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
@@ -27,3 +27,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk32HQP5F6cjs = require('./chunk-32HQP5F6.cjs'); | ||
| var _chunkZGVKI7OMcjs = require('./chunk-ZGVKI7OM.cjs'); | ||
@@ -41,4 +41,4 @@ // src/lib/use-layout-effect.ts | ||
| const lastInvokedAt = _react.useRef.call(void 0, ); | ||
| const resolveMentionSuggestions = _chunk32HQP5F6cjs.useResolveMentionSuggestions.call(void 0, ); | ||
| const mentionSuggestionsCache = _chunk32HQP5F6cjs.useMentionSuggestionsCache.call(void 0, ); | ||
| const resolveMentionSuggestions = _chunkZGVKI7OMcjs.useResolveMentionSuggestions.call(void 0, ); | ||
| const mentionSuggestionsCache = _chunkZGVKI7OMcjs.useMentionSuggestionsCache.call(void 0, ); | ||
| _react.useEffect.call(void 0, () => { | ||
@@ -94,3 +94,3 @@ if (search === void 0 || !resolveMentionSuggestions) { | ||
| function useSyncSource() { | ||
| const client = _chunk32HQP5F6cjs.useClient.call(void 0, ); | ||
| const client = _chunkZGVKI7OMcjs.useClient.call(void 0, ); | ||
| const createSyncSource = client[_core.kInternal].createSyncSource; | ||
@@ -133,3 +133,3 @@ const [syncSource, setSyncSource] = _react.useState.call(void 0, ); | ||
| exports.getUmbrellaStoreForClient = _chunk32HQP5F6cjs.getUmbrellaStoreForClient; exports.useAddRoomCommentReaction = _chunk32HQP5F6cjs.useAddRoomCommentReaction; exports.useClientOrNull = _chunk32HQP5F6cjs.useClientOrNull; exports.useCreateRoomComment = _chunk32HQP5F6cjs.useCreateRoomComment; exports.useCreateRoomThread = _chunk32HQP5F6cjs.useCreateRoomThread; exports.useCreateTextMention = _chunk32HQP5F6cjs.useCreateTextMention; exports.useDeleteRoomComment = _chunk32HQP5F6cjs.useDeleteRoomComment; exports.useDeleteRoomThread = _chunk32HQP5F6cjs.useDeleteRoomThread; exports.useDeleteTextMention = _chunk32HQP5F6cjs.useDeleteTextMention; exports.useEditRoomComment = _chunk32HQP5F6cjs.useEditRoomComment; exports.useEditRoomThreadMetadata = _chunk32HQP5F6cjs.useEditRoomThreadMetadata; exports.useLayoutEffect = useLayoutEffect; exports.useMarkRoomThreadAsRead = _chunk32HQP5F6cjs.useMarkRoomThreadAsRead; exports.useMarkRoomThreadAsResolved = _chunk32HQP5F6cjs.useMarkRoomThreadAsResolved; exports.useMarkRoomThreadAsUnresolved = _chunk32HQP5F6cjs.useMarkRoomThreadAsUnresolved; exports.useMentionSuggestions = useMentionSuggestions; exports.useMentionSuggestionsCache = _chunk32HQP5F6cjs.useMentionSuggestionsCache; exports.useRemoveRoomCommentReaction = _chunk32HQP5F6cjs.useRemoveRoomCommentReaction; exports.useReportTextEditor = _chunk32HQP5F6cjs.useReportTextEditor; exports.useResolveMentionSuggestions = _chunk32HQP5F6cjs.useResolveMentionSuggestions; exports.useRoomAttachmentUrl = _chunk32HQP5F6cjs.useRoomAttachmentUrl; exports.useRoomPermissions = _chunk32HQP5F6cjs.useRoomPermissions; exports.useRoomThreadSubscription = _chunk32HQP5F6cjs.useRoomThreadSubscription; exports.useSignal = _chunk32HQP5F6cjs.useSignal; exports.useSyncExternalStoreWithSelector = _chunk32HQP5F6cjs.useSyncExternalStoreWithSelector; exports.useSyncSource = useSyncSource; exports.useYjsProvider = _chunk32HQP5F6cjs.useYjsProvider; | ||
| exports.getUmbrellaStoreForClient = _chunkZGVKI7OMcjs.getUmbrellaStoreForClient; exports.useAddRoomCommentReaction = _chunkZGVKI7OMcjs.useAddRoomCommentReaction; exports.useClientOrNull = _chunkZGVKI7OMcjs.useClientOrNull; exports.useCreateRoomComment = _chunkZGVKI7OMcjs.useCreateRoomComment; exports.useCreateRoomThread = _chunkZGVKI7OMcjs.useCreateRoomThread; exports.useCreateTextMention = _chunkZGVKI7OMcjs.useCreateTextMention; exports.useDeleteRoomComment = _chunkZGVKI7OMcjs.useDeleteRoomComment; exports.useDeleteRoomThread = _chunkZGVKI7OMcjs.useDeleteRoomThread; exports.useDeleteTextMention = _chunkZGVKI7OMcjs.useDeleteTextMention; exports.useEditRoomComment = _chunkZGVKI7OMcjs.useEditRoomComment; exports.useEditRoomThreadMetadata = _chunkZGVKI7OMcjs.useEditRoomThreadMetadata; exports.useLayoutEffect = useLayoutEffect; exports.useMarkRoomThreadAsRead = _chunkZGVKI7OMcjs.useMarkRoomThreadAsRead; exports.useMarkRoomThreadAsResolved = _chunkZGVKI7OMcjs.useMarkRoomThreadAsResolved; exports.useMarkRoomThreadAsUnresolved = _chunkZGVKI7OMcjs.useMarkRoomThreadAsUnresolved; exports.useMentionSuggestions = useMentionSuggestions; exports.useMentionSuggestionsCache = _chunkZGVKI7OMcjs.useMentionSuggestionsCache; exports.useRemoveRoomCommentReaction = _chunkZGVKI7OMcjs.useRemoveRoomCommentReaction; exports.useReportTextEditor = _chunkZGVKI7OMcjs.useReportTextEditor; exports.useResolveMentionSuggestions = _chunkZGVKI7OMcjs.useResolveMentionSuggestions; exports.useRoomAttachmentUrl = _chunkZGVKI7OMcjs.useRoomAttachmentUrl; exports.useRoomPermissions = _chunkZGVKI7OMcjs.useRoomPermissions; exports.useRoomThreadSubscription = _chunkZGVKI7OMcjs.useRoomThreadSubscription; exports.useSignal = _chunkZGVKI7OMcjs.useSignal; exports.useSyncExternalStoreWithSelector = _chunkZGVKI7OMcjs.useSyncExternalStoreWithSelector; exports.useSyncSource = useSyncSource; exports.useYjsProvider = _chunkZGVKI7OMcjs.useYjsProvider; | ||
| //# sourceMappingURL=_private.cjs.map |
| import { useLayoutEffect as useLayoutEffect$1 } from 'react'; | ||
| export { g as getUmbrellaStoreForClient, a as useAddRoomCommentReaction, u as useClientOrNull, b as useCreateRoomComment, c as useCreateRoomThread, d as useCreateTextMention, e as useDeleteRoomComment, f as useDeleteRoomThread, h as useDeleteTextMention, i as useEditRoomComment, j as useEditRoomThreadMetadata, k as useMarkRoomThreadAsRead, l as useMarkRoomThreadAsResolved, m as useMarkRoomThreadAsUnresolved, n as useMentionSuggestionsCache, o as useRemoveRoomCommentReaction, p as useReportTextEditor, q as useResolveMentionSuggestions, r as useRoomAttachmentUrl, s as useRoomPermissions, t as useRoomThreadSubscription, v as useYjsProvider } from './room-CqT08uWZ.cjs'; | ||
| export { g as getUmbrellaStoreForClient, a as useAddRoomCommentReaction, u as useClientOrNull, b as useCreateRoomComment, c as useCreateRoomThread, d as useCreateTextMention, e as useDeleteRoomComment, f as useDeleteRoomThread, h as useDeleteTextMention, i as useEditRoomComment, j as useEditRoomThreadMetadata, k as useMarkRoomThreadAsRead, l as useMarkRoomThreadAsResolved, m as useMarkRoomThreadAsUnresolved, n as useMentionSuggestionsCache, o as useRemoveRoomCommentReaction, p as useReportTextEditor, q as useResolveMentionSuggestions, r as useRoomAttachmentUrl, s as useRoomPermissions, t as useRoomThreadSubscription, v as useYjsProvider } from './room-DmsjrDvP.cjs'; | ||
| import { ISignal, SyncSource } from '@liveblocks/core'; | ||
@@ -4,0 +4,0 @@ import 'react/jsx-runtime'; |
| import { useLayoutEffect as useLayoutEffect$1 } from 'react'; | ||
| export { g as getUmbrellaStoreForClient, a as useAddRoomCommentReaction, u as useClientOrNull, b as useCreateRoomComment, c as useCreateRoomThread, d as useCreateTextMention, e as useDeleteRoomComment, f as useDeleteRoomThread, h as useDeleteTextMention, i as useEditRoomComment, j as useEditRoomThreadMetadata, k as useMarkRoomThreadAsRead, l as useMarkRoomThreadAsResolved, m as useMarkRoomThreadAsUnresolved, n as useMentionSuggestionsCache, o as useRemoveRoomCommentReaction, p as useReportTextEditor, q as useResolveMentionSuggestions, r as useRoomAttachmentUrl, s as useRoomPermissions, t as useRoomThreadSubscription, v as useYjsProvider } from './room-CqT08uWZ.js'; | ||
| export { g as getUmbrellaStoreForClient, a as useAddRoomCommentReaction, u as useClientOrNull, b as useCreateRoomComment, c as useCreateRoomThread, d as useCreateTextMention, e as useDeleteRoomComment, f as useDeleteRoomThread, h as useDeleteTextMention, i as useEditRoomComment, j as useEditRoomThreadMetadata, k as useMarkRoomThreadAsRead, l as useMarkRoomThreadAsResolved, m as useMarkRoomThreadAsUnresolved, n as useMentionSuggestionsCache, o as useRemoveRoomCommentReaction, p as useReportTextEditor, q as useResolveMentionSuggestions, r as useRoomAttachmentUrl, s as useRoomPermissions, t as useRoomThreadSubscription, v as useYjsProvider } from './room-DmsjrDvP.js'; | ||
| import { ISignal, SyncSource } from '@liveblocks/core'; | ||
@@ -4,0 +4,0 @@ import 'react/jsx-runtime'; |
+1
-1
@@ -27,3 +27,3 @@ import { | ||
| useYjsProvider | ||
| } from "./chunk-N6OQQVYV.js"; | ||
| } from "./chunk-E6PCFJWE.js"; | ||
@@ -30,0 +30,0 @@ // src/lib/use-layout-effect.ts |
+12
-4
@@ -6,3 +6,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
| var _chunk2C72TPGIcjs = require('./chunk-2C72TPGI.cjs'); | ||
| var _chunkSTFFVL4Dcjs = require('./chunk-STFFVL4D.cjs'); | ||
@@ -76,8 +76,12 @@ | ||
| var _chunk32HQP5F6cjs = require('./chunk-32HQP5F6.cjs'); | ||
| var _chunkZGVKI7OMcjs = require('./chunk-ZGVKI7OM.cjs'); | ||
| // src/index.ts | ||
| var _core = require('@liveblocks/core'); | ||
| var _client = require('@liveblocks/client'); | ||
| _core.detectDupes.call(void 0, _chunk2C72TPGIcjs.PKG_NAME, _chunk2C72TPGIcjs.PKG_VERSION, _chunk2C72TPGIcjs.PKG_FORMAT); | ||
| _core.detectDupes.call(void 0, _chunkSTFFVL4Dcjs.PKG_NAME, _chunkSTFFVL4Dcjs.PKG_VERSION, _chunkSTFFVL4Dcjs.PKG_FORMAT); | ||
@@ -154,3 +158,7 @@ | ||
| exports.ClientContext = _chunk32HQP5F6cjs.ClientContext; exports.ClientSideSuspense = _chunk2C72TPGIcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk32HQP5F6cjs.LiveblocksProvider; exports.RoomContext = _chunk32HQP5F6cjs.RoomContext; exports.RoomProvider = _chunk32HQP5F6cjs._RoomProvider; exports.createLiveblocksContext = _chunk32HQP5F6cjs.createLiveblocksContext; exports.createRoomContext = _chunk32HQP5F6cjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunk32HQP5F6cjs._useAddReaction; exports.useAttachmentUrl = _chunk32HQP5F6cjs.useAttachmentUrl; exports.useBatch = _chunk32HQP5F6cjs.useBatch; exports.useBroadcastEvent = _chunk32HQP5F6cjs._useBroadcastEvent; exports.useCanRedo = _chunk32HQP5F6cjs.useCanRedo; exports.useCanUndo = _chunk32HQP5F6cjs.useCanUndo; exports.useClient = _chunk32HQP5F6cjs.useClient; exports.useCreateComment = _chunk32HQP5F6cjs.useCreateComment; exports.useCreateThread = _chunk32HQP5F6cjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunk32HQP5F6cjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk32HQP5F6cjs.useDeleteComment; exports.useDeleteInboxNotification = _chunk32HQP5F6cjs.useDeleteInboxNotification; exports.useDeleteThread = _chunk32HQP5F6cjs._useDeleteThread; exports.useEditComment = _chunk32HQP5F6cjs.useEditComment; exports.useEditThreadMetadata = _chunk32HQP5F6cjs._useEditThreadMetadata; exports.useErrorListener = _chunk32HQP5F6cjs.useErrorListener; exports.useEventListener = _chunk32HQP5F6cjs._useEventListener; exports.useHistory = _chunk32HQP5F6cjs.useHistory; exports.useHistoryVersionData = _chunk32HQP5F6cjs.useHistoryVersionData; exports.useHistoryVersions = _chunk32HQP5F6cjs._useHistoryVersions; exports.useInboxNotificationThread = _chunk32HQP5F6cjs._useInboxNotificationThread; exports.useInboxNotifications = _chunk32HQP5F6cjs.useInboxNotifications; exports.useIsInsideRoom = _chunk32HQP5F6cjs._useIsInsideRoom; exports.useLostConnectionListener = _chunk32HQP5F6cjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk32HQP5F6cjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk32HQP5F6cjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk32HQP5F6cjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk32HQP5F6cjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk32HQP5F6cjs.useMarkThreadAsUnresolved; exports.useMutation = _chunk32HQP5F6cjs._useMutation; exports.useMyPresence = _chunk32HQP5F6cjs._useMyPresence; exports.useNotificationSettings = _chunk32HQP5F6cjs.useNotificationSettings; exports.useOther = _chunk32HQP5F6cjs._useOther; exports.useOthers = _chunk32HQP5F6cjs._useOthers; exports.useOthersConnectionIds = _chunk32HQP5F6cjs.useOthersConnectionIds; exports.useOthersListener = _chunk32HQP5F6cjs._useOthersListener; exports.useOthersMapped = _chunk32HQP5F6cjs._useOthersMapped; exports.useRedo = _chunk32HQP5F6cjs.useRedo; exports.useRemoveReaction = _chunk32HQP5F6cjs.useRemoveReaction; exports.useRoom = _chunk32HQP5F6cjs._useRoom; exports.useRoomInfo = _chunk32HQP5F6cjs.useRoomInfo; exports.useRoomNotificationSettings = _chunk32HQP5F6cjs._useRoomNotificationSettings; exports.useRoomSubscriptionSettings = _chunk32HQP5F6cjs._useRoomSubscriptionSettings; exports.useSelf = _chunk32HQP5F6cjs._useSelf; exports.useStatus = _chunk32HQP5F6cjs.useStatus; exports.useStorage = _chunk32HQP5F6cjs._useStorage; exports.useStorageRoot = _chunk32HQP5F6cjs._useStorageRoot; exports.useStorageStatus = _chunk32HQP5F6cjs.useStorageStatus; exports.useSubscribeToThread = _chunk32HQP5F6cjs.useSubscribeToThread; exports.useSyncStatus = _chunk32HQP5F6cjs.useSyncStatus; exports.useThreadSubscription = _chunk32HQP5F6cjs.useThreadSubscription; exports.useThreads = _chunk32HQP5F6cjs._useThreads; exports.useUndo = _chunk32HQP5F6cjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunk32HQP5F6cjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunk32HQP5F6cjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunk32HQP5F6cjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunk32HQP5F6cjs.useUpdateNotificationSettings; exports.useUpdateRoomNotificationSettings = _chunk32HQP5F6cjs.useUpdateRoomNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunk32HQP5F6cjs.useUpdateRoomSubscriptionSettings; exports.useUser = _chunk32HQP5F6cjs._useUser; exports.useUserThreads_experimental = _chunk32HQP5F6cjs._useUserThreads_experimental; | ||
| exports.ClientContext = _chunkZGVKI7OMcjs.ClientContext; exports.ClientSideSuspense = _chunkSTFFVL4Dcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkZGVKI7OMcjs.LiveblocksProvider; exports.RoomContext = _chunkZGVKI7OMcjs.RoomContext; exports.RoomProvider = _chunkZGVKI7OMcjs._RoomProvider; exports.createLiveblocksContext = _chunkZGVKI7OMcjs.createLiveblocksContext; exports.createRoomContext = _chunkZGVKI7OMcjs.createRoomContext; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunkZGVKI7OMcjs._useAddReaction; exports.useAiChatMessages = _chunkZGVKI7OMcjs._useAiChatMessages; exports.useAiChats = _chunkZGVKI7OMcjs._useAiChats; exports.useAttachmentUrl = _chunkZGVKI7OMcjs.useAttachmentUrl; exports.useBatch = _chunkZGVKI7OMcjs.useBatch; exports.useBroadcastEvent = _chunkZGVKI7OMcjs._useBroadcastEvent; exports.useCanRedo = _chunkZGVKI7OMcjs.useCanRedo; exports.useCanUndo = _chunkZGVKI7OMcjs.useCanUndo; exports.useClient = _chunkZGVKI7OMcjs.useClient; exports.useCreateAiChat = _chunkZGVKI7OMcjs.useCreateAiChat; exports.useCreateComment = _chunkZGVKI7OMcjs.useCreateComment; exports.useCreateThread = _chunkZGVKI7OMcjs._useCreateThread; exports.useDeleteAiChat = _chunkZGVKI7OMcjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunkZGVKI7OMcjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkZGVKI7OMcjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkZGVKI7OMcjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkZGVKI7OMcjs._useDeleteThread; exports.useEditComment = _chunkZGVKI7OMcjs.useEditComment; exports.useEditThreadMetadata = _chunkZGVKI7OMcjs._useEditThreadMetadata; exports.useErrorListener = _chunkZGVKI7OMcjs.useErrorListener; exports.useEventListener = _chunkZGVKI7OMcjs._useEventListener; exports.useHistory = _chunkZGVKI7OMcjs.useHistory; exports.useHistoryVersionData = _chunkZGVKI7OMcjs.useHistoryVersionData; exports.useHistoryVersions = _chunkZGVKI7OMcjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkZGVKI7OMcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkZGVKI7OMcjs.useInboxNotifications; exports.useIsInsideRoom = _chunkZGVKI7OMcjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkZGVKI7OMcjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkZGVKI7OMcjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkZGVKI7OMcjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkZGVKI7OMcjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkZGVKI7OMcjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkZGVKI7OMcjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkZGVKI7OMcjs._useMutation; exports.useMyPresence = _chunkZGVKI7OMcjs._useMyPresence; exports.useNotificationSettings = _chunkZGVKI7OMcjs.useNotificationSettings; exports.useOther = _chunkZGVKI7OMcjs._useOther; exports.useOthers = _chunkZGVKI7OMcjs._useOthers; exports.useOthersConnectionIds = _chunkZGVKI7OMcjs.useOthersConnectionIds; exports.useOthersListener = _chunkZGVKI7OMcjs._useOthersListener; exports.useOthersMapped = _chunkZGVKI7OMcjs._useOthersMapped; exports.useRedo = _chunkZGVKI7OMcjs.useRedo; exports.useRemoveReaction = _chunkZGVKI7OMcjs.useRemoveReaction; exports.useRoom = _chunkZGVKI7OMcjs._useRoom; exports.useRoomInfo = _chunkZGVKI7OMcjs.useRoomInfo; exports.useRoomNotificationSettings = _chunkZGVKI7OMcjs._useRoomNotificationSettings; exports.useRoomSubscriptionSettings = _chunkZGVKI7OMcjs._useRoomSubscriptionSettings; exports.useSelf = _chunkZGVKI7OMcjs._useSelf; exports.useStatus = _chunkZGVKI7OMcjs.useStatus; exports.useStorage = _chunkZGVKI7OMcjs._useStorage; exports.useStorageRoot = _chunkZGVKI7OMcjs._useStorageRoot; exports.useStorageStatus = _chunkZGVKI7OMcjs.useStorageStatus; exports.useSubscribeToThread = _chunkZGVKI7OMcjs.useSubscribeToThread; exports.useSyncStatus = _chunkZGVKI7OMcjs.useSyncStatus; exports.useThreadSubscription = _chunkZGVKI7OMcjs.useThreadSubscription; exports.useThreads = _chunkZGVKI7OMcjs._useThreads; exports.useUndo = _chunkZGVKI7OMcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkZGVKI7OMcjs.useUnreadInboxNotificationsCount; exports.useUnsubscribeFromThread = _chunkZGVKI7OMcjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunkZGVKI7OMcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunkZGVKI7OMcjs.useUpdateNotificationSettings; exports.useUpdateRoomNotificationSettings = _chunkZGVKI7OMcjs.useUpdateRoomNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunkZGVKI7OMcjs.useUpdateRoomSubscriptionSettings; exports.useUser = _chunkZGVKI7OMcjs._useUser; exports.useUserThreads_experimental = _chunkZGVKI7OMcjs._useUserThreads_experimental; | ||
| //# sourceMappingURL=index.cjs.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","../src/index.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;AC3EA,wCAA4B;AAc5B,4CAAsD;AAXtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;AD4E7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uhJAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","sourcesContent":[null,"/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useUpdateRoomSubscriptionSettings,\n useHistoryVersionData,\n} from \"./room\";\n\n// Export the classic (non-Suspense) versions of our hooks\n// (This part differs from src/suspense.ts)\nexport {\n useOther,\n useOthers,\n useOthersConnectionIds,\n useOthersMapped,\n useSelf,\n useStorage,\n useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"]} | ||
| {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","../src/index.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;AC/EA,wCAA4B;AAc5B,4CAAsD;AAXtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;ADgF7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uwJAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/index.cjs","sourcesContent":[null,"/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useUpdateRoomSubscriptionSettings,\n useHistoryVersionData,\n} from \"./room\";\n\n// Export the classic (non-Suspense) versions of our hooks\n// (This part differs from src/suspense.ts)\nexport {\n useOther,\n useOthers,\n useOthersConnectionIds,\n useOthersMapped,\n useSelf,\n useStorage,\n useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n useAiChats,\n useAiChatMessages,\n} from \"./liveblocks\";\n"]} |
+1
-1
@@ -1,2 +0,2 @@ | ||
| export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, x as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aq as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, P as useCreateComment, Q as useCreateThread, z as useDeleteAllInboxNotifications, R as useDeleteComment, A as useDeleteInboxNotification, S as useDeleteThread, T as useEditComment, V as useEditThreadMetadata, B as useErrorListener, $ as useEventListener, a0 as useHistory, ah as useHistoryVersionData, ar as useHistoryVersions, _ as useInboxNotificationThread, au as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, W as useMarkThreadAsResolved, X as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, av as useNotificationSettings, ai as useOther, aj as useOthers, ak as useOthersConnectionIds, a6 as useOthersListener, al as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, ay as useRoomInfo, as as useRoomNotificationSettings, at as useRoomSubscriptionSettings, am as useSelf, aa as useStatus, an as useStorage, ab as useStorageRoot, ao as useStorageStatus, Y as useSubscribeToThread, F as useSyncStatus, ac as useThreadSubscription, ap as useThreads, ad as useUndo, az as useUnreadInboxNotificationsCount, Z as useUnsubscribeFromThread, ae as useUpdateMyPresence, aw as useUpdateNotificationSettings, af as useUpdateRoomNotificationSettings, ag as useUpdateRoomSubscriptionSettings, aA as useUser, ax as useUserThreads_experimental } from './room-CqT08uWZ.cjs'; | ||
| export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, x as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aE as useAiChatMessages, aD as useAiChats, aq as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, ax as useCreateAiChat, P as useCreateComment, Q as useCreateThread, ay as useDeleteAiChat, z as useDeleteAllInboxNotifications, R as useDeleteComment, A as useDeleteInboxNotification, S as useDeleteThread, T as useEditComment, V as useEditThreadMetadata, B as useErrorListener, $ as useEventListener, a0 as useHistory, ah as useHistoryVersionData, ar as useHistoryVersions, _ as useInboxNotificationThread, au as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, W as useMarkThreadAsResolved, X as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, av as useNotificationSettings, ai as useOther, aj as useOthers, ak as useOthersConnectionIds, a6 as useOthersListener, al as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, aA as useRoomInfo, as as useRoomNotificationSettings, at as useRoomSubscriptionSettings, am as useSelf, aa as useStatus, an as useStorage, ab as useStorageRoot, ao as useStorageStatus, Y as useSubscribeToThread, F as useSyncStatus, ac as useThreadSubscription, ap as useThreads, ad as useUndo, aB as useUnreadInboxNotificationsCount, Z as useUnsubscribeFromThread, ae as useUpdateMyPresence, aw as useUpdateNotificationSettings, af as useUpdateRoomNotificationSettings, ag as useUpdateRoomSubscriptionSettings, aC as useUser, az as useUserThreads_experimental } from './room-DmsjrDvP.cjs'; | ||
| export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client'; | ||
@@ -3,0 +3,0 @@ import * as react_jsx_runtime from 'react/jsx-runtime'; |
+1
-1
@@ -1,2 +0,2 @@ | ||
| export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, x as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aq as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, P as useCreateComment, Q as useCreateThread, z as useDeleteAllInboxNotifications, R as useDeleteComment, A as useDeleteInboxNotification, S as useDeleteThread, T as useEditComment, V as useEditThreadMetadata, B as useErrorListener, $ as useEventListener, a0 as useHistory, ah as useHistoryVersionData, ar as useHistoryVersions, _ as useInboxNotificationThread, au as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, W as useMarkThreadAsResolved, X as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, av as useNotificationSettings, ai as useOther, aj as useOthers, ak as useOthersConnectionIds, a6 as useOthersListener, al as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, ay as useRoomInfo, as as useRoomNotificationSettings, at as useRoomSubscriptionSettings, am as useSelf, aa as useStatus, an as useStorage, ab as useStorageRoot, ao as useStorageStatus, Y as useSubscribeToThread, F as useSyncStatus, ac as useThreadSubscription, ap as useThreads, ad as useUndo, az as useUnreadInboxNotificationsCount, Z as useUnsubscribeFromThread, ae as useUpdateMyPresence, aw as useUpdateNotificationSettings, af as useUpdateRoomNotificationSettings, ag as useUpdateRoomSubscriptionSettings, aA as useUser, ax as useUserThreads_experimental } from './room-CqT08uWZ.js'; | ||
| export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, x as createLiveblocksContext, G as createRoomContext, I as useAddReaction, aE as useAiChatMessages, aD as useAiChats, aq as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, ax as useCreateAiChat, P as useCreateComment, Q as useCreateThread, ay as useDeleteAiChat, z as useDeleteAllInboxNotifications, R as useDeleteComment, A as useDeleteInboxNotification, S as useDeleteThread, T as useEditComment, V as useEditThreadMetadata, B as useErrorListener, $ as useEventListener, a0 as useHistory, ah as useHistoryVersionData, ar as useHistoryVersions, _ as useInboxNotificationThread, au as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, W as useMarkThreadAsResolved, X as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, av as useNotificationSettings, ai as useOther, aj as useOthers, ak as useOthersConnectionIds, a6 as useOthersListener, al as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, aA as useRoomInfo, as as useRoomNotificationSettings, at as useRoomSubscriptionSettings, am as useSelf, aa as useStatus, an as useStorage, ab as useStorageRoot, ao as useStorageStatus, Y as useSubscribeToThread, F as useSyncStatus, ac as useThreadSubscription, ap as useThreads, ad as useUndo, aB as useUnreadInboxNotificationsCount, Z as useUnsubscribeFromThread, ae as useUpdateMyPresence, aw as useUpdateNotificationSettings, af as useUpdateRoomNotificationSettings, ag as useUpdateRoomSubscriptionSettings, aC as useUser, az as useUserThreads_experimental } from './room-DmsjrDvP.js'; | ||
| export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client'; | ||
@@ -3,0 +3,0 @@ import * as react_jsx_runtime from 'react/jsx-runtime'; |
+10
-2
@@ -6,3 +6,3 @@ import { | ||
| PKG_VERSION | ||
| } from "./chunk-RPHUEUUE.js"; | ||
| } from "./chunk-3FZLUESM.js"; | ||
| import { | ||
@@ -14,2 +14,4 @@ ClientContext, | ||
| _useAddReaction, | ||
| _useAiChatMessages, | ||
| _useAiChats, | ||
| _useBroadcastEvent, | ||
@@ -46,3 +48,5 @@ _useCreateThread, | ||
| useClient, | ||
| useCreateAiChat, | ||
| useCreateComment, | ||
| useDeleteAiChat, | ||
| useDeleteAllInboxNotifications, | ||
@@ -78,3 +82,3 @@ useDeleteComment, | ||
| useUpdateRoomSubscriptionSettings | ||
| } from "./chunk-N6OQQVYV.js"; | ||
| } from "./chunk-E6PCFJWE.js"; | ||
@@ -96,2 +100,4 @@ // src/index.ts | ||
| _useAddReaction as useAddReaction, | ||
| _useAiChatMessages as useAiChatMessages, | ||
| _useAiChats as useAiChats, | ||
| useAttachmentUrl, | ||
@@ -103,4 +109,6 @@ useBatch, | ||
| useClient, | ||
| useCreateAiChat, | ||
| useCreateComment, | ||
| _useCreateThread as useCreateThread, | ||
| useDeleteAiChat, | ||
| useDeleteAllInboxNotifications, | ||
@@ -107,0 +115,0 @@ useDeleteComment, |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useUpdateRoomSubscriptionSettings,\n useHistoryVersionData,\n} from \"./room\";\n\n// Export the classic (non-Suspense) versions of our hooks\n// (This part differs from src/suspense.ts)\nexport {\n useOther,\n useOthers,\n useOthersConnectionIds,\n useOthersMapped,\n useSelf,\n useStorage,\n useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAc5B,SAAS,SAAS,oCAAoC;AAXtD,YAAY,UAAU,aAAa,UAAU;","names":[]} | ||
| {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n createLiveblocksContext,\n LiveblocksProvider,\n useClient,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useErrorListener,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useSyncStatus,\n} from \"./liveblocks\";\nexport {\n createRoomContext,\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useUpdateRoomSubscriptionSettings,\n useHistoryVersionData,\n} from \"./room\";\n\n// Export the classic (non-Suspense) versions of our hooks\n// (This part differs from src/suspense.ts)\nexport {\n useOther,\n useOthers,\n useOthersConnectionIds,\n useOthersMapped,\n useSelf,\n useStorage,\n useStorageStatus,\n useThreads,\n useAttachmentUrl,\n useHistoryVersions,\n useRoomNotificationSettings,\n useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotifications,\n useNotificationSettings,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n useAiChats,\n useAiChatMessages,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAc5B,SAAS,SAAS,oCAAoC;AAXtD,YAAY,UAAU,aAAa,UAAU;","names":[]} |
+12
-4
@@ -6,3 +6,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
| var _chunk2C72TPGIcjs = require('./chunk-2C72TPGI.cjs'); | ||
| var _chunkSTFFVL4Dcjs = require('./chunk-STFFVL4D.cjs'); | ||
@@ -73,8 +73,12 @@ | ||
| var _chunk32HQP5F6cjs = require('./chunk-32HQP5F6.cjs'); | ||
| var _chunkZGVKI7OMcjs = require('./chunk-ZGVKI7OM.cjs'); | ||
| // src/suspense.ts | ||
| var _core = require('@liveblocks/core'); | ||
| var _client = require('@liveblocks/client'); | ||
| _core.detectDupes.call(void 0, _chunk2C72TPGIcjs.PKG_NAME, _chunk2C72TPGIcjs.PKG_VERSION, _chunk2C72TPGIcjs.PKG_FORMAT); | ||
| _core.detectDupes.call(void 0, _chunkSTFFVL4Dcjs.PKG_NAME, _chunkSTFFVL4Dcjs.PKG_VERSION, _chunkSTFFVL4Dcjs.PKG_FORMAT); | ||
@@ -148,3 +152,7 @@ | ||
| exports.ClientContext = _chunk32HQP5F6cjs.ClientContext; exports.ClientSideSuspense = _chunk2C72TPGIcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunk32HQP5F6cjs.LiveblocksProvider; exports.RoomContext = _chunk32HQP5F6cjs.RoomContext; exports.RoomProvider = _chunk32HQP5F6cjs._RoomProvider; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunk32HQP5F6cjs._useAddReaction; exports.useAttachmentUrl = _chunk32HQP5F6cjs.useAttachmentUrlSuspense; exports.useBatch = _chunk32HQP5F6cjs.useBatch; exports.useBroadcastEvent = _chunk32HQP5F6cjs._useBroadcastEvent; exports.useCanRedo = _chunk32HQP5F6cjs.useCanRedo; exports.useCanUndo = _chunk32HQP5F6cjs.useCanUndo; exports.useClient = _chunk32HQP5F6cjs.useClient; exports.useCreateComment = _chunk32HQP5F6cjs.useCreateComment; exports.useCreateThread = _chunk32HQP5F6cjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunk32HQP5F6cjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunk32HQP5F6cjs.useDeleteComment; exports.useDeleteInboxNotification = _chunk32HQP5F6cjs.useDeleteInboxNotification; exports.useDeleteThread = _chunk32HQP5F6cjs._useDeleteThread; exports.useEditComment = _chunk32HQP5F6cjs.useEditComment; exports.useEditThreadMetadata = _chunk32HQP5F6cjs._useEditThreadMetadata; exports.useErrorListener = _chunk32HQP5F6cjs.useErrorListener; exports.useEventListener = _chunk32HQP5F6cjs._useEventListener; exports.useHistory = _chunk32HQP5F6cjs.useHistory; exports.useHistoryVersions = _chunk32HQP5F6cjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunk32HQP5F6cjs._useInboxNotificationThread; exports.useInboxNotifications = _chunk32HQP5F6cjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunk32HQP5F6cjs._useIsInsideRoom; exports.useLostConnectionListener = _chunk32HQP5F6cjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunk32HQP5F6cjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunk32HQP5F6cjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunk32HQP5F6cjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunk32HQP5F6cjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunk32HQP5F6cjs.useMarkThreadAsUnresolved; exports.useMutation = _chunk32HQP5F6cjs._useMutation; exports.useMyPresence = _chunk32HQP5F6cjs._useMyPresence; exports.useNotificationSettings = _chunk32HQP5F6cjs.useNotificationSettingsSuspense; exports.useOther = _chunk32HQP5F6cjs._useOtherSuspense; exports.useOthers = _chunk32HQP5F6cjs._useOthersSuspense; exports.useOthersConnectionIds = _chunk32HQP5F6cjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunk32HQP5F6cjs._useOthersListener; exports.useOthersMapped = _chunk32HQP5F6cjs._useOthersMappedSuspense; exports.useRedo = _chunk32HQP5F6cjs.useRedo; exports.useRemoveReaction = _chunk32HQP5F6cjs.useRemoveReaction; exports.useRoom = _chunk32HQP5F6cjs._useRoom; exports.useRoomInfo = _chunk32HQP5F6cjs.useRoomInfoSuspense; exports.useRoomNotificationSettings = _chunk32HQP5F6cjs._useRoomNotificationSettingsSuspense; exports.useRoomSubscriptionSettings = _chunk32HQP5F6cjs._useRoomSubscriptionSettingsSuspense; exports.useSelf = _chunk32HQP5F6cjs._useSelfSuspense; exports.useStatus = _chunk32HQP5F6cjs.useStatus; exports.useStorage = _chunk32HQP5F6cjs._useStorageSuspense; exports.useStorageRoot = _chunk32HQP5F6cjs._useStorageRoot; exports.useStorageStatus = _chunk32HQP5F6cjs.useStorageStatusSuspense; exports.useSubscribeToThread = _chunk32HQP5F6cjs.useSubscribeToThread; exports.useSyncStatus = _chunk32HQP5F6cjs.useSyncStatus; exports.useThreadSubscription = _chunk32HQP5F6cjs.useThreadSubscription; exports.useThreads = _chunk32HQP5F6cjs._useThreadsSuspense; exports.useUndo = _chunk32HQP5F6cjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunk32HQP5F6cjs.useUnreadInboxNotificationsCountSuspense; exports.useUnsubscribeFromThread = _chunk32HQP5F6cjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunk32HQP5F6cjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunk32HQP5F6cjs.useUpdateNotificationSettings; exports.useUpdateRoomNotificationSettings = _chunk32HQP5F6cjs.useUpdateRoomNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunk32HQP5F6cjs.useUpdateRoomSubscriptionSettings; exports.useUser = _chunk32HQP5F6cjs._useUserSuspense; exports.useUserThreads_experimental = _chunk32HQP5F6cjs._useUserThreadsSuspense_experimental; | ||
| exports.ClientContext = _chunkZGVKI7OMcjs.ClientContext; exports.ClientSideSuspense = _chunkSTFFVL4Dcjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkZGVKI7OMcjs.LiveblocksProvider; exports.RoomContext = _chunkZGVKI7OMcjs.RoomContext; exports.RoomProvider = _chunkZGVKI7OMcjs._RoomProvider; exports.isNotificationChannelEnabled = _client.isNotificationChannelEnabled; exports.shallow = _client.shallow; exports.useAddReaction = _chunkZGVKI7OMcjs._useAddReaction; exports.useAiChatMessages = _chunkZGVKI7OMcjs._useAiChatMessagesSuspense; exports.useAiChats = _chunkZGVKI7OMcjs._useAiChatsSuspense; exports.useAttachmentUrl = _chunkZGVKI7OMcjs.useAttachmentUrlSuspense; exports.useBatch = _chunkZGVKI7OMcjs.useBatch; exports.useBroadcastEvent = _chunkZGVKI7OMcjs._useBroadcastEvent; exports.useCanRedo = _chunkZGVKI7OMcjs.useCanRedo; exports.useCanUndo = _chunkZGVKI7OMcjs.useCanUndo; exports.useClient = _chunkZGVKI7OMcjs.useClient; exports.useCreateAiChat = _chunkZGVKI7OMcjs.useCreateAiChat; exports.useCreateComment = _chunkZGVKI7OMcjs.useCreateComment; exports.useCreateThread = _chunkZGVKI7OMcjs._useCreateThread; exports.useDeleteAiChat = _chunkZGVKI7OMcjs.useDeleteAiChat; exports.useDeleteAllInboxNotifications = _chunkZGVKI7OMcjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkZGVKI7OMcjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkZGVKI7OMcjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkZGVKI7OMcjs._useDeleteThread; exports.useEditComment = _chunkZGVKI7OMcjs.useEditComment; exports.useEditThreadMetadata = _chunkZGVKI7OMcjs._useEditThreadMetadata; exports.useErrorListener = _chunkZGVKI7OMcjs.useErrorListener; exports.useEventListener = _chunkZGVKI7OMcjs._useEventListener; exports.useHistory = _chunkZGVKI7OMcjs.useHistory; exports.useHistoryVersions = _chunkZGVKI7OMcjs._useHistoryVersionsSuspense; exports.useInboxNotificationThread = _chunkZGVKI7OMcjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkZGVKI7OMcjs.useInboxNotificationsSuspense; exports.useIsInsideRoom = _chunkZGVKI7OMcjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkZGVKI7OMcjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkZGVKI7OMcjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkZGVKI7OMcjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkZGVKI7OMcjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkZGVKI7OMcjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkZGVKI7OMcjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkZGVKI7OMcjs._useMutation; exports.useMyPresence = _chunkZGVKI7OMcjs._useMyPresence; exports.useNotificationSettings = _chunkZGVKI7OMcjs.useNotificationSettingsSuspense; exports.useOther = _chunkZGVKI7OMcjs._useOtherSuspense; exports.useOthers = _chunkZGVKI7OMcjs._useOthersSuspense; exports.useOthersConnectionIds = _chunkZGVKI7OMcjs.useOthersConnectionIdsSuspense; exports.useOthersListener = _chunkZGVKI7OMcjs._useOthersListener; exports.useOthersMapped = _chunkZGVKI7OMcjs._useOthersMappedSuspense; exports.useRedo = _chunkZGVKI7OMcjs.useRedo; exports.useRemoveReaction = _chunkZGVKI7OMcjs.useRemoveReaction; exports.useRoom = _chunkZGVKI7OMcjs._useRoom; exports.useRoomInfo = _chunkZGVKI7OMcjs.useRoomInfoSuspense; exports.useRoomNotificationSettings = _chunkZGVKI7OMcjs._useRoomNotificationSettingsSuspense; exports.useRoomSubscriptionSettings = _chunkZGVKI7OMcjs._useRoomSubscriptionSettingsSuspense; exports.useSelf = _chunkZGVKI7OMcjs._useSelfSuspense; exports.useStatus = _chunkZGVKI7OMcjs.useStatus; exports.useStorage = _chunkZGVKI7OMcjs._useStorageSuspense; exports.useStorageRoot = _chunkZGVKI7OMcjs._useStorageRoot; exports.useStorageStatus = _chunkZGVKI7OMcjs.useStorageStatusSuspense; exports.useSubscribeToThread = _chunkZGVKI7OMcjs.useSubscribeToThread; exports.useSyncStatus = _chunkZGVKI7OMcjs.useSyncStatus; exports.useThreadSubscription = _chunkZGVKI7OMcjs.useThreadSubscription; exports.useThreads = _chunkZGVKI7OMcjs._useThreadsSuspense; exports.useUndo = _chunkZGVKI7OMcjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkZGVKI7OMcjs.useUnreadInboxNotificationsCountSuspense; exports.useUnsubscribeFromThread = _chunkZGVKI7OMcjs.useUnsubscribeFromThread; exports.useUpdateMyPresence = _chunkZGVKI7OMcjs._useUpdateMyPresence; exports.useUpdateNotificationSettings = _chunkZGVKI7OMcjs.useUpdateNotificationSettings; exports.useUpdateRoomNotificationSettings = _chunkZGVKI7OMcjs.useUpdateRoomNotificationSettings; exports.useUpdateRoomSubscriptionSettings = _chunkZGVKI7OMcjs.useUpdateRoomSubscriptionSettings; exports.useUser = _chunkZGVKI7OMcjs._useUserSuspense; exports.useUserThreads_experimental = _chunkZGVKI7OMcjs._useUserThreadsSuspense_experimental; | ||
| //# sourceMappingURL=suspense.cjs.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/suspense.cjs","../src/suspense.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;ACxEA,wCAA4B;AAc5B,4CAAsD;AAXtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;ADyE7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,g9IAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/suspense.cjs","sourcesContent":[null,"/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n LiveblocksProvider,\n useClient,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useUpdateNotificationSettings,\n useSyncStatus,\n useErrorListener,\n} from \"./liveblocks\";\nexport {\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useUpdateRoomSubscriptionSettings,\n} from \"./room\";\n\n// Export the Suspense versions of our hooks\n// (This part differs from src/index.ts)\nexport {\n useOtherSuspense as useOther,\n useOthersSuspense as useOthers,\n useOthersConnectionIdsSuspense as useOthersConnectionIds,\n useOthersMappedSuspense as useOthersMapped,\n useSelfSuspense as useSelf,\n useStorageSuspense as useStorage,\n useStorageStatusSuspense as useStorageStatus,\n useThreadsSuspense as useThreads,\n useAttachmentUrlSuspense as useAttachmentUrl,\n useHistoryVersionsSuspense as useHistoryVersions,\n useRoomNotificationSettingsSuspense as useRoomNotificationSettings,\n useRoomSubscriptionSettingsSuspense as useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotificationsSuspense as useInboxNotifications,\n useNotificationSettingsSuspense as useNotificationSettings,\n useRoomInfoSuspense as useRoomInfo,\n useUnreadInboxNotificationsCountSuspense as useUnreadInboxNotificationsCount,\n useUserSuspense as useUser,\n useUserThreadsSuspense_experimental as useUserThreads_experimental,\n} from \"./liveblocks\";\n"]} | ||
| {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/suspense.cjs","../src/suspense.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;AC5EA,wCAA4B;AAc5B,4CAAsD;AAXtD,+BAAA,0BAAY,EAAU,6BAAA,EAAa,4BAAU,CAAA;AD6E7C;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,gtJAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/suspense.cjs","sourcesContent":[null,"/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n LiveblocksProvider,\n useClient,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSyncStatus,\n useErrorListener,\n} from \"./liveblocks\";\nexport {\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useUpdateRoomSubscriptionSettings,\n} from \"./room\";\n\n// Export the Suspense versions of our hooks\n// (This part differs from src/index.ts)\nexport {\n useOtherSuspense as useOther,\n useOthersSuspense as useOthers,\n useOthersConnectionIdsSuspense as useOthersConnectionIds,\n useOthersMappedSuspense as useOthersMapped,\n useSelfSuspense as useSelf,\n useStorageSuspense as useStorage,\n useStorageStatusSuspense as useStorageStatus,\n useThreadsSuspense as useThreads,\n useAttachmentUrlSuspense as useAttachmentUrl,\n useHistoryVersionsSuspense as useHistoryVersions,\n useRoomNotificationSettingsSuspense as useRoomNotificationSettings,\n useRoomSubscriptionSettingsSuspense as useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotificationsSuspense as useInboxNotifications,\n useNotificationSettingsSuspense as useNotificationSettings,\n useRoomInfoSuspense as useRoomInfo,\n useUnreadInboxNotificationsCountSuspense as useUnreadInboxNotificationsCount,\n useUserSuspense as useUser,\n useUserThreadsSuspense_experimental as useUserThreads_experimental,\n useAiChatsSuspense as useAiChats,\n useAiChatMessagesSuspense as useAiChatMessages,\n} from \"./liveblocks\";\n"]} |
| export { ClientSideSuspense, RoomContext } from './index.cjs'; | ||
| export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, I as useAddReaction, aJ as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, P as useCreateComment, Q as useCreateThread, z as useDeleteAllInboxNotifications, R as useDeleteComment, A as useDeleteInboxNotification, S as useDeleteThread, T as useEditComment, V as useEditThreadMetadata, B as useErrorListener, $ as useEventListener, a0 as useHistory, aK as useHistoryVersions, _ as useInboxNotificationThread, aN as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, W as useMarkThreadAsResolved, X as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, aO as useNotificationSettings, aB as useOther, aC as useOthers, aD as useOthersConnectionIds, a6 as useOthersListener, aE as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, aP as useRoomInfo, aL as useRoomNotificationSettings, aM as useRoomSubscriptionSettings, aF as useSelf, aa as useStatus, aG as useStorage, ab as useStorageRoot, aH as useStorageStatus, Y as useSubscribeToThread, F as useSyncStatus, ac as useThreadSubscription, aI as useThreads, ad as useUndo, aQ as useUnreadInboxNotificationsCount, Z as useUnsubscribeFromThread, ae as useUpdateMyPresence, aw as useUpdateNotificationSettings, af as useUpdateRoomNotificationSettings, ag as useUpdateRoomSubscriptionSettings, aR as useUser, aS as useUserThreads_experimental } from './room-CqT08uWZ.cjs'; | ||
| export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, I as useAddReaction, aY as useAiChatMessages, aX as useAiChats, aN as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, ax as useCreateAiChat, P as useCreateComment, Q as useCreateThread, ay as useDeleteAiChat, z as useDeleteAllInboxNotifications, R as useDeleteComment, A as useDeleteInboxNotification, S as useDeleteThread, T as useEditComment, V as useEditThreadMetadata, B as useErrorListener, $ as useEventListener, a0 as useHistory, aO as useHistoryVersions, _ as useInboxNotificationThread, aR as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, W as useMarkThreadAsResolved, X as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, aS as useNotificationSettings, aF as useOther, aG as useOthers, aH as useOthersConnectionIds, a6 as useOthersListener, aI as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, aT as useRoomInfo, aP as useRoomNotificationSettings, aQ as useRoomSubscriptionSettings, aJ as useSelf, aa as useStatus, aK as useStorage, ab as useStorageRoot, aL as useStorageStatus, Y as useSubscribeToThread, F as useSyncStatus, ac as useThreadSubscription, aM as useThreads, ad as useUndo, aU as useUnreadInboxNotificationsCount, Z as useUnsubscribeFromThread, ae as useUpdateMyPresence, aw as useUpdateNotificationSettings, af as useUpdateRoomNotificationSettings, ag as useUpdateRoomSubscriptionSettings, aV as useUser, aW as useUserThreads_experimental } from './room-DmsjrDvP.cjs'; | ||
| export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client'; | ||
@@ -4,0 +4,0 @@ import 'react/jsx-runtime'; |
| export { ClientSideSuspense, RoomContext } from './index.js'; | ||
| export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, I as useAddReaction, aJ as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, P as useCreateComment, Q as useCreateThread, z as useDeleteAllInboxNotifications, R as useDeleteComment, A as useDeleteInboxNotification, S as useDeleteThread, T as useEditComment, V as useEditThreadMetadata, B as useErrorListener, $ as useEventListener, a0 as useHistory, aK as useHistoryVersions, _ as useInboxNotificationThread, aN as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, W as useMarkThreadAsResolved, X as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, aO as useNotificationSettings, aB as useOther, aC as useOthers, aD as useOthersConnectionIds, a6 as useOthersListener, aE as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, aP as useRoomInfo, aL as useRoomNotificationSettings, aM as useRoomSubscriptionSettings, aF as useSelf, aa as useStatus, aG as useStorage, ab as useStorageRoot, aH as useStorageStatus, Y as useSubscribeToThread, F as useSyncStatus, ac as useThreadSubscription, aI as useThreads, ad as useUndo, aQ as useUnreadInboxNotificationsCount, Z as useUnsubscribeFromThread, ae as useUpdateMyPresence, aw as useUpdateNotificationSettings, af as useUpdateRoomNotificationSettings, ag as useUpdateRoomSubscriptionSettings, aR as useUser, aS as useUserThreads_experimental } from './room-CqT08uWZ.js'; | ||
| export { C as ClientContext, L as LiveblocksProvider, M as MutationContext, H as RoomProvider, U as UseStorageStatusOptions, w as UseThreadsOptions, I as useAddReaction, aY as useAiChatMessages, aX as useAiChats, aN as useAttachmentUrl, J as useBatch, K as useBroadcastEvent, N as useCanRedo, O as useCanUndo, y as useClient, ax as useCreateAiChat, P as useCreateComment, Q as useCreateThread, ay as useDeleteAiChat, z as useDeleteAllInboxNotifications, R as useDeleteComment, A as useDeleteInboxNotification, S as useDeleteThread, T as useEditComment, V as useEditThreadMetadata, B as useErrorListener, $ as useEventListener, a0 as useHistory, aO as useHistoryVersions, _ as useInboxNotificationThread, aR as useInboxNotifications, a1 as useIsInsideRoom, a2 as useLostConnectionListener, D as useMarkAllInboxNotificationsAsRead, E as useMarkInboxNotificationAsRead, a3 as useMarkThreadAsRead, W as useMarkThreadAsResolved, X as useMarkThreadAsUnresolved, a4 as useMutation, a5 as useMyPresence, aS as useNotificationSettings, aF as useOther, aG as useOthers, aH as useOthersConnectionIds, a6 as useOthersListener, aI as useOthersMapped, a7 as useRedo, a8 as useRemoveReaction, a9 as useRoom, aT as useRoomInfo, aP as useRoomNotificationSettings, aQ as useRoomSubscriptionSettings, aJ as useSelf, aa as useStatus, aK as useStorage, ab as useStorageRoot, aL as useStorageStatus, Y as useSubscribeToThread, F as useSyncStatus, ac as useThreadSubscription, aM as useThreads, ad as useUndo, aU as useUnreadInboxNotificationsCount, Z as useUnsubscribeFromThread, ae as useUpdateMyPresence, aw as useUpdateNotificationSettings, af as useUpdateRoomNotificationSettings, ag as useUpdateRoomSubscriptionSettings, aV as useUser, aW as useUserThreads_experimental } from './room-DmsjrDvP.js'; | ||
| export { Json, JsonObject, isNotificationChannelEnabled, shallow } from '@liveblocks/client'; | ||
@@ -4,0 +4,0 @@ import 'react/jsx-runtime'; |
+10
-2
@@ -6,3 +6,3 @@ import { | ||
| PKG_VERSION | ||
| } from "./chunk-RPHUEUUE.js"; | ||
| } from "./chunk-3FZLUESM.js"; | ||
| import { | ||
@@ -14,2 +14,4 @@ ClientContext, | ||
| _useAddReaction, | ||
| _useAiChatMessagesSuspense, | ||
| _useAiChatsSuspense, | ||
| _useBroadcastEvent, | ||
@@ -44,3 +46,5 @@ _useCreateThread, | ||
| useClient, | ||
| useCreateAiChat, | ||
| useCreateComment, | ||
| useDeleteAiChat, | ||
| useDeleteAllInboxNotifications, | ||
@@ -75,3 +79,3 @@ useDeleteComment, | ||
| useUpdateRoomSubscriptionSettings | ||
| } from "./chunk-N6OQQVYV.js"; | ||
| } from "./chunk-E6PCFJWE.js"; | ||
@@ -91,2 +95,4 @@ // src/suspense.ts | ||
| _useAddReaction as useAddReaction, | ||
| _useAiChatMessagesSuspense as useAiChatMessages, | ||
| _useAiChatsSuspense as useAiChats, | ||
| useAttachmentUrlSuspense as useAttachmentUrl, | ||
@@ -98,4 +104,6 @@ useBatch, | ||
| useClient, | ||
| useCreateAiChat, | ||
| useCreateComment, | ||
| _useCreateThread as useCreateThread, | ||
| useDeleteAiChat, | ||
| useDeleteAllInboxNotifications, | ||
@@ -102,0 +110,0 @@ useDeleteComment, |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["../src/suspense.ts"],"sourcesContent":["/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n LiveblocksProvider,\n useClient,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useUpdateNotificationSettings,\n useSyncStatus,\n useErrorListener,\n} from \"./liveblocks\";\nexport {\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useUpdateRoomSubscriptionSettings,\n} from \"./room\";\n\n// Export the Suspense versions of our hooks\n// (This part differs from src/index.ts)\nexport {\n useOtherSuspense as useOther,\n useOthersSuspense as useOthers,\n useOthersConnectionIdsSuspense as useOthersConnectionIds,\n useOthersMappedSuspense as useOthersMapped,\n useSelfSuspense as useSelf,\n useStorageSuspense as useStorage,\n useStorageStatusSuspense as useStorageStatus,\n useThreadsSuspense as useThreads,\n useAttachmentUrlSuspense as useAttachmentUrl,\n useHistoryVersionsSuspense as useHistoryVersions,\n useRoomNotificationSettingsSuspense as useRoomNotificationSettings,\n useRoomSubscriptionSettingsSuspense as useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotificationsSuspense as useInboxNotifications,\n useNotificationSettingsSuspense as useNotificationSettings,\n useRoomInfoSuspense as useRoomInfo,\n useUnreadInboxNotificationsCountSuspense as useUnreadInboxNotificationsCount,\n useUserSuspense as useUser,\n useUserThreadsSuspense_experimental as useUserThreads_experimental,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAc5B,SAAS,SAAS,oCAAoC;AAXtD,YAAY,UAAU,aAAa,UAAU;","names":[]} | ||
| {"version":3,"sources":["../src/suspense.ts"],"sourcesContent":["/* eslint-disable simple-import-sort/exports */\nimport { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport { ClientSideSuspense } from \"./ClientSideSuspense\";\nexport type {\n MutationContext,\n UseStorageStatusOptions,\n UseThreadsOptions,\n} from \"./types\";\n\n// Re-exports from @liveblocks/client, for convenience\nexport type { Json, JsonObject } from \"@liveblocks/client\";\nexport { shallow, isNotificationChannelEnabled } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n LiveblocksProvider,\n useClient,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\n useUpdateNotificationSettings,\n useCreateAiChat,\n useDeleteAiChat,\n useSyncStatus,\n useErrorListener,\n} from \"./liveblocks\";\nexport {\n RoomContext,\n RoomProvider,\n useAddReaction,\n useBatch,\n useBroadcastEvent,\n useCanRedo,\n useCanUndo,\n useCreateComment,\n useCreateThread,\n useDeleteComment,\n useDeleteThread,\n useEditComment,\n useEditThreadMetadata,\n useMarkThreadAsResolved,\n useMarkThreadAsUnresolved,\n useSubscribeToThread,\n useUnsubscribeFromThread,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useUpdateRoomSubscriptionSettings,\n} from \"./room\";\n\n// Export the Suspense versions of our hooks\n// (This part differs from src/index.ts)\nexport {\n useOtherSuspense as useOther,\n useOthersSuspense as useOthers,\n useOthersConnectionIdsSuspense as useOthersConnectionIds,\n useOthersMappedSuspense as useOthersMapped,\n useSelfSuspense as useSelf,\n useStorageSuspense as useStorage,\n useStorageStatusSuspense as useStorageStatus,\n useThreadsSuspense as useThreads,\n useAttachmentUrlSuspense as useAttachmentUrl,\n useHistoryVersionsSuspense as useHistoryVersions,\n useRoomNotificationSettingsSuspense as useRoomNotificationSettings,\n useRoomSubscriptionSettingsSuspense as useRoomSubscriptionSettings,\n} from \"./room\";\nexport {\n useInboxNotificationsSuspense as useInboxNotifications,\n useNotificationSettingsSuspense as useNotificationSettings,\n useRoomInfoSuspense as useRoomInfo,\n useUnreadInboxNotificationsCountSuspense as useUnreadInboxNotificationsCount,\n useUserSuspense as useUser,\n useUserThreadsSuspense_experimental as useUserThreads_experimental,\n useAiChatsSuspense as useAiChats,\n useAiChatMessagesSuspense as useAiChatMessages,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAc5B,SAAS,SAAS,oCAAoC;AAXtD,YAAY,UAAU,aAAa,UAAU;","names":[]} |
+3
-3
| { | ||
| "name": "@liveblocks/react", | ||
| "version": "2.24.1", | ||
| "version": "2.25.0-aiprivatebeta0", | ||
| "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.24.1", | ||
| "@liveblocks/core": "2.24.1" | ||
| "@liveblocks/client": "2.25.0-aiprivatebeta0", | ||
| "@liveblocks/core": "2.25.0-aiprivatebeta0" | ||
| }, | ||
@@ -68,0 +68,0 @@ "peerDependencies": { |
| "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/version.ts | ||
| var PKG_NAME = "@liveblocks/react"; | ||
| var PKG_VERSION = "2.24.1"; | ||
| var PKG_FORMAT = "cjs"; | ||
| // src/ClientSideSuspense.tsx | ||
| var _react = require('react'); | ||
| var _jsxruntime = require('react/jsx-runtime'); | ||
| function ClientSideSuspense(props) { | ||
| const [mounted, setMounted] = _react.useState.call(void 0, false); | ||
| _react.useEffect.call(void 0, () => { | ||
| setMounted(true); | ||
| }, []); | ||
| return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: props.fallback, children: mounted ? typeof props.children === "function" ? props.children() : props.children : props.fallback }); | ||
| } | ||
| exports.PKG_NAME = PKG_NAME; exports.PKG_VERSION = PKG_VERSION; exports.PKG_FORMAT = PKG_FORMAT; exports.ClientSideSuspense = ClientSideSuspense; | ||
| //# sourceMappingURL=chunk-2C72TPGI.cjs.map |
| {"version":3,"sources":["/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-2C72TPGI.cjs","../src/version.ts","../src/ClientSideSuspense.tsx"],"names":[],"mappings":"AAAA;ACGO,IAAM,SAAA,EAAW,mBAAA;AACjB,IAAM,YAAA,EAAiD,QAAA;AACvD,IAAM,WAAA,EAAgD,KAAA;ADD7D;AACA;AEJA,8BAA8C;AAkC1C,+CAAA;AAVG,SAAS,kBAAA,CAAmB,KAAA,EAAc;AAC/C,EAAA,MAAM,CAAC,OAAA,EAAS,UAAU,EAAA,EAAI,6BAAA,KAAc,CAAA;AAE5C,EAAA,8BAAA,CAAU,EAAA,GAAM;AAGd,IAAA,UAAA,CAAW,IAAI,CAAA;AAAA,EACjB,CAAA,EAAG,CAAC,CAAC,CAAA;AAEL,EAAA,uBACE,6BAAA,eAAC,EAAA,EAAS,QAAA,EAAU,KAAA,CAAM,QAAA,EACvB,QAAA,EAAA,QAAA,EACG,OAAO,KAAA,CAAM,SAAA,IAAa,WAAA,EACxB,KAAA,CAAM,QAAA,CAAS,EAAA,EACf,KAAA,CAAM,SAAA,EACR,KAAA,CAAM,SAAA,CACZ,CAAA;AAEJ;AF5BA;AACA;AACE;AACA;AACA;AACA;AACF,iJAAC","file":"/home/runner/work/liveblocks/liveblocks/packages/liveblocks-react/dist/chunk-2C72TPGI.cjs","sourcesContent":[null,"declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n","import type { ReactNode } from \"react\";\nimport { Suspense, useEffect, useState } from \"react\";\n\ntype Props = {\n fallback: ReactNode;\n children: (() => ReactNode | undefined) | ReactNode | undefined;\n};\n\n/**\n * Almost like a normal <Suspense> component, except that for server-side\n * renders, the fallback will be used.\n *\n * The child props will have to be provided in a function, i.e. change:\n *\n * <Suspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </Suspense>\n *\n * To:\n *\n * <ClientSideSuspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </ClientSideSuspense>\n *\n */\nexport function ClientSideSuspense(props: Props) {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n // Effects are never executed on the server side. The point of this is to\n // delay the flipping of this boolean until after hydration has happened.\n setMounted(true);\n }, []);\n\n return (\n <Suspense fallback={props.fallback}>\n {mounted\n ? typeof props.children === \"function\"\n ? props.children()\n : props.children\n : props.fallback}\n </Suspense>\n );\n}\n"]} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
| // src/version.ts | ||
| var PKG_NAME = "@liveblocks/react"; | ||
| var PKG_VERSION = "2.24.1"; | ||
| var PKG_FORMAT = "esm"; | ||
| // src/ClientSideSuspense.tsx | ||
| import { Suspense, useEffect, useState } from "react"; | ||
| import { jsx } from "react/jsx-runtime"; | ||
| function ClientSideSuspense(props) { | ||
| const [mounted, setMounted] = useState(false); | ||
| useEffect(() => { | ||
| setMounted(true); | ||
| }, []); | ||
| return /* @__PURE__ */ jsx(Suspense, { fallback: props.fallback, children: mounted ? typeof props.children === "function" ? props.children() : props.children : props.fallback }); | ||
| } | ||
| export { | ||
| PKG_NAME, | ||
| PKG_VERSION, | ||
| PKG_FORMAT, | ||
| ClientSideSuspense | ||
| }; | ||
| //# sourceMappingURL=chunk-RPHUEUUE.js.map |
| {"version":3,"sources":["../src/version.ts","../src/ClientSideSuspense.tsx"],"sourcesContent":["declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n","import type { ReactNode } from \"react\";\nimport { Suspense, useEffect, useState } from \"react\";\n\ntype Props = {\n fallback: ReactNode;\n children: (() => ReactNode | undefined) | ReactNode | undefined;\n};\n\n/**\n * Almost like a normal <Suspense> component, except that for server-side\n * renders, the fallback will be used.\n *\n * The child props will have to be provided in a function, i.e. change:\n *\n * <Suspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </Suspense>\n *\n * To:\n *\n * <ClientSideSuspense fallback={<Loading />}>\n * <MyRealComponent a={1} />\n * </ClientSideSuspense>\n *\n */\nexport function ClientSideSuspense(props: Props) {\n const [mounted, setMounted] = useState(false);\n\n useEffect(() => {\n // Effects are never executed on the server side. The point of this is to\n // delay the flipping of this boolean until after hydration has happened.\n setMounted(true);\n }, []);\n\n return (\n <Suspense fallback={props.fallback}>\n {mounted\n ? typeof props.children === \"function\"\n ? props.children()\n : props.children\n : props.fallback}\n </Suspense>\n );\n}\n"],"mappings":";AAGO,IAAM,WAAW;AACjB,IAAM,cAAiD;AACvD,IAAM,aAAgD;;;ACJ7D,SAAS,UAAU,WAAW,gBAAgB;AAkC1C;AAVG,SAAS,mBAAmB,OAAc;AAC/C,QAAM,CAAC,SAAS,UAAU,IAAI,SAAS,KAAK;AAE5C,YAAU,MAAM;AAGd,eAAW,IAAI;AAAA,EACjB,GAAG,CAAC,CAAC;AAEL,SACE,oBAAC,YAAS,UAAU,MAAM,UACvB,oBACG,OAAO,MAAM,aAAa,aACxB,MAAM,SAAS,IACf,MAAM,WACR,MAAM,UACZ;AAEJ;","names":[]} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1265622
3.38%12253
3.51%3
50%53
3.92%37
32.14%+ Added
+ Added
- Removed
- Removed