ngx-iban-validator 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -295,7 +295,7 @@ Check demo applications for usage examples:
295
295
  | Bosnia and Herzegovina | BA | 20 |
296
296
  | Brazil | BR | 29 |
297
297
  | Bulgaria | BG | 22 |
298
- | Burundi | BI | 16 |
298
+ | Burundi | BI | 27 |
299
299
  | Burkina Faso | BF | 28 |
300
300
  | Cameroon | CM | 27 |
301
301
  | Cape Verde | CV | 25 |
@@ -358,7 +358,7 @@ Check demo applications for usage examples:
358
358
  | Morocco | MA | 28 |
359
359
  | Mozambique | MZ | 25 |
360
360
  | Netherlands | NL | 18 |
361
- | Nicaragua | NI | 32 |
361
+ | Nicaragua | NI | 28 |
362
362
  | Niger | NE | 28 |
363
363
  | North Macedonia | MK | 19 |
364
364
  | Norway | NO | 15 |
@@ -419,6 +419,11 @@ npx tsc
419
419
 
420
420
  # Changelog
421
421
 
422
+ ## v 1.2.1
423
+
424
+ - Updated Burundi (BI) length 16 -> 27
425
+ - Updated Nicaragua (NI) length 32 -> 28
426
+
422
427
  ## v 1.2.0
423
428
 
424
429
  - Updated documentation
package/dist/README.md CHANGED
@@ -295,7 +295,7 @@ Check demo applications for usage examples:
295
295
  | Bosnia and Herzegovina | BA | 20 |
296
296
  | Brazil | BR | 29 |
297
297
  | Bulgaria | BG | 22 |
298
- | Burundi | BI | 16 |
298
+ | Burundi | BI | 27 |
299
299
  | Burkina Faso | BF | 28 |
300
300
  | Cameroon | CM | 27 |
301
301
  | Cape Verde | CV | 25 |
@@ -358,7 +358,7 @@ Check demo applications for usage examples:
358
358
  | Morocco | MA | 28 |
359
359
  | Mozambique | MZ | 25 |
360
360
  | Netherlands | NL | 18 |
361
- | Nicaragua | NI | 32 |
361
+ | Nicaragua | NI | 28 |
362
362
  | Niger | NE | 28 |
363
363
  | North Macedonia | MK | 19 |
364
364
  | Norway | NO | 15 |
@@ -419,6 +419,11 @@ npx tsc
419
419
 
420
420
  # Changelog
421
421
 
422
+ ## v 1.2.1
423
+
424
+ - Updated Burundi (BI) length 16 -> 27
425
+ - Updated Nicaragua (NI) length 32 -> 28
426
+
422
427
  ## v 1.2.0
423
428
 
424
429
  - Updated documentation
@@ -10,7 +10,7 @@ export const codeLengths = {
10
10
  BF: 28,
11
11
  BG: 22,
12
12
  BH: 22,
13
- BI: 16,
13
+ BI: 27,
14
14
  BJ: 28,
15
15
  BR: 29,
16
16
  BY: 28,
@@ -77,7 +77,7 @@ export const codeLengths = {
77
77
  MU: 30,
78
78
  MZ: 25,
79
79
  NE: 28,
80
- NI: 32,
80
+ NI: 28,
81
81
  NL: 18,
82
82
  NO: 15,
83
83
  OM: 23,
@@ -79,8 +79,8 @@ describe("validateIBAN", () => {
79
79
  it("validateIBAN for Bulgaria BG18RZBB91550123456789 should return null", () => {
80
80
  expect(validateIBAN({ value: "BG18RZBB91550123456789" })).toBe(null);
81
81
  });
82
- it("validateIBAN for Burundi BI43201011067444 should return null", () => {
83
- expect(validateIBAN({ value: "BI43201011067444" })).toBe(null);
82
+ it("validateIBAN for Burundi BI1320001100010000123456789 should return null", () => {
83
+ expect(validateIBAN({ value: "BI1320001100010000123456789" })).toBe(null);
84
84
  });
85
85
  it("validateIBAN for Burkina Faso BF42BF0840101300463574000390 should return null", () => {
86
86
  expect(validateIBAN({ value: "BF42BF0840101300463574000390" })).toBe(null);
@@ -268,8 +268,8 @@ describe("validateIBAN", () => {
268
268
  it("validateIBAN for Netherlands NL02ABNA0123456789 should return null", () => {
269
269
  expect(validateIBAN({ value: "NL02ABNA0123456789" })).toBe(null);
270
270
  });
271
- it("validateIBAN for Nicaragua NI92BAMC000000000000000003123123 should return null", () => {
272
- expect(validateIBAN({ value: "NI92BAMC000000000000000003123123" })).toBe(null);
271
+ it("validateIBAN for Nicaragua NI79BAMC00000000000003123123 should return null", () => {
272
+ expect(validateIBAN({ value: "NI79BAMC00000000000003123123" })).toBe(null);
273
273
  });
274
274
  it("validateIBAN for Niger NE58NE0380100100130305000268 should return null", () => {
275
275
  expect(validateIBAN({ value: "NE58NE0380100100130305000268" })).toBe(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-iban-validator",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/SKaDiZZ/ngx-iban-validator.git"