@bookipi/htmlgenerator 1.13.0-alpha.2 → 1.13.0-alpha.3

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.
package/dist/index.js CHANGED
@@ -12008,7 +12008,7 @@ var getTaxCodeBreakdown = function getTaxCodeBreakdown(document, company, curren
12008
12008
  var rate = rateFor(document.shippingTaxCode, document.shippingTaxRate) || 0;
12009
12009
  bucketFor(document.shippingTaxCode, rate).shippingAmount += vatOnBase(shipping, rate, inclusive);
12010
12010
  }
12011
- return [].concat(buckets.values()).map(function (bucket) {
12011
+ return Array.from(buckets.values()).map(function (bucket) {
12012
12012
  var itemsAmount = round(bucket.itemsAmount);
12013
12013
  var shippingAmount = round(bucket.shippingAmount);
12014
12014
  return _extends({}, bucket, {