@open-tender/store 0.3.26 → 0.3.27

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.
@@ -292,7 +292,7 @@ var PosAPI = /** @class */ (function () {
292
292
  };
293
293
  PosAPI.prototype.putTicketsStatus = function (orderId, data) {
294
294
  var endpoint = "/orders/".concat(orderId, "/tickets");
295
- return this.request(endpoint, 'POST', data);
295
+ return this.request(endpoint, 'PUT', data);
296
296
  };
297
297
  PosAPI.prototype.postTicketsPrint = function (orderId, data) {
298
298
  if (data === void 0) { data = {}; }
@@ -290,7 +290,7 @@ var PosAPI = /** @class */ (function () {
290
290
  };
291
291
  PosAPI.prototype.putTicketsStatus = function (orderId, data) {
292
292
  var endpoint = "/orders/".concat(orderId, "/tickets");
293
- return this.request(endpoint, 'POST', data);
293
+ return this.request(endpoint, 'PUT', data);
294
294
  };
295
295
  PosAPI.prototype.postTicketsPrint = function (orderId, data) {
296
296
  if (data === void 0) { data = {}; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/store",
3
- "version": "0.3.26",
3
+ "version": "0.3.27",
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",