Skip to content

Commit 802a0b2

Browse files
Some PR feedback and cleanup
1 parent c07582d commit 802a0b2

File tree

15 files changed

+30
-19
lines changed

15 files changed

+30
-19
lines changed

components/discord/actions/common/common.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default {
7373

7474
const link = !workflowId
7575
? `${baseLink}/connect`
76-
: `${baseLink}/@/${workflowId}?o=a&a=discord`;
76+
: `${baseLink}/@/${encodeURIComponent(workflowId)}?o=a&a=discord`;
7777

7878
return `Sent via [${linkText}](<${link}>)`;
7979
},

components/slack/actions/common/send-message.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default {
146146

147147
const link = !workflowId
148148
? `${baseLink}/connect`
149-
: `${baseLink}/@/${workflowId}?o=a&a=slack`;
149+
: `${baseLink}/@/${encodeURIComponent(workflowId)}?o=a&a=slack`;
150150

151151
return {
152152
"type": "context",

components/slack/actions/reply-to-a-message/reply-to-a-message.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "slack-reply-to-a-message",
77
name: "Reply to a Message Thread",
88
description: "Send a message as a threaded reply. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
9-
version: "0.1.28",
9+
version: "0.1.29",
1010
type: "action",
1111
props: {
1212
slack: common.props.slack,

components/slack/actions/send-block-kit-message/send-block-kit-message.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
key: "slack-send-block-kit-message",
88
name: "Build and Send a Block Kit Message",
99
description: "Configure custom blocks and send to a channel, group, or user. [See the documentation](https://api.slack.com/tools/block-kit-builder).",
10-
version: "0.4.4",
10+
version: "0.4.5",
1111
type: "action",
1212
props: {
1313
slack: common.props.slack,

components/slack/actions/send-large-message/send-large-message.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "slack-send-large-message",
66
name: "Send a Large Message (3000+ characters)",
77
description: "Send a large message (more than 3000 characters) to a channel, group or user. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
8-
version: "0.0.23",
8+
version: "0.0.24",
99
type: "action",
1010
props: {
1111
slack: common.props.slack,

components/slack/actions/send-message-advanced/send-message-advanced.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
key: "slack-send-message-advanced",
88
name: "Send Message (Advanced)",
99
description: "Customize advanced setttings and send a message to a channel, group or user. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
10-
version: "0.0.6",
10+
version: "0.0.7",
1111
type: "action",
1212
props: {
1313
slack: common.props.slack,

components/slack/actions/send-message-to-channel/send-message-to-channel.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "slack-send-message-to-channel",
77
name: "Send Message to Channel",
88
description: "Send a message to a public or private channel. [See the documentation](https://api.slack.com/methods/chat.postMessage)",
9-
version: "0.0.4",
9+
version: "0.0.5",
1010
type: "action",
1111
props: {
1212
slack: common.props.slack,

components/slack/actions/send-message-to-user-or-group/send-message-to-user-or-group.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
key: "slack-send-message-to-user-or-group",
88
name: "Send Message to User or Group",
99
description: "Send a message to a user or group. [See the documentation](https://api.slack.com/methods/chat.postMessage)",
10-
version: "0.0.4",
10+
version: "0.0.5",
1111
type: "action",
1212
props: {
1313
slack: common.props.slack,

components/slack/actions/send-message/send-message.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "slack-send-message",
77
name: "Send Message",
88
description: "Send a message to a user, group, private channel or public channel. [See the documentation](https://api.slack.com/methods/chat.postMessage)",
9-
version: "0.0.19",
9+
version: "0.0.20",
1010
type: "action",
1111
props: {
1212
slack: common.props.slack,

components/slack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/slack",
3-
"version": "0.9.5",
3+
"version": "0.9.6",
44
"description": "Pipedream Slack Components",
55
"main": "slack.app.mjs",
66
"keywords": [

0 commit comments

Comments
 (0)