@oridune/epic-odm
Advanced tools
Comparing version 1.0.35 to 1.0.36
{ | ||
"name": "@oridune/epic-odm", | ||
"version": "1.0.35", | ||
"version": "1.0.36", | ||
"description": "Install 1 ODM and code once with any database driver.", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -72,9 +72,5 @@ "use strict"; | ||
.map((_) => { | ||
var _a, _b, _c; | ||
const ID = _._id; | ||
if (ID instanceof operators_1.Operator) | ||
_._id = | ||
ID.Type === "ObjectID" | ||
? (_c = (_b = (_a = ID.Value).toString) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : ID.Value | ||
: undefined; | ||
_._id = ID.Type === "ObjectID" ? ID.Value : undefined; | ||
return _; | ||
@@ -81,0 +77,0 @@ }), { |
149952
3068