@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.
- package/dist/{chunk-DLRHVMT7.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.d.mts +4 -3
- package/dist/graphql/index.d.ts +4 -3
- 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.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.mjs +6 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-DLRHVMT7.mjs.map +0 -1
package/dist/hooks/index.mjs
CHANGED
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: "
|
|
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 {
|