@pixelverse/strichjs-sdk 1.0.6 → 1.0.8

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
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.8] - 2023-05-11
4
+
5
+ ### Added
6
+
7
+ - Not calling BarcodeReader.destroy() after no longer needing a BarcodeReader is a common cause of camera access errors. A warning is now logged to the browser console if a BarcodeReader is initialized when another instance remains that was not destroyed yet.
8
+ - If no Region of Interest is specified in the configuration, an appropriately sized region will now be automatically selected based on the configured symbologies.
9
+
10
+ ### Fixed
11
+
12
+ - The horizontal targeting line in the scanning overlay was not being shown if all symbologies were enabled.
13
+
14
+ ## [1.0.7] - 2023-05-06
15
+
16
+ ### Fixed
17
+
18
+ - When a BarcodeReader was used in standalone display mode on iOS (PWA, added to home screen), camera access was lost when the user unfocused the PWA. An error is now displayed in this case, along with a button to resume scanning.
19
+
20
+ ### Changed
21
+
22
+ - Clarified acceptable use of StrichSDK.setCustomId(), personally identifying data must not be sent.
23
+
3
24
  ## [1.0.6] - 2023-04-19
4
25
 
5
26
  ### Fixed
package/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # STRICH JavaScript SDK
2
2
 
3
- Fast, reliable barcode scanning for web apps.
3
+ To get started with the STRICH SDK, check out the [Getting Started](https://strich.io/getting-started.html) guide.
4
4
 
5
- Get started with the STRICH SDK by visiting the [Customer Portal](https://portal.strich.io) and signing up for a license key.
5
+ For detailed information on the API, refer to the [Reference Documentation](https://docs.strich.io/).
6
6
 
7
- STRICH is commercial software, its use is governed by the terms available in the Customer Portal.
7
+ For a list of recent changes, please refer to the [Changelog](https://docs.strich.io/CHANGELOG.md).
8
+
9
+ STRICH is commercial software, its use is governed by the terms of the
10
+ Subscription License Agreement available in the Customer Portal.
package/dist/strich.d.ts CHANGED
@@ -93,6 +93,8 @@ export interface EngineConfiguration {
93
93
  * It is highly recommended to configure only the symbologies required by
94
94
  * your application.
95
95
  *
96
+ * An empty array or undefined is interpreted as 'all symbologies enabled'.
97
+ *
96
98
  * @default undefined (all symbologies enabled - NOT RECOMMENDED)
97
99
  */
98
100
  symbologies?: SymbologyName[];
@@ -276,10 +278,11 @@ export class StrichSDK {
276
278
  /**
277
279
  * Set custom ID for analytics.
278
280
  *
279
- * The custom ID is independent of the device ID, and can be used for machine identifiers, user identifiers or any
280
- * other identifiers.
281
+ * The custom ID is independent of the device ID, and can be used for custom device
282
+ * identifiers, location identifiers or anonymous user identifiers.
281
283
  *
282
- * If the custom ID includes user-identifying data, you are responsible for obtaining consent.
284
+ * USING THE CUSTOM ID TO TRANSMIT PERSONALLY IDENTIFYING DATA IS FORBIDDEN AND
285
+ * CONSTITUTES A BREACH OF THE TERMS OF THE LICENSE AGREEMENT.
283
286
  *
284
287
  * @param customId The custom ID. Use `null` to unset the custom ID.
285
288
  * @default No custom ID is set by default