@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260522043844 → 0.8.1-dev.20260522061527

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
@@ -1734,12 +1734,15 @@ var MediaAsset = (props) => {
1734
1734
  if (!assets || assets.length === 0) {
1735
1735
  return null;
1736
1736
  }
1737
+ const domainName = props.apiBaseUrl?.replace("https://", "");
1738
+ const assetBaseUrl = `https://cdn.g-assets.com/${domainName}`;
1737
1739
  console.log(props.customProps?.tag, "Tag in MediaAsset");
1738
1740
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1739
1741
  DeviceAssetSelector_default,
1740
1742
  {
1741
1743
  assets,
1742
1744
  apiBaseUrl: props.apiBaseUrl,
1745
+ assetBaseUrl,
1743
1746
  session: props,
1744
1747
  width: props.width,
1745
1748
  customProps: props.customProps,
package/dist/index.mjs CHANGED
@@ -247,12 +247,15 @@ var MediaAsset = (props) => {
247
247
  if (!assets || assets.length === 0) {
248
248
  return null;
249
249
  }
250
+ const domainName = props.apiBaseUrl?.replace("https://", "");
251
+ const assetBaseUrl = `https://cdn.g-assets.com/${domainName}`;
250
252
  console.log(props.customProps?.tag, "Tag in MediaAsset");
251
253
  return /* @__PURE__ */ jsx4(
252
254
  DeviceAssetSelector_default,
253
255
  {
254
256
  assets,
255
257
  apiBaseUrl: props.apiBaseUrl,
258
+ assetBaseUrl,
256
259
  session: props,
257
260
  width: props.width,
258
261
  customProps: props.customProps,
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.20260522043844",
3
+ "version": "0.8.1-dev.20260522061527",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",