Skip to content

Releases: swantzter/kontonummer

v4.0.1

29 Aug 07:32
v4.0.1
f460981
Compare
Choose a tag to compare

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

08 Mar 10:42
v4.0.0
5585cab
Compare
Choose a tag to compare
  • 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

06 Sep 09:42
v3.0.0
8ef954a
Compare
Choose a tag to compare

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

08 Mar 11:35
Compare
Choose a tag to compare

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

18 Aug 07:28
Compare
Choose a tag to compare

1.5.0 (2020-08-18)

Features

  • banks: add Northmill Bank (9f36e24)

v1.4.1

08 May 08:06
Compare
Choose a tag to compare

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

28 Apr 07:01
Compare
Choose a tag to compare

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

16 Apr 15:54
Compare
Choose a tag to compare

1.3.0 (2020-04-16)

Features

  • banks: always use 4 digit sortingCode for bank lookup (1ceb351)

v1.2.0

12 Apr 19:39
Compare
Choose a tag to compare

1.2.0 (2020-04-12)

Features

  • format: implement the format method (ca57a4a)

v1.1.0

12 Apr 15:02
Compare
Choose a tag to compare

1.1.0 (2020-04-12)

Features

  • kontonummer: console.log returns the value of the getters (974086d)