qr-decoder-js 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -111,3 +111,11 @@ pnpm build # build the package
111
111
  ## License
112
112
 
113
113
  MIT
114
+
115
+ ## Acknowledgements
116
+
117
+ This project uses and is inspired by:
118
+
119
+ - [zxing-wasm](https://github.com/Sec-ant/zxing-wasm) for QR code detection.
120
+ - [Google compact_enc_det](https://github.com/google/compact_enc_det) for character encoding detection.
121
+ - [ced-wasm](https://github.com/neichen/ced-wasm), a WebAssembly port of `compact_enc_det`.
package/README_ZH.md CHANGED
@@ -107,3 +107,11 @@ pnpm build # 构建 npm 包
107
107
  ## 许可证
108
108
 
109
109
  MIT
110
+
111
+ ## 致谢
112
+
113
+ 本项目使用或参考了以下开源项目:
114
+
115
+ - [zxing-wasm](https://github.com/Sec-ant/zxing-wasm):用于二维码识别。
116
+ - [Google compact_enc_det](https://github.com/google/compact_enc_det):用于文本编码检测。
117
+ - [ced-wasm](https://github.com/neichen/ced-wasm):`compact_enc_det` 的 WebAssembly 移植版本。
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "qr-decoder-js",
3
- "version": "1.0.0",
4
- "description": "Self-contained frontend QR code decoder. Bundles zxing-wasm and ced-wasm locally (no CDN) with multi-channel image preprocessing and multi-encoding fallback decoding.",
3
+ "version": "1.0.1",
4
+ "description": "Browser QR code decoder with character encoding detection and fallback decoding to reduce garbled Chinese and non-UTF-8 text.",
5
5
  "type": "module",
6
6
  "main": "./dist/qr-decoder.umd.cjs",
7
7
  "module": "./dist/qr-decoder.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "files": [
10
10
  "dist",
11
- "!dist/sample-qr.png",
12
11
  "README.md",
13
12
  "README_ZH.md"
14
13
  ],
@@ -28,11 +27,20 @@
28
27
  "qr",
29
28
  "wasm",
30
29
  "zxing",
31
- "barcode",
32
- "encoding"
30
+ "encoding",
31
+ "character-encoding",
32
+ "text-decoding"
33
33
  ],
34
- "author": "",
34
+ "author": "yanyaoli",
35
35
  "license": "MIT",
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "https://github.com/yanyaoli/qr-decoder-js.git"
39
+ },
40
+ "bugs": {
41
+ "url": "https://github.com/yanyaoli/qr-decoder-js/issues"
42
+ },
43
+ "homepage": "https://github.com/yanyaoli/qr-decoder-js#readme",
36
44
  "devEngines": {
37
45
  "packageManager": {
38
46
  "name": "pnpm",