Comparing version 1.1.0 to 1.1.1
@@ -65,8 +65,8 @@ "use strict"; | ||
if (cc !== undefined) { | ||
return new ibanBuilder_1.IBANBuilder().countryCode(cc).buildRandom(); | ||
return new ibanBuilder_1.IBANBuilder().countryCode(cc).build(); | ||
} | ||
return new ibanBuilder_1.IBANBuilder().buildRandom(); | ||
return new ibanBuilder_1.IBANBuilder().build(); | ||
} | ||
} | ||
exports.IBAN = IBAN; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWJhbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9pYmFuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsdUNBQXVDO0FBQ3ZDLHVDQUF1RDtBQUN2RCwrQ0FBNEM7QUFPNUMsTUFBYSxJQUFJO0lBV2YsWUFBWSxJQUFZO1FBQ3RCLE1BQU0sS0FBSyxHQUFHLElBQUk7YUFDZixJQUFJLEVBQUU7YUFDTixPQUFPLENBQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQzthQUNqQixXQUFXLEVBQUUsQ0FBQztRQUVqQixRQUFRLENBQUMsUUFBUSxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBRXpCLElBQUksQ0FBQyxLQUFLLEdBQUcsS0FBSyxDQUFDO0lBQ3JCLENBQUM7SUFPRCxjQUFjO1FBQ1osT0FBTyx1QkFBYSxDQUFDLFFBQVEsQ0FBQyxjQUFjLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFnQixDQUFDO0lBQzNFLENBQUM7SUFPRCxhQUFhO1FBQ1gsT0FBTyxRQUFRLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztJQUM1QyxDQUFDO0lBT00sZ0JBQWdCO1FBQ3JCLE9BQU8sUUFBUSxDQUFDLGdCQUFnQixDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQ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yxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztJQUN0QyxDQUFDO0lBYUQsUUFBUTtRQUNOLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztJQUNwQixDQUFDO0lBT0QsaUJBQWlCO1FBQ2YsT0FBTyxRQUFRLENBQUMsaUJBQWlCLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQ2hELENBQUM7SUFRRCxNQUFNLENBQUMsT0FBTyxDQUFDLElBQVk7UUFDekIsSUFBSTtZQUNGLFFBQVEsQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLENBQUM7U0FDekI7UUFBQyxXQUFNO1lBQ04sT0FBTyxLQUFLLENBQUM7U0FDZDtRQUNELE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQztJQUVELE1BQU0sQ0FBQyxNQUFNLENBQUMsRUFBZ0I7UUFDNUIsSUFBSSxFQUFFLEtBQUssU0FBUyxFQUFFO1lBQ3BCLE9BQU8sSUFBSSx5QkFBVyxFQUFFLENBQUMsV0FBVyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDO1NBQ2xEO1FBQ0QsT0FBTyxJQUFJLHlCQUFXLEVBQUUsQ0FBQyxLQUFLLEVBQUUsQ0FBQztJQUNuQyxDQUFDO0NBQ0Y7QUF0S0Qsb0JBc0tDIn0= |
@@ -21,8 +21,6 @@ import { CountryCode } from "./country"; | ||
identificationNumber(identificationNumber: string): IBANBuilder; | ||
build(validate?: boolean): IBAN; | ||
buildRandom(): IBAN; | ||
build(fillRandom?: boolean, validate?: boolean): IBAN; | ||
private formatBban; | ||
private formatIban; | ||
private require; | ||
private fillMissingFieldsRandomly; | ||
} |
@@ -43,4 +43,12 @@ "use strict"; | ||
} | ||
build(validate = true) { | ||
this.require(this.countryCodeValue, this.bankCodeValue, this.accountNumberValue); | ||
build(fillRandom = true, validate = true) { | ||
if (fillRandom && this.countryCodeValue == null) { | ||
const countryCodes = bbanStructure_1.BbanStructure.supportedCountries(); | ||
this.countryCodeValue = countryCodes[randInt_1.randInt(countryCodes.length)]; | ||
} | ||
const structure = bbanStructure_1.BbanStructure.forCountry(this.countryCodeValue); | ||
if (structure === null) { | ||
throw new Error("shouldn't happen"); | ||
} | ||
this.fillMissingFieldsRandomly(fillRandom); | ||
const formattedIban = this.formatIban(); | ||
@@ -54,10 +62,2 @@ const checkDigit = ibanUtil.calculateCheckDigit(formattedIban); | ||
} | ||
buildRandom() { | ||
if (this.countryCodeValue == null) { | ||
const countryCodes = bbanStructure_1.BbanStructure.supportedCountries(); | ||
this.countryCodeValue = countryCodes[randInt_1.randInt(countryCodes.length)]; | ||
} | ||
this.fillMissingFieldsRandomly(); | ||
return this.build(); | ||
} | ||
formatBban() { | ||
@@ -94,3 +94,3 @@ const parts = []; | ||
} | ||
return parts.join(); | ||
return parts.join(""); | ||
} | ||
@@ -100,14 +100,3 @@ formatIban() { | ||
} | ||
require(countryCode, bankCode, accountNumber) { | ||
if (countryCode == null) { | ||
throw new exceptions_1.FormatException(exceptions_1.FormatViolation.COUNTRY_CODE_NOT_NULL, "countryCode is required; it cannot be null"); | ||
} | ||
if (bankCode == null) { | ||
throw new exceptions_1.FormatException(exceptions_1.FormatViolation.BANK_CODE_NOT_NULL, "bankCode is required; it cannot be null"); | ||
} | ||
if (accountNumber == null) { | ||
throw new exceptions_1.FormatException(exceptions_1.FormatViolation.ACCOUNT_NUMBER_NOT_NULL, "accountNumber is required; it cannot be null"); | ||
} | ||
} | ||
fillMissingFieldsRandomly() { | ||
fillMissingFieldsRandomly(fillRandom) { | ||
const structure = bbanStructure_1.BbanStructure.forCountry(this.countryCodeValue); | ||
@@ -124,2 +113,5 @@ if (structure == null) { | ||
} | ||
else if (!fillRandom) { | ||
throw new exceptions_1.FormatException(exceptions_1.FormatViolation.NOT_NULL, "bankCode is required; it cannot be null"); | ||
} | ||
break; | ||
@@ -130,2 +122,5 @@ case structurePart_1.PartType.BRANCH_CODE: | ||
} | ||
else if (!fillRandom) { | ||
throw new exceptions_1.FormatException(exceptions_1.FormatViolation.NOT_NULL, "branchCode is required; it cannot be null"); | ||
} | ||
break; | ||
@@ -136,2 +131,5 @@ case structurePart_1.PartType.ACCOUNT_NUMBER: | ||
} | ||
else if (!fillRandom) { | ||
throw new exceptions_1.FormatException(exceptions_1.FormatViolation.NOT_NULL, "accountNumber is required; it cannot be null"); | ||
} | ||
break; | ||
@@ -148,2 +146,5 @@ case structurePart_1.PartType.NATIONAL_CHECK_DIGIT: | ||
} | ||
else if (!fillRandom) { | ||
throw new exceptions_1.FormatException(exceptions_1.FormatViolation.NOT_NULL, "accountType is required; it cannot be null"); | ||
} | ||
break; | ||
@@ -154,2 +155,5 @@ case structurePart_1.PartType.OWNER_ACCOUNT_NUMBER: | ||
} | ||
else if (!fillRandom) { | ||
throw new exceptions_1.FormatException(exceptions_1.FormatViolation.NOT_NULL, "ownerAccountType is required; it cannot be null"); | ||
} | ||
break; | ||
@@ -160,2 +164,5 @@ case structurePart_1.PartType.IDENTIFICATION_NUMBER: | ||
} | ||
else if (!fillRandom) { | ||
throw new exceptions_1.FormatException(exceptions_1.FormatViolation.NOT_NULL, "indentificationNumber is required; it cannot be null"); | ||
} | ||
break; | ||
@@ -175,2 +182,2 @@ } | ||
exports.IBANBuilder = IBANBuilder; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWJhbkJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaWJhbkJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx1Q0FBdUM7QUFDdkMsbURBQWdEO0FBQ2hELG1EQUEyQztBQUUzQyx1Q0FBb0M7QUFDcEMsNkNBSXNCO0FBQ3RCLGlDQUE4QjtBQUs5QixNQUFhLFdBQVc7SUFhdEIsZ0JBQXNCLENBQUM7SUFRdkIsV0FBVyxDQUF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"1.1.1", | ||
"description": "IBAN and BIC utilities", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -24,7 +24,8 @@ # ibankit | ||
// How to generate Iban | ||
const iban = new IbanBuilder() | ||
const ibanStr = new IBANBuilder() | ||
.countryCode(CountryCode.AT) | ||
.bankCode("19043") | ||
.accountNumber("00234573201") | ||
.build(); | ||
.build() | ||
.toString(); | ||
@@ -35,11 +36,11 @@ // How to create Iban object from String | ||
// The library ignores spaces in IBANs, this is valid | ||
const iban = IBAN("DE89 3704 0044 0532 0130 00"); | ||
const iban = new IBAN("DE89 3704 0044 0532 0130 00"); | ||
// For testing, the library will also generate random IBANs | ||
const iban = IBAn.random(CountryCode.AT); | ||
const iban = IBAN.random(CountryCode.AT); | ||
const iban = IBAN.random(); | ||
const iban = new IBAN.Builder() | ||
const iban = new IBANBuilder() | ||
.countryCode(CountryCode.AT) | ||
.bankCode("19043") | ||
.buildRandom(); | ||
.build(); | ||
@@ -46,0 +47,0 @@ // For simplicity in porting from iban-js applications |
@@ -172,6 +172,6 @@ import * as ibanUtil from "./ibanUtil"; | ||
if (cc !== undefined) { | ||
return new IBANBuilder().countryCode(cc).buildRandom(); | ||
return new IBANBuilder().countryCode(cc).build(); | ||
} | ||
return new IBANBuilder().buildRandom(); | ||
return new IBANBuilder().build(); | ||
} | ||
} |
@@ -129,10 +129,16 @@ import * as ibanUtil from "./ibanUtil"; | ||
*/ | ||
build(validate: boolean = true): IBAN { | ||
// null checks | ||
this.require( | ||
this.countryCodeValue, | ||
this.bankCodeValue, | ||
this.accountNumberValue, | ||
); | ||
build(fillRandom: boolean = true, validate: boolean = true): IBAN { | ||
if (fillRandom && this.countryCodeValue == null) { | ||
const countryCodes = BbanStructure.supportedCountries(); | ||
this.countryCodeValue = countryCodes[randInt(countryCodes.length)]; | ||
} | ||
const structure = BbanStructure.forCountry(this.countryCodeValue); | ||
if (structure === null) { | ||
throw new Error("shouldn't happen"); | ||
} | ||
this.fillMissingFieldsRandomly(fillRandom); | ||
// iban is formatted with default check digit. | ||
@@ -153,23 +159,2 @@ const formattedIban = this.formatIban(); | ||
/** | ||
* Builds random iban instance. | ||
* | ||
* @return random iban instance. | ||
* @exception FormatException if values are not parsable by Iban Specification | ||
* <a href="http://en.wikipedia.org/wiki/ISO_13616">ISO_13616</a> | ||
* @exception UnsupportedCountryException if country is not supported | ||
* | ||
*/ | ||
public buildRandom(): IBAN { | ||
if (this.countryCodeValue == null) { | ||
const countryCodes = BbanStructure.supportedCountries(); | ||
this.countryCodeValue = countryCodes[randInt(countryCodes.length)]; | ||
} | ||
this.fillMissingFieldsRandomly(); | ||
return this.build(); | ||
} | ||
/** | ||
* Returns formatted bban string. | ||
@@ -214,3 +199,3 @@ */ | ||
return parts.join(); | ||
return parts.join(""); | ||
} | ||
@@ -227,30 +212,3 @@ | ||
private require( | ||
countryCode: CountryCode | undefined, | ||
bankCode: string | undefined, | ||
accountNumber: string | undefined, | ||
) { | ||
if (countryCode == null) { | ||
throw new FormatException( | ||
FormatViolation.COUNTRY_CODE_NOT_NULL, | ||
"countryCode is required; it cannot be null", | ||
); | ||
} | ||
if (bankCode == null) { | ||
throw new FormatException( | ||
FormatViolation.BANK_CODE_NOT_NULL, | ||
"bankCode is required; it cannot be null", | ||
); | ||
} | ||
if (accountNumber == null) { | ||
throw new FormatException( | ||
FormatViolation.ACCOUNT_NUMBER_NOT_NULL, | ||
"accountNumber is required; it cannot be null", | ||
); | ||
} | ||
} | ||
private fillMissingFieldsRandomly() { | ||
private fillMissingFieldsRandomly(fillRandom: boolean) { | ||
const structure = BbanStructure.forCountry(this.countryCodeValue); | ||
@@ -272,2 +230,7 @@ | ||
this.bankCodeValue = entry.generate("", structure); | ||
} else if (!fillRandom) { | ||
throw new FormatException( | ||
FormatViolation.NOT_NULL, | ||
"bankCode is required; it cannot be null", | ||
); | ||
} | ||
@@ -278,2 +241,7 @@ break; | ||
this.branchCodeValue = entry.generate("", structure); | ||
} else if (!fillRandom) { | ||
throw new FormatException( | ||
FormatViolation.NOT_NULL, | ||
"branchCode is required; it cannot be null", | ||
); | ||
} | ||
@@ -284,2 +252,7 @@ break; | ||
this.accountNumberValue = entry.generate("", structure); | ||
} else if (!fillRandom) { | ||
throw new FormatException( | ||
FormatViolation.NOT_NULL, | ||
"accountNumber is required; it cannot be null", | ||
); | ||
} | ||
@@ -296,2 +269,7 @@ break; | ||
this.accountTypeValue = entry.generate("", structure); | ||
} else if (!fillRandom) { | ||
throw new FormatException( | ||
FormatViolation.NOT_NULL, | ||
"accountType is required; it cannot be null", | ||
); | ||
} | ||
@@ -302,2 +280,7 @@ break; | ||
this.ownerAccountTypeValue = entry.generate("", structure); | ||
} else if (!fillRandom) { | ||
throw new FormatException( | ||
FormatViolation.NOT_NULL, | ||
"ownerAccountType is required; it cannot be null", | ||
); | ||
} | ||
@@ -308,2 +291,7 @@ break; | ||
this.identificationNumberValue = entry.generate("", structure); | ||
} else if (!fillRandom) { | ||
throw new FormatException( | ||
FormatViolation.NOT_NULL, | ||
"indentificationNumber is required; it cannot be null", | ||
); | ||
} | ||
@@ -310,0 +298,0 @@ break; |
@@ -352,18 +352,2 @@ import { CountryCode, countryByCode } from "./country"; | ||
/* | ||
function iso13616Prepare(iban) { | ||
iban = iban.toUpperCase(); | ||
iban = iban.substr(4) + iban.substr(0,4); | ||
return iban.split('').map(function(n){ | ||
var code = n.charCodeAt(0); | ||
if (code >= A && code <= Z){ | ||
// A = 10, B = 11, ... Z = 35 | ||
return code - A + 10; | ||
} else { | ||
return n; | ||
} | ||
}).join(''); | ||
}*/ | ||
const VA = "A".charCodeAt(0); | ||
@@ -370,0 +354,0 @@ const VZ = "Z".charCodeAt(0); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
263967
85
4411