@nethesis/chat-island 0.1.12 → 0.1.13

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/xmpp.d.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  import type { Element } from '@xmpp/xml';
2
2
  import type { Config, Message, Reaction, Reply } from './types';
3
+ /** The XMPP domain of every NethVoice chat: fixed, so addresses survive a change of the CTI host,
4
+ * which only reaches the server. No federation, so the same name in every tenant is fine. */
5
+ export declare const DOMAIN = "chat.internal";
3
6
  export interface HistoryPage {
4
7
  messages: Message[];
5
8
  reactions: Reaction[];
@@ -93,6 +96,7 @@ export declare class Chat {
93
96
  private reactionOf;
94
97
  /** Flatten a message stanza; a MucSub wrapper is unwrapped to the group message inside. */
95
98
  private toMessage;
99
+ private uploadUrl;
96
100
  private parseMessage;
97
101
  }
98
102
  export {};