@pixelverse/strichjs-sdk 1.5.0 → 1.5.2
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 +27 -0
- package/dist/strich-noesm.js +13 -13
- package/dist/strich.d.ts +23 -8
- package/dist/strich.js +13 -13
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
The structure of this file follows the recommendations from: https://keepachangelog.com/en/1.1.0/
|
|
4
4
|
|
|
5
|
+
## [1.5.2] - 2024-09-18
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Add a utility method `StrichSDK.getCameraPermissionState()` that returns the current state of the camera permission: `granted`, `denied`, `prompt` or `unknown`. It relies on the Permissions API which is supported by all major browsers except Firefox. Invoking the method on a browser that does not support the Permissions API will return `unknown`.
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- If all symbologies are enabled by omitting or specifying an empty `symbologies` array in the configuration, an error message is now logged to the browser console using WARN log level. Previously this was logged by the WebAssembly engine and logged using the normal log level. This change has no impact on customers, and we maintain that logging this state as a warning makes sense, as it indicates a misconfiguration of the SDK.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Further decreased EAN/UPC barcode misread rates by performing additional checks on the barcode structure.
|
|
18
|
+
- Fixed lower recognition rates due to too aggressive quiet zone checks.
|
|
19
|
+
- Some error messages that were created due to malformed JSON configuration were not propagated from the WebAssembly engine to the `detailMessage` of the `SdkError`.
|
|
20
|
+
- Fixed a rare issue where initializing a `BarcodeReader` with a bad JSON configuration prevented further attempts at initializing it with a correct one.
|
|
21
|
+
|
|
22
|
+
## [1.5.1] - 2024-08-26
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- It is now possible to set the minimum size of the quiet zone for 1D symbologies, using the `qz` symbology parameter. There should rarely be a need to change this parameter, but especially for symbologies with weak checksums, it can make sense to use a more strict value.
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- Fixed frequent short scans for Codabar symbology because of insufficient quiet zone check.
|
|
31
|
+
|
|
5
32
|
## [1.5.0] - 2024-08-22
|
|
6
33
|
|
|
7
34
|
This is a major release with extensive under-the-hood improvements. No changes to existing configurations are necessary.
|