@kosdev-code/kos-dispense-sdk 2.0.6 → 2.0.8

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.
@@ -1354,19 +1354,20 @@ let w = class {
1354
1354
  return;
1355
1355
  }
1356
1356
  this._selectedBeverage = e, this._additionalItems = t;
1357
- const a = await u.dataMapper.executeMapper(
1357
+ let a = await u.dataMapper.executeMapper(
1358
1358
  g.SelectedPourableMapper,
1359
1359
  {
1360
1360
  beverage: e,
1361
1361
  additional: t,
1362
1362
  context: r
1363
1363
  }
1364
- ), i = {
1364
+ );
1365
+ const i = {
1365
1366
  bevId: e.rawId
1366
1367
  };
1367
- (!a || Object.keys(a).length === 0) && this.logger.info(
1368
+ (!a || Object.keys(a).length === 0) && (this.logger.info(
1368
1369
  `No selected pourable mapper defined, using the default payload ${i}`
1369
- );
1370
+ ), a = i);
1370
1371
  const n = a ?? i, s = await zr(this.name, n);
1371
1372
  if ((s == null ? void 0 : s.status) !== 200)
1372
1373
  throw new Error("Failed to select pourable");
@@ -1757,4 +1758,4 @@ export {
1757
1758
  Sr as y,
1758
1759
  Cr as z
1759
1760
  };
1760
- //# sourceMappingURL=dispense-registration-manager-D-8cc59-.js.map
1761
+ //# sourceMappingURL=dispense-registration-manager-CM5dCYOj.js.map