@codingfactory/messenger-client 0.2.5 → 0.2.7
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/index.js +1709 -1649
- package/dist/services/echo.d.ts +2 -0
- package/dist/stores/messaging.d.ts +1 -1
- package/package.json +1 -1
package/dist/services/echo.d.ts
CHANGED
|
@@ -103,5 +103,7 @@ export declare function setEchoRuntimeConfig(config: EchoRuntimeConfig): void;
|
|
|
103
103
|
export declare function resetEchoRuntimeConfig(): void;
|
|
104
104
|
export declare function isValidMessageSentEvent(data: unknown): data is MessageSentEvent;
|
|
105
105
|
export declare function isValidMessageReadEvent(data: unknown): data is MessageReadEvent;
|
|
106
|
+
export declare function isValidMessageEditedEvent(data: unknown): data is MessageEditedEvent;
|
|
107
|
+
export declare function isValidMessageDeletedEvent(data: unknown): data is MessageDeletedEvent;
|
|
106
108
|
export declare function isValidReactionToggledEvent(data: unknown): data is ReactionToggledEvent;
|
|
107
109
|
export declare function isValidRequestAcceptedEvent(data: unknown): data is RequestAcceptedEvent;
|
|
@@ -3749,7 +3749,7 @@ export declare const useMessagingStore: import("pinia").StoreDefinition<"messagi
|
|
|
3749
3749
|
fetchConversation(id: string): Promise<Conversation>;
|
|
3750
3750
|
fetchRequests(cursor?: string): Promise<PaginatedResponse<Conversation>>;
|
|
3751
3751
|
fetchMessages(conversationId: string, cursor?: string): Promise<PaginatedResponse<Message>>;
|
|
3752
|
-
sendMessage(conversationId: string, body?: string, attachments?: File[], replyToId?: string | null, replyToPreview?: ReplyToPreview | null, sharedPostId?: string | null): Promise<Message>;
|
|
3752
|
+
sendMessage(conversationId: string, body?: string, attachments?: File[], replyToId?: string | null, replyToPreview?: ReplyToPreview | null, sharedPostId?: string | null, sharedPostPreview?: SharedPostPreview | null): Promise<Message>;
|
|
3753
3753
|
editMessage(conversationId: string, messageId: string, body: string): Promise<Message>;
|
|
3754
3754
|
deleteMessage(conversationId: string, messageId: string): Promise<void>;
|
|
3755
3755
|
markAsRead(conversationId: string): Promise<void>;
|