@pipedream/sms 0.0.3 → 0.0.4

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.
@@ -0,0 +1,20 @@
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.1",
8
+ type: "action",
9
+ props: {
10
+ sms,
11
+ message: {
12
+ type: "string",
13
+ 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.",
14
+ },
15
+ },
16
+ async run({ $ }) {
17
+ $.send.sms(this.message);
18
+ // Omitting $summary export since SMS may not be successfully sent
19
+ },
20
+ };
package/package.json CHANGED
@@ -1,15 +1,12 @@
1
1
  {
2
2
  "name": "@pipedream/sms",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Pipedream SMS Components",
5
- "main": "dist/app/sms.app.mjs",
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": {
package/sms.app.mjs ADDED
@@ -0,0 +1,11 @@
1
+ export default {
2
+ type: "app",
3
+ app: "sms",
4
+ propDefinitions: {},
5
+ methods: {
6
+ // this.$auth contains connected account data
7
+ authKeys() {
8
+ console.log(Object.keys(this.$auth));
9
+ },
10
+ },
11
+ };