aba-generator
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -200,3 +200,3 @@ const defaultAbaSchemas = { | ||
formatFooter(transactions) { | ||
const credits = transactions.filter((p) => p.transactionCode === ABA.CREDIT || p.transactionCode === ABA.PAY); | ||
const credits = transactions.filter((p) => p.transactionCode >= 50 && p.transactionCode <= 57); | ||
const debits = transactions.filter((p) => p.transactionCode === ABA.DEBIT); | ||
@@ -203,0 +203,0 @@ const credit = sum(credits.map((c) => c.amount)); |
{ | ||
"name": "aba-generator", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "ABA file generator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
27054