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 { DataMatrixReader } from '@zxing/library';
|
||||
import { BrowserCodeReader } from './BrowserCodeReader';
|
||||
/**
|
||||
* QR Code reader to use from browser.
|
||||
*/
|
||||
export class BrowserDatamatrixCodeReader extends BrowserCodeReader {
|
||||
/**
|
||||
* Creates an instance of BrowserQRCodeReader.
|
||||
*/
|
||||
constructor(hints, options) {
|
||||
super(new DataMatrixReader(), hints, options);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=BrowserDatamatrixCodeReader.js.map
|
||||
Reference in New Issue
Block a user