react-native-scanbot-barcode-scanner-sdk 3.3.0-beta1 → 3.3.0-beta3

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.
@@ -28,6 +28,8 @@ static inline SBSDKBarcodeType* barcodeTypeFromString(NSString* string) {
28
28
  if ([string isEqualToString:@"MSI_PLESSEY"]) return SBSDKBarcodeTypeMSIPlessey;
29
29
  if ([string isEqualToString:@"RSS_14"]) return SBSDKBarcodeTypeRSS14;
30
30
  if ([string isEqualToString:@"RSS_EXPANDED"]) return SBSDKBarcodeTypeRSSExpanded;
31
+ if ([string isEqualToString:@"IATA_2_OF_5"]) return SBSDKBarcodeTypeIATA2Of5;
32
+ if ([string isEqualToString:@"INDUSTRIAL_2_OF_5"]) return SBSDKBarcodeTypeIndustrial2Of5;
31
33
  return nil;
32
34
  }
33
35
 
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.3.0-beta1",
4
+ "version": "3.3.0-beta3",
5
5
  "description": "Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -90,16 +90,6 @@ export interface FinderConfig {
90
90
  * The finder view rectangle aspect ratio
91
91
  */
92
92
  finderAspectRatio?: FinderAspectRatio;
93
- /**
94
- * The finder view minimum padding from the bounds of the screen
95
- */
96
- finderMinimumPadding?: number;
97
- /**
98
- * How many pixel units the finder view should be moved vertically;
99
- *
100
- * Positive values -> (UP); Negative values -> (DOWN)
101
- */
102
- finderVerticalOffset?: number;
103
93
  /**
104
94
  * Set the finderInsets left, top, bottom, right
105
95
  */
package/src/enum.ts CHANGED
@@ -58,6 +58,8 @@ export type BarcodeFormat =
58
58
  "UPC_A" |
59
59
  "UPC_E" |
60
60
  "UNKNOWN" |
61
+ "IATA_2_OF_5" |
62
+ "INDUSTRIAL_2_OF_5" |
61
63
  "MSI_PLESSEY";
62
64
 
63
65
  export type EngineMode = "LEGACY" | "NEXT_GEN";