@merchi/cart 1.4.27 → 1.4.28

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.
@@ -984,6 +984,9 @@ var CartProvider = function CartProvider(_ref) {
984
984
  cartItemEnt.ownDrafts = jobEnt.ownDrafts;
985
985
  cartItemEnt.clientFiles = jobEnt.clientFiles;
986
986
  cartItemEnt.tags = jobEnt.tags;
987
+ if (typeof jobJson.designInputNotes === 'string' && jobJson.designInputNotes) {
988
+ cartItemEnt.notes = jobJson.designInputNotes;
989
+ }
987
990
  _context12.p = 2;
988
991
  _context12.n = 3;
989
992
  return cartItemEnt.create();
@@ -990,6 +990,9 @@ var CartProvider = function CartProvider(_ref) {
990
990
  cartItemEnt.ownDrafts = jobEnt.ownDrafts;
991
991
  cartItemEnt.clientFiles = jobEnt.clientFiles;
992
992
  cartItemEnt.tags = jobEnt.tags;
993
+ if (typeof jobJson.designInputNotes === 'string' && jobJson.designInputNotes) {
994
+ cartItemEnt.notes = jobJson.designInputNotes;
995
+ }
993
996
  _context12.p = 2;
994
997
  _context12.n = 3;
995
998
  return cartItemEnt.create();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merchi/cart",
3
- "version": "1.4.27",
3
+ "version": "1.4.28",
4
4
  "description": "Merchi's cart",
5
5
  "source": "src/index.ts",
6
6
  "main": "lib/index.js",
@@ -98,7 +98,7 @@
98
98
  "browser-or-node": "^3.0.0-pre.0",
99
99
  "js-cookie": "^3.0.5",
100
100
  "lodash": "^4.17.21",
101
- "@merchi/product-form": "^1.19.31",
101
+ "@merchi/product-form": "^1.19.32",
102
102
  "@merchi/product-form-sdk": "^1.0.24",
103
103
  "@merchi/sdk": "^1.42.13",
104
104
  "react-country-region-selector": "^3.6.1",
@@ -845,6 +845,9 @@ const CartProvider = ({
845
845
  cartItemEnt.ownDrafts = jobEnt.ownDrafts;
846
846
  cartItemEnt.clientFiles = jobEnt.clientFiles;
847
847
  cartItemEnt.tags = jobEnt.tags;
848
+ if (typeof jobJson.designInputNotes === 'string' && jobJson.designInputNotes) {
849
+ cartItemEnt.notes = jobJson.designInputNotes;
850
+ }
848
851
  try {
849
852
  const item = await cartItemEnt.create();
850
853
  const itemJson = await item.toJson();