pdf-factory 0.8.7 → 0.8.9

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.
@@ -1704,7 +1704,9 @@ function St(t, n = {}) {
1704
1704
  format: "a5"
1705
1705
  });
1706
1706
  return R(a), t.forEach((e, t) => {
1707
- t > 0 && (r === 1 || t % r === 0) && a.addPage(), Ct(a, e, r === 2 && t % 2 == 1 ? a.internal.pageSize.getHeight() / 2 : 5, i);
1707
+ t > 0 && (r === 1 || t % r === 0) && a.addPage();
1708
+ let n = r === 2 && t % 2 == 1 ? a.internal.pageSize.getHeight() / 2 : 5;
1709
+ Ct(a, e, n, i);
1708
1710
  }), a;
1709
1711
  }
1710
1712
  function Ct(e, t, n, r) {