@timardex/cluemart-shared 1.4.53 → 1.4.55

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.
@@ -1,5 +1,5 @@
1
1
  import "../chunk-KIWJIODL.mjs";
2
- import "../chunk-DLRHVMT7.mjs";
2
+ import "../chunk-7AXPM32C.mjs";
3
3
  import "../chunk-DWO35OY4.mjs";
4
4
  import "../chunk-I7WE3EBR.mjs";
5
5
  import {
package/dist/index.cjs CHANGED
@@ -4023,15 +4023,14 @@ var useGetEventByPlaceId = (googlePlaceId) => {
4023
4023
  };
4024
4024
  var useGetEventsByRegion = (region, options) => {
4025
4025
  const { onlyClaimed, limit, offset } = options || {};
4026
+ const variables = {
4027
+ options: limit !== void 0 || offset !== void 0 || onlyClaimed !== void 0 ? { limit, offset, onlyClaimed } : void 0,
4028
+ region
4029
+ };
4026
4030
  const { loading, error, data, refetch, fetchMore } = (0, import_client19.useQuery)(GET_EVENTS_BY_REGION, {
4027
- fetchPolicy: "no-cache",
4031
+ fetchPolicy: "network-only",
4028
4032
  skip: !region,
4029
- variables: {
4030
- limit,
4031
- offset,
4032
- onlyClaimed,
4033
- region
4034
- }
4033
+ variables
4035
4034
  });
4036
4035
  const eventsByRegion = data?.eventsByRegion || [];
4037
4036
  return {