@ethora/chat-component 26.2.20 → 26.2.21
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/README.md +9 -1
- package/dist/config.d.ts +8 -5
- package/dist/firebase-messaging-sw.js +351 -386
- package/dist/helpers/constants/PLATFORM_CONSTANTS.d.ts +3 -3
- package/dist/hooks/usePushNotifications.d.ts +4 -0
- package/dist/main.js +9132 -9066
- package/dist/main.js.map +1 -1
- package/dist/types/models/config.model.d.ts +2 -0
- package/dist/utils/firebasePushNotifications.d.ts +2 -0
- package/dist/version.d.ts +1 -1
- package/package.json +2 -1
- package/public/firebase-messaging-sw.js +351 -386
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const CONFERENCE_DOMAIN
|
|
2
|
-
export declare const CHAT_DOMAIN
|
|
3
|
-
export declare const QRCODE_URL
|
|
1
|
+
export declare const CONFERENCE_DOMAIN: string;
|
|
2
|
+
export declare const CHAT_DOMAIN: string;
|
|
3
|
+
export declare const QRCODE_URL: string;
|
|
@@ -24,6 +24,10 @@ interface UsePushNotificationsOptions {
|
|
|
24
24
|
*/
|
|
25
25
|
serviceWorkerPath?: string;
|
|
26
26
|
serviceWorkerScope?: string;
|
|
27
|
+
/** Custom icon URL/path for browser OS notifications. */
|
|
28
|
+
iconPath?: string;
|
|
29
|
+
/** Custom badge URL/path for browser OS notifications. */
|
|
30
|
+
badgePath?: string;
|
|
27
31
|
/**
|
|
28
32
|
* Custom Firebase configuration object.
|
|
29
33
|
* If provided, it overrides the environment variables.
|