@open-tender/store 0.2.5 → 0.2.6

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.
@@ -139,7 +139,7 @@ exports.resetTickets = (0, toolkit_1.createAsyncThunk)(OrdersActionType.ResetTic
139
139
  case 0:
140
140
  _b.trys.push([0, 2, , 3]);
141
141
  api = getState().config.api;
142
- return [4 /*yield*/, api.postTicketsPrint(orderId)];
142
+ return [4 /*yield*/, api.postTicketsReset(orderId)];
143
143
  case 1:
144
144
  order = _b.sent();
145
145
  dispatch((0, exports.updateOrdersOrder)(order));
@@ -136,7 +136,7 @@ export var resetTickets = createAsyncThunk(OrdersActionType.ResetTickets, functi
136
136
  case 0:
137
137
  _b.trys.push([0, 2, , 3]);
138
138
  api = getState().config.api;
139
- return [4 /*yield*/, api.postTicketsPrint(orderId)];
139
+ return [4 /*yield*/, api.postTicketsReset(orderId)];
140
140
  case 1:
141
141
  order = _b.sent();
142
142
  dispatch(updateOrdersOrder(order));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/store",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
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",