@ethora/chat-component 26.3.2 → 26.3.3
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/main.js +7109 -7101
- package/dist/main.js.map +1 -1
- package/dist/utils/runtimeHostConfig.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { xmppSettingsInterface } from '../types/types';
|
|
2
|
+
type EnvMap = Record<string, string | undefined>;
|
|
3
|
+
export declare const buildRuntimeHostConfig: (env: EnvMap) => {
|
|
4
|
+
apiUrl: string;
|
|
5
|
+
domainName: string;
|
|
6
|
+
webDomain: string;
|
|
7
|
+
webUrl: string;
|
|
8
|
+
xmppBaseDomain: string;
|
|
9
|
+
xmppConference: string;
|
|
10
|
+
service: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const buildXmppClientIdentityHost: (xmppSettings?: xmppSettingsInterface) => string;
|
|
13
|
+
export declare const buildXmppClientKeyValue: (username: string, xmppSettings?: xmppSettingsInterface) => string;
|
|
14
|
+
export declare const normalizeRoomJidWithConference: (jid?: string, conference?: string) => string;
|
|
15
|
+
export {};
|