@gallop.software/studio 1.2.5 → 1.2.7

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.
@@ -361,6 +361,8 @@ async function handleList(request) {
361
361
  const thumbnailUrl = cdnBaseUrl ? `${cdnBaseUrl}${thumb.path}` : thumb.path;
362
362
  const isPushedToCloud = cdnIndex !== void 0;
363
363
  const isRemote = isPushedToCloud && cdnBaseUrl !== r2PublicUrl;
364
+ const thumbDims = originalEntry?.[thumb.size];
365
+ const dimensions = thumbDims ? { width: thumbDims.w, height: thumbDims.h } : void 0;
364
366
  if (imagesSubPath === "") {
365
367
  const slashIndex = thumbRelative.indexOf("/");
366
368
  if (slashIndex === -1) {
@@ -374,7 +376,8 @@ async function handleList(request) {
374
376
  isProtected: true,
375
377
  cdnPushed: isPushedToCloud,
376
378
  cdnBaseUrl,
377
- isRemote
379
+ isRemote,
380
+ dimensions
378
381
  });
379
382
  } else {
380
383
  const folderName = thumbRelative.slice(0, slashIndex);
@@ -408,7 +411,8 @@ async function handleList(request) {
408
411
  isProtected: true,
409
412
  cdnPushed: isPushedToCloud,
410
413
  cdnBaseUrl,
411
- isRemote
414
+ isRemote,
415
+ dimensions
412
416
  });
413
417
  } else {
414
418
  const folderName = remaining.slice(0, slashIndex);