@pixelverse/strichjs-sdk 1.0.0 → 1.0.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 +18 -0
- package/dist/strich.d.ts +10 -0
- package/dist/strich.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.2] - 2023-03-23
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Activated custom logo on overlay feature (Enterprise-only).
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Added missing fallback to medium precision on devices which do not support WebGL high precision floats.
|
|
12
|
+
|
|
13
|
+
## [1.0.1] - 2023-03-20
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Gracefully handle the situation where MediaStream does not implement getCapabilities() (e.g. Firefox Android).
|
|
18
|
+
- Avoid spurious exception after BarcodeReader.destroy() from an asynchronous overlay update in destroyed state
|
|
19
|
+
- Aztec code detection rectangle was not displayed on overlay for some non-compact Aztec codes.
|
|
20
|
+
|
|
3
21
|
## [1.0.0] - 2023-03-15
|
|
4
22
|
|
|
5
23
|
_This is the first public release. A special thank you to all pilot users for getting us here!_
|
package/dist/strich.d.ts
CHANGED
|
@@ -159,6 +159,16 @@ export interface OverlayConfiguration {
|
|
|
159
159
|
* @default true
|
|
160
160
|
*/
|
|
161
161
|
showFlashlight?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Override the STRICH logo displayed in the bottom-right corner with a custom image.
|
|
164
|
+
*
|
|
165
|
+
* The image is supplied as a URL (e.g. https://example.com/assets/overlay.png) or inline as a data URL
|
|
166
|
+
* (recommended, avoids network request). The image should have a transparent background (WebP or PNG format
|
|
167
|
+
* recommended) and a recommended size of 140x30 pixels.
|
|
168
|
+
*
|
|
169
|
+
* This is an enterprise-only capability.
|
|
170
|
+
*/
|
|
171
|
+
customLogoSrc?: string;
|
|
162
172
|
}
|
|
163
173
|
/**
|
|
164
174
|
* User feedback configuration
|