import {
  resolveCatalogPrice,
  resolveCatalogPriceBatch
} from "../lib/pricing.js";
class DefaultCatalogPricingService {
  constructor(eventBus) {
    this.eventBus = eventBus;
  }
  async resolvePrice(rows, context) {
    return resolveCatalogPrice(rows, context, { eventBus: this.eventBus });
  }
  async resolvePriceMany(entries) {
    return resolveCatalogPriceBatch(entries, { eventBus: this.eventBus });
  }
}
export {
  DefaultCatalogPricingService
};
//# sourceMappingURL=catalogPricingService.js.map
