@pipedream/sms 0.0.3 → 0.0.5
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/README.md +1 -1
- package/actions/send-sms/send-sms.mjs +25 -0
- package/package.json +2 -5
- package/sms.app.mjs +11 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Overview
|
|
2
2
|
|
|
3
|
-
Use Pipedream's SMS app to send a message from a workflow to the [verified phone number for your account](https://pipedream.com/settings) and incorporate SMS into whatever you're building with any of the
|
|
3
|
+
Use Pipedream's SMS app to send a message from a workflow to the [verified phone number for your account](https://pipedream.com/settings) and incorporate SMS into whatever you're building with any of the 3,000+ apps that are available on Pipedream. Use the pre-built action to send an SMS without writing any code, or for more control pass a string to `$.send.sms()` in a Node.js code step.
|
|
4
4
|
|
|
5
5
|
**Important:** Pipedream SMS is currently in alpha. You may send up to 10 messages per day from workflows in a personal account (organization accounts are not currently supported).
|
|
6
6
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import sms from "../../sms.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "sms-send-sms",
|
|
5
|
+
name: "Send SMS",
|
|
6
|
+
description: "Send an SMS to the [verified phone number for your account](https://pipedream.com/settings). While this feature is in alpha, you may send up to 10 messages per day.",
|
|
7
|
+
version: "0.0.2",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
13
|
+
type: "action",
|
|
14
|
+
props: {
|
|
15
|
+
sms,
|
|
16
|
+
message: {
|
|
17
|
+
type: "string",
|
|
18
|
+
description: "Send an SMS to the [verified phone number for your account](https://pipedream.com/settings). While this feature is in alpha, you may send up to 10 messages per day.",
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
async run({ $ }) {
|
|
22
|
+
$.send.sms(this.message);
|
|
23
|
+
// Omitting $summary export since SMS may not be successfully sent
|
|
24
|
+
},
|
|
25
|
+
};
|
package/package.json
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/sms",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Pipedream SMS Components",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "sms.app.mjs",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"pipedream",
|
|
8
8
|
"sms"
|
|
9
9
|
],
|
|
10
|
-
"files": [
|
|
11
|
-
"dist"
|
|
12
|
-
],
|
|
13
10
|
"homepage": "https://pipedream.com/apps/sms",
|
|
14
11
|
"author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
|
|
15
12
|
"publishConfig": {
|