@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.
@@ -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 let ECHO_INITIALIZED_EVENT: string;
74
- export declare let getEcho: () => EchoClient | null;
75
- export declare let onConnectionStatusChange: (callback: (status: ConnectionStatus) => void) => () => void;
76
- export declare let subscribeToPresenceStatus: (callback: (event: PresenceStatusChangedEvent) => void) => void;
77
- export declare let unsubscribeFromPresenceStatus: () => void;
78
- export declare let subscribeToConversation: (conversationId: string, callbacks: ConversationSubscriptionCallbacks) => () => void;
79
- export declare let unsubscribeFromConversation: (conversationId: string) => void;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingfactory/messenger-client",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Shared messaging frontend state, API helpers, and realtime composables.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",