Skip to content

Commit

Permalink
Release 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Cardoso committed Apr 9, 2018
1 parent 403edc3 commit cf00309
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Changelog

## [0.0.5](https://github.com/uphold/uk-modulus-checking/tree/0.0.5) (2017-10-26)
[Full Changelog](https://github.com/uphold/uk-modulus-checking/compare/v0.0.4...0.0.5)
## [0.0.6](https://github.com/uphold/uk-modulus-checking/tree/0.0.6) (2018-04-09)
[Full Changelog](https://github.com/uphold/uk-modulus-checking/compare/v0.0.5...0.0.6)

**Merged pull requests:**

- Update Vocalink data sets and PDF docs to versions valid as of 16/4/2018 [\#13](https://github.com/uphold/uk-modulus-checking/pull/13) ([gunjam](https://github.com/gunjam))

## [v0.0.5](https://github.com/uphold/uk-modulus-checking/tree/v0.0.5) (2017-10-26)
[Full Changelog](https://github.com/uphold/uk-modulus-checking/compare/v0.0.4...v0.0.5)

**Merged pull requests:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
040010 040014 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
040020 040059 MOD11 0 2 0 0 9 1 2 8 4 3 7 5 6 1
040072 040073 MOD11 0 0 0 0 0 0 8 7 6 5 4 3 2 1
040082 040082 MOD10 2 1 2 1 2 1 0 64 32 16 8 4 2 1
040400 041399 DBLAL 1 3 4 3 9 3 1 7 5 5 4 5 2 4
050000 050020 MOD11 0 0 0 0 0 0 2 1 7 5 8 2 4 1
050022 058999 MOD11 0 0 0 0 0 0 2 1 7 5 8 2 4 1
Expand Down Expand Up @@ -210,6 +211,7 @@
232279 232279 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
232283 232283 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
232283 232283 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
232290 232290 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
232445 232445 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
232445 232445 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
232571 232571 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
Expand Down Expand Up @@ -638,6 +640,7 @@
302556 302556 MOD11 0 0 3 2 9 8 1 7 6 5 4 3 2 1 9
302579 302580 MOD11 0 0 3 2 9 8 5 7 6 5 4 3 2 1 2
302579 302580 MOD11 0 0 3 2 9 8 1 7 6 5 4 3 2 1 9
302880 302880 MOD11 0 0 0 0 0 0 8 7 6 5 4 3 2 1
303460 303461 MOD11 0 0 3 2 9 8 5 7 6 5 4 3 2 1 2
303460 303461 MOD11 0 0 3 2 9 8 1 7 6 5 4 3 2 1 9
305907 305939 MOD11 0 0 3 2 9 8 5 7 6 5 4 3 2 1 2
Expand Down
10 changes: 5 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ var UkModulusChecking = function () {
*/

function UkModulusChecking(_ref) {
var _ref$accountNumber = _ref.accountNumber,
accountNumber = _ref$accountNumber === undefined ? '' : _ref$accountNumber,
_ref$sortCode = _ref.sortCode,
sortCode = _ref$sortCode === undefined ? '' : _ref$sortCode;
var _ref$accountNumber = _ref.accountNumber;
var accountNumber = _ref$accountNumber === undefined ? '' : _ref$accountNumber;
var _ref$sortCode = _ref.sortCode;
var sortCode = _ref$sortCode === undefined ? '' : _ref$sortCode;

_classCallCheck(this, UkModulusChecking);

Expand Down Expand Up @@ -346,7 +346,7 @@ var UkModulusChecking = function () {
}, {
key: 'loadValacdos',
value: function loadValacdos() {
var content = _fs2.default.readFileSync(__dirname + '/data/valacdos-v460.txt', 'utf8');
var content = _fs2.default.readFileSync(__dirname + '/data/valacdos-v480-updated.txt', 'utf8');
var valacdos = [];

content.split('\r\n').forEach(function (line) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uk-modulus-checking",
"version": "0.0.5",
"version": "0.0.6",
"description": "Validate a UK bank account number against a sort code using the VocaLink modulus check",
"author": "Uphold",
"license": "MIT",
Expand Down

0 comments on commit cf00309

Please sign in to comment.