@hubot-friends/hubot-slack 3.0.0 → 3.0.2

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
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@hubot-friends/hubot-slack",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "A new Slack adapter for Hubot",
5
5
  "homepage": "https://github.com/hubot-friends/hubot-slack#readme",
6
- "main": "./index.js",
6
+ "main": "./index.mjs",
7
7
  "scripts": {
8
8
  "test": "node --test",
9
9
  "test:watch": "node --test --watch"
@@ -227,7 +227,7 @@ class SlackAdapter extends Adapter {
227
227
  }
228
228
  try {
229
229
  const textMessage = await this.mapToHubotMessage(slackMessage.body.event)
230
- this.robot.receive(textMessage)
230
+ await this.robot.receive(textMessage)
231
231
  } catch(error) {
232
232
  this.robot.error(error)
233
233
  }