image-exporter 1.2.2 → 1.2.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.browser.js +2 -2
- package/dist/index.browser.js.map +3 -3
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/dist/types.d.ts +48 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -14760,7 +14760,7 @@ async function capture(elements, userConfig = defaultConfig) {
|
|
|
14760
14760
|
images.push(image);
|
|
14761
14761
|
}
|
|
14762
14762
|
}
|
|
14763
|
-
if (
|
|
14763
|
+
if (config.downloadImages)
|
|
14764
14764
|
await downloadImages(images, config);
|
|
14765
14765
|
if (userConfig.corsProxyBaseUrl)
|
|
14766
14766
|
await corsProxy.cleanUp();
|
|
@@ -14779,4 +14779,4 @@ if (typeof window !== "undefined") {
|
|
|
14779
14779
|
window.imageExporterDownload = downloadImages;
|
|
14780
14780
|
}
|
|
14781
14781
|
|
|
14782
|
-
//# debugId=
|
|
14782
|
+
//# debugId=C876DD0C58D9712A64756E2164756E21
|