@tiledesk/tiledesk-tybot-connector 0.2.130-rc1 → 0.2.130-rc2

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
@@ -17,7 +17,7 @@ available on:
17
17
  - Added flowError on JSONCondition when result = null
18
18
  - Added fix on Filler -->
19
19
 
20
- # v0.2.130-rc1
20
+ # v0.2.130-rc2
21
21
  - index.js /block => added "token": "NO-TOKEN"
22
22
 
23
23
  # v0.2.129 -> test
package/index.js CHANGED
@@ -569,6 +569,7 @@ router.post('/block/:project_id/:bot_id/:block_id', async (req, res) => {
569
569
  const bot_id = req.params['bot_id'];
570
570
  const block_id = req.params['block_id'];
571
571
  const body = req.body;
572
+ console.log("/block/ .body:", JSON.stringify(body));
572
573
  // console.log('/block/:project_id/:bot_id/:block_id:', project_id, "/", bot_id, "/", block_id);
573
574
  // console.log('/block/:project_id/:bot_id/:block_id.body', body);
574
575
 
@@ -591,7 +592,7 @@ router.post('/block/:project_id/:bot_id/:block_id', async (req, res) => {
591
592
  },
592
593
  "token": "NO-TOKEN"
593
594
  }
594
- console.log("sendMessageToBot()...");
595
+ console.log("sendMessageToBot()...", JSON.stringify(request));
595
596
  sendMessageToBot(process.env.TYBOT_ENDPOINT, request, bot_id, async () => {
596
597
  // console.log("Async webhook message sent:\n", request);
597
598
  res.status(200).send({"success":true});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.2.130-rc1",
3
+ "version": "0.2.130-rc2",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {