Add barcode-detector-api-polyfill dependency and update environment variable declarations in SvelteKit project
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
import { MultiFormatOneDReader } from '@zxing/library';
|
||||
import { BrowserCodeReader } from './BrowserCodeReader';
|
||||
/**
|
||||
* Reader to be used for any One Dimension type barcode.
|
||||
*/
|
||||
export class BrowserMultiFormatOneDReader extends BrowserCodeReader {
|
||||
/**
|
||||
* Creates an instance of BrowserBarcodeReader.
|
||||
* @param {Map<DecodeHintType, any>} hints?
|
||||
* @param options
|
||||
*/
|
||||
constructor(hints, options) {
|
||||
super(new MultiFormatOneDReader(hints), hints, options);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=BrowserMultiFormatOneDReader.js.map
|
||||
Reference in New Issue
Block a user