Comparing version 5.0.0-next.9 to 5.0.0-next.10
@@ -65,4 +65,3 @@ "use strict"; | ||
notes: { $sum: 1 }, | ||
lastTransactionId: { $last: "$_id" }, | ||
lastTimestamp: { $last: "$timestamp" }, | ||
lastTransactionId: { $max: "$_id" }, | ||
}, | ||
@@ -86,3 +85,2 @@ }; | ||
transaction: result.lastTransactionId, | ||
timestamp: result.lastTimestamp, | ||
balance, | ||
@@ -89,0 +87,0 @@ notes, |
@@ -12,3 +12,2 @@ "use strict"; | ||
meta: mongoose_1.Schema.Types.Mixed, | ||
timestamp: Date, | ||
balance: Number, | ||
@@ -49,3 +48,2 @@ notes: Number, | ||
transaction: balanceData.transaction, | ||
timestamp: balanceData.timestamp, | ||
balance: balanceData.balance, | ||
@@ -52,0 +50,0 @@ notes: balanceData.notes, |
{ | ||
"name": "medici", | ||
"version": "5.0.0-next.9", | ||
"version": "5.0.0-next.10", | ||
"description": "Simple double-entry accounting for Node + Mongoose", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69727
1077