@liveblocks/react
Advanced tools
Comparing version 1.10.0-beta2 to 1.10.0-beta3
@@ -5,3 +5,3 @@ import { ReactElement, ReactNode, PropsWithChildren } from 'react'; | ||
import * as _liveblocks_core from '@liveblocks/core'; | ||
import { BaseMetadata, GetThreadsOptions, Resolve, ToImmutable, kInternal, ThreadData, InboxNotificationData, RoomEventMessage, CommentData, RoomInfo, CommentBody, PartialNullable, RoomInitializers, ResolveUsersArgs, OptionalPromise, ResolveMentionSuggestionsArgs, BaseUserMeta as BaseUserMeta$1 } from '@liveblocks/core'; | ||
import { BaseMetadata, Resolve, ToImmutable, kInternal, ThreadData, InboxNotificationData, RoomEventMessage, CommentData, RoomInfo, CommentBody, PartialNullable, RoomInitializers, ResolveUsersArgs, OptionalPromise, ResolveMentionSuggestionsArgs, BaseUserMeta as BaseUserMeta$1 } from '@liveblocks/core'; | ||
@@ -31,3 +31,7 @@ declare type Props = { | ||
declare type UseThreadsOptions<TThreadMetadata extends BaseMetadata> = GetThreadsOptions<TThreadMetadata>; | ||
declare type UseThreadsOptions<TThreadMetadata extends BaseMetadata> = { | ||
query?: { | ||
metadata?: Partial<TThreadMetadata>; | ||
}; | ||
}; | ||
@@ -1006,3 +1010,3 @@ declare type UserStateLoading = { | ||
* @example | ||
* const unreadCount = useUnreadInboxNotificationsCount(); | ||
* const { count, error, isLoading } = useUnreadInboxNotificationsCount(); | ||
*/ | ||
@@ -1017,3 +1021,3 @@ useUnreadInboxNotificationsCount(): UnreadInboxNotificationsCountState; | ||
* @example | ||
* const { inboxNotifications, error, isLoading } = useInboxNotifications(); | ||
* const { inboxNotifications } = useInboxNotifications(); | ||
*/ | ||
@@ -1027,3 +1031,3 @@ useInboxNotifications(): InboxNotificationsStateSuccess; | ||
* @example | ||
* const unreadCount = useUnreadInboxNotificationsCount(); | ||
* const { count } = useUnreadInboxNotificationsCount(); | ||
*/ | ||
@@ -1030,0 +1034,0 @@ useUnreadInboxNotificationsCount(): UnreadInboxNotificationsCountStateSuccess; |
{ | ||
"name": "@liveblocks/react", | ||
"version": "1.10.0-beta2", | ||
"version": "1.10.0-beta3", | ||
"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.", | ||
@@ -37,4 +37,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@liveblocks/client": "1.10.0-beta2", | ||
"@liveblocks/core": "1.10.0-beta2", | ||
"@liveblocks/client": "1.10.0-beta3", | ||
"@liveblocks/core": "1.10.0-beta3", | ||
"nanoid": "^3", | ||
@@ -41,0 +41,0 @@ "use-sync-external-store": "^1.2.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
505892
5518
+ Added@liveblocks/client@1.10.0-beta3(transitive)
+ Added@liveblocks/core@1.10.0-beta3(transitive)
- Removed@liveblocks/client@1.10.0-beta2(transitive)
- Removed@liveblocks/core@1.10.0-beta2(transitive)