@timardex/cluemart-shared 2.0.2 → 2.0.3
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-GRP7XQNB.mjs → chunk-YFIMGYQF.mjs} +5 -3
- package/dist/chunk-YFIMGYQF.mjs.map +1 -0
- package/dist/graphql/index.cjs +4 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- 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 +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-GRP7XQNB.mjs.map +0 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "../chunk-D45RNLV2.mjs";
|
|
24
24
|
import "../chunk-RAYUJODN.mjs";
|
|
25
25
|
import "../chunk-DQ7ZHIXW.mjs";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-YFIMGYQF.mjs";
|
|
27
27
|
import "../chunk-OUWKLNHZ.mjs";
|
|
28
28
|
import "../chunk-7DQBUZXY.mjs";
|
|
29
29
|
import {
|
package/dist/index.cjs
CHANGED
|
@@ -6785,13 +6785,14 @@ var useGetVendor = (_id) => {
|
|
|
6785
6785
|
const vendor = data?.vendor || null;
|
|
6786
6786
|
return { error, loading, refetch, vendor };
|
|
6787
6787
|
};
|
|
6788
|
-
var useGetVendorsByRegion = (region, options) => {
|
|
6788
|
+
var useGetVendorsByRegion = (region, options, skip = false) => {
|
|
6789
6789
|
const variables = {
|
|
6790
6790
|
options,
|
|
6791
6791
|
region
|
|
6792
6792
|
};
|
|
6793
6793
|
const { loading, error, data, refetch, fetchMore } = (0, import_client40.useQuery)(GET_VENDORS_BY_REGION, {
|
|
6794
6794
|
fetchPolicy: "network-only",
|
|
6795
|
+
skip,
|
|
6795
6796
|
variables
|
|
6796
6797
|
});
|
|
6797
6798
|
const vendorsByRegion = data?.vendorsByRegion || [];
|
|
@@ -7695,13 +7696,14 @@ var useGetPartner = (_id) => {
|
|
|
7695
7696
|
const partner = data?.partner;
|
|
7696
7697
|
return { error, loading, partner, refetch };
|
|
7697
7698
|
};
|
|
7698
|
-
var useGetPartnersByRegion = (region, options) => {
|
|
7699
|
+
var useGetPartnersByRegion = (region, options, skip = false) => {
|
|
7699
7700
|
const variables = {
|
|
7700
7701
|
options,
|
|
7701
7702
|
region
|
|
7702
7703
|
};
|
|
7703
7704
|
const { loading, error, data, refetch, fetchMore } = (0, import_client58.useQuery)(GET_PARTNERS_BY_REGION, {
|
|
7704
7705
|
fetchPolicy: "network-only",
|
|
7706
|
+
skip,
|
|
7705
7707
|
variables
|
|
7706
7708
|
});
|
|
7707
7709
|
const partnersByRegion = data?.partnersByRegion || [];
|