Releases: swantzter/kontonummer
Releases · swantzter/kontonummer
v4.0.1
This release ensures all imports have a file extensions. This should make it possible to include the library unbundled on websites.
Here's an example that emulates the functionality of jop-io/kontonummer:
<script type="module">
import Kontonummer from 'https://cdn.jsdelivr.net/npm/[email protected]/dist/esm/index.min.js'
function kontonummer (number) {
try {
const k = new Kontonummer(number)
return {
bank_name: k.bankName,
clearing_number: k.sortingCode,
account_number: k.accountNumber
}
} catch {
return false
}
}
</script>
Note, of course, the use of type="module", and the impact that has on loading order https://gist.github.com/jakub-g/385ee6b41085303a53ad92c7c8afd7a6
v4.0.0
- Add Aion Bank, Lunar Bank
- (breaking change) Rename Ferratum Bank to Multitude Bank
- (breaking change) For consistency rename
BNP Paribas SA.
to BNP Paribas
v3.0.0
Features
- Banks: Added Ferratum Bank plc
Other changes
- The build system has been changed and the package is now packaged slightly differently, without a pre-bundled web version.
BREAKING CHANGES
- Banks: Removed Forex Bank
v2.0.0
2.0.0 (2021-03-08)
Features
- banks: remove MedMera Bank (628e547)
BREAKING CHANGES
- banks: MedMera Bank accounts will no longer validate
v1.5.0
1.5.0 (2020-08-18)
Features
- banks: add Northmill Bank (9f36e24)
v1.4.1
1.4.1 (2020-05-08)
Bug Fixes
- validate: mod11 needs to be able to take numbers longer than 10 digits (e8d9064), closes #6
v1.4.0
1.4.0 (2020-04-28)
Features
- banks: add newly confirmed account number min length to SHB accounts (98627a4)
- format: add forgotten format for Nordea Personkonto (d61bc92)
v1.3.0
1.3.0 (2020-04-16)
Features
- banks: always use 4 digit sortingCode for bank lookup (1ceb351)
v1.2.0
1.2.0 (2020-04-12)
Features
- format: implement the format method (ca57a4a)
v1.1.0
1.1.0 (2020-04-12)
Features
- kontonummer: console.log returns the value of the getters (974086d)