Skip to content

Commit 66662b9

Browse files
v2.4.1
1 parent 3fc0fbf commit 66662b9

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

CometChat.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1688,6 +1688,8 @@ export namespace CometChat {
16881688
onMediaDeviceListUpdated?: Function;
16891689
onRecordingStarted?: Function;
16901690
onRecordingStopped?: Function;
1691+
onScreenShareStarted?: Function;
1692+
onScreenShareStopped?: Function;
16911693
onUserMuted?: Function;
16921694
constructor(...args: any[]);
16931695
}
@@ -2067,7 +2069,8 @@ export namespace CometChat {
20672069
getStartWithVideoMuted(): boolean;
20682070
getCustomCSS(): string;
20692071
isRecordingButtonEnabled(): boolean;
2070-
shouldStartRecordingOnCallStart(): boolean
2072+
shouldStartRecordingOnCallStart(): boolean;
2073+
shouldUseLegacyUI(): boolean;
20712074
}
20722075

20732076
export class CallSettingsBuilder {
@@ -2086,6 +2089,7 @@ export namespace CometChat {
20862089
ShowRecordingButton: boolean;
20872090
StartRecordingOnCallStart: boolean;
20882091
customCSS: string;
2092+
useLegacyUI: boolean;
20892093

20902094
setSessionID(sessionID: string): this;
20912095
enableDefaultLayout(defaultLayout: boolean): this;
@@ -2102,6 +2106,7 @@ export namespace CometChat {
21022106
setCustomCSS(customCSS: string): this;
21032107
showRecordingButton(showRecordingButton: boolean): this;
21042108
startRecordingOnCallStart(startRecordingOnCallStart: boolean): this;
2109+
forceLegacyUI(legacyUI: boolean): this;
21052110
build(): CallSettings;
21062111
}
21072112

CometChat.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This guide demonstrates how to add chat to a WebSite using CometChat Pro.
4040
[Push Notification](https://prodocs.cometchat.com/docs/extensions-enhanced-push-notification) | [Email Notification](https://prodocs.cometchat.com/docs/extensions-email-notification) | [SMS Notification](https://prodocs.cometchat.com/docs/extensions-sms-notification) | [Thumbnail Generation](https://prodocs.cometchat.com/docs/extensions-thumbnail-generation) | [Link Preview](https://prodocs.cometchat.com/docs/extensions-link-preview) | [Rich Media Preview](https://prodocs.cometchat.com/docs/extensions-rich-media-preview) | [Voice Transcription](https://prodocs.cometchat.com/docs/extensions-voice-transcription) | [Smart Reply](https://prodocs.cometchat.com/docs/extensions-smart-reply) | [Message Translation](https://prodocs.cometchat.com/docs/extensions-message-translation) | [Emojis](https://prodocs.cometchat.com/docs/extensions-emojis) | [Polls](https://prodocs.cometchat.com/docs/extensions-polls) | [Reactions](https://prodocs.cometchat.com/docs/extensions-reactions) | [Stickers](https://prodocs.cometchat.com/docs/extensions-stickers) | [Video Broadcasting](https://prodocs.cometchat.com/docs/extensions-broadcast) | [Collaborative Documents](https://prodocs.cometchat.com/docs/extensions-collaborative-document) | [Collaborative Whiteboards](https://prodocs.cometchat.com/docs/extensions-collaborative-whiteboard) | [Data Masking Filter](https://prodocs.cometchat.com/docs/extensions-data-masking-filter) | [Profanity Filter](https://prodocs.cometchat.com/docs/extensions-profanity-filter) | [Image Moderation](https://prodocs.cometchat.com/docs/extensions-image-moderation)| [Sentiment Analysis](https://prodocs.cometchat.com/docs/extensions-sentiment-analysis) | [In-flight Message Moderation](https://prodocs.cometchat.com/docs/extensions-in-flight-message-moderation) | [Virus & Malware Scanner](https://prodocs.cometchat.com/docs/extensions-virus-malware-scanner) | [XSS Filter](https://prodocs.cometchat.com/docs/extensions-xss-filter)
4141

4242
[![Platform](https://img.shields.io/badge/Platform-Javascript-brightgreen)](#)
43-
<a href=" "> <img src="https://img.shields.io/badge/Version-2.4.0-important" /></a>
43+
<a href=" "> <img src="https://img.shields.io/badge/Version-2.4.1-important" /></a>
4444
![GitHub repo size](https://img.shields.io/github/repo-size/cometchat-pro/javascript-chat-sdk)
4545
![GitHub contributors](https://img.shields.io/github/contributors/cometchat-pro/javascript-chat-sdk)
4646
![GitHub stars](https://img.shields.io/github/stars/cometchat-pro/javascript-chat-sdk?style=social)
@@ -78,7 +78,7 @@ To setup Javascript SDK, you need to first register on CometChat Dashboard. [Cl
7878
1. Run the following command to install the CometChat Pro Javascript SDK<br/>
7979

8080
```javascript
81-
npm install @cometchat-pro/chat@2.4.0 --save
81+
npm install @cometchat-pro/chat@2.4.1 --save
8282
```
8383
</li>
8484

@@ -87,7 +87,7 @@ To setup Javascript SDK, you need to first register on CometChat Dashboard. [Cl
8787
1. Include the CometChat Pro Javascript library in your HTML code.<br/>
8888

8989
```html
90-
<script type="text/javascript" src="https://unpkg.com/@cometchat-pro/[email protected].0/CometChat.js"></script>
90+
<script type="text/javascript" src="https://unpkg.com/@cometchat-pro/[email protected].1/CometChat.js"></script>
9191
```
9292

9393
You can refer to the below link for instructions on how to do so:<br/>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cometchat-pro/chat",
3-
"version": "2.4.1-beta1",
3+
"version": "2.4.1",
44
"description": "A complete chat solution.",
55
"main": "CometChat.js",
66
"scripts": {

0 commit comments

Comments
 (0)