Skip to content

Commit cf00309

Browse files
author
Francisco Cardoso
committed
Release 0.0.6
1 parent 403edc3 commit cf00309

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# Changelog
22

3-
## [0.0.5](https://github.com/uphold/uk-modulus-checking/tree/0.0.5) (2017-10-26)
4-
[Full Changelog](https://github.com/uphold/uk-modulus-checking/compare/v0.0.4...0.0.5)
3+
## [0.0.6](https://github.com/uphold/uk-modulus-checking/tree/0.0.6) (2018-04-09)
4+
[Full Changelog](https://github.com/uphold/uk-modulus-checking/compare/v0.0.5...0.0.6)
5+
6+
**Merged pull requests:**
7+
8+
- 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))
9+
10+
## [v0.0.5](https://github.com/uphold/uk-modulus-checking/tree/v0.0.5) (2017-10-26)
11+
[Full Changelog](https://github.com/uphold/uk-modulus-checking/compare/v0.0.4...v0.0.5)
512

613
**Merged pull requests:**
714

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
040010 040014 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
55
040020 040059 MOD11 0 2 0 0 9 1 2 8 4 3 7 5 6 1
66
040072 040073 MOD11 0 0 0 0 0 0 8 7 6 5 4 3 2 1
7+
040082 040082 MOD10 2 1 2 1 2 1 0 64 32 16 8 4 2 1
78
040400 041399 DBLAL 1 3 4 3 9 3 1 7 5 5 4 5 2 4
89
050000 050020 MOD11 0 0 0 0 0 0 2 1 7 5 8 2 4 1
910
050022 058999 MOD11 0 0 0 0 0 0 2 1 7 5 8 2 4 1
@@ -210,6 +211,7 @@
210211
232279 232279 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
211212
232283 232283 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
212213
232283 232283 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
214+
232290 232290 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
213215
232445 232445 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
214216
232445 232445 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
215217
232571 232571 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
@@ -638,6 +640,7 @@
638640
302556 302556 MOD11 0 0 3 2 9 8 1 7 6 5 4 3 2 1 9
639641
302579 302580 MOD11 0 0 3 2 9 8 5 7 6 5 4 3 2 1 2
640642
302579 302580 MOD11 0 0 3 2 9 8 1 7 6 5 4 3 2 1 9
643+
302880 302880 MOD11 0 0 0 0 0 0 8 7 6 5 4 3 2 1
641644
303460 303461 MOD11 0 0 3 2 9 8 5 7 6 5 4 3 2 1 2
642645
303460 303461 MOD11 0 0 3 2 9 8 1 7 6 5 4 3 2 1 9
643646
305907 305939 MOD11 0 0 3 2 9 8 5 7 6 5 4 3 2 1 2

dist/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ var UkModulusChecking = function () {
3030
*/
3131

3232
function UkModulusChecking(_ref) {
33-
var _ref$accountNumber = _ref.accountNumber,
34-
accountNumber = _ref$accountNumber === undefined ? '' : _ref$accountNumber,
35-
_ref$sortCode = _ref.sortCode,
36-
sortCode = _ref$sortCode === undefined ? '' : _ref$sortCode;
33+
var _ref$accountNumber = _ref.accountNumber;
34+
var accountNumber = _ref$accountNumber === undefined ? '' : _ref$accountNumber;
35+
var _ref$sortCode = _ref.sortCode;
36+
var sortCode = _ref$sortCode === undefined ? '' : _ref$sortCode;
3737

3838
_classCallCheck(this, UkModulusChecking);
3939

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

352352
content.split('\r\n').forEach(function (line) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "uk-modulus-checking",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "Validate a UK bank account number against a sort code using the VocaLink modulus check",
55
"author": "Uphold",
66
"license": "MIT",

0 commit comments

Comments
 (0)