@open-tender/utils 0.5.55 → 0.5.56

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.
@@ -382,6 +382,7 @@ const rehydrateOrderItem = (menuItem, simpleCartItem, soldOut = [], requestedAt
382
382
  const orderItem = (0, exports.makeOrderItem)(menuItem, true, soldOut, simpleCartItem, undefined, requestedAt);
383
383
  orderItem.quantity = simpleCartItem.quantity || 1;
384
384
  const groupsLookup = makeSimpleGroupsLookup(simpleCartItem.groups);
385
+ console.log('groupsLookup', simpleCartItem.groups, groupsLookup);
385
386
  if (groupsLookup) {
386
387
  orderItem.groups = rehydrateGroups(orderItem.groups, groupsLookup);
387
388
  }
@@ -365,6 +365,7 @@ export const rehydrateOrderItem = (menuItem, simpleCartItem, soldOut = [], reque
365
365
  const orderItem = makeOrderItem(menuItem, true, soldOut, simpleCartItem, undefined, requestedAt);
366
366
  orderItem.quantity = simpleCartItem.quantity || 1;
367
367
  const groupsLookup = makeSimpleGroupsLookup(simpleCartItem.groups);
368
+ console.log('groupsLookup', simpleCartItem.groups, groupsLookup);
368
369
  if (groupsLookup) {
369
370
  orderItem.groups = rehydrateGroups(orderItem.groups, groupsLookup);
370
371
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/utils",
3
- "version": "0.5.55",
3
+ "version": "0.5.56",
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",