@pipedream/pushbullet 0.6.1 → 0.7.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.
@@ -2,7 +2,12 @@ import pushbullet from "../../pushbullet.app.mjs";
2
2
 
3
3
  export default {
4
4
  name: "Delete push",
5
- version: "0.0.1",
5
+ version: "0.0.2",
6
+ annotations: {
7
+ destructiveHint: true,
8
+ openWorldHint: true,
9
+ readOnlyHint: false,
10
+ },
6
11
  key: "pushbullet-delete-push",
7
12
  description: "Delete a push. [See docs here](https://docs.pushbullet.com/#delete-push)",
8
13
  type: "action",
@@ -0,0 +1,24 @@
1
+ import pushbullet from "../../pushbullet.app.mjs";
2
+
3
+ export default {
4
+ key: "pushbullet-list-device-options",
5
+ name: "List Device Options",
6
+ description: "Retrieves available options for the Device field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ pushbullet,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await pushbullet.propDefinitions.device.options.call(this.pushbullet);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -3,7 +3,12 @@ import constants from "../common/constants.mjs";
3
3
 
4
4
  export default {
5
5
  name: "Send push (Note, Link and File)",
6
- version: "0.0.1",
6
+ version: "0.0.2",
7
+ annotations: {
8
+ destructiveHint: false,
9
+ openWorldHint: true,
10
+ readOnlyHint: false,
11
+ },
7
12
  key: "pushbullet-send-push",
8
13
  description: "Send a push to a device or another person. [See docs here](https://docs.pushbullet.com/#create-push)",
9
14
  type: "action",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/pushbullet",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "description": "Pipedream pushbullet Components",
5
5
  "main": "pushbullet.app.mjs",
6
6
  "keywords": [
@@ -13,7 +13,7 @@
13
13
  "access": "public"
14
14
  },
15
15
  "dependencies": {
16
- "@pipedream/platform": "^3.1.0",
17
- "form-data": "^4.0.0"
16
+ "@pipedream/platform": "^3.1.1",
17
+ "form-data": "^4.0.4"
18
18
  }
19
19
  }