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

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,7 @@
1
1
  # chat21-web-widget ver 5.0
2
2
 
3
+ ### 5.0.65 in PROD
4
+
3
5
  ### 5.0.65-rc.1
4
6
  - added: disconnectTime tiledesk property to manage the time before disconnecting from messaging system if no interaction is fired while the widget is in closed status
5
7
  - bug-fixed: numbered list reduce the font-size of the bubble-message
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.65-rc.1",
4
+ "version": "5.0.65",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.tiledesk.com",
7
7
  "repository": {
@@ -4,7 +4,7 @@ import { BehaviorSubject, Observable } from 'rxjs';
4
4
 
5
5
  // services
6
6
  import { Globals } from '../utils/globals';
7
- import { convertColorToRGBA, detectIfIsMobile, getImageUrlThumb, getParameterByName, stringToBoolean } from '../utils/utils';
7
+ import { convertColorToRGBA, detectIfIsMobile, getImageUrlThumb, getParameterByName, stringToBoolean, stringToNumber } from '../utils/utils';
8
8
 
9
9
  import { TemplateBindingParseResult } from '@angular/compiler';
10
10
  import { AppStorageService } from '../../chat21-core/providers/abstract/app-storage.service';
@@ -1740,7 +1740,7 @@ export class GlobalSettingsService {
1740
1740
 
1741
1741
  TEMP = getParameterByName(windowContext, 'tiledesk_disconnetTime');
1742
1742
  if (TEMP) {
1743
- globals.disconnetTime = +TEMP;
1743
+ globals.disconnetTime = stringToNumber(TEMP);
1744
1744
  }
1745
1745
 
1746
1746
  }