@open-tender/utils 0.5.54 → 0.5.55

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.
@@ -400,6 +400,7 @@ const rehydrateCart = (menuItems, simpleCartItems, soldOut = []) => {
400
400
  });
401
401
  const cart = orderItems.map((i, index) => (Object.assign(Object.assign({}, i), { index })));
402
402
  const cartCounts = (0, exports.calcCartCounts)(cart);
403
+ console.log('rehydrated cart', cart);
403
404
  return { cart, cartCounts };
404
405
  };
405
406
  exports.rehydrateCart = rehydrateCart;
@@ -382,6 +382,7 @@ export const rehydrateCart = (menuItems, simpleCartItems, soldOut = []) => {
382
382
  });
383
383
  const cart = orderItems.map((i, index) => (Object.assign(Object.assign({}, i), { index })));
384
384
  const cartCounts = calcCartCounts(cart);
385
+ console.log('rehydrated cart', cart);
385
386
  return { cart, cartCounts };
386
387
  };
387
388
  // TODO: maybe refactor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/utils",
3
- "version": "0.5.54",
3
+ "version": "0.5.55",
4
4
  "description": "A library of utils for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",