@pixelverse/strichjs-sdk 1.10.1 → 1.12.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/CHANGELOG.md CHANGED
@@ -2,6 +2,44 @@
2
2
 
3
3
  The structure of this file follows the recommendations from: https://keepachangelog.com/en/1.1.0/
4
4
 
5
+ ## [1.12.0] - 2025-12-04
6
+
7
+ ### Added
8
+
9
+ - The Micro QR Code symbology (ISO/IEC 18004:2015) is now supported, it is enabled by passing the symbology name `microqr`.
10
+ - Added a method to `BarcodeReader.setZoom()` to programmatically toggle the zoom, if the current device supports it.
11
+ - Added a method to `BarcodeReader.setFlashlight()` to programmatically toggle the flashlight, if the current device supports it.
12
+ - The app-supplied detection handler can now return a boolean or array of booleans to indicate if the passed detections were handled or not. Unhandled detections are not drawn on the overlay, and no audio or vibration feedback is emitted. This change is backwards compatible with existing detection handlers that do not return a value, in which case all detections are marked as handled.
13
+
14
+ ### Changed
15
+
16
+ - The encoding of the JavaScript artifacts is now UTF-8 instead of ASCII, allowing for a smaller distribution size due to more efficient encoding of the bundled WASM module.
17
+ - Updated Emscripten compiler to 4.0.20.
18
+
19
+ ### Fixed
20
+
21
+ - An incorrect default camera was being selected on iPhones with three cameras when using a French locale.
22
+
23
+ ## [1.11.0] - 2025-10-27
24
+
25
+ ### Added
26
+
27
+ - Added an overlay to zoom the camera stream. The control is shown if the browser and the selected camera support it, and the `showZoom` config option to `true` (the default value).
28
+ - Zoom can alternatively be toggled by double-tapping the camera feed. This behavior can be controlled with the new `zoomOnDoubleTap` config option.
29
+ - Added `customLogoSize` overlay configuration parameter to set the size in CSS pixels at which the logo image should be rendered. If you provide a custom logo in a raster format such as PNG, JPEG or WEBP, you can use this parameter to make sure it is rendered at the correct size. For example, you can provide your logo at 210x60px resolution (3X), and set `customLogoSize` to `{ width: 70, height: 20 }` to make sure it is rendered crisply on high-density screens.
30
+ - The overlay controls (camera selector, zoom and flashlight) are now animated, unless the browser indicates that it prefers reduced motion.
31
+ -
32
+ ### Changed
33
+
34
+ - Refreshed the camera selector to look and feel more intuitive while reducing UI clutter by no longer displaying the currently selected camera.
35
+ - Custom logos in the overlay are no longer tinted with the color given through `primaryColor`, they are now rendered as-is, allowing use of colors different from the primary color.
36
+ - Custom logos are now rendered at their intrinsic size, unless overridden by specifying a width/height in `customLogoSize`. Previously, the provided image would be scaled down by a factor that depended on the device display density, resulting in inconsistent sizes.
37
+
38
+ ### Fixed
39
+
40
+ - Flashlight icon no longer appears blurry on devices with high DPI displays.
41
+ - Improved the display of the built-in logo in the overlay and reduced its size.
42
+
5
43
  ## [1.10.1] - 2025-10-06
6
44
 
7
45
  ### Changed