Swiss QR Bill generation in Node.js and browsers
This is the biggest release of SwissQRBill so far and it is actually the first one with breaking changes.
If you want to migrate from v2.x to v3.x, there are mainly two things that need to be changed:
mmToPoints()
has to be renamed to mm2pt()
data
field houseNumber
has to be renamed to buildingNumber
Other than that, there are now ES module exports. Please take a look at the importing the library section in the readme to check if you can improve the way you import the library.
mm2px()
function.px2mm()
function.pt2mm()
function.houseNumber
has been renamed to buildingNumber
.debitor
has been removed. Use debtor
instead.mmToPoints()
function has been renamed to mm2pt()
.mmToPoints()
export. Use utils.mm2pt()
instead.