Skip to content

Releases: dtinth/promptpay-qr

v0.5.0 — TypeScript and API documentation

17 Jan 15:03
Compare
Choose a tag to compare

The promptpay-qr npm package now ships with TypeScript definitions and added an API reference page. It otherwise contains no breaking changes (no changes made to the main JavaScript file).

v0.4.3 — Critical bugfix regarding using Tax ID as target

04 Sep 09:45
Compare
Choose a tag to compare

This bug is reported by @iamsarin.

In previous versions, when using a Tax ID that starts with 0 (e.g. 0123456789012), the first digit will be changed to 6 (it becomes 6123456789012).

This happens because the algorithm assumes that if the target number starts with 0, it will be a local phone number, and replaces it with 66.

v0.4.3 fixed this issue, in commit 742cd34. Please upgrade as soon as possible. Sorry for inconvenience.