@chat21/chat21-web-widget 5.0.77-rc.1 → 5.0.77

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/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@
5
5
  *Dario De Pascalis*
6
6
  ### **Copyrigth**: *Tiledesk SRL*
7
7
 
8
+ ### 5.0.77 in PROD
9
+
10
+ ### 5.0.77-rc.2
11
+ - bug-fixed: if user click on proactive attachment button, widget show prechatForm
12
+
8
13
  ### 5.0.77-rc.1
9
14
  - added: ability to programmatically open an old conversation by request_id
10
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-web-widget",
3
3
  "author": "Tiledesk SRL",
4
- "version": "5.0.77-rc.1",
4
+ "version": "5.0.77",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.tiledesk.com",
7
7
  "repository": {
@@ -1708,7 +1708,7 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
1708
1708
  this.forceDisconnect = false;
1709
1709
  }
1710
1710
  //this.f21_open();
1711
- this._f21_open()
1711
+ this.f21_open();
1712
1712
  }
1713
1713
  // this.conversationSelected = $event;
1714
1714
  if($event.channel_type === CHANNEL_TYPE.DIRECT){
@@ -1718,6 +1718,7 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
1718
1718
  this.g.setParameter('recipientId', $event.recipient);
1719
1719
  this.appStorageService.setItem('recipientId', $event.recipient)
1720
1720
  }
1721
+ this.g.isOpenPrechatForm = false;
1721
1722
  this.isOpenConversation = true;
1722
1723
  $event.archived? this.isConversationArchived = $event.archived : this.isConversationArchived = false;
1723
1724
  this.logger.debug('[APP-COMP] onSelectConversation in APP COMPONENT: ', $event);
@@ -1795,6 +1796,7 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
1795
1796
  }
1796
1797
 
1797
1798
  openConversationById(requestId){
1799
+ this.logger.log('[APP-COMP] openConversationById in APP COMPONENT', requestId);
1798
1800
  this.isOpenConversation = true;
1799
1801
 
1800
1802
  this.g.setParameter('recipientId', requestId);
@@ -792,7 +792,7 @@
792
792
  }
793
793
 
794
794
  function onClickOpenConversationById(){
795
- let request_id = document.getElementById('request_id')
795
+ let request_id = document.getElementById('request_id').value
796
796
  window.Tiledesk('openConversationById', request_id)
797
797
  }
798
798