@cabloy/zod-query 2.1.14 → 2.1.15

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -344,7 +344,7 @@ function _coerceString(payload, fn) {
344
344
  if (!isNil(payload.value)) {
345
345
  if (payload.value === '') {
346
346
  payload.value = undefined;
347
- } else if (typeof payload.value !== 'string') {
347
+ } else if (typeof payload.value === 'number' || typeof payload.value === 'boolean' || typeof payload.value === 'bigint') {
348
348
  payload.value = String(payload.value);
349
349
  } else ;
350
350
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cabloy/zod-query",
3
- "version": "2.1.14",
4
- "gitHead": "adfc560c7fbe18fe6aa24a768172c21cf89d7b04",
3
+ "version": "2.1.15",
4
+ "gitHead": "d4ca173cd034aee6e73d037f86745c9919218f80",
5
5
  "description": "zod-query",
6
6
  "keywords": [
7
7
  "ioc",