drapcode-utility 1.3.6 → 1.3.7

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.
@@ -376,9 +376,8 @@ var queryToMongo = function (query, requiredExternal, externalParams, constants,
376
376
  if (fieldType === "number") {
377
377
  return _y = {}, _y[field] = +fieldValue, _y;
378
378
  }
379
- else {
380
- return _z = {}, _z[field] = fieldValue, _z;
381
- }
379
+ console.log("Nothing match");
380
+ return _z = {}, _z[field] = "".concat(fieldValue), _z;
382
381
  }
383
382
  if (key == drapcode_constant_1.NOT_EQUAL)
384
383
  return _0 = {},
@@ -452,9 +452,8 @@ var queryToMongo = function (query, requiredExternal, externalParams, constants,
452
452
  if (fieldType === "number") {
453
453
  return _z = {}, _z[field] = +fieldValue, _z;
454
454
  }
455
- else {
456
- return _0 = {}, _0[field] = fieldValue, _0;
457
- }
455
+ console.log("Nothing match");
456
+ return _0 = {}, _0[field] = "".concat(fieldValue), _0;
458
457
  }
459
458
  if (key == drapcode_constant_1.NOT_EQUAL)
460
459
  return _1 = {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drapcode-utility",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",