@chat21/chat21-ionic 3.0.105 → 3.0.106

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,9 @@
1
1
  # chat21-ionic ver 3.0
2
2
 
3
+ ### 3.0.106 in PROD
4
+ - changed: testsitebaseurl with widgetBaseUrl
5
+ - changed: WIDGET_TEST_LOCATION with WIDGET_LOCATION
6
+
3
7
  ### 3.0.105 in PROD
4
8
 
5
9
  ### 3.0.105.rc.1
package/README.md CHANGED
@@ -102,7 +102,7 @@ Use [Docker Compose Tiledesk installation guide](https://github.com/Tiledesk/til
102
102
  "apiUrl": "https://<YOUR-TILEDESK-API-URL>",
103
103
  "baseImageUrl": "https://<YOUR-BASE-IMAGE-URL>",
104
104
  "dashboardUrl": "https://<YOUR-DASHBOARD-URL>"
105
- "testsiteBaseUrl": "https:<YOUR-WIDGET-URL>/test_widget_page/index.html"
105
+ "widgetBaseUrl": "https:<YOUR-WIDGET-URL>/"
106
106
  "wsUrl": 'ws://' + window.location.hostname + '/ws/',
107
107
  "emailSection": true,
108
108
  "whatsappTemplatesSection": true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-ionic",
3
3
  "author": "Tiledesk SRL",
4
- "version": "3.0.105",
4
+ "version": "3.0.106",
5
5
  "license": "MIT License",
6
6
  "homepage": "https://tiledesk.com/",
7
7
  "repository": {
@@ -159,7 +159,7 @@ export class NavbarComponent implements OnInit {
159
159
  const simulateVisitorBtnElem = <HTMLElement>document.querySelector('.simulate-visitor-btn');
160
160
  simulateVisitorBtnElem.blur();
161
161
  // + '&isOpen=true'
162
- const url = this.appConfigProvider.getConfig().testsiteBaseUrl + '?tiledesk_projectid=' + this.project.id_project.id + '&project_name=' + this.project.id_project.name + '&role=' + this.USER_ROLE
162
+ const url = this.appConfigProvider.getConfig().widgetBaseUrl + 'assets/twp/index.html?tiledesk_projectid=' + this.project.id_project.id + '&project_name=' + this.project.id_project.name + '&role=' + this.USER_ROLE
163
163
  window.open(url, '_blank');
164
164
  }
165
165
 
@@ -31,7 +31,7 @@
31
31
  "whatsappTemplatesBaseUrl":"${WHATSAPP_TEMPLATES_BASE_URL}",
32
32
  "baseImageUrl": "${API_BASEIMAGE_URL}",
33
33
  "dashboardUrl": "${DASHBOARD_URL}",
34
- "testsiteBaseUrl":"${WIDGET_TEST_LOCATION}",
34
+ "widgetBaseUrl":"${WIDGET_LOCATION}",
35
35
  "wsUrl": "${WS_URL}",
36
36
  "wsUrlRel": "${WS_URL_RELATIVE}",
37
37
  "storage_prefix": "${CHAT_STORAGE_PREFIX}",
@@ -28,7 +28,7 @@
28
28
  "whatsappTemplatesBaseUrl":"http://localhost:3000/",
29
29
  "baseImageUrl": "https://firebasestorage.googleapis.com/v0/b/",
30
30
  "dashboardUrl": "https://support-pre.tiledesk.com/dashboard/",
31
- "testsiteBaseUrl": "https://widget-pre.tiledesk.com/v5/assets/twp/index.html",
31
+ "widgetBaseUrl": "https://widget-pre.tiledesk.com/v5/",
32
32
  "wsUrl": "ws://localhost:3000/",
33
33
  "wsUrlRel": "${WS_URL_RELATIVE}",
34
34
  "storage_prefix": "chat_sv5",