The issue can be reproduced by introducing an invalid "image" path for the QR Code Config.
If done, the await qrCode.getRawData("png"); will never resolve.
I am sending that issue evn if the fix is easy, as there was no error thrown while I encountered this case.
let qrCodeConfig = {};
qrCodeConfig.data = string;
qrCodeConfig.image = "invalid_file.png";
let qrCode = new QRCodeStyling(qrCodeConfig)
let qrCodePng = await qrCode.getRawData("png"); // <- Big Boy will never resolve
Note: Have not tested with any other argument file type for getRawData
The issue can be reproduced by introducing an invalid "image" path for the QR Code Config.
If done, the await qrCode.getRawData("png"); will never resolve.
I am sending that issue evn if the fix is easy, as there was no error thrown while I encountered this case.
Note: Have not tested with any other argument file type for getRawData