@ethora/chat-component 25.3.9 → 25.3.10
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/dist/components/Modals/ChatProfileModal/DeleteChatModal.d.ts +5 -1
- package/dist/components/Modals/NewChatModal/ModalContent.d.ts +30 -0
- package/dist/components/Modals/NewChatModal/UpdNewChatModal.d.ts +4 -0
- package/dist/components/Notification/index.d.ts +3 -0
- package/dist/components/Toast/Toast.d.ts +11 -0
- package/dist/components/Toast/index.d.ts +2 -3
- package/dist/context/ToastContext.d.ts +11 -0
- package/dist/main.js +5232 -5109
- package/dist/main.js.map +1 -1
- package/dist/networking/xmppClient.d.ts +1 -0
- package/dist/types/types.d.ts +8 -0
- package/package.json +1 -1
- package/dist/context/toastProvider.d.ts +0 -0
|
@@ -16,6 +16,7 @@ export declare class XmppClient implements XmppClientInterface {
|
|
|
16
16
|
checkOnline(): boolean;
|
|
17
17
|
constructor(username: string, password: string, xmppSettings?: xmppSettingsInterface);
|
|
18
18
|
initializeClient(): Promise<void>;
|
|
19
|
+
disconnect(): Promise<void>;
|
|
19
20
|
attachEventListeners(): void;
|
|
20
21
|
reconnect(): Promise<void>;
|
|
21
22
|
close(): Promise<void>;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -381,6 +381,7 @@ export interface XmppClientInterface {
|
|
|
381
381
|
createPrivateRoomStanza(title: string, description: string, to: string): Promise<string>;
|
|
382
382
|
sendMessageReactionStanza(messageId: string, roomJid: string, reactionsList: string[], reactionSymbol?: any): void;
|
|
383
383
|
getRoomsPagedStanza(maxResults: number, after: string | null): void;
|
|
384
|
+
disconnect?(): void;
|
|
384
385
|
}
|
|
385
386
|
export type Iso639_1Codes = 'en' | 'es' | 'pt' | 'ht' | 'zh';
|
|
386
387
|
export interface Language {
|
|
@@ -405,4 +406,11 @@ export interface LastMessage extends Omit<Partial<IMessage>, 'date'> {
|
|
|
405
406
|
mimetype?: string;
|
|
406
407
|
originalName?: string;
|
|
407
408
|
}
|
|
409
|
+
export type ChatAccessOption = {
|
|
410
|
+
name: 'Public';
|
|
411
|
+
id: 'public';
|
|
412
|
+
} | {
|
|
413
|
+
name: 'Members-only';
|
|
414
|
+
id: 'group';
|
|
415
|
+
};
|
|
408
416
|
export {};
|
package/package.json
CHANGED
|
File without changes
|