Skip to content

Commit

Permalink
v2.4.1-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
mayur-bhandari committed Oct 11, 2021
1 parent 6ae73c8 commit 3fc0fbf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion CometChat.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1686,6 +1686,9 @@ export namespace CometChat {
onError?: Function;
onUserListUpdated?: Function;
onMediaDeviceListUpdated?: Function;
onRecordingStarted?: Function;
onRecordingStopped?: Function;
onUserMuted?: Function;
constructor(...args: any[]);
}
export class LoginListener {
Expand Down Expand Up @@ -1851,6 +1854,8 @@ export namespace CometChat {
setMode(mode: string): void;
stopScreenShare(): void;
startScreenShare(): void;
startRecording(): void;
stopRecording(): void;
endSession(): void;
destroy(): void;
}
Expand Down Expand Up @@ -2061,6 +2066,8 @@ export namespace CometChat {
getStartWithAudioMuted(): boolean;
getStartWithVideoMuted(): boolean;
getCustomCSS(): string;
isRecordingButtonEnabled(): boolean;
shouldStartRecordingOnCallStart(): boolean
}

export class CallSettingsBuilder {
Expand All @@ -2076,6 +2083,8 @@ export namespace CometChat {
localizedObject: Object;
StartAudioMuted: boolean;
StartVideoMuted: boolean;
ShowRecordingButton: boolean;
StartRecordingOnCallStart: boolean;
customCSS: string;

setSessionID(sessionID: string): this;
Expand All @@ -2090,7 +2099,9 @@ export namespace CometChat {
setLocalizedStringObject(localizedStringObject: Object): this;
startWithAudioMuted(audioMuted: boolean): this;
startWithVideoMuted(videoMuted: boolean): this;
setCustomCSS(customCSS: string): this
setCustomCSS(customCSS: string): this;
showRecordingButton(showRecordingButton: boolean): this;
startRecordingOnCallStart(startRecordingOnCallStart: boolean): this;
build(): CallSettings;
}

Expand Down
2 changes: 1 addition & 1 deletion CometChat.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cometchat-pro/chat",
"version": "2.4.0",
"version": "2.4.1-beta1",
"description": "A complete chat solution.",
"main": "CometChat.js",
"scripts": {
Expand Down

0 comments on commit 3fc0fbf

Please sign in to comment.