@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260526111119 → 0.8.1-dev.20260526112357

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
@@ -1740,18 +1740,18 @@ var MediaAsset = (props) => {
1740
1740
  return null;
1741
1741
  }
1742
1742
  console.log(props.customProps?.tag, "Tag in MediaAsset");
1743
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react5.default.Fragment, { children: props.assetBaseUrl ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1743
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react5.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1744
1744
  DeviceAssetSelector_default,
1745
1745
  {
1746
1746
  assets,
1747
1747
  apiBaseUrl: props.apiBaseUrl,
1748
- assetBaseUrl: props.assetBaseUrl,
1748
+ assetBaseUrl: props.assetBaseUrl ? props.assetBaseUrl : props.apiBaseUrl,
1749
1749
  session: props,
1750
1750
  width: props.width,
1751
1751
  customProps: props.customProps,
1752
1752
  tag: props.customProps?.tag
1753
1753
  }
1754
- ) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { children: "AssetBaseUrl is not set" }) });
1754
+ ) });
1755
1755
  };
1756
1756
  var Asset_default = MediaAsset;
1757
1757
 
package/dist/index.mjs CHANGED
@@ -207,18 +207,18 @@ var MediaAsset = (props) => {
207
207
  return null;
208
208
  }
209
209
  console.log(props.customProps?.tag, "Tag in MediaAsset");
210
- return /* @__PURE__ */ jsx4(React3.Fragment, { children: props.assetBaseUrl ? /* @__PURE__ */ jsx4(
210
+ return /* @__PURE__ */ jsx4(React3.Fragment, { children: /* @__PURE__ */ jsx4(
211
211
  DeviceAssetSelector_default,
212
212
  {
213
213
  assets,
214
214
  apiBaseUrl: props.apiBaseUrl,
215
- assetBaseUrl: props.assetBaseUrl,
215
+ assetBaseUrl: props.assetBaseUrl ? props.assetBaseUrl : props.apiBaseUrl,
216
216
  session: props,
217
217
  width: props.width,
218
218
  customProps: props.customProps,
219
219
  tag: props.customProps?.tag
220
220
  }
221
- ) : /* @__PURE__ */ jsx4("div", { children: "AssetBaseUrl is not set" }) });
221
+ ) });
222
222
  };
223
223
  var Asset_default = MediaAsset;
224
224
 
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.20260526111119",
3
+ "version": "0.8.1-dev.20260526112357",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",