ibantools 4.3.4 → 4.3.6
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/build/ibantools.d.ts +7 -1
- package/build/ibantools.js +249 -16
- package/jsnext/ibantools.js +249 -16
- package/package.json +10 -9
package/build/ibantools.d.ts
CHANGED
|
@@ -126,12 +126,15 @@ export interface ExtractIBANResult {
|
|
|
126
126
|
iban: string;
|
|
127
127
|
bban?: string;
|
|
128
128
|
countryCode?: string;
|
|
129
|
+
accountNumber?: string;
|
|
130
|
+
branchIdentifier?: string;
|
|
131
|
+
bankIdentifier?: string;
|
|
129
132
|
valid: boolean;
|
|
130
133
|
}
|
|
131
134
|
/**
|
|
132
135
|
* extractIBAN
|
|
133
136
|
* ```
|
|
134
|
-
* // returns {iban: "NL91ABNA0417164300", bban: "ABNA0417164300", countryCode: "NL", valid: true}
|
|
137
|
+
* // returns {iban: "NL91ABNA0417164300", bban: "ABNA0417164300", countryCode: "NL", valid: true, accountNumber: '0417164300', bankIdentifier: 'ABNA'}
|
|
135
138
|
* ibantools.extractIBAN("NL91 ABNA 0417 1643 00");
|
|
136
139
|
* ```
|
|
137
140
|
*/
|
|
@@ -269,6 +272,9 @@ interface CountrySpecInternal {
|
|
|
269
272
|
bban_validation_func?: (bban: string) => boolean;
|
|
270
273
|
IBANRegistry?: boolean;
|
|
271
274
|
SEPA?: boolean;
|
|
275
|
+
branch_indentifier?: string;
|
|
276
|
+
bank_identifier?: string;
|
|
277
|
+
account_indentifier?: string;
|
|
272
278
|
}
|
|
273
279
|
/**
|
|
274
280
|
* Interface for Map of Country Specifications
|