@open-tender/store 1.0.21 → 1.0.22

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.
@@ -290,7 +290,7 @@ var PosAPI = /** @class */ (function () {
290
290
  };
291
291
  PosAPI.prototype.getCustomer = function (customerId, endpoints) {
292
292
  var query = "endpoints=[".concat(endpoints.join(','), "]");
293
- return this.request("/customer/".concat(customerId, "?").concat(query));
293
+ return this.request("/customers/".concat(customerId, "?").concat(query));
294
294
  };
295
295
  PosAPI.prototype.postOrderValidate = function (order) {
296
296
  return this.request("/orders/validate", 'POST', order);
@@ -288,7 +288,7 @@ var PosAPI = /** @class */ (function () {
288
288
  };
289
289
  PosAPI.prototype.getCustomer = function (customerId, endpoints) {
290
290
  var query = "endpoints=[".concat(endpoints.join(','), "]");
291
- return this.request("/customer/".concat(customerId, "?").concat(query));
291
+ return this.request("/customers/".concat(customerId, "?").concat(query));
292
292
  };
293
293
  PosAPI.prototype.postOrderValidate = function (order) {
294
294
  return this.request("/orders/validate", 'POST', order);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/store",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",