react-native-scanbot-barcode-scanner-sdk 3.7.0-beta.5 → 3.7.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-scanbot-barcode-scanner-sdk",
3
3
  "title": "Scanbot Barcode Scanner SDK for React Native",
4
- "version": "3.7.0-beta.5",
4
+ "version": "3.7.0",
5
5
  "description": "Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -38,6 +38,10 @@ export interface BarcodeScannerConfiguration extends InternalBarcodeDetectionCom
38
38
  * Freezes a preview after a scan for a given amount of seconds. Defaults to 0 secs. Android only.
39
39
  */
40
40
  delayAfterScan?: number;
41
+ /*
42
+ * Sets auto close timer in seconds. 0 = disabled and it is the default value.
43
+ */
44
+ autoCancelTimeout?: number;
41
45
  }
42
46
 
43
47
  /**
@@ -153,7 +157,7 @@ interface InternalBarcodeDetectionCommonParameters {
153
157
  */
154
158
  flashEnabled?: boolean;
155
159
  /**
156
- * Disables auto-focus and locks the lens at the specified focus lock lens position. Default value is false. iOS only. For Android, minFocusDistanceLock can be used.
160
+ * Disables auto-focus and locks the lens at the specified focus lock lens position. Default value is false. iOS only. For Android, minFocusDistanceLock can be used.
157
161
  */
158
162
  focusLockEnabled?: boolean;
159
163
  /**
@@ -222,7 +226,8 @@ interface InternalBarcodeDetectionCommonParameters {
222
226
  * */
223
227
  enableCameraExplanationText?: string;
224
228
  /**
225
- * The position of the lens. Values can be between 0.0f (minimum focusing distance) and 1.0f (maximum focusing distance). The value will be clamped to (0.0f, 1.0f). The default value is 0.0. iOS only. For Android, minFocusDistanceLock can be used. iOS only. For Android, minFocusDistanceLock can be used.
229
+ * The position of the lens. Values can be between 0.0f (minimum focusing distance) and 1.0f (maximum focusing distance).
230
+ * The value will be clamped to (0.0f, 1.0f). The default value is 0.0. iOS only. For Android, minFocusDistanceLock can be used.
226
231
  * */
227
232
  focusLockPosition?: number;
228
233
  /*
@@ -240,10 +245,6 @@ interface InternalBarcodeDetectionCommonParameters {
240
245
  */
241
246
  cameraZoomRange?: ZoomRange;
242
247
  /*
243
- * Sets auto close timer in seconds. 0 = disabled and it is the default value.
244
- */
245
- autoCancelTimeout?: number;
246
- /*
247
248
  * Scanning delay after scanner appearance in seconds. Defaults to 0 secs.
248
249
  */
249
250
  initialScanDelay?: number;