@pipedream/slack_v2 1.5.0 → 2.0.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.
@@ -11,14 +11,15 @@ export default {
11
11
  + " large enough to be truncated. Omit `fields` when you need the complete channel objects."
12
12
  + " Use `namePrefix` to filter results to channels whose names start with a given string"
13
13
  + " (e.g. `dev-`) without a client-side filter loop."
14
- + " Set `memberOnly: true` to return only channels the authenticated user is a member of —"
15
- + " on a large workspace this shrinks the result from thousands of channels to the"
16
- + " handful that matter, and it is usually what you want when acting on the user's behalf."
14
+ + " By default (`memberOnly: true`) only channels the authenticated user is a member of"
15
+ + " are returned — on a large workspace this shrinks the result from thousands of channels"
16
+ + " to the handful that matter, and it is usually what you want when acting on the user's"
17
+ + " behalf. Set `memberOnly: false` to list every channel in the workspace."
17
18
  + " Returns `has_more: true` and `next_cursor` when more channels exist than were"
18
19
  + " fetched — when you see that, raise `numPages` (or pass `cursor`) before answering"
19
20
  + " any 'how many' or 'list every' question, otherwise your answer is silently incomplete."
20
21
  + " [See the documentation](https://api.slack.com/methods/conversations.list)",
21
- version: "0.4.3",
22
+ version: "1.0.0",
22
23
  annotations: {
23
24
  destructiveHint: false,
24
25
  openWorldHint: true,
@@ -46,15 +47,15 @@ export default {
46
47
  value: "public_channel,private_channel",
47
48
  },
48
49
  ],
49
- default: "public_channel",
50
+ default: "public_channel,private_channel",
50
51
  optional: true,
51
52
  },
52
53
  memberOnly: {
53
54
  type: "boolean",
54
55
  label: "Member Channels Only",
55
- description: "Return only channels the authenticated user is a member of (uses `users.conversations` instead of `conversations.list`). Recommended for large workspaces: the full channel list can run to thousands of entries, while the user's own channels are usually a small fraction of that. `Channel Types`, `Fields`, `Name Prefix`, and pagination all still apply.",
56
+ description: "Return only channels the authenticated user is a member of (uses `users.conversations` instead of `conversations.list`). Defaults to `true`: the full channel list can run to thousands of entries, while the user's own channels are usually a small fraction of that. Set to `false` to list every channel in the workspace. `Channel Types`, `Fields`, `Name Prefix`, and pagination all still apply. Example: `true`.",
56
57
  optional: true,
57
- default: false,
58
+ default: true,
58
59
  },
59
60
  fields: {
60
61
  type: "string[]",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/slack_v2",
3
- "version": "1.5.0",
3
+ "version": "2.0.0",
4
4
  "description": "Pipedream Slack_v2 Components",
5
5
  "main": "slack_v2.app.mjs",
6
6
  "keywords": [