@pipedream/harvest 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/harvest",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Pipedream Harvest Components",
5
5
  "main": "harvest.app.mjs",
6
6
  "keywords": [
@@ -14,8 +14,8 @@
14
14
  "access": "public"
15
15
  },
16
16
  "dependencies": {
17
- "@pipedream/platform": "^0.9.0",
18
- "moment": "^2.29.3",
19
- "async-retry": "^1.3.3"
17
+ "@pipedream/platform": "^1.2.0",
18
+ "async-retry": "^1.3.3",
19
+ "moment": "^2.29.3"
20
20
  }
21
21
  }
@@ -1,10 +1,11 @@
1
1
  import harvest from "../../harvest.app.mjs";
2
+ import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
2
3
 
3
4
  export default {
4
5
  key: "harvest-new-invoice-entry",
5
6
  name: "New Invoice Entry",
6
7
  description: "Emit new notifications when a new invoice is created",
7
- version: "0.0.2",
8
+ version: "0.0.3",
8
9
  type: "source",
9
10
  props: {
10
11
  harvest,
@@ -13,7 +14,7 @@ export default {
13
14
  description: "Pipedream will poll Harvest API on this schedule",
14
15
  type: "$.interface.timer",
15
16
  default: {
16
- intervalSeconds: 60 * 15,
17
+ intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
17
18
  },
18
19
  },
19
20
  db: "$.service.db",
@@ -1,10 +1,11 @@
1
1
  import harvest from "../../harvest.app.mjs";
2
+ import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
2
3
 
3
4
  export default {
4
5
  key: "harvest-new-timesheet-entry",
5
6
  name: "New Timesheet Entry",
6
7
  description: "Emit new notifications when a new timesheet entry is created",
7
- version: "0.0.2",
8
+ version: "0.0.3",
8
9
  type: "source",
9
10
  props: {
10
11
  harvest,
@@ -13,7 +14,7 @@ export default {
13
14
  description: "Pipedream will poll Harvest API on this schedule",
14
15
  type: "$.interface.timer",
15
16
  default: {
16
- intervalSeconds: 60 * 15, //15 minutes
17
+ intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
17
18
  },
18
19
  },
19
20
  db: "$.service.db",