ibantools 4.5.0 → 4.5.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
@@ -1,8 +1,9 @@
1
1
  # IBANTools
2
2
 
3
- [![License](https://img.shields.io/github/license/Simplify/ibantools)](https://github.com/Simplify/ibantools/blob/master/LICENSE)
3
+ ![License](https://img.shields.io/badge/License-MIT-blue)
4
+ ![License](https://img.shields.io/badge/License-MPL_2.0-blue)
4
5
 
5
- ![Bower version](https://badge.fury.io/bo/ibantools.svg)]
6
+ ![Bower version](https://badge.fury.io/bo/ibantools.svg)
6
7
  [![npm version](https://badge.fury.io/js/ibantools.svg)](https://badge.fury.io/js/ibantools)
7
8
  [![NPM downloads](https://img.shields.io/npm/dw/ibantools)](https://www.npmjs.com/package/ibantools)
8
9
  ![Dependents (via libraries.io)](https://img.shields.io/librariesio/dependents/npm/ibantools)
@@ -12,7 +12,7 @@
12
12
  * @package Documentation
13
13
  * @author Saša Jovanić
14
14
  * @module ibantools
15
- * @version 4.5.0
15
+ * @version 4.5.1
16
16
  * @license MIT or MPL-2.0
17
17
  * @preferred
18
18
  */
@@ -1045,7 +1045,7 @@ exports.countrySpecs = {
1045
1045
  SEPA: true,
1046
1046
  branch_indentifier: '4-7',
1047
1047
  bank_identifier: '0-3',
1048
- account_indentifier: '4-24',
1048
+ account_indentifier: '14-24',
1049
1049
  },
1050
1050
  ET: {},
1051
1051
  FI: {
@@ -1452,7 +1452,13 @@ exports.countrySpecs = {
1452
1452
  NR: {},
1453
1453
  NU: {},
1454
1454
  NZ: {},
1455
- OM: {},
1455
+ OM: {
1456
+ chars: 23,
1457
+ bban_regexp: '^[0-9]{3}[A-Z0-9]{16}$',
1458
+ IBANRegistry: true,
1459
+ SEPA: false,
1460
+ bank_identifier: '0-2',
1461
+ },
1456
1462
  PA: {},
1457
1463
  PE: {},
1458
1464
  PF: {
@@ -12,7 +12,7 @@
12
12
  * @package Documentation
13
13
  * @author Saša Jovanić
14
14
  * @module ibantools
15
- * @version 4.5.0
15
+ * @version 4.5.1
16
16
  * @license MIT or MPL-2.0
17
17
  * @preferred
18
18
  */
@@ -1029,7 +1029,7 @@ export var countrySpecs = {
1029
1029
  SEPA: true,
1030
1030
  branch_indentifier: '4-7',
1031
1031
  bank_identifier: '0-3',
1032
- account_indentifier: '4-24',
1032
+ account_indentifier: '14-24',
1033
1033
  },
1034
1034
  ET: {},
1035
1035
  FI: {
@@ -1436,7 +1436,13 @@ export var countrySpecs = {
1436
1436
  NR: {},
1437
1437
  NU: {},
1438
1438
  NZ: {},
1439
- OM: {},
1439
+ OM: {
1440
+ chars: 23,
1441
+ bban_regexp: '^[0-9]{3}[A-Z0-9]{16}$',
1442
+ IBANRegistry: true,
1443
+ SEPA: false,
1444
+ bank_identifier: '0-2',
1445
+ },
1440
1446
  PA: {},
1441
1447
  PE: {},
1442
1448
  PF: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ibantools",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "Validation, extraction and creation of IBAN, BBAN, BIC/SWIFT numbers plus some other helpful stuff like ISO 3136-1 alpha 2 country list",
5
5
  "keywords": [
6
6
  "IBAN",