From a906263f74627dd928c581f388cf12faa3b43476 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 16 Feb 2023 03:23:42 +0100 Subject: use node16 module resolution --- packages/taler-wallet-webextension/src/wallet/QrReader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/taler-wallet-webextension/src/wallet/QrReader.tsx') diff --git a/packages/taler-wallet-webextension/src/wallet/QrReader.tsx b/packages/taler-wallet-webextension/src/wallet/QrReader.tsx index c1972823a..0cbb12d40 100644 --- a/packages/taler-wallet-webextension/src/wallet/QrReader.tsx +++ b/packages/taler-wallet-webextension/src/wallet/QrReader.tsx @@ -115,7 +115,7 @@ function drawIntoCanvasAndGetQR( context.clearRect(0, 0, canvas.width, canvas.height); context.drawImage(tag, 0, 0, canvas.width, canvas.height); const imgData = context.getImageData(0, 0, canvas.width, canvas.height); - const code = jsQR(imgData.data, canvas.width, canvas.height, { + const code = jsQR.default(imgData.data, canvas.width, canvas.height, { inversionAttempts: "attemptBoth", }); if (code) { -- cgit v1.2.3