@metron-labs/quote-react 0.1.49 → 0.1.50

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.
@@ -104,6 +104,7 @@ export default function BasketStage({ cart, onUpdateQty, onUpdateSellUnits, onRe
104
104
  .then((response) => (response.ok ? readJson(response) : null))
105
105
  .then((payload) => {
106
106
  const updates = {};
107
+ const inputByLineId = new Map(unresolved.map((item) => [item.lineId, conversionInputKey(item)]));
107
108
  for (const resolved of payload?.data?.items ?? payload?.items ?? []) {
108
109
  const conversion = resolved?.conversion;
109
110
  if (!conversion || typeof resolved?.line_id !== "string" || resolvedConversionInputs.current.get(resolved.line_id) !== inputByLineId.get(resolved.line_id))