@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
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
|
-
"
|
|
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
|
@@ -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().
|
|
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
|
-
"
|
|
34
|
+
"widgetBaseUrl":"${WIDGET_LOCATION}",
|
|
35
35
|
"wsUrl": "${WS_URL}",
|
|
36
36
|
"wsUrlRel": "${WS_URL_RELATIVE}",
|
|
37
37
|
"storage_prefix": "${CHAT_STORAGE_PREFIX}",
|
package/src/chat-config.json
CHANGED
|
@@ -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
|
-
"
|
|
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",
|