@refinedev/core 5.0.10 → 5.0.12

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.mjs CHANGED
@@ -1758,6 +1758,7 @@ var useList = /* @__PURE__ */ __name(({
1758
1758
  return {
1759
1759
  query: queryResponse,
1760
1760
  result: {
1761
+ ...queryResponse == null ? void 0 : queryResponse.data,
1761
1762
  data: ((_b = queryResponse == null ? void 0 : queryResponse.data) == null ? void 0 : _b.data) || EMPTY_ARRAY,
1762
1763
  total: (_c = queryResponse == null ? void 0 : queryResponse.data) == null ? void 0 : _c.total
1763
1764
  },
@@ -6241,6 +6242,7 @@ function useTable({
6241
6242
  createLinkForSyncWithLocation,
6242
6243
  overtime: queryResult.overtime,
6243
6244
  result: {
6245
+ ...queryResult.result,
6244
6246
  data: ((_h = queryResult.result) == null ? void 0 : _h.data) || EMPTY_ARRAY3,
6245
6247
  total: (_i = queryResult.result) == null ? void 0 : _i.total
6246
6248
  }
@@ -6763,6 +6765,7 @@ function useDeleteButton(props) {
6763
6765
  const { title, disabled, hidden, canAccess } = useButtonCanAccess({
6764
6766
  action: "delete",
6765
6767
  accessControl: props.accessControl,
6768
+ meta: props.meta,
6766
6769
  id,
6767
6770
  resource
6768
6771
  });
@@ -8108,7 +8111,7 @@ import React39 from "react";
8108
8111
 
8109
8112
  // src/hooks/useTelemetryData/index.ts
8110
8113
  import { useContext as useContext26 } from "react";
8111
- var REFINE_VERSION = "5.0.10";
8114
+ var REFINE_VERSION = "5.0.12";
8112
8115
  var useTelemetryData = /* @__PURE__ */ __name(() => {
8113
8116
  var _a;
8114
8117
  const auth = useIsExistAuthentication();