feat: replace barcode-detector polyfill with local @zxing/browser for cross-browser barcode scanning
- Remove barcode-detector polyfill (made remote CDN calls to download zxing-wasm) - Use @zxing/library@0.22.0 + @zxing/browser@0.2.0 locally - Support PDF417, Code128, Code39, Code93, QR, EAN, UPC, ITF formats - Clean special characters from scanned results before CIP validation - Fix video ref timing issue with waitForVideo loop
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
"@grafana/faro-transport-otlp-http": "^1.7.0",
|
||||
"@grafana/faro-web-sdk": "^1.7.0",
|
||||
"@grafana/faro-web-tracing": "^1.7.0",
|
||||
"barcode-detector": "^3.2.0",
|
||||
"@zxing/browser": "^0.2.0",
|
||||
"@zxing/library": "^0.22.0",
|
||||
"leaflet": "^1.9.4",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
|
||||
Reference in New Issue
Block a user