@tiledesk/tiledesk-tybot-connector 0.1.8 → 0.1.9

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,10 +1,12 @@
1
1
  # Tiledesk tybotRoute
2
2
 
3
- **npm @tiledesk/tiledesk-tybot-connector@0.1.8**
3
+ **npm @tiledesk/tiledesk-tybot-connector@0.1.9**
4
4
 
5
5
  available on:
6
6
  ▶️ https://www.npmjs.com/package/@tiledesk/tiledesk-tybot-connector
7
7
 
8
+ ### 0.1.9 online - set log on ExtApi class
9
+
8
10
  ### 0.1.8 online - fixed: import minimist-string fix
9
11
 
10
12
  ### 0.1.7 online - fixed: converted function process() to Arrow function: const process = (directive) => {}
package/index.js CHANGED
@@ -253,7 +253,8 @@ async function execFaq(req, res, faqs, botId, message, token, bot) {
253
253
  extEndpoint = `${process.env.TYBOT_ENDPOINT}`;
254
254
  }
255
255
  const apiext = new ExtApi({
256
- ENDPOINT: extEndpoint
256
+ ENDPOINT: extEndpoint,
257
+ log: log
257
258
  });
258
259
  apiext.sendSupportMessageExt(bot_answer, chatbot_client.projectId, chatbot_client.requestId, chatbot_client.token, () => {
259
260
  if (log) {console.log("Message sent.");}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {