arky-sdk 0.3.28 → 0.3.29

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.cjs CHANGED
@@ -1140,16 +1140,6 @@ var getImageUrl = (imageBlock, isBlock = true, storageUrl = "https://storage.ark
1140
1140
  }
1141
1141
  return null;
1142
1142
  };
1143
- function getGalleryThumbnail(gallery) {
1144
- if (!gallery?.length) return null;
1145
- const item = gallery.find((g) => g.settings.isThumbnail) || gallery[0];
1146
- const res = item.media.resolutions.thumbnail || item.media.resolutions.original;
1147
- return res?.url || null;
1148
- }
1149
- function thumbnailUrl(service, storageUrl = "") {
1150
- const path = getGalleryThumbnail(service.gallery);
1151
- return path ? `${storageUrl}/${path}` : null;
1152
- }
1153
1143
 
1154
1144
  // src/utils/currency.ts
1155
1145
  function getCurrencySymbol(currency) {
@@ -1550,8 +1540,6 @@ function createArkySDK(config) {
1550
1540
  utils: {
1551
1541
  // Block utilities
1552
1542
  getImageUrl: (imageBlock, isBlock = true) => getImageUrl(imageBlock, isBlock, storageUrl),
1553
- thumbnailUrl: (service) => thumbnailUrl(service, storageUrl),
1554
- getGalleryThumbnail,
1555
1543
  getBlockValue,
1556
1544
  getBlockValues,
1557
1545
  getBlockLabel,