dynamsoft-barcode-reader-bundle 11.6.3200 → 11.6.5000-beta-202611011740

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.
@@ -1482,13 +1482,13 @@ declare class CaptureVisionRouter {
1482
1482
  static _defaultTemplate: string;
1483
1483
  /**
1484
1484
  * The maximum length of the longer side of the image to be processed. The default value is 2048 pixels in mobile devices and 4096 pixels in desktop browser.
1485
- */
1485
+ */
1486
1486
  maxImageSideLength: number;
1487
1487
  /**
1488
- * An event that fires during the loading of a recognition data file (.data).
1489
- * @param filePath The path of the recognition data file.
1490
- * @param tag Indicates the ongoing status of the file download ("starting", "in progress", "completed").
1491
- * @param progress An object indicating the progress of the download, with `loaded` and `total` bytes.
1488
+ * An event that fires during the loading of a recognition data file (.data).
1489
+ * @param filePath The path of the recognition data file.
1490
+ * @param tag Indicates the ongoing status of the file download ("starting", "in progress", "completed").
1491
+ * @param progress An object indicating the progress of the download, with `loaded` and `total` bytes.
1492
1492
  */
1493
1493
  static onDataLoadProgressChanged: (filePath: string, tag: "starting" | "in progress" | "completed", progress: {
1494
1494
  loaded: number;
@@ -1497,10 +1497,11 @@ declare class CaptureVisionRouter {
1497
1497
  /**
1498
1498
  * An event that fires when an error occurs from the start of capturing process.
1499
1499
  * @param error The error object that contains the error code and error string.
1500
- */
1500
+ */
1501
1501
  onCaptureError: (error: Error) => void;
1502
1502
  provideDsImage: DSImageData;
1503
1503
  _instanceID: number;
1504
+ private static _finalizationRegistry;
1504
1505
  private _loopReadVideoTimeoutId;
1505
1506
  private _isOutputOriginalImage;
1506
1507
  private _isOpenDetectVerify;
@@ -1508,9 +1509,6 @@ declare class CaptureVisionRouter {
1508
1509
  private _isOpenBarcodeVerify;
1509
1510
  private _isOpenLabelVerify;
1510
1511
  private _minImageCaptureInterval;
1511
- private _averageProcessintTimeArray;
1512
- private _averageFetchImageTimeArray;
1513
- private _averageTime;
1514
1512
  private _dynamsoft;
1515
1513
  private _enhancedFeaturesIrr;
1516
1514
  private _templateName;
@@ -1720,8 +1718,7 @@ declare class CaptureVisionRouter {
1720
1718
  models: string[];
1721
1719
  specss: string[];
1722
1720
  }>;
1723
- static disposeCvrWasm(instanceID: number): void;
1724
- static _fr4DisposeCvrWasm: FinalizationRegistry<number>;
1721
+ static autoDispose(instanceID: number): void;
1725
1722
  /**
1726
1723
  * Releases all resources used by the `CaptureVisionRouter` instance.
1727
1724
  *
@@ -2351,6 +2348,7 @@ interface ParsedResultItem extends CapturedResultItem {
2351
2348
  }
2352
2349
 
2353
2350
  declare class CodeParser {
2351
+ private static _finalizationRegistry;
2354
2352
  private _instanceID;
2355
2353
  /**
2356
2354
  * Initializes a new instance of the `CodeParser` class.
@@ -2358,6 +2356,7 @@ declare class CodeParser {
2358
2356
  * @returns A promise that resolves with the initialized `CodeParser` instance.
2359
2357
  */
2360
2358
  static createInstance(): Promise<CodeParser>;
2359
+ static autoDispose(instanceID: number): void;
2361
2360
  /**
2362
2361
  * Releases all resources used by the `CodeParser` instance.
2363
2362
  *
@@ -3320,14 +3319,6 @@ export type { CBarcodeResultItem, CDecodedBarcodeElement, CEdge, CLocalizedBarco
3320
3319
 
3321
3320
 
3322
3321
 
3323
-
3324
-
3325
-
3326
-
3327
-
3328
-
3329
-
3330
-
3331
3322
 
3332
3323
  declare enum EnumScanMode {
3333
3324
  SM_SINGLE = 0,
@@ -3623,6 +3614,7 @@ declare class Camera {
3623
3614
  width?: ConstrainULong;
3624
3615
  height?: ConstrainULong;
3625
3616
  aspectRatio?: ConstrainDouble;
3617
+ resizeMode?: string;
3626
3618
  }): Promise<void>;
3627
3619
  requestResolution(notRequired: null): Promise<void>;
3628
3620
  requestResolution(resetToDefault: undefined): Promise<void>;