Releases: dtinth/promptpay-qr
v0.5.0 — TypeScript and API documentation
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).
-
An API reference has been published at https://apiref.page/package/promptpay-qr
-
TypeScript definitions are now included, so you will get better IntelliSense suggestions.
v0.4.3 — Critical bugfix regarding using Tax ID as target
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.