@timardex/cluemart-shared 1.4.54 → 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.
- package/dist/{chunk-JYMVUGDA.mjs → chunk-7AXPM32C.mjs} +7 -8
- package/dist/chunk-7AXPM32C.mjs.map +1 -0
- package/dist/graphql/index.cjs +6 -7
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +6 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-JYMVUGDA.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -3743,15 +3743,14 @@ var useGetEventByPlaceId = (googlePlaceId) => {
|
|
|
3743
3743
|
};
|
|
3744
3744
|
var useGetEventsByRegion = (region, options) => {
|
|
3745
3745
|
const { onlyClaimed, limit, offset } = options || {};
|
|
3746
|
+
const variables = {
|
|
3747
|
+
options: limit !== void 0 || offset !== void 0 || onlyClaimed !== void 0 ? { limit, offset, onlyClaimed } : void 0,
|
|
3748
|
+
region
|
|
3749
|
+
};
|
|
3746
3750
|
const { loading, error, data, refetch, fetchMore } = useQuery2(GET_EVENTS_BY_REGION, {
|
|
3747
|
-
fetchPolicy: "
|
|
3751
|
+
fetchPolicy: "network-only",
|
|
3748
3752
|
skip: !region,
|
|
3749
|
-
variables
|
|
3750
|
-
limit,
|
|
3751
|
-
offset,
|
|
3752
|
-
onlyClaimed,
|
|
3753
|
-
region
|
|
3754
|
-
}
|
|
3753
|
+
variables
|
|
3755
3754
|
});
|
|
3756
3755
|
const eventsByRegion = data?.eventsByRegion || [];
|
|
3757
3756
|
return {
|