tsv2-library 0.3.1 → 0.3.2

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.
@@ -74415,8 +74415,8 @@ const s2e = uu, l2e = {
74415
74415
  emits: ["apply", "delete"],
74416
74416
  setup(e, { emit: t }) {
74417
74417
  const n = e, r = t;
74418
- xt(() => {
74419
- o.value = n.compressedBlob ?? n.imagePreviewUrl ?? "", _();
74418
+ xt(async () => {
74419
+ o.value = n.compressedBlob ?? n.imagePreviewUrl ?? "", _(), n.imagePreviewUrl && (c.value = await E(n.imagePreviewUrl, Date.now() + ".webp"));
74420
74420
  }), pi(() => {
74421
74421
  k();
74422
74422
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsv2-library",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "author": "fixedassetv2-fe",
5
5
  "license": "ISC",
6
6
  "homepage": "https://github.com/fixedassetv2-fe/tsv2-library#readme",