vue-qrcode-reader
Advanced tools
Comparing version 5.5.7 to 5.5.8
@@ -1,3 +0,11 @@ | ||
import { type DetectedBarcode, type BarcodeFormat } from 'barcode-detector/pure'; | ||
export declare const setScanningFormats: (formats: BarcodeFormat[]) => void; | ||
import { type DetectedBarcode, type BarcodeFormat, BarcodeDetector } from 'barcode-detector/pure'; | ||
declare global { | ||
interface Window { | ||
BarcodeDetector?: typeof BarcodeDetector; | ||
} | ||
} | ||
/** | ||
* Seamlessly updates the set of used barcode formats during scanning. | ||
*/ | ||
export declare function setScanningFormats(formats: BarcodeFormat[]): void; | ||
type ScanHandler = (_: DetectedBarcode[]) => void; | ||
@@ -4,0 +12,0 @@ /** |
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
export declare const indempotent: <T>(action: (x: any) => T) => (...args: any[]) => T; | ||
export declare const idempotent: <T>(action: (x: any) => T) => (...args: any[]) => T; | ||
/** | ||
@@ -8,0 +8,0 @@ * Throws an error if the `condition` in the first argument is `false`. |
{ | ||
"name": "vue-qrcode-reader", | ||
"version": "5.5.7", | ||
"version": "5.5.8", | ||
"description": "A set of Vue.js components for detecting and decoding QR codes.", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
195874
3684