@ethora/chat-component 26.2.20 → 26.2.22

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.
@@ -42,6 +42,12 @@ export declare class XmppClient implements XmppClientInterface {
42
42
  private maxInFlightHistory;
43
43
  private softPauseAfterSendMs;
44
44
  private activeRoomBoostTtlMs;
45
+ private presenceFailureBackoffMs;
46
+ private startupPrivateStoreTimeoutMs;
47
+ private startupPrivateStoreTtlMs;
48
+ private roomPresenceBlockedUntil;
49
+ private activeHistoryInFlight;
50
+ private chatsPrivateStoreCache;
45
51
  checkOnline(): boolean;
46
52
  pingInterval: any;
47
53
  pingTimeout: any;
@@ -48,6 +48,7 @@ export interface IConfig {
48
48
  forceSetRoom?: boolean;
49
49
  roomListStyles?: React.CSSProperties;
50
50
  chatRoomStyles?: React.CSSProperties;
51
+ noMessagesPlaceholder?: React.ComponentType;
51
52
  setRoomJidInPath?: boolean;
52
53
  disableRoomMenu?: boolean;
53
54
  defaultRooms?: ConfigRoom[];
@@ -167,6 +168,13 @@ export interface IConfig {
167
168
  maxInFlightHistory?: number;
168
169
  softPauseAfterSendMs?: number;
169
170
  activeRoomBoostTtlMs?: number;
171
+ presenceFailureBackoffMs?: number;
172
+ startupPrivateStoreTimeoutMs?: number;
173
+ startupPrivateStoreTtlMs?: number;
174
+ stagedPreloadEnabled?: boolean;
175
+ stagedPreloadFirstPassSize?: number;
176
+ stagedPreloadSecondPassSize?: number;
177
+ stagedPreloadConcurrency?: number;
170
178
  };
171
179
  inAppNotifications?: {
172
180
  enabled?: boolean;
@@ -198,6 +206,8 @@ export interface IConfig {
198
206
  firebaseConfig?: FBConfig;
199
207
  serviceWorkerPath?: string;
200
208
  serviceWorkerScope?: string;
209
+ iconPath?: string;
210
+ badgePath?: string;
201
211
  softAsk?: boolean;
202
212
  onClick?: (params: {
203
213
  roomJID?: string;
@@ -15,6 +15,13 @@ export interface xmppSettingsInterface {
15
15
  maxInFlightHistory?: number;
16
16
  softPauseAfterSendMs?: number;
17
17
  activeRoomBoostTtlMs?: number;
18
+ presenceFailureBackoffMs?: number;
19
+ startupPrivateStoreTimeoutMs?: number;
20
+ startupPrivateStoreTtlMs?: number;
21
+ stagedPreloadEnabled?: boolean;
22
+ stagedPreloadFirstPassSize?: number;
23
+ stagedPreloadSecondPassSize?: number;
24
+ stagedPreloadConcurrency?: number;
18
25
  };
19
26
  }
20
27
  export interface MediaUploadData {
@@ -10,6 +10,8 @@ interface FcmRegistrationOptions {
10
10
  serviceWorkerPath?: string;
11
11
  serviceWorkerScope?: string;
12
12
  firebaseConfig?: any;
13
+ iconPath?: string;
14
+ badgePath?: string;
13
15
  debug?: boolean;
14
16
  }
15
17
  /**
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const ETHORA_CHAT_COMPONENT_VERSION = "26.02.20";
1
+ export declare const ETHORA_CHAT_COMPONENT_VERSION = "26.02.22";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethora/chat-component",
3
- "version": "26.02.20",
3
+ "version": "26.2.22",
4
4
  "type": "module",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -16,6 +16,7 @@
16
16
  "dev": "vite",
17
17
  "build": "tsc && vite build",
18
18
  "build:lib": "tsc --p ./tsconfig-build.json && vite build",
19
+ "prepare": "npm run build",
19
20
  "lint": "eslint . --quiet --report-unused-disable-directives",
20
21
  "lint:full": "eslint . --report-unused-disable-directives --max-warnings 0",
21
22
  "preview": "vite preview",