@vue-pdf-viewer/viewer 1.5.1 → 1.5.2-rc.0
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.js +1 -2
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1900,7 +1900,6 @@ function d2(l, Z = {
|
|
|
1900
1900
|
}, U) {
|
|
1901
1901
|
const F = sc(
|
|
1902
1902
|
"pdfLegacyWorker",
|
|
1903
|
-
// @ts-expect-error
|
|
1904
1903
|
typeof Promise.withResolvers > "u",
|
|
1905
1904
|
sessionStorage
|
|
1906
1905
|
);
|
|
@@ -1953,7 +1952,7 @@ function d2(l, Z = {
|
|
|
1953
1952
|
return r(
|
|
1954
1953
|
d,
|
|
1955
1954
|
(a) => {
|
|
1956
|
-
Q.value = void 0, V.value = 0, W.value = {}, N(a);
|
|
1955
|
+
Q.value && (Q.value.destroy(), c.clear()), Q.value = void 0, V.value = 0, W.value = {}, N(a);
|
|
1957
1956
|
},
|
|
1958
1957
|
{ immediate: !0 }
|
|
1959
1958
|
), {
|