@tiledesk/tiledesk-tybot-connector 0.1.99 → 0.2.0

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
@@ -5,6 +5,9 @@
5
5
  available on:
6
6
  ▶️ https://www.npmjs.com/package/@tiledesk/tiledesk-tybot-connector
7
7
 
8
+ ### 0.2.00
9
+ - bug fix
10
+
8
11
  ### 0.1.99
9
12
  - webrequest json fix (jsonBody renamed to "body")
10
13
  - webrequest added bodyType attribute (none | json)
package/index.js CHANGED
@@ -246,7 +246,7 @@ async function updateRequestVariables(chatbot, message, projectId, requestId) {
246
246
  if (chatbot.log) {console.log("Updating request variables. Message:", JSON.stringify(message));}
247
247
  const messageId = message._id;
248
248
  const chat_url = `https://panel.tiledesk.com/v3/dashboard/#/project/${projectId}/wsrequest/${requestId}/messages`
249
- await chatbot.addParameter("chatbot", chatbot);
249
+ // await chatbot.addParameter("chatbot", chatbot);
250
250
  await chatbot.addParameter(TiledeskChatbotConst.REQ_CHAT_URL, chat_url);
251
251
  await chatbot.addParameter(TiledeskChatbotConst.REQ_PROJECT_ID_KEY, projectId);
252
252
  // TODO add projectName too
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.1.99",
3
+ "version": "0.2.00",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {