tapirscan 1.0.0 → 1.2.0
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 +184 -105
- package/dist/completion-host.d.mts +40 -0
- package/dist/completion-host.mjs +188 -0
- package/dist/detail-runtime/direct-recovery.d.mts +28 -0
- package/dist/detail-runtime/direct-recovery.mjs +142 -0
- package/dist/detail-runtime/host.d.mts +40 -0
- package/dist/detail-runtime/host.mjs +282 -0
- package/dist/detail-runtime/scanner.d.mts +12 -0
- package/dist/detail-runtime/scanner.mjs +70 -0
- package/dist/detail.d.ts +3 -4
- package/dist/detail.js +3 -6
- package/dist/index.d.ts +91 -33
- package/dist/index.js +174 -86
- package/dist/multiformat/coverage.d.ts +7 -0
- package/dist/multiformat/coverage.js +26 -0
- package/dist/multiformat/formats.d.ts +4 -2
- package/dist/multiformat/formats.js +13 -1
- package/dist/multiformat/geometry.d.ts +5 -0
- package/dist/multiformat/geometry.js +13 -3
- package/dist/multiformat/linear-duplicates.d.ts +16 -0
- package/dist/multiformat/linear-duplicates.js +163 -0
- package/dist/multiformat/scanner.d.ts +11 -2
- package/dist/multiformat/scanner.js +127 -24
- package/examples/camera.html +63 -0
- package/examples/scan-worker.mjs +20 -0
- package/examples/worker-client.mjs +63 -0
- package/package.json +7 -6
- package/wasm/{high-release-20260915.wasm → high-complete-release-20260916.wasm} +0 -0
- package/wasm/{low-release-20260915.wasm → low-complete-release-20260916.wasm} +0 -0
- package/wasm/{medium-release-20260915.wasm → medium-complete-release-20260916.wasm} +0 -0
- package/wasm/multiformat.json +2 -1
- package/wasm/multiformat.wasm +0 -0
- package/wasm/{very-high-release-20260915.wasm → very-high-complete-release-20260916.wasm} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tapirscan",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Orientation-aware barcode scanning with a Rust/WASM core and four effort modes",
|
|
6
6
|
"exports": {
|
|
@@ -11,17 +11,18 @@
|
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
13
|
"dist",
|
|
14
|
+
"examples",
|
|
14
15
|
"wasm/multiformat.json",
|
|
15
16
|
"THIRD_PARTY_NOTICES.md",
|
|
16
|
-
"wasm/low-release-
|
|
17
|
-
"wasm/medium-release-
|
|
18
|
-
"wasm/high-release-
|
|
19
|
-
"wasm/very-high-release-
|
|
17
|
+
"wasm/low-complete-release-20260916.wasm",
|
|
18
|
+
"wasm/medium-complete-release-20260916.wasm",
|
|
19
|
+
"wasm/high-complete-release-20260916.wasm",
|
|
20
|
+
"wasm/very-high-complete-release-20260916.wasm",
|
|
20
21
|
"wasm/multiformat.wasm"
|
|
21
22
|
],
|
|
22
23
|
"scripts": {
|
|
23
24
|
"build": "tsc -p tsconfig.json",
|
|
24
|
-
"test": "node --test test/scanner.mjs",
|
|
25
|
+
"test": "node --test test/scanner.mjs test/linear-duplicates.mjs && tsc --noEmit --strict --skipLibCheck --target ES2022 --module NodeNext test/api-types.ts",
|
|
25
26
|
"prepack": "npm run build && node scripts/verify-package.mjs"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/wasm/multiformat.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sha256": "
|
|
2
|
+
"sha256": "06598e5fc13957c21e2c206de51990decb415d4e7037e8a42160d6108008df55",
|
|
3
3
|
"sourceManifest": "provenance/import.json",
|
|
4
|
+
"sourceDigest": "bfbc48d3bba63fbbe16c8396d3cf4b5278095f2affd0bc4f15d380e1414a8111",
|
|
4
5
|
"rustToolchain": "1.91.1",
|
|
5
6
|
"rustflags": "-C target-feature=+simd128 --remap-path-prefix=/home/runner/.rustup/toolchains/1.91.1-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library=/rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library"
|
|
6
7
|
}
|
package/wasm/multiformat.wasm
CHANGED
|
Binary file
|
|
index 1e04ef1..f075ce6 100755
|
|
|
Binary file
|