@open-tender/store 1.1.196 → 1.1.197

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.
@@ -62,11 +62,7 @@ var prepareOrder = function (order, checkout) {
62
62
  made_for: made_for,
63
63
  phone: phone,
64
64
  prep_type: prep_type,
65
- details: table
66
- ? {
67
- notes_internal: "DINE IN -- TABLE ".concat(table)
68
- }
69
- : null
65
+ notes_internal: table !== null && table.length > 0 ? "DINE IN -- TABLE ".concat(table) : null
70
66
  };
71
67
  };
72
68
  exports.prepareOrder = prepareOrder;
@@ -59,11 +59,7 @@ export var prepareOrder = function (order, checkout) {
59
59
  made_for: made_for,
60
60
  phone: phone,
61
61
  prep_type: prep_type,
62
- details: table
63
- ? {
64
- notes_internal: "DINE IN -- TABLE ".concat(table)
65
- }
66
- : null
62
+ notes_internal: table !== null && table.length > 0 ? "DINE IN -- TABLE ".concat(table) : null
67
63
  };
68
64
  };
69
65
  export var CheckoutActionType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/store",
3
- "version": "1.1.196",
3
+ "version": "1.1.197",
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",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@emotion/react": "^11.11.1",
64
- "@open-tender/types": "^0.4.80",
64
+ "@open-tender/types": "^0.4.81",
65
65
  "@open-tender/ui": "^0.4.13",
66
66
  "@open-tender/utils": "^0.4.61",
67
67
  "@reduxjs/toolkit": "^2.0.1",