@pdfme/ui 5.4.2-dev.1 → 5.4.2-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 +2 -2
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -57541,7 +57541,7 @@ function dataURLToArrayBuffer(a) {
|
|
57541
57541
|
return u;
|
57542
57542
|
}
|
57543
57543
|
const pdf2img = async (a, s = {}) => pdf2img$1(a, s, {
|
57544
|
-
getDocument: (c) => pdfExports.getDocument(c).promise,
|
57544
|
+
getDocument: (c) => pdfExports.getDocument({ data: c, isEvalSupported: !1 }).promise,
|
57545
57545
|
createCanvas: (c, u) => {
|
57546
57546
|
const d = document.createElement("canvas");
|
57547
57547
|
return d.width = c, d.height = u, d;
|
@@ -57551,7 +57551,7 @@ const pdf2img = async (a, s = {}) => pdf2img$1(a, s, {
|
|
57551
57551
|
return dataURLToArrayBuffer(d);
|
57552
57552
|
}
|
57553
57553
|
}), pdf2size = async (a, s = {}) => pdf2size$1(a, s, {
|
57554
|
-
getDocument: (c) => pdfExports.getDocument(c).promise
|
57554
|
+
getDocument: (c) => pdfExports.getDocument({ data: c, isEvalSupported: !1 }).promise
|
57555
57555
|
}), dictEn = {
|
57556
57556
|
cancel: "Cancel",
|
57557
57557
|
close: "Close",
|