scanbot-web-sdk 8.0.1 → 8.0.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/@types/barcode-scanner-view.d.ts +1 -0
  2. package/@types/model/configuration/barcode-scanner-view-configuration.d.ts +1 -0
  3. package/@types/utils/fps-limiter.d.ts +6 -0
  4. package/bundle/ScanbotSDK.min.js +3 -3
  5. package/bundle/ScanbotSDK.ui2.min.js +3 -3
  6. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  7. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  8. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  9. package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
  10. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  11. package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
  12. package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
  13. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
  14. package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  15. package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
  16. package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
  17. package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
  18. package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
  19. package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
  20. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
  21. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
  22. package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
  23. package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
  24. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
  25. package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
  26. package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
  27. package/package.json +1 -1
@@ -21,6 +21,7 @@ export default class BarcodeScannerView extends FinderScannerView<BarcodeScanner
21
21
  barcodeScannerHandle: BarcodeScanner | null;
22
22
  readonly barcodes: BarcodeItem[];
23
23
  private detectionRunning;
24
+ private fpsLimiter;
24
25
  constructor(props: BarcodeScannerProps);
25
26
  get configuration(): BarcodeScannerViewConfiguration;
26
27
  get enabled(): boolean;
@@ -33,5 +33,6 @@ export declare class BarcodeScannerViewConfiguration extends ViewFinderScannerCo
33
33
  * A lower value will result in faster processing times but may reduce recognition quality.
34
34
  */
35
35
  desiredRecognitionResolution?: number;
36
+ fpsLimit?: number;
36
37
  static fromJson(json: any): BarcodeScannerViewConfiguration;
37
38
  }
@@ -0,0 +1,6 @@
1
+ export declare class FpsLimiter {
2
+ private fpsLimit?;
3
+ constructor(fpsLimit?: number);
4
+ private lastLapTime;
5
+ lap(): Promise<void>;
6
+ }