@pixelverse/strichjs-sdk 1.10.1 → 1.11.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,26 @@
2
2
 
3
3
  The structure of this file follows the recommendations from: https://keepachangelog.com/en/1.1.0/
4
4
 
5
+ ## [1.11.0] - 2025-10-27
6
+
7
+ ### Added
8
+
9
+ - 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).
10
+ - Zoom can alternatively be toggled by double-tapping the camera feed. This behavior can be controlled with the new `zoomOnDoubleTap` config option.
11
+ - 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.
12
+ - The overlay controls (camera selector, zoom and flashlight) are now animated, unless the browser indicates that it prefers reduced motion.
13
+ -
14
+ ### Changed
15
+
16
+ - Refreshed the camera selector to look and feel more intuitive while reducing UI clutter by no longer displaying the currently selected camera.
17
+ - 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.
18
+ - 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.
19
+
20
+ ### Fixed
21
+
22
+ - Flashlight icon no longer appears blurry on devices with high DPI displays.
23
+ - Improved the display of the built-in logo in the overlay and reduced its size.
24
+
5
25
  ## [1.10.1] - 2025-10-06
6
26
 
7
27
  ### Changed