@pdfme/ui 5.3.11-dev.1 → 5.3.11-dev.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.es.js CHANGED
@@ -66236,10 +66236,10 @@ const pdf2img = async (a, s = {}) => pdf2img$1(a, s, {
66236
66236
  const d = document.createElement("canvas");
66237
66237
  return d.width = c, d.height = u, d;
66238
66238
  },
66239
- canvasToArrayBuffer: (c, u) => (
66240
- // @ts-ignore
66241
- dataURLToArrayBuffer(c.toDataURL(`image/${u}`))
66242
- )
66239
+ canvasToArrayBuffer: (c, u) => {
66240
+ const d = c.toDataURL(`image/${u}`);
66241
+ return dataURLToArrayBuffer(d);
66242
+ }
66243
66243
  }), pdf2size = async (a, s = {}) => pdf2size$1(a, s, {
66244
66244
  getDocument: (c) => pdfExports.getDocument(c).promise
66245
66245
  }), dictEn = {