@ethora/chat-component 25.3.10 → 25.3.12
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 +3234 -3233
- package/dist/main.js.map +1 -1
- package/dist/networking/apiClient.d.ts +3 -1
- package/dist/types/types.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const http: import('axios').AxiosInstance;
|
|
2
|
-
|
|
2
|
+
declare let appToken: string;
|
|
3
|
+
export declare function setBaseURL(newBaseURL?: string, customAppToken?: string): void;
|
|
3
4
|
export declare function refresh(): Promise<{
|
|
4
5
|
data: {
|
|
5
6
|
refreshToken: string;
|
|
@@ -7,3 +8,4 @@ export declare function refresh(): Promise<{
|
|
|
7
8
|
};
|
|
8
9
|
}>;
|
|
9
10
|
export default http;
|
|
11
|
+
export { appToken };
|
package/dist/types/types.d.ts
CHANGED
|
@@ -222,6 +222,7 @@ export interface IConfig {
|
|
|
222
222
|
loginFunction: any;
|
|
223
223
|
};
|
|
224
224
|
baseUrl?: string;
|
|
225
|
+
customAppToken?: string;
|
|
225
226
|
xmppSettings?: xmppSettingsInterface;
|
|
226
227
|
disableRooms?: boolean;
|
|
227
228
|
defaultLogin?: boolean;
|
|
@@ -256,7 +257,10 @@ export interface IConfig {
|
|
|
256
257
|
disableGetRooms?: boolean;
|
|
257
258
|
singleRoom: boolean;
|
|
258
259
|
};
|
|
259
|
-
|
|
260
|
+
translates?: {
|
|
261
|
+
enabled: boolean;
|
|
262
|
+
translations?: Iso639_1Codes;
|
|
263
|
+
};
|
|
260
264
|
disableRoomConfig?: boolean;
|
|
261
265
|
disableProfilesInteractions?: boolean;
|
|
262
266
|
disableUserCount?: boolean;
|