@open-tender/cloud 0.4.18 → 0.4.20

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.
@@ -563,7 +563,7 @@ class OpenTenderAPI {
563
563
  return this.request(`/customer/rewards?with_related=true`, 'GET', null, null, token);
564
564
  }
565
565
  getPointsShop(token) {
566
- return this.request(`/points-shop`, 'GET', null, null, token);
566
+ return this.request(`/points-shop?with_related=true`, 'GET', null, null, token);
567
567
  }
568
568
  postPointsShopReward(token, rewardId) {
569
569
  return this.request(`/points-shop/${rewardId}/exchange`, 'POST', null, null, token);
@@ -561,7 +561,7 @@ class OpenTenderAPI {
561
561
  return this.request(`/customer/rewards?with_related=true`, 'GET', null, null, token);
562
562
  }
563
563
  getPointsShop(token) {
564
- return this.request(`/points-shop`, 'GET', null, null, token);
564
+ return this.request(`/points-shop?with_related=true`, 'GET', null, null, token);
565
565
  }
566
566
  postPointsShopReward(token, rewardId) {
567
567
  return this.request(`/points-shop/${rewardId}/exchange`, 'POST', null, null, token);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/cloud",
3
- "version": "0.4.18",
3
+ "version": "0.4.20",
4
4
  "description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -56,7 +56,7 @@
56
56
  "react": "^18.2.0"
57
57
  },
58
58
  "dependencies": {
59
- "@open-tender/types": "^0.4.44",
60
- "@open-tender/utils": "^0.4.23"
59
+ "@open-tender/types": "^0.4.46",
60
+ "@open-tender/utils": "^0.4.24"
61
61
  }
62
62
  }