Skip to content

Commit 9e3c0ee

Browse files
committed
Merge branch 'master' of https://github.com/mebjas/html5-qrcode
2 parents 5d3fed4 + aae735f commit 9e3c0ee

File tree

9 files changed

+388
-416
lines changed

9 files changed

+388
-416
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,12 @@ Supports two kinds of APIs
3434
| -- | -- |
3535
| _Demo at [scanapp.org](https://scanapp.org)_ | _Demo at [qrcode.minhazav.dev](https://qrcode.minhazav.dev) - **Scanning different types of codes**_ |
3636

37-
## Notice
38-
**UX/UXD/UXR help wanted**: We are looking to improve user experience of this code scanning library — if you are interested in making this experience better for both developers and end users, please share your ideas, thoughts, inputs in [this discussion](https://github.com/mebjas/html5-qrcode/discussions/213)
37+
## We need your help!
38+
39+
![image](https://user-images.githubusercontent.com/3007365/222830114-e5bcca15-bf8a-434e-9f48-339e82a0a4ef.png)
40+
Help incentivise feature development, bug fixing by supporting the sponsorhip goals of this project. See [list of sponsered feature requests here](https://github.com/mebjas/html5-qrcode/wiki/Feature-request-sponsorship-goals#feature-requests).
41+
42+
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/L3L84G0C8)
3943

4044
## Supported platforms
4145
We are working continuously on adding support for more and more platforms. If you find a platform or a browser where the library is not working, please feel free to file an issue. Check the [demo link](https://blog.minhazav.dev/research/html5-qrcode.html) to test it out.
@@ -1048,7 +1052,9 @@ This project would not be possible without all of our fantastic contributors and
10481052
<a href="https://github.com/bujjivadu"><img src="https://github.com/bujjivadu.png" width="40px" alt="bujjivadu" /></a>
10491053
<!-- sponsors -->
10501054
1051-
And huge thanks to following organizations for non monitery sponsorships
1055+
Help incentivise feature development, bug fixing by supporting the sponsorhip goals of this project. See [list of sponsered feature requests here](https://github.com/mebjas/html5-qrcode/wiki/Feature-request-sponsorship-goals#feature-requests).
1056+
1057+
Also, huge thanks to following organizations for non monitery sponsorships
10521058
10531059
<!-- sponsors -->
10541060
<div>

package-lock.json

Lines changed: 371 additions & 404 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"build:typing": "tsc --emitDeclarationOnly --outDir ./dist",
2727
"build:umd": "./scripts/build-webpack.sh",
2828
"build:umd_windows": ".\\scripts\\build-webpack.bat",
29-
"build:copy": "cp README.md dist && cp package.json dist && cp LICENSE dist",
29+
"build:copy": "cp README.md dist && cp package.json dist && cp LICENSE dist && cp -R src dist/src",
3030
"build:copy_windows": "copy README.md dist && copy package.json dist && copy LICENSE dist",
3131
"internal_release": "npm run build && cp dist/html5-qrcode.min.js minified/html5-qrcode.min.js",
3232
"release": "npm run build && cp dist/html5-qrcode.min.js minified/html5-qrcode.min.js && cd dist && npm publish",

src/html5-qrcode-scanner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ enum Html5QrcodeScannerStatus {
8686
/**
8787
* Interface for controlling different aspects of {@class Html5QrcodeScanner}.
8888
*/
89-
interface Html5QrcodeScannerConfig
89+
export interface Html5QrcodeScannerConfig
9090
extends Html5QrcodeCameraScanConfig, Html5QrcodeConfigs {
9191

9292
/**

third_party/zxing-js.umd.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2794,7 +2794,7 @@
27942794
}
27952795
}
27962796

2797-
var __awaiter = ((global || self || globalThis || window || undefined) && (global || self || globalThis || window || undefined).__awaiter) || function (thisArg, _arguments, P, generator) {
2797+
var __awaiter = ((globalThis || global || self || window || undefined) && (globalThis || global || self || window || undefined).__awaiter) || function (thisArg, _arguments, P, generator) {
27982798
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27992799
return new (P || (P = Promise))(function (resolve, reject) {
28002800
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
@@ -23868,4 +23868,3 @@
2386823868
Object.defineProperty(exports, '__esModule', { value: true });
2386923869

2387023870
})));
23871-
//# sourceMappingURL=index.js.map

tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
"sourceMap": true,
66
"moduleResolution": "Node",
77
"declaration": true,
8-
"lib": [
9-
"es7",
10-
"dom"
11-
],
8+
"lib": ["DOM", "ES2017", "ES2018"],
129

1310
// ^ Build the transpiled javascript to transpiled/ dir.
1411
// Flags to ensure code quality.

tsconfig.lib-cjs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
4+
"lib": ["DOM", "ES2017", "ES2018"],
45
"module": "commonjs",
56
"target": "es5",
67
"outDir": "dist/cjs"

tsconfig.lib-es2015.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "./tsconfig.json",
3-
"compilerOptions": {
3+
"compilerOptions": {
4+
"lib": ["DOM", "ES2017", "ES2018"],
45
"module": "es2015",
56
"target": "es2015",
67
"outDir": "dist/es2015"

tsconfig.lib-esm.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
4+
"lib": ["DOM", "ES2017", "ES2018"],
45
"module": "es2015",
56
"target": "es5",
67
"outDir": "dist/esm"

0 commit comments

Comments
 (0)