@chat21/chat21-web-widget 5.0.43-rc.2 → 5.0.44-rc.1

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
@@ -1,5 +1,11 @@
1
1
  # chat21-web-widget ver 5.0
2
2
 
3
+ ### 5.0.44-rc.1
4
+ - added: singleConversation and themeColorOpacity property on /widget api call
5
+ - bug-fixed: default image for file attachment non rendered
6
+
7
+ # 5.0.43 in PROD
8
+
3
9
  ### 5.0.43-rc.2
4
10
  - bug-fixed: stylesMap is not defined yet
5
11
 
@@ -393,7 +393,7 @@
393
393
  window.tiledeskSettings = {
394
394
  marginX: "100px",
395
395
  marginY: "50px",
396
- calloutTimer: 5,
396
+ calloutTimer: 1,
397
397
  };
398
398
 
399
399
  (function(d, s, id) {
@@ -455,6 +455,12 @@
455
455
  document.getElementById('events').value += 'onInit --> FIRED!' + '\n'
456
456
  document.getElementById('events').scrollTop = document.getElementById('events').scrollHeight
457
457
  }, 1000);
458
+ //open widget after 3s if is closed
459
+ setTimeout(() => {
460
+ if(event_data && event_data.detail && event_data.detail.global && !event_data.detail.global.isOpen){
461
+ window.Tiledesk('open')
462
+ }
463
+ }, 3000);
458
464
  });
459
465
 
460
466
  window.Tiledesk('onAuthStateChanged', function(event_data) {
@@ -241,6 +241,7 @@
241
241
  window.tiledeskSettings = {
242
242
  marginX: "100px",
243
243
  marginY: "50px",
244
+ calloutTimer: 1
244
245
  // autostart: false
245
246
 
246
247
  };
@@ -290,6 +291,12 @@
290
291
  setTimeout(() => {
291
292
  document.getElementById("preloader").style.display = "none";
292
293
  }, 1000);
294
+ //open widget after 3s if is closed
295
+ setTimeout(() => {
296
+ if(event_data && event_data.detail && event_data.detail.global && !event_data.detail.global.isOpen){
297
+ window.Tiledesk('open')
298
+ }
299
+ }, 3000);
293
300
  });
294
301
 
295
302
  window.Tiledesk('onAuthStateChanged', function(event_data) {