@timardex/cluemart-shared 1.7.50 → 1.7.51
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-MLZKUWXF.mjs → chunk-7YUHKL5A.mjs} +2 -2
- package/dist/{chunk-DXHGP4F6.mjs → chunk-NCSJIE42.mjs} +6 -5
- package/dist/{chunk-DXHGP4F6.mjs.map → chunk-NCSJIE42.mjs.map} +1 -1
- package/dist/{chunk-FFVJ476E.mjs → chunk-RIE2OS4I.mjs} +1 -1
- package/dist/{chunk-FFVJ476E.mjs.map → chunk-RIE2OS4I.mjs.map} +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.cjs +5 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +6 -2
- package/dist/graphql/index.d.ts +6 -2
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-MLZKUWXF.mjs.map → chunk-7YUHKL5A.mjs.map} +0 -0
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
PROMO_CODE_PREFIX,
|
|
12
12
|
gameScreenIdentifierList
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RIE2OS4I.mjs";
|
|
14
14
|
import {
|
|
15
15
|
isTransientNetworkError
|
|
16
16
|
} from "./chunk-RAYUJODN.mjs";
|
|
@@ -1696,4 +1696,4 @@ export {
|
|
|
1696
1696
|
toUserFacingErrorMessage,
|
|
1697
1697
|
getErrorMessage
|
|
1698
1698
|
};
|
|
1699
|
-
//# sourceMappingURL=chunk-
|
|
1699
|
+
//# sourceMappingURL=chunk-7YUHKL5A.mjs.map
|
|
@@ -3662,8 +3662,8 @@ var COUPON = gql36`
|
|
|
3662
3662
|
${COUPON_DATA_FIELDS_FRAGMENT}
|
|
3663
3663
|
`;
|
|
3664
3664
|
var GET_COUPONS = gql36`
|
|
3665
|
-
query getCoupons {
|
|
3666
|
-
coupons {
|
|
3665
|
+
query getCoupons($region: String, $category: String) {
|
|
3666
|
+
coupons(region: $region, category: $category) {
|
|
3667
3667
|
active {
|
|
3668
3668
|
listName
|
|
3669
3669
|
data {
|
|
@@ -3775,9 +3775,10 @@ var useScanCoupon = () => {
|
|
|
3775
3775
|
|
|
3776
3776
|
// src/graphql/hooks/coupon/hooksQuery.ts
|
|
3777
3777
|
import { useQuery as useQuery15 } from "@apollo/client";
|
|
3778
|
-
var useGetCoupons = () => {
|
|
3778
|
+
var useGetCoupons = (variables) => {
|
|
3779
3779
|
const { loading, error, data, refetch } = useQuery15(GET_COUPONS, {
|
|
3780
|
-
fetchPolicy: "network-only"
|
|
3780
|
+
fetchPolicy: "network-only",
|
|
3781
|
+
variables
|
|
3781
3782
|
});
|
|
3782
3783
|
const coupons = data?.coupons || {
|
|
3783
3784
|
active: null,
|
|
@@ -3945,4 +3946,4 @@ export {
|
|
|
3945
3946
|
useGetCoupons,
|
|
3946
3947
|
useGetCoupon
|
|
3947
3948
|
};
|
|
3948
|
-
//# sourceMappingURL=chunk-
|
|
3949
|
+
//# sourceMappingURL=chunk-NCSJIE42.mjs.map
|