@react-pakistan/util-functions 1.24.96 → 1.24.97

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.
@@ -97,12 +97,12 @@ var listProduct = function (_a) { return __awaiter(void 0, [_a], void 0, functio
97
97
  });
98
98
  where = {
99
99
  buyPrice: {
100
- lte: buyPriceMin ? buyPriceMin : undefined,
101
- gte: buyPriceMax ? buyPriceMax : undefined,
100
+ lte: buyPriceMin ? Number(buyPriceMin) : undefined,
101
+ gte: buyPriceMax ? Number(buyPriceMax) : undefined,
102
102
  },
103
103
  salePrice: {
104
- lte: salePriceMin ? salePriceMin : undefined,
105
- gte: salePriceMax ? salePriceMax : undefined,
104
+ lte: salePriceMin ? Number(salePriceMin) : undefined,
105
+ gte: salePriceMax ? Number(salePriceMax) : undefined,
106
106
  },
107
107
  OR: __spreadArray(__spreadArray(__spreadArray([], idSearchQuery, true), nameSearchQuery, true), refSearchQuery, true),
108
108
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pakistan/util-functions",
3
- "version": "1.24.96",
3
+ "version": "1.24.97",
4
4
  "description": "A library of all util functions",
5
5
  "main": "index.js",
6
6
  "scripts": {