@tiledesk/tiledesk-tybot-connector 0.2.105 → 0.2.107
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
|
@@ -158,22 +158,6 @@ class TiledeskChatbotUtil {
|
|
|
158
158
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
// static errorMessage(message) {
|
|
162
|
-
// return {
|
|
163
|
-
// name: "message",
|
|
164
|
-
// action: {
|
|
165
|
-
// "_tdThenStop": true,
|
|
166
|
-
// text: message,
|
|
167
|
-
// attributes: {
|
|
168
|
-
// runtimeError: {
|
|
169
|
-
// message: message
|
|
170
|
-
// }
|
|
171
|
-
// }
|
|
172
|
-
// }
|
|
173
|
-
// }
|
|
174
|
-
// }
|
|
175
|
-
|
|
176
|
-
//static filterOnVariables(commands, variables) {
|
|
177
161
|
static filterOnVariables(message, variables) {
|
|
178
162
|
if (!variables) {
|
|
179
163
|
return;
|
|
@@ -588,6 +572,7 @@ class TiledeskChatbotUtil {
|
|
|
588
572
|
// "uid": "lo68oz8i"
|
|
589
573
|
// }
|
|
590
574
|
if (message.metadata.src) {
|
|
575
|
+
|
|
591
576
|
await chatbot.addParameter("lastUserDocumentURL", message.metadata.src); // legacy. will be deprecated
|
|
592
577
|
const url_as_attachment = message.metadata.src;
|
|
593
578
|
await chatbot.addParameter("lastUserDocumentAsAttachmentURL", url_as_attachment);
|
package/package.json
CHANGED