Comparing version 1.0.0 to 1.0.1
@@ -29,6 +29,6 @@ export declare class ABA { | ||
bsb: string; | ||
batchNetTotal: number; | ||
batchCreditTotal: number; | ||
batchDebitTotal: number; | ||
numberRecords: number; | ||
netTotal: number; | ||
creditTotal: number; | ||
debitTotal: number; | ||
numberOfTransactions: number; | ||
}; | ||
@@ -64,6 +64,6 @@ parse(content: string): Batch[]; | ||
bsb: string; | ||
batchNetTotal: number; | ||
batchCreditTotal: number; | ||
batchDebitTotal: number; | ||
numberRecords: number; | ||
netTotal: number; | ||
creditTotal: number; | ||
debitTotal: number; | ||
numberOfTransactions: number; | ||
} | ||
@@ -70,0 +70,0 @@ interface Batch { |
@@ -43,6 +43,6 @@ "use strict"; | ||
bsb: line.substring(1, 8).replace("-", ""), | ||
batchNetTotal: centsToDollars(line.substring(20, 30)), | ||
batchCreditTotal: centsToDollars(line.substring(30, 40)), | ||
batchDebitTotal: centsToDollars(line.substring(40, 50)), | ||
numberRecords: stringToInt(line.substring(74, 80)), | ||
netTotal: centsToDollars(line.substring(20, 30)), | ||
creditTotal: centsToDollars(line.substring(30, 40)), | ||
debitTotal: centsToDollars(line.substring(40, 50)), | ||
numberOfTransactions: stringToInt(line.substring(74, 80)), | ||
}; | ||
@@ -49,0 +49,0 @@ } |
{ | ||
"name": "aba-parser", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Parse ABA (Australian Bankers Association or Cemtext) file format", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
Sorry, the diff of this file is not supported yet
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
10342