@pipedream/slack 0.4.18 → 0.4.19

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/slack",
3
- "version": "0.4.18",
3
+ "version": "0.4.19",
4
4
  "description": "Pipedream Slack Components",
5
5
  "main": "slack.app.mjs",
6
6
  "keywords": [
@@ -4,7 +4,7 @@ export default {
4
4
  ...common,
5
5
  key: "slack-new-direct-message",
6
6
  name: "New Direct Message (Instant)",
7
- version: "1.0.6",
7
+ version: "1.0.7",
8
8
  description: "Emit new event when a message was posted in a direct message channel",
9
9
  type: "source",
10
10
  dedupe: "unique",
@@ -20,12 +20,6 @@ export default {
20
20
  ];
21
21
  },
22
22
  },
23
- ignoreMyself: {
24
- propDefinition: [
25
- common.props.slack,
26
- "ignoreMyself",
27
- ],
28
- },
29
23
  ignoreBot: {
30
24
  propDefinition: [
31
25
  common.props.slack,
@@ -39,7 +33,7 @@ export default {
39
33
  return "New direct message received";
40
34
  },
41
35
  processEvent(event) {
42
- if (this.ignoreMyself && event.user == this.slack.mySlackId()) {
36
+ if (event.user == this.slack.mySlackId()) {
43
37
  return;
44
38
  }
45
39
  if ((this.ignoreBot) && (event.subtype == "bot_message" || event.bot_id)) {