@react-pakistan/util-functions 1.24.29 → 1.24.30

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.
@@ -148,7 +148,7 @@ var useFetch = function (url, config, deps) {
148
148
  callback
149
149
  ], deps, true));
150
150
  (0, react_1.useEffect)(function () {
151
- if (autoFetch && Object.values(function (value) { return !!value; })) {
151
+ if (autoFetch && Object.values(defaultOptions).every(function (val) { return !!val; })) {
152
152
  fetchNow();
153
153
  }
154
154
  }, [fetchNow, autoFetch]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pakistan/util-functions",
3
- "version": "1.24.29",
3
+ "version": "1.24.30",
4
4
  "description": "A library of all util functions",
5
5
  "main": "index.js",
6
6
  "scripts": {