@timardex/cluemart-shared 2.0.13 → 2.0.14
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/{ad-DtHc-l0P.d.ts → ad-C6QfVk6L.d.ts} +6 -1
- package/dist/{ad-uqMx-9wk.d.mts → ad-Dm8ht5tc.d.mts} +6 -1
- package/dist/{chunk-DS2Y6BNU.mjs → chunk-BO7IQ33V.mjs} +10 -3
- package/dist/{chunk-DS2Y6BNU.mjs.map → chunk-BO7IQ33V.mjs.map} +1 -1
- package/dist/{chunk-AUWZYZK5.mjs → chunk-ZUXHEXJU.mjs} +2 -2
- package/dist/{chunk-AUWZYZK5.mjs.map → chunk-ZUXHEXJU.mjs.map} +1 -1
- package/dist/formFields/index.cjs +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +1 -1
- package/dist/graphql/index.cjs +9 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +4 -2
- package/dist/graphql/index.d.ts +4 -2
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +23 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +21 -3
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.mjs +10 -3
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3360,7 +3360,7 @@ var vendorCompliance = [
|
|
|
3360
3360
|
},
|
|
3361
3361
|
{
|
|
3362
3362
|
name: "compliance.foodBeverageLicense",
|
|
3363
|
-
placeholder: "Food and Beverage
|
|
3363
|
+
placeholder: "Food and Beverage Licence"
|
|
3364
3364
|
}
|
|
3365
3365
|
];
|
|
3366
3366
|
var packagingTypes = [
|
|
@@ -8095,6 +8095,10 @@ var import_client65 = require("@apollo/client");
|
|
|
8095
8095
|
var APP_SETTINGS_FIELDS_FRAGMENT = import_client65.gql`
|
|
8096
8096
|
fragment AppSettingsFields on AppSettingsType {
|
|
8097
8097
|
_id
|
|
8098
|
+
adSettings {
|
|
8099
|
+
mobileDisplayEnabled
|
|
8100
|
+
webDisplayEnabled
|
|
8101
|
+
}
|
|
8098
8102
|
appVersion
|
|
8099
8103
|
createdAt
|
|
8100
8104
|
isOfflineMode
|
|
@@ -8131,9 +8135,12 @@ var useUpdateGoogleImportedMarkets = () => {
|
|
|
8131
8135
|
|
|
8132
8136
|
// src/graphql/hooks/appSettings/hooksQuery.ts
|
|
8133
8137
|
var import_client67 = require("@apollo/client");
|
|
8134
|
-
var useGetAppSettings = (
|
|
8138
|
+
var useGetAppSettings = ({
|
|
8139
|
+
skip = false
|
|
8140
|
+
} = {}) => {
|
|
8135
8141
|
const { loading, error, data, refetch } = (0, import_client67.useQuery)(GET_APP_SETTINGS, {
|
|
8136
|
-
fetchPolicy: "network-only"
|
|
8142
|
+
fetchPolicy: "network-only",
|
|
8143
|
+
skip
|
|
8137
8144
|
});
|
|
8138
8145
|
const appSettings = data?.appSettings || null;
|
|
8139
8146
|
return { appSettings, error, loading, refetch };
|