@medipha/chat 1.0.30 → 1.0.31

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.
@@ -4,5 +4,6 @@ export interface ChatSessionConfig {
4
4
  socketUrl: string;
5
5
  userId: string;
6
6
  }
7
+ export declare function configureChatTransport(config: ChatSessionConfig): void;
7
8
  export declare function acquireChatSession(config: ChatSessionConfig): () => void;
8
9
  export declare function useChatSession({ accessToken, apiUrl, socketUrl, userId, }: ChatSessionConfig): void;
@@ -14,6 +14,7 @@ interface MessageWindowForDetail {
14
14
  updateAtBottom: (isAtBottom: boolean) => void;
15
15
  isLoadingOlder: boolean;
16
16
  isLoadingNewer: boolean;
17
+ isLoadingAround: boolean;
17
18
  hasUnseenMessages: boolean;
18
19
  isAtBottom: boolean;
19
20
  }
@@ -5,7 +5,7 @@ import { ChatUser } from '../../../utils/chat';
5
5
  * across permission checks (pin management, moderation, title editing). A no-op for
6
6
  * DIRECT conversations, which have no membership roles to resolve.
7
7
  */
8
- export declare function useCurrentMembership(conversationId: string | undefined, conversationType: string, currentUserId: string | null, onError: (message: string) => void): {
8
+ export declare function useCurrentMembership(conversationId: string | undefined, conversationType: string, currentUserId: string | null): {
9
9
  mentionMembers: ChatUser[];
10
10
  currentMemberRole: string;
11
11
  currentMemberStatus: string;