@tiledesk/tiledesk-whatsapp-connector 0.1.3 → 0.1.4
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/package.json
CHANGED
package/template/configure.html
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<div>
|
|
44
44
|
|
|
45
45
|
<h1 style="margin-top: 0px; margin-bottom: 2px; min-width: 500px;">WhatsApp Business (Test)</h1>
|
|
46
|
-
<h7 style="color: rgb(140, 140, 140);">by Tiledesk (v. 0.1.
|
|
46
|
+
<h7 style="color: rgb(140, 140, 140);">by Tiledesk (v. 0.1.4)</h7>
|
|
47
47
|
|
|
48
48
|
{{#if wab_token}}
|
|
49
49
|
<div style="margin-top: 20px;">
|
|
@@ -97,7 +97,7 @@ class TiledeskChannel {
|
|
|
97
97
|
method: 'GET'
|
|
98
98
|
}).then((response) => {
|
|
99
99
|
|
|
100
|
-
if (log) {
|
|
100
|
+
if (this.log) {
|
|
101
101
|
console.log("[Tiledesk Channel] get request response: ", response.data);
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -108,7 +108,7 @@ class TiledeskChannel {
|
|
|
108
108
|
request_id = new_request_id;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
if (log) {
|
|
111
|
+
if (this.log) {
|
|
112
112
|
console.log("[Tiledesk Channel] tiledeskMessage:", tiledeskMessage);
|
|
113
113
|
}
|
|
114
114
|
|
|
@@ -122,7 +122,7 @@ class TiledeskChannel {
|
|
|
122
122
|
method: 'POST'
|
|
123
123
|
}).then((response) => {
|
|
124
124
|
|
|
125
|
-
if (log) {
|
|
125
|
+
if (this.log) {
|
|
126
126
|
console.log("[Tiledesk Channel] send message response: ", response.data);
|
|
127
127
|
}
|
|
128
128
|
|