@scanly/engine-zxing-js 2.0.0 → 2.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.
Files changed (2) hide show
  1. package/README.md +20 -3
  2. package/package.json +13 -3
package/README.md CHANGED
@@ -1,3 +1,20 @@
1
- # @scanly/engine-zxing-js
2
-
3
- Engine-contract adapter for `@zxing/library` 0.21.3. The current pipeline configures its QR reader only, so no additional barcode-format support is claimed.
1
+ # @scanly/engine-zxing-js
2
+
3
+ QR Code engine-contract adapter for `@zxing/library` 0.21.3 in Scanly SDK v2.0.1.
4
+
5
+ ```bash
6
+ npm install @scanly/core @scanly/engine-zxing-js
7
+ ```
8
+
9
+ ```ts
10
+ import { CaptureRouter, EngineRegistry } from "@scanly/core";
11
+ import { ZxingJsEngine } from "@scanly/engine-zxing-js";
12
+
13
+ const engines = new EngineRegistry();
14
+ engines.register(new ZxingJsEngine());
15
+ const router = new CaptureRouter({ engines, formats: ["qr_code"] });
16
+ ```
17
+
18
+ This adapter intentionally configures the ZXing JavaScript QR reader only. It does not claim additional barcode formats. This is an advanced engine package; Browser and Node already include it as a QR fallback.
19
+
20
+ Version: 2.0.1 · [Engine composition documentation](https://github.com/Yangjunjie-Lin/Scanly/blob/main/docs/sdk/usage.md)
package/package.json CHANGED
@@ -1,7 +1,17 @@
1
1
  {
2
2
  "name": "@scanly/engine-zxing-js",
3
- "version": "2.0.0",
4
- "description": "ZXing JavaScript QR engine plugin for Scanly",
3
+ "version": "2.0.1",
4
+ "description": "QR Code ZXing JavaScript engine plugin for Scanly SDK",
5
+ "keywords": ["barcode", "qr-code", "decoder", "zxing", "scanner", "scanly"],
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Yangjunjie-Lin/Scanly.git",
9
+ "directory": "engines/zxing-js"
10
+ },
11
+ "homepage": "https://github.com/Yangjunjie-Lin/Scanly#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/Yangjunjie-Lin/Scanly/issues"
14
+ },
5
15
  "license": "MIT",
6
16
  "type": "module",
7
17
  "sideEffects": false,
@@ -21,7 +31,7 @@
21
31
  "build": "tsc -p tsconfig.build.json"
22
32
  },
23
33
  "dependencies": {
24
- "@scanly/core": "2.0.0",
34
+ "@scanly/core": "2.0.1",
25
35
  "@zxing/library": "0.21.3"
26
36
  }
27
37
  }