@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/index.cjs CHANGED
@@ -3360,7 +3360,7 @@ var vendorCompliance = [
3360
3360
  },
3361
3361
  {
3362
3362
  name: "compliance.foodBeverageLicense",
3363
- placeholder: "Food and Beverage License"
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 };