@pixelverse/strichjs-sdk 1.4.9 → 1.5.0

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.
package/dist/strich.d.ts CHANGED
@@ -72,10 +72,6 @@ export declare interface CodeDetection {
72
72
  * The type of detected code.
73
73
  */
74
74
  typeName: string;
75
- /**
76
- * Supplemental data for this code.
77
- */
78
- supplementalData: string | null;
79
75
  /**
80
76
  * The bounding rectangle in which the code was detected.
81
77
  *
@@ -96,6 +92,10 @@ export declare interface CodeDetection {
96
92
  * The raw contained bytes contained in the code.
97
93
  */
98
94
  rawData: Uint8Array;
95
+ /**
96
+ * The ISO/IEC 15424 symbology identifier.
97
+ */
98
+ symbologyIdentifier: string;
99
99
  }
100
100
 
101
101
  /**
@@ -301,14 +301,14 @@ export declare interface LocatorConfiguration {
301
301
  */
302
302
  chromaReject?: boolean;
303
303
  /**
304
- * The locator implementation to use. This should normally not be changed, unless it is specifically required
305
- * to target WebGL 1.
304
+ * The locator implementation to use.
306
305
  *
307
- * @remarks This is an advanced setting and should normally not be changed, unless targeting WebGL1 and not
308
- * WebGL2 is explicitly required.
306
+ * @remarks This is an advanced setting and should normally not be changed. It used to be possible to force WebGL 1,
307
+ * but starting with 1.5, WebGL1 is no longer supported. This property might be used in the future to switch to a
308
+ * WebGPU-powered locator.
309
309
  * @defaultValue auto
310
310
  */
311
- impl?: 'auto' | 'webgl1' | 'webgl2';
311
+ impl?: 'auto' | 'webgl2';
312
312
  /**
313
313
  * Disable asynchronous reads from GPU when using `webgl2` {@link LocatorConfiguration.impl}.
314
314
  *
@@ -590,8 +590,10 @@ export declare class StrichSDK {
590
590
 
591
591
  /**
592
592
  * The supported symbologies.
593
+ *
594
+ * For more information, please visit https://docs.strich.io/supported-symbologies.html
593
595
  */
594
- export declare type SymbologyName = 'ean13' | 'ean8' | 'ean5' | 'ean2' | 'upca' | 'upce' | 'databar' | 'databar-exp' | 'code39' | 'code93' | 'code128' | 'i25' | 'codabar' | 'qr' | 'aztec' | 'datamatrix' | 'pdf417';
596
+ export declare type SymbologyName = 'ean13' | 'ean8' | 'upca' | 'upce' | 'databar' | 'databar-exp' | 'code39' | 'code93' | 'code128' | 'i25' | 'codabar' | 'qr' | 'aztec' | 'datamatrix' | 'pdf417';
595
597
 
596
598
  /**
597
599
  * For variable-length symbologies, min/max length can be specified in addition to the symbology.