@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260328110533 → 0.8.1-dev.20260328112431

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 CHANGED
@@ -5133,10 +5133,9 @@ var ImageGalleryNode = (props) => {
5133
5133
  const resolveImageUrl = (imageUrl) => {
5134
5134
  if (!imageUrl) return "";
5135
5135
  if (imageUrl.startsWith("http")) return imageUrl;
5136
- if (imageUrl.includes("cdn.g-assets.com")) {
5137
- return imageUrl.startsWith("/") ? `https:/${imageUrl}` : `https://${imageUrl}`;
5138
- }
5139
- return AssetUtility_default.resolveUrl(props.assetBaseUrl, imageUrl);
5136
+ const base = props.assetBaseUrl.replace(/\/$/, "");
5137
+ const path = imageUrl.replace(/^\//, "");
5138
+ return `gurujiiiiiiiiii${base}/${path}`;
5140
5139
  };
5141
5140
  const resolvePosterUrl = (posterUrl) => {
5142
5141
  if (!posterUrl) return void 0;
package/dist/index.mjs CHANGED
@@ -4165,10 +4165,9 @@ var ImageGalleryNode = (props) => {
4165
4165
  const resolveImageUrl = (imageUrl) => {
4166
4166
  if (!imageUrl) return "";
4167
4167
  if (imageUrl.startsWith("http")) return imageUrl;
4168
- if (imageUrl.includes("cdn.g-assets.com")) {
4169
- return imageUrl.startsWith("/") ? `https:/${imageUrl}` : `https://${imageUrl}`;
4170
- }
4171
- return AssetUtility_default.resolveUrl(props.assetBaseUrl, imageUrl);
4168
+ const base = props.assetBaseUrl.replace(/\/$/, "");
4169
+ const path = imageUrl.replace(/^\//, "");
4170
+ return `gurujiiiiiiiiii${base}/${path}`;
4172
4171
  };
4173
4172
  const resolvePosterUrl = (posterUrl) => {
4174
4173
  if (!posterUrl) return void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acoustte-digital-services/digitalstore-controls-dev",
3
- "version": "0.8.1-dev.20260328110533",
3
+ "version": "0.8.1-dev.20260328112431",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",