@pipedream/shopify_developer_app 0.10.1 → 0.10.2

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/shopify_developer_app",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Pipedream Shopify (Developer App) Components",
5
5
  "main": "shopify_developer_app.app.mjs",
6
6
  "keywords": [
@@ -7,7 +7,7 @@ export default {
7
7
  name: "Draft Order Updated (Instant)",
8
8
  type: "source",
9
9
  description: "Emit new event for each draft order updated in a store.",
10
- version: "0.0.1",
10
+ version: "0.0.2",
11
11
  dedupe: "unique",
12
12
  methods: {
13
13
  ...common.methods,
@@ -15,10 +15,11 @@ export default {
15
15
  return "DRAFT_ORDERS_UPDATE";
16
16
  },
17
17
  generateMeta(resource) {
18
+ const ts = Date.parse(resource.updated_at);
18
19
  return {
19
- id: resource.id,
20
+ id: ts,
20
21
  summary: `Draft order updated ${resource.id}`,
21
- ts: Date.parse(resource.created_at),
22
+ ts,
22
23
  };
23
24
  },
24
25
  },