@pipedream/pcloud 0.3.6 → 0.3.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/pcloud",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Pipedream pCloud Components",
5
5
  "main": "pcloud.app.mjs",
6
6
  "keywords": [
@@ -11,6 +11,7 @@
11
11
  "author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
12
12
  "license": "MIT",
13
13
  "dependencies": {
14
+ "@pipedream/platform": "^1.2.0",
14
15
  "async-retry": "^1.3.1",
15
16
  "lodash": "^4.17.20",
16
17
  "pcloud-sdk-js": "^2.0.0"
@@ -1,10 +1,11 @@
1
1
  import pcloud from "../../pcloud.app.mjs";
2
+ import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
2
3
 
3
4
  export default {
4
5
  key: "pcloud-watch-folder",
5
6
  name: "Watch Folder",
6
7
  description: "Emit new event when a file is created or modified in the specified folder.",
7
- version: "0.0.3",
8
+ version: "0.0.4",
8
9
  type: "source",
9
10
  dedupe: "unique",
10
11
  props: {
@@ -15,7 +16,7 @@ export default {
15
16
  description: "Pipedream polls pCloud for events on this schedule.",
16
17
  type: "$.interface.timer",
17
18
  default: {
18
- intervalSeconds: 60 * 15, // by default, run every 15 minutes.
19
+ intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
19
20
  },
20
21
  },
21
22
  folderId: {