@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260323060538 → 0.8.1-dev.20260323091914

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
@@ -4532,12 +4532,12 @@ var DivContainer = async (props) => {
4532
4532
  endpoint += separator + odataString;
4533
4533
  }
4534
4534
  }
4535
- if (props.serviceClient) {
4536
- response = await props.serviceClient.get(endpoint);
4535
+ if (props.fetchData) {
4536
+ response = await props.fetchData(endpoint);
4537
4537
  result = response?.result;
4538
4538
  } else {
4539
4539
  console.warn(
4540
- "DivContainer data binding needs `serviceClient` prop but none was provided."
4540
+ "DivContainer data binding needs `fetchData` prop but none was provided."
4541
4541
  );
4542
4542
  }
4543
4543
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || Array.isArray(result) && result.length == 0)) {
package/dist/index.mjs CHANGED
@@ -4500,12 +4500,12 @@ var DivContainer = async (props) => {
4500
4500
  endpoint += separator + odataString;
4501
4501
  }
4502
4502
  }
4503
- if (props.serviceClient) {
4504
- response = await props.serviceClient.get(endpoint);
4503
+ if (props.fetchData) {
4504
+ response = await props.fetchData(endpoint);
4505
4505
  result = response?.result;
4506
4506
  } else {
4507
4507
  console.warn(
4508
- "DivContainer data binding needs `serviceClient` prop but none was provided."
4508
+ "DivContainer data binding needs `fetchData` prop but none was provided."
4509
4509
  );
4510
4510
  }
4511
4511
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || Array.isArray(result) && result.length == 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.20260323060538",
3
+ "version": "0.8.1-dev.20260323091914",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",