Socket
Socket
Sign inDemoInstall

aba-parser

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aba-parser - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

16

dist/lib/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc