@connectedxm/zpl-generator 0.0.14 → 0.0.15

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.
Files changed (2) hide show
  1. package/dist/index.es.js +4 -1
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -3228,7 +3228,10 @@ function Qs(e, t) {
3228
3228
  }
3229
3229
  function ec(e, t) {
3230
3230
  if (e.measuredWidth !== void 0 && e.maxWidth > 0)
3231
- return Math.max(1, Math.ceil(e.measuredWidth / e.maxWidth));
3231
+ return Math.max(
3232
+ 1,
3233
+ Math.floor((e.measuredWidth + 10) / e.maxWidth) + 1
3234
+ );
3232
3235
  const n = t.split("\\&"), r = e.charsPerLine ?? 0;
3233
3236
  return tc(n, r);
3234
3237
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/zpl-generator",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",