Add barcode-detector-api-polyfill dependency and update environment variable declarations in SvelteKit project
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import { PDF417Reader } from '@zxing/library';
|
||||
import { BrowserCodeReader } from './BrowserCodeReader';
|
||||
/**
|
||||
* QR Code reader to use from browser.
|
||||
*/
|
||||
export class BrowserPDF417Reader extends BrowserCodeReader {
|
||||
/**
|
||||
* Creates an instance of BrowserPDF417Reader.
|
||||
*/
|
||||
constructor(hints, options) {
|
||||
super(new PDF417Reader(), hints, options);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=BrowserPDF417Reader.js.map
|
||||
Reference in New Issue
Block a user