uqudosdk-react-native 2.7.0-1 → 2.7.0-2

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,3 +1,7 @@
1
+ ## 2.7.0-2
2
+
3
+ * Fixed incorrect property in UQFacialRecognitionConfig.
4
+
1
5
  ## 2.7.0-1
2
6
 
3
7
  * Fixed syntax error in the DocumentType enum.
package/ios/UqudoId.m CHANGED
@@ -78,7 +78,7 @@ RCT_EXPORT_METHOD(enroll:(NSString *)enrollObj resolver:(RCTPromiseResolveBlock)
78
78
  if (facialRecognitionSpecification[@"maxAttempts"]) {
79
79
  int maxAttempts = [[facialRecognitionSpecification valueForKey:@"maxAttempts"] intValue];
80
80
  if (maxAttempts > 0) {
81
- config.facialRecognitionMaxAttempts = maxAttempts;
81
+ config.maxAttempts = maxAttempts;
82
82
  }
83
83
  }
84
84
  if (facialRecognitionSpecification[@"allowClosedEyes"]) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "uqudosdk-react-native",
3
3
  "title": "React Native UqudoId",
4
- "version": "2.7.0-1",
4
+ "version": "2.7.0-2",
5
5
  "description": "Uqudo SDK react native module",
6
6
  "main": "index.js",
7
7
  "author": {