@zauru-sdk/hooks 1.0.87 → 1.0.92

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.
@@ -36,7 +36,7 @@ export declare const useGetTemplates: (config?: ReduxParamsConfig) => {
36
36
  loading: boolean;
37
37
  data: WebAppRowGraphQL<Template>[];
38
38
  };
39
- export declare const useGetPayeeCategories: () => {
39
+ export declare const useGetPayeeCategories: (config?: ReduxParamsConfig) => {
40
40
  loading: boolean;
41
41
  data: PayeeCategoryGraphQL[];
42
42
  };
@@ -139,7 +139,7 @@ const useGetBookings = (config) => useGetReduxCatalog("bookings", config);
139
139
  exports.useGetBookings = useGetBookings;
140
140
  const useGetTemplates = (config) => useGetReduxCatalog("templates", config);
141
141
  exports.useGetTemplates = useGetTemplates;
142
- const useGetPayeeCategories = () => useGetReduxCatalog("payeeCategories");
142
+ const useGetPayeeCategories = (config) => useGetReduxCatalog("payeeCategories", config);
143
143
  exports.useGetPayeeCategories = useGetPayeeCategories;
144
144
  const useGetPayeeCategoriesLabPrices = (config = { withPriceListIdNull: false }) => {
145
145
  const data = useGetReduxCatalog("payeeCategoriesLabPrices");
@@ -139,7 +139,7 @@ const useGetBookings = (config) => useGetReduxCatalog("bookings", config);
139
139
  exports.useGetBookings = useGetBookings;
140
140
  const useGetTemplates = (config) => useGetReduxCatalog("templates", config);
141
141
  exports.useGetTemplates = useGetTemplates;
142
- const useGetPayeeCategories = () => useGetReduxCatalog("payeeCategories");
142
+ const useGetPayeeCategories = (config) => useGetReduxCatalog("payeeCategories", config);
143
143
  exports.useGetPayeeCategories = useGetPayeeCategories;
144
144
  const useGetPayeeCategoriesLabPrices = (config = { withPriceListIdNull: false }) => {
145
145
  const data = useGetReduxCatalog("payeeCategoriesLabPrices");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/hooks",
3
- "version": "1.0.87",
3
+ "version": "1.0.92",
4
4
  "description": "Hooks reutilizables dentro de las webapps de Zauru.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -27,12 +27,12 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@remix-run/react": "^2.8.1",
30
- "@zauru-sdk/common": "^1.0.86",
30
+ "@zauru-sdk/common": "^1.0.88",
31
31
  "@zauru-sdk/icons": "^1.0.60",
32
- "@zauru-sdk/redux": "^1.0.84",
33
- "@zauru-sdk/types": "^1.0.84",
32
+ "@zauru-sdk/redux": "^1.0.88",
33
+ "@zauru-sdk/types": "^1.0.88",
34
34
  "react": "^18.2.0",
35
35
  "react-dom": "^18.2.0"
36
36
  },
37
- "gitHead": "94233ba13ca291f573fdbd92cc38eaa72b595d25"
37
+ "gitHead": "6b061d22b3981be4f09b16fdf1696b69e8c9c1be"
38
38
  }