Skip to content

Commit

Permalink
Create v2.2.4 (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
mebjas authored Oct 24, 2022
1 parent bf829fa commit 0da084b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### Version 2.2.4
- Improved support for Huawei browser with [PR#563](https://github.com/mebjas/html5-qrcode/pull/563), Contribution by [jackhe16](https://github.com/jackhe16).
- Fixed QR Border Placement with [PR#555](https://github.com/mebjas/html5-qrcode/pull/555), Contribution by [allanbrault](https://github.com/allanbrault).
- Fixed config issue ([Issue#494](https://github.com/mebjas/html5-qrcode/issues/494)) with [PR#521](https://github.com/mebjas/html5-qrcode/pull/521), Contribution by [rlueder](https://github.com/rlueder).

### Version 2.2.1
- Added support for `supportedScanType` in `Html5QrcodeScanner`. This feature
was implemented by our latest contributor - [mohsinaav@](https://github.com/mohsinaav)
Expand Down
2 changes: 1 addition & 1 deletion minified/html5-qrcode.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html5-qrcode",
"version": "2.2.3",
"version": "2.2.4",
"description": "A cross platform HTML5 QR Code & bar code scanner",
"main": "./cjs/index.js",
"module": "./esm/index.js",
Expand Down
3 changes: 2 additions & 1 deletion src/html5-qrcode-scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@ export class Html5QrcodeScanner {
}

if (!config.supportedScanTypes) {
config.supportedScanTypes = Html5QrcodeConstants.DEFAULT_SUPPORTED_SCAN_TYPE;
config.supportedScanTypes
= Html5QrcodeConstants.DEFAULT_SUPPORTED_SCAN_TYPE;
}

return config;
Expand Down
4 changes: 2 additions & 2 deletions src/html5-qrcode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1631,8 +1631,8 @@ export class Html5Qrcode {
shaderElem: HTMLDivElement,
width: number,
height: number,
top: number|null,
bottom: number|null,
top: number | null,
bottom: number | null,
side: number,
isLeft: boolean) {
const elem = document.createElement("div");
Expand Down

0 comments on commit 0da084b

Please sign in to comment.