@regulaforensics/face-sdk 8.4.1409-nightly → 8.4.1410-rc

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.swift CHANGED
@@ -10,7 +10,7 @@ let package = Package(
10
10
  .package(url: "https://github.com/apache/cordova-ios.git", branch: "master"),
11
11
  .package(
12
12
  url: "https://github.com/regulaforensics/FaceSDK-Swift-Package",
13
- exact: "8.4.4999-nightly"
13
+ exact: "8.4.5001-rc"
14
14
  )
15
15
  ],
16
16
  targets: [
@@ -31,7 +31,7 @@ dependencies {
31
31
  //noinspection GradleDynamicVersion
32
32
  implementation("com.facebook.react:react-native:+")
33
33
  //noinspection GradleDependency
34
- implementation("com.regula.face:api:8.4.5416") {
34
+ implementation("com.regula.face:api:8.4.5421") {
35
35
  isTransitive = true
36
36
  }
37
37
  }
@@ -11,7 +11,7 @@ repositories {
11
11
 
12
12
  dependencies {
13
13
  //noinspection GradleDependency
14
- add("implementation", "com.regula.face:api:8.4.5416") {
14
+ add("implementation", "com.regula.face:api:8.4.5421") {
15
15
  isTransitive = true
16
16
  }
17
17
  }
@@ -1045,7 +1045,7 @@ fun generateSearchPerson(input: SearchPerson?) = input?.let {
1045
1045
  fun searchPersonFilterFromJSON(input: JSONObject?) = input?.let {
1046
1046
  val result = SearchPersonFilter()
1047
1047
  result.groups = it.getJSONArray("groups").toArray<String>()
1048
- result.threshold = it.get("threshold").toFloat()
1048
+ result.threshold = it.getDoubleOrNull("threshold")?.toFloat()
1049
1049
  result.limit = it.getInt("limit")
1050
1050
  val fieldName = it.getStringOrNull("fieldName")
1051
1051
  val fieldValues = it.getJSONArrayOrNull("fieldValues").toArray<String>()
@@ -6,8 +6,8 @@
6
6
  "android": "scripts/android.sh"
7
7
  },
8
8
  "dependencies": {
9
- "@regulaforensics/face-sdk": "8.4.1409-nightly",
10
- "@regulaforensics/face-core-basic": "8.4.857-nightly",
9
+ "@regulaforensics/face-sdk": "8.4.1410-rc",
10
+ "@regulaforensics/face-core-basic": "8.3.683",
11
11
  "@capacitor/dialog": "^8.0.0",
12
12
  "@capacitor/cli": "^8.5.2",
13
13
  "@capacitor/core": "^8.5.2",
@@ -20,8 +20,8 @@
20
20
  "@awesome-cordova-plugins/camera": "^9.6.0",
21
21
  "@awesome-cordova-plugins/dialogs": "^9.6.0",
22
22
  "@awesome-cordova-plugins/file": "^9.6.0",
23
- "@regulaforensics/face-sdk": "8.4.1409-nightly",
24
- "@regulaforensics/face-core-basic": "8.4.857-nightly",
23
+ "@regulaforensics/face-sdk": "8.4.1410-rc",
24
+ "@regulaforensics/face-core-basic": "8.3.683",
25
25
  "cordova-android": "^15.1.0",
26
26
  "cordova-ios": "^8.1.1",
27
27
  "cordova-plugin-camera": "^8.0.0",
@@ -8,8 +8,8 @@
8
8
  "start": "expo start --port \"$npm_package_config_metroPort\""
9
9
  },
10
10
  "dependencies": {
11
- "@regulaforensics/face-sdk": "8.4.1409-nightly",
12
- "@regulaforensics/face-core-basic": "8.4.857-nightly",
11
+ "@regulaforensics/face-sdk": "8.4.1410-rc",
12
+ "@regulaforensics/face-core-basic": "8.3.683",
13
13
  "react-native": "0.88.0-rc.0",
14
14
  "react-native-fs": "^2.20.0",
15
15
  "react-native-image-picker": "^8.2.1",
package/ios/Decoder.swift CHANGED
@@ -1002,7 +1002,7 @@ public extension SearchPersonFilter {
1002
1002
  let it = it as! [String: Any]
1003
1003
  let result = Self()
1004
1004
  result.groups = it["groups"] as! [String]
1005
- result.threshold = CGFloat(truncating: it["threshold"] as! NSNumber)
1005
+ result.threshold = it["threshold"] as! NSNumber?
1006
1006
  result.limit = it["limit"] as! Int
1007
1007
  result.setValue(it["fieldName"] as Any?, forKey: "fieldName")
1008
1008
  result.setValue(it["fieldValues"] as Any?, forKey: "fieldValues")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/face-sdk",
3
- "version": "8.4.1409-nightly",
3
+ "version": "8.4.1410-rc",
4
4
  "description": "This is an npm module for Regula Face SDK. It allows you to easily compaire faces using your phone's camera.",
5
5
  "main": "www/react-native/index.js",
6
6
  "module": "www/capacitor/index.js",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/face-sdk" version="8.4.1409-nightly" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/face-sdk" version="8.4.1410-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
3
  <name>FaceSDK</name>
4
4
  <description>Cordova plugin for Regula Face SDK</description>
5
5
  <license>commercial</license>
@@ -27,7 +27,7 @@
27
27
  <source url="https://github.com/regulaforensics/podspecs.git" />
28
28
  </config>
29
29
  <pods>
30
- <pod name="FaceSDKNightly" spec="8.4.4999" nospm="true" />
30
+ <pod name="FaceSDKStage" spec="8.4.5001" nospm="true" />
31
31
  </pods>
32
32
  </podspec>
33
33
  </platform>
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'react-native-face-sdk'
3
- s.version = '8.4.1409-nightly'
3
+ s.version = '8.4.1410-rc'
4
4
  s.summary = 'Regula React Native plugin.'
5
5
  s.license = 'commercial'
6
6
  s.authors = { 'RegulaForensics' => 'support@regulaforensics.com' }
@@ -9,6 +9,6 @@ Pod::Spec.new do |s|
9
9
  s.ios.deployment_target = '15.0'
10
10
  s.source_files = [ 'ios/*.swift', 'ios/RN*.m' ]
11
11
  s.exclude_files = [ 'ios/CDVFaceSDK.swift' ]
12
- s.dependency 'FaceSDKNightly', '8.4.4999'
12
+ s.dependency 'FaceSDKStage', '8.4.5001'
13
13
  s.dependency 'React'
14
14
  end
@@ -13,9 +13,12 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/face-sdk",
16
- "version": "1.0.0",
16
+ "version": "8.4.1410-rc",
17
17
  "dev": true,
18
- "license": "commercial"
18
+ "license": "commercial",
19
+ "dependencies": {
20
+ "@expo/config-plugins": "^10.0.0"
21
+ }
19
22
  },
20
23
  "node_modules/@esbuild/aix-ppc64": {
21
24
  "version": "0.25.9",
@@ -8,7 +8,7 @@ export class SearchPersonFilter {
8
8
 
9
9
  constructor(options) {
10
10
  this.groups = options?.groups ?? []
11
- this.threshold = options?.threshold ?? 0
11
+ this.threshold = options?.threshold
12
12
  this.limit = options?.limit ?? 1
13
13
  }
14
14
 
package/www/cordova.js CHANGED
@@ -4832,7 +4832,7 @@ class SearchPersonFilter {
4832
4832
 
4833
4833
  constructor(options) {
4834
4834
  this.groups = options?.groups ?? []
4835
- this.threshold = options?.threshold ?? 0
4835
+ this.threshold = options?.threshold
4836
4836
  this.limit = options?.limit ?? 1
4837
4837
  }
4838
4838
 
@@ -8,7 +8,7 @@ export class SearchPersonFilter {
8
8
 
9
9
  constructor(options) {
10
10
  this.groups = options?.groups ?? []
11
- this.threshold = options?.threshold ?? 0
11
+ this.threshold = options?.threshold
12
12
  this.limit = options?.limit ?? 1
13
13
  }
14
14
 
@@ -1,6 +1,6 @@
1
1
  export class SearchPersonFilter {
2
2
  groups: string[]
3
- threshold: number
3
+ threshold: number | null
4
4
  limit: number
5
5
  get fieldName(): string | null
6
6
  get fieldValues(): string[] | null
@@ -8,8 +8,8 @@ export class SearchPersonFilter {
8
8
 
9
9
  constructor(options?: {
10
10
  groups?: string[]
11
- threshold?: number
12
11
  limit?: number
12
+ threshold?: number
13
13
  })
14
14
 
15
15
  filterField(fieldName: string, fieldValues: string[], options?: { exclude?: boolean }): void