makethisbetter 1.28.2 → 1.28.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.
@@ -1264,7 +1264,9 @@ const sr = 200, ar = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAA
1264
1264
  async function or(e, t) {
1265
1265
  try {
1266
1266
  if (t?.aborted) return null;
1267
- const [{ toJpeg: i }, r] = await Promise.all([Re(), Ft()]), n = document.body.getBoundingClientRect(), s = gi(), a = { x: window.scrollX, y: window.scrollY }, o = mr(document.body), l = await i(document.body, {
1267
+ const [{ toJpeg: i }, r] = await Promise.all([Re(), Ft()]);
1268
+ if (await new Promise((c) => setTimeout(c, 0)), t?.aborted) return null;
1269
+ const n = document.body.getBoundingClientRect(), s = gi(), a = { x: window.scrollX, y: window.scrollY }, o = mr(document.body), l = await i(document.body, {
1268
1270
  quality: 0.85,
1269
1271
  imagePlaceholder: ar,
1270
1272
  resourceUrlResolver: e,