@zauru-sdk/hooks 1.0.82 → 1.0.84

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.
@@ -50,6 +50,18 @@ const useApiCatalog = (CATALOG_NAME, otherParams) => {
50
50
  }, []);
51
51
  return data;
52
52
  };
53
+ /**
54
+ *
55
+ * @param CATALOG_NAME
56
+ * @param param1
57
+ * @returns
58
+ *
59
+ * otherParams usage example:
60
+ *
61
+ * otherParams: {
62
+ includeDiscounts: "true",
63
+ }
64
+ */
53
65
  const useGetReduxCatalog = (CATALOG_NAME, { online = false, wheres = [], otherParams } = {}) => {
54
66
  const fetcher = (0, react_1.useFetcher)();
55
67
  const dispatch = (0, redux_1.useAppDispatch)();
@@ -50,6 +50,18 @@ const useApiCatalog = (CATALOG_NAME, otherParams) => {
50
50
  }, []);
51
51
  return data;
52
52
  };
53
+ /**
54
+ *
55
+ * @param CATALOG_NAME
56
+ * @param param1
57
+ * @returns
58
+ *
59
+ * otherParams usage example:
60
+ *
61
+ * otherParams: {
62
+ includeDiscounts: "true",
63
+ }
64
+ */
53
65
  const useGetReduxCatalog = (CATALOG_NAME, { online = false, wheres = [], otherParams } = {}) => {
54
66
  const fetcher = (0, react_1.useFetcher)();
55
67
  const dispatch = (0, redux_1.useAppDispatch)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/hooks",
3
- "version": "1.0.82",
3
+ "version": "1.0.84",
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.82",
30
+ "@zauru-sdk/common": "^1.0.84",
31
31
  "@zauru-sdk/icons": "^1.0.60",
32
- "@zauru-sdk/redux": "^1.0.82",
33
- "@zauru-sdk/types": "^1.0.82",
32
+ "@zauru-sdk/redux": "^1.0.84",
33
+ "@zauru-sdk/types": "^1.0.84",
34
34
  "react": "^18.2.0",
35
35
  "react-dom": "^18.2.0"
36
36
  },
37
- "gitHead": "c48744ed8b74b9e9bcab1e20e2a71391b15d281f"
37
+ "gitHead": "6ea5623e3b278024fb443662acb7e65fbc251926"
38
38
  }