@regulaforensics/react-native-document-reader-api 7.5.739-nightly → 7.5.742-nightly

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.
@@ -10,8 +10,8 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "@regulaforensics/react-native-document-reader-api": "7.5.739-nightly",
14
- "@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.5.767-nightly",
13
+ "@regulaforensics/react-native-document-reader-api": "7.5.742-nightly",
14
+ "@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.5.769-nightly",
15
15
  "react-native-progress": "5.0.0",
16
16
  "react-native-radio-buttons-group": "3.0.5",
17
17
  "@rneui/base": "4.0.0-rc.7",
package/index.d.ts CHANGED
@@ -1474,7 +1474,7 @@ export class DocumentReaderValidity {
1474
1474
  export class OnlineProcessingConfig {
1475
1475
  mode?: number
1476
1476
  url?: string
1477
- processParam?: ProcessParams
1477
+ processParams?: ProcessParams
1478
1478
  imageFormat?: number
1479
1479
  imageCompressionQuality?: number
1480
1480
 
@@ -1484,7 +1484,7 @@ export class OnlineProcessingConfig {
1484
1484
 
1485
1485
  result.mode = jsonObject["mode"]
1486
1486
  result.url = jsonObject["url"]
1487
- result.processParam = ProcessParams.fromJson(jsonObject["processParam"])
1487
+ result.processParams = ProcessParams.fromJson(jsonObject["processParams"])
1488
1488
  result.imageFormat = jsonObject["imageFormat"]
1489
1489
  result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
1490
1490
 
package/index.js CHANGED
@@ -995,7 +995,7 @@ export class OnlineProcessingConfig {
995
995
 
996
996
  result.mode = jsonObject["mode"]
997
997
  result.url = jsonObject["url"]
998
- result.processParam = ProcessParams.fromJson(jsonObject["processParam"])
998
+ result.processParams = ProcessParams.fromJson(jsonObject["processParams"])
999
999
  result.imageFormat = jsonObject["imageFormat"]
1000
1000
  result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
1001
1001
 
package/ios/RGLWConfig.m CHANGED
@@ -68,10 +68,6 @@
68
68
  if([options valueForKey:@"zoomFactor"] != nil)
69
69
  functionality.zoomFactor = [[options valueForKey:@"zoomFactor"] floatValue];
70
70
 
71
- // JSONObject
72
- if([options valueForKey:@"onlineProcessingConfiguration"] != nil)
73
- functionality.onlineProcessingConfig = [RGLWJSONConstructor onlineProcessingConfigFromJson:[options valueForKey:@"onlineProcessingConfiguration"]];
74
-
75
71
  // Custom
76
72
  // in android - cameraSize
77
73
  if([options valueForKey:@"videoSessionPreset"] != nil)
@@ -116,9 +112,6 @@
116
112
  // Float
117
113
  result[@"zoomFactor"] = [NSNumber numberWithFloat:functionality.zoomFactor];
118
114
 
119
- // JSONObject
120
- result[@"onlineProcessingConfiguration"] = [RGLWJSONConstructor generateOnlineProcessingConfig:functionality.onlineProcessingConfig];
121
-
122
115
  // Custom
123
116
  // in android - cameraSize
124
117
  result[@"videoSessionPreset"] = [self generateCaptureSessionPreset:functionality.videoSessionPreset];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/react-native-document-reader-api",
3
- "version": "7.5.739-nightly",
3
+ "version": "7.5.742-nightly",
4
4
  "description": "React Native module for reading and validation of identification documents (API framework)",
5
5
  "main": "index.js",
6
6
  "scripts": {