@codingfactory/messenger-client 0.1.0 → 0.1.1
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 +364 -357
- package/dist/services/echo.d.ts +7 -7
- package/package.json +1 -1
package/dist/services/echo.d.ts
CHANGED
|
@@ -70,13 +70,13 @@ export interface EchoRuntimeConfig {
|
|
|
70
70
|
subscribeToConversation?: (conversationId: string, callbacks: ConversationSubscriptionCallbacks) => () => void;
|
|
71
71
|
unsubscribeFromConversation?: (conversationId: string) => void;
|
|
72
72
|
}
|
|
73
|
-
export declare
|
|
74
|
-
export declare
|
|
75
|
-
export declare
|
|
76
|
-
export declare
|
|
77
|
-
export declare
|
|
78
|
-
export declare
|
|
79
|
-
export declare
|
|
73
|
+
export declare const getEchoInitializedEvent: () => string;
|
|
74
|
+
export declare const getEcho: () => EchoClient | null;
|
|
75
|
+
export declare const onConnectionStatusChange: (callback: (status: ConnectionStatus) => void) => (() => void);
|
|
76
|
+
export declare const subscribeToPresenceStatus: (callback: (event: PresenceStatusChangedEvent) => void) => void;
|
|
77
|
+
export declare const unsubscribeFromPresenceStatus: () => void;
|
|
78
|
+
export declare const subscribeToConversation: (conversationId: string, callbacks: ConversationSubscriptionCallbacks) => (() => void);
|
|
79
|
+
export declare const unsubscribeFromConversation: (conversationId: string) => void;
|
|
80
80
|
export declare function setEchoRuntimeConfig(config: EchoRuntimeConfig): void;
|
|
81
81
|
export declare function resetEchoRuntimeConfig(): void;
|
|
82
82
|
export declare function isValidMessageSentEvent(data: unknown): data is MessageSentEvent;
|