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

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-beta2",
5
5
  "description": "Scanbot Barcode Scanner SDK React Native Plugin for Android and iOS",
6
6
  "main": "index.js",
7
7
  "files": [
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";