@dnax/core 0.15.7 → 0.15.8

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.
@@ -297,6 +297,7 @@ class useRest {
297
297
  data = await hashPasswordAuto(data, col);
298
298
  data = transformAllDate(data);
299
299
  data = deepSetId(col, data);
300
+ data = omit(data, ["_id", "createdAt", "updatedAt"]);
300
301
 
301
302
  var { valid, output, error } = this.validator(collection, data);
302
303
  if (!valid) fn.error(error, 400);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.15.7",
3
+ "version": "0.15.8",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {