@pixelverse/strichjs-sdk 1.5.2 → 1.5.3
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/CHANGELOG.md +11 -0
- package/dist/strich-noesm.js +3 -3
- package/dist/strich.d.ts +15 -0
- package/dist/strich.js +3 -3
- package/package.json +1 -1
package/dist/strich.d.ts
CHANGED
|
@@ -626,6 +626,21 @@ export declare type SymbologySpec = {
|
|
|
626
626
|
* There is rarely a need to change the default.
|
|
627
627
|
*/
|
|
628
628
|
qz?: number;
|
|
629
|
+
/**
|
|
630
|
+
* The mode to use for symbologies which support an optional checksum mechanism.
|
|
631
|
+
*
|
|
632
|
+
* Setting the mode to `0` or leaving it unset disables processing of the checksum.
|
|
633
|
+
* `1` will expect the check digit to be present, validate the barcode data against it, and strip it from the
|
|
634
|
+
* transmitted data.
|
|
635
|
+
* `2` will validate and also transmit the check digit along with the data portion.
|
|
636
|
+
*
|
|
637
|
+
* @remarks
|
|
638
|
+
* Setting this option to `1` or `2` requires that all barcodes of this symbology include a check digit.
|
|
639
|
+
* Barcodes that lack the check digit will not be readable anymore.
|
|
640
|
+
*
|
|
641
|
+
* @defaultValue 0
|
|
642
|
+
*/
|
|
643
|
+
checksumMode?: number;
|
|
629
644
|
};
|
|
630
645
|
|
|
631
646
|
export { }
|