@liveblocks/react 2.9.3-emails1 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_private/README.md +5 -0
- package/_private/package.json +4 -0
- package/dist/_private.d.mts +14 -0
- package/dist/_private.d.ts +14 -0
- package/dist/_private.js +69 -0
- package/dist/_private.js.map +1 -0
- package/dist/_private.mjs +69 -0
- package/dist/_private.mjs.map +1 -0
- package/dist/{chunk-FZCDYLUA.mjs → chunk-LMENFXCS.mjs} +85 -102
- package/dist/chunk-LMENFXCS.mjs.map +1 -0
- package/dist/chunk-PJN3AKDH.js +22 -0
- package/dist/chunk-PJN3AKDH.js.map +1 -0
- package/dist/chunk-PXKGBTHT.mjs +22 -0
- package/dist/chunk-PXKGBTHT.mjs.map +1 -0
- package/dist/{chunk-DW7VXZBG.js → chunk-WJLAYICR.js} +74 -91
- package/dist/chunk-WJLAYICR.js.map +1 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -10
- package/dist/index.mjs.map +1 -1
- package/dist/{suspense-fYGGJ3D9.d.mts → liveblocks-X3qYz1Vg.d.mts} +10 -725
- package/dist/{suspense-fYGGJ3D9.d.ts → liveblocks-X3qYz1Vg.d.ts} +10 -725
- package/dist/suspense-pF_E-0CC.d.mts +721 -0
- package/dist/suspense-qQ0vzMgn.d.ts +721 -0
- package/dist/suspense.d.mts +2 -1
- package/dist/suspense.d.ts +2 -1
- package/dist/suspense.js +5 -3
- package/dist/suspense.js.map +1 -1
- package/dist/suspense.mjs +6 -4
- package/dist/suspense.mjs.map +1 -1
- package/package.json +15 -3
- package/dist/chunk-DW7VXZBG.js.map +0 -1
- package/dist/chunk-FZCDYLUA.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { C as ClientSideSuspense, R as RoomContext, _ as RoomProvider, c as createRoomContext, a as useAddReaction, T as useAttachmentUrl, u as useBatch, b as useBroadcastEvent, d as useCanRedo, e as useCanUndo, J as useCommentsErrorListener, f as useCreateComment, g as useCreateThread, h as useDeleteComment, i as useDeleteThread, j as useEditComment, k as useEditThreadMetadata, n as useErrorListener, o as useEventListener, p as useHistory, I as useHistoryVersionData, U as useHistoryVersions, q as useIsInsideRoom, r as useLostConnectionListener, s as useMarkThreadAsRead, l as useMarkThreadAsResolved, m as useMarkThreadAsUnresolved, t as useMutation, v as useMyPresence, K as useOther, L as useOthers, M as useOthersConnectionIds, w as useOthersListener, N as useOthersMapped, x as useRedo, y as useRemoveReaction, z as useRoom, A as useRoomNotificationSettings, O as useSelf, B as useStatus, P as useStorage, D as useStorageRoot, Q as useStorageStatus, E as useThreadSubscription, S as useThreads, F as useUndo, G as useUpdateMyPresence, H as useUpdateRoomNotificationSettings } from './suspense-pF_E-0CC.mjs';
|
|
2
|
+
export { f as ClientContext, L as LiveblocksProvider, M as MutationContext, U as UseStorageStatusOptions, e as UseThreadsOptions, h as createLiveblocksContext, u as useClient, k as useDeleteAllInboxNotifications, l as useDeleteInboxNotification, _ as useInboxNotificationThread, m as useInboxNotifications, i as useMarkAllInboxNotificationsAsRead, j as useMarkInboxNotificationAsRead, o as useRoomInfo, p as useUnreadInboxNotificationsCount, q as useUser, n as useUserThreads_experimental } from './liveblocks-X3qYz1Vg.mjs';
|
|
2
3
|
export { Json, JsonObject, shallow } from '@liveblocks/client';
|
|
3
4
|
import 'react';
|
|
4
5
|
import '@liveblocks/core';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { C as ClientSideSuspense, R as RoomContext, _ as RoomProvider, c as createRoomContext, a as useAddReaction, T as useAttachmentUrl, u as useBatch, b as useBroadcastEvent, d as useCanRedo, e as useCanUndo, J as useCommentsErrorListener, f as useCreateComment, g as useCreateThread, h as useDeleteComment, i as useDeleteThread, j as useEditComment, k as useEditThreadMetadata, n as useErrorListener, o as useEventListener, p as useHistory, I as useHistoryVersionData, U as useHistoryVersions, q as useIsInsideRoom, r as useLostConnectionListener, s as useMarkThreadAsRead, l as useMarkThreadAsResolved, m as useMarkThreadAsUnresolved, t as useMutation, v as useMyPresence, K as useOther, L as useOthers, M as useOthersConnectionIds, w as useOthersListener, N as useOthersMapped, x as useRedo, y as useRemoveReaction, z as useRoom, A as useRoomNotificationSettings, O as useSelf, B as useStatus, P as useStorage, D as useStorageRoot, Q as useStorageStatus, E as useThreadSubscription, S as useThreads, F as useUndo, G as useUpdateMyPresence, H as useUpdateRoomNotificationSettings } from './suspense-qQ0vzMgn.js';
|
|
2
|
+
export { f as ClientContext, L as LiveblocksProvider, M as MutationContext, U as UseStorageStatusOptions, e as UseThreadsOptions, h as createLiveblocksContext, u as useClient, k as useDeleteAllInboxNotifications, l as useDeleteInboxNotification, _ as useInboxNotificationThread, m as useInboxNotifications, i as useMarkAllInboxNotificationsAsRead, j as useMarkInboxNotificationAsRead, o as useRoomInfo, p as useUnreadInboxNotificationsCount, q as useUser, n as useUserThreads_experimental } from './liveblocks-X3qYz1Vg.js';
|
|
2
3
|
export { Json, JsonObject, shallow } from '@liveblocks/client';
|
|
3
4
|
import 'react';
|
|
4
5
|
import '@liveblocks/core';
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
var _chunkPJN3AKDHjs = require('./chunk-PJN3AKDH.js');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
@@ -65,17 +66,12 @@
|
|
|
65
66
|
|
|
66
67
|
|
|
67
68
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
var _chunkDW7VXZBGjs = require('./chunk-DW7VXZBG.js');
|
|
69
|
+
var _chunkWJLAYICRjs = require('./chunk-WJLAYICR.js');
|
|
71
70
|
|
|
72
71
|
// src/index.ts
|
|
73
72
|
var _core = require('@liveblocks/core');
|
|
74
73
|
var _client = require('@liveblocks/client');
|
|
75
|
-
_core.detectDupes.call(void 0,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
_core.detectDupes.call(void 0, _chunkPJN3AKDHjs.PKG_NAME, _chunkPJN3AKDHjs.PKG_VERSION, _chunkPJN3AKDHjs.PKG_FORMAT);
|
|
79
75
|
|
|
80
76
|
|
|
81
77
|
|
|
@@ -140,5 +136,5 @@ _core.detectDupes.call(void 0, _chunkDW7VXZBGjs.PKG_NAME, _chunkDW7VXZBGjs.PKG_V
|
|
|
140
136
|
|
|
141
137
|
|
|
142
138
|
|
|
143
|
-
exports.ClientContext =
|
|
139
|
+
exports.ClientContext = _chunkWJLAYICRjs.ClientContext; exports.ClientSideSuspense = _chunkPJN3AKDHjs.ClientSideSuspense; exports.LiveblocksProvider = _chunkWJLAYICRjs.LiveblocksProvider; exports.RoomContext = _chunkWJLAYICRjs.RoomContext; exports.RoomProvider = _chunkWJLAYICRjs._RoomProvider; exports.createLiveblocksContext = _chunkWJLAYICRjs.createLiveblocksContext; exports.createRoomContext = _chunkWJLAYICRjs.createRoomContext; exports.shallow = _client.shallow; exports.useAddReaction = _chunkWJLAYICRjs._useAddReaction; exports.useAttachmentUrl = _chunkWJLAYICRjs.useAttachmentUrl; exports.useBatch = _chunkWJLAYICRjs.useBatch; exports.useBroadcastEvent = _chunkWJLAYICRjs._useBroadcastEvent; exports.useCanRedo = _chunkWJLAYICRjs.useCanRedo; exports.useCanUndo = _chunkWJLAYICRjs.useCanUndo; exports.useClient = _chunkWJLAYICRjs.useClient; exports.useCommentsErrorListener = _chunkWJLAYICRjs.useCommentsErrorListener; exports.useCreateComment = _chunkWJLAYICRjs.useCreateComment; exports.useCreateThread = _chunkWJLAYICRjs._useCreateThread; exports.useDeleteAllInboxNotifications = _chunkWJLAYICRjs.useDeleteAllInboxNotifications; exports.useDeleteComment = _chunkWJLAYICRjs.useDeleteComment; exports.useDeleteInboxNotification = _chunkWJLAYICRjs.useDeleteInboxNotification; exports.useDeleteThread = _chunkWJLAYICRjs._useDeleteThread; exports.useEditComment = _chunkWJLAYICRjs.useEditComment; exports.useEditThreadMetadata = _chunkWJLAYICRjs._useEditThreadMetadata; exports.useErrorListener = _chunkWJLAYICRjs.useErrorListener; exports.useEventListener = _chunkWJLAYICRjs._useEventListener; exports.useHistory = _chunkWJLAYICRjs.useHistory; exports.useHistoryVersionData = _chunkWJLAYICRjs.useHistoryVersionData; exports.useHistoryVersions = _chunkWJLAYICRjs._useHistoryVersions; exports.useInboxNotificationThread = _chunkWJLAYICRjs._useInboxNotificationThread; exports.useInboxNotifications = _chunkWJLAYICRjs.useInboxNotifications; exports.useIsInsideRoom = _chunkWJLAYICRjs._useIsInsideRoom; exports.useLostConnectionListener = _chunkWJLAYICRjs.useLostConnectionListener; exports.useMarkAllInboxNotificationsAsRead = _chunkWJLAYICRjs.useMarkAllInboxNotificationsAsRead; exports.useMarkInboxNotificationAsRead = _chunkWJLAYICRjs.useMarkInboxNotificationAsRead; exports.useMarkThreadAsRead = _chunkWJLAYICRjs.useMarkThreadAsRead; exports.useMarkThreadAsResolved = _chunkWJLAYICRjs.useMarkThreadAsResolved; exports.useMarkThreadAsUnresolved = _chunkWJLAYICRjs.useMarkThreadAsUnresolved; exports.useMutation = _chunkWJLAYICRjs._useMutation; exports.useMyPresence = _chunkWJLAYICRjs._useMyPresence; exports.useOther = _chunkWJLAYICRjs._useOther; exports.useOthers = _chunkWJLAYICRjs._useOthers; exports.useOthersConnectionIds = _chunkWJLAYICRjs.useOthersConnectionIds; exports.useOthersListener = _chunkWJLAYICRjs._useOthersListener; exports.useOthersMapped = _chunkWJLAYICRjs._useOthersMapped; exports.useRedo = _chunkWJLAYICRjs.useRedo; exports.useRemoveReaction = _chunkWJLAYICRjs.useRemoveReaction; exports.useRoom = _chunkWJLAYICRjs._useRoom; exports.useRoomInfo = _chunkWJLAYICRjs.useRoomInfo; exports.useRoomNotificationSettings = _chunkWJLAYICRjs.useRoomNotificationSettings; exports.useSelf = _chunkWJLAYICRjs._useSelf; exports.useStatus = _chunkWJLAYICRjs.useStatus; exports.useStorage = _chunkWJLAYICRjs._useStorage; exports.useStorageRoot = _chunkWJLAYICRjs._useStorageRoot; exports.useStorageStatus = _chunkWJLAYICRjs.useStorageStatus; exports.useThreadSubscription = _chunkWJLAYICRjs.useThreadSubscription; exports.useThreads = _chunkWJLAYICRjs._useThreads; exports.useUndo = _chunkWJLAYICRjs.useUndo; exports.useUnreadInboxNotificationsCount = _chunkWJLAYICRjs.useUnreadInboxNotificationsCount; exports.useUpdateMyPresence = _chunkWJLAYICRjs._useUpdateMyPresence; exports.useUpdateRoomNotificationSettings = _chunkWJLAYICRjs.useUpdateRoomNotificationSettings; exports.useUser = _chunkWJLAYICRjs._useUser; exports.useUserThreads_experimental = _chunkWJLAYICRjs._useUserThreads_experimental;
|
|
144
140
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAc5B,SAAS,eAAe;AAXxB,YAAY,UAAU,aAAa,UAAU","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 } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n LiveblocksProvider,\n createLiveblocksContext,\n useClient,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\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 useErrorListener,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useRoomNotificationSettings,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useHistoryVersionData,\n} from \"./room\";\n\nexport { useCommentsErrorListener } 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} from \"./room\";\nexport {\n useInboxNotifications,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"]}
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ClientContext,
|
|
3
2
|
ClientSideSuspense,
|
|
4
|
-
CreateThreadError,
|
|
5
|
-
LiveblocksProvider,
|
|
6
3
|
PKG_FORMAT,
|
|
7
4
|
PKG_NAME,
|
|
8
|
-
PKG_VERSION
|
|
5
|
+
PKG_VERSION
|
|
6
|
+
} from "./chunk-PXKGBTHT.mjs";
|
|
7
|
+
import {
|
|
8
|
+
ClientContext,
|
|
9
|
+
LiveblocksProvider,
|
|
9
10
|
RoomContext,
|
|
10
11
|
_RoomProvider,
|
|
11
12
|
_useAddReaction,
|
|
@@ -33,8 +34,6 @@ import {
|
|
|
33
34
|
_useUserThreads_experimental,
|
|
34
35
|
createLiveblocksContext,
|
|
35
36
|
createRoomContext,
|
|
36
|
-
getUmbrellaStoreForClient,
|
|
37
|
-
selectThreads,
|
|
38
37
|
useAttachmentUrl,
|
|
39
38
|
useBatch,
|
|
40
39
|
useCanRedo,
|
|
@@ -67,7 +66,7 @@ import {
|
|
|
67
66
|
useUndo,
|
|
68
67
|
useUnreadInboxNotificationsCount,
|
|
69
68
|
useUpdateRoomNotificationSettings
|
|
70
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-LMENFXCS.mjs";
|
|
71
70
|
|
|
72
71
|
// src/index.ts
|
|
73
72
|
import { detectDupes } from "@liveblocks/core";
|
|
@@ -76,14 +75,11 @@ detectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);
|
|
|
76
75
|
export {
|
|
77
76
|
ClientContext,
|
|
78
77
|
ClientSideSuspense,
|
|
79
|
-
CreateThreadError,
|
|
80
78
|
LiveblocksProvider,
|
|
81
79
|
RoomContext,
|
|
82
80
|
_RoomProvider as RoomProvider,
|
|
83
81
|
createLiveblocksContext,
|
|
84
82
|
createRoomContext,
|
|
85
|
-
getUmbrellaStoreForClient,
|
|
86
|
-
selectThreads,
|
|
87
83
|
shallow,
|
|
88
84
|
_useAddReaction as useAddReaction,
|
|
89
85
|
useAttachmentUrl,
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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 } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n LiveblocksProvider,\n createLiveblocksContext,\n useClient,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\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 useErrorListener,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useRoomNotificationSettings,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useHistoryVersionData,\n} from \"./room\";\n\nexport { useCommentsErrorListener
|
|
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 } from \"@liveblocks/client\";\n\n// Export all the top-level hooks\nexport {\n ClientContext,\n LiveblocksProvider,\n createLiveblocksContext,\n useClient,\n useInboxNotificationThread,\n useMarkAllInboxNotificationsAsRead,\n useMarkInboxNotificationAsRead,\n useDeleteAllInboxNotifications,\n useDeleteInboxNotification,\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 useErrorListener,\n useEventListener,\n useHistory,\n useIsInsideRoom,\n useLostConnectionListener,\n useMarkThreadAsRead,\n useMutation,\n useMyPresence,\n useOthersListener,\n useRedo,\n useRemoveReaction,\n useRoom,\n useRoomNotificationSettings,\n useStatus,\n useStorageRoot,\n useThreadSubscription,\n useUndo,\n useUpdateMyPresence,\n useUpdateRoomNotificationSettings,\n useHistoryVersionData,\n} from \"./room\";\n\nexport { useCommentsErrorListener } 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} from \"./room\";\nexport {\n useInboxNotifications,\n useUserThreads_experimental as useUserThreads_experimental,\n useRoomInfo,\n useUnreadInboxNotificationsCount,\n useUser,\n} from \"./liveblocks\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,mBAAmB;AAc5B,SAAS,eAAe;AAXxB,YAAY,UAAU,aAAa,UAAU;","names":[]}
|