File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @codebolt/codeboltjs" ,
3- "version" : " 1.1.64 " ,
3+ "version" : " 1.1.65 " ,
44 "description" : " " ,
55 "keywords" : [],
66 "author" : " " ,
Original file line number Diff line number Diff line change @@ -148,12 +148,13 @@ const cbchat = {
148148 * Sends a confirmation request to the server with two options: Yes or No.
149149 * @returns {Promise<string> } A promise that resolves with the server's response.
150150 */
151- sendConfirmationRequest : ( confirmationMessage : string , buttons : string [ ] = [ ] ) : Promise < string > => {
151+ sendConfirmationRequest : ( confirmationMessage : string , buttons : string [ ] = [ ] , withFeedback : boolean = false ) : Promise < string > => {
152152 return new Promise ( ( resolve , reject ) => {
153153 cbws . getWebsocket . send ( JSON . stringify ( {
154154 "type" : "confirmationRequest" ,
155155 "message" : confirmationMessage ,
156- buttons : buttons
156+ buttons : buttons ,
157+ withFeedback
157158
158159 } ) ) ;
159160 cbws . getWebsocket . on ( 'message' , ( data : string ) => {
You can’t perform that action at this time.
0 commit comments