@pintahub/shopify-api 2.3.4 → 2.3.5

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.
@@ -40,10 +40,11 @@ class GetOrderEvents extends ActionBuilder_1.ActionBuilder {
40
40
  const { data, errors } = yield this.client.request(query);
41
41
  yield (0, handleErrors_1.handleErrors)(errors);
42
42
  const { order } = Object.assign({}, data);
43
- const { events } = Object.assign({}, order);
43
+ const { events, currencyCode } = Object.assign({}, order);
44
44
  const { nodes } = Object.assign({}, events);
45
45
  const arr = Array.isArray(nodes) ? nodes : [];
46
46
  return {
47
+ currency_code: currencyCode,
47
48
  items: arr
48
49
  };
49
50
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/shopify-api",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "description": "",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",