@regulaforensics/face-sdk 8.4.1409-nightly → 8.4.1412-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.
- package/Package.swift +1 -1
- package/android/build.gradle.kts +1 -1
- package/android/cordova.gradle.kts +1 -1
- package/android/src/main/kotlin/com/regula/plugin/face/sdk/JSONConstructor.kt +1 -1
- package/examples/capacitor/package.json +2 -2
- package/examples/ionic/package.json +2 -2
- package/examples/react_native/package.json +2 -2
- package/ios/Decoder.swift +1 -1
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/react-native-face-sdk.podspec +2 -2
- package/www/capacitor/person_database/search_person_filter.js +1 -1
- package/www/cordova.js +1 -1
- package/www/react-native/person_database/search_person_filter.js +1 -1
- package/www/types/person_database/search_person_filter.d.ts +2 -2
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.
|
|
13
|
+
exact: "8.4.5005-nightly"
|
|
14
14
|
)
|
|
15
15
|
],
|
|
16
16
|
targets: [
|
package/android/build.gradle.kts
CHANGED
|
@@ -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.
|
|
34
|
+
implementation("com.regula.face:api:8.4.5426") {
|
|
35
35
|
isTransitive = true
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -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.
|
|
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.
|
|
10
|
-
"@regulaforensics/face-core-basic": "8.4.
|
|
9
|
+
"@regulaforensics/face-sdk": "8.4.1412-nightly",
|
|
10
|
+
"@regulaforensics/face-core-basic": "8.4.860-nightly",
|
|
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.
|
|
24
|
-
"@regulaforensics/face-core-basic": "8.4.
|
|
23
|
+
"@regulaforensics/face-sdk": "8.4.1412-nightly",
|
|
24
|
+
"@regulaforensics/face-core-basic": "8.4.860-nightly",
|
|
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.
|
|
12
|
-
"@regulaforensics/face-core-basic": "8.4.
|
|
11
|
+
"@regulaforensics/face-sdk": "8.4.1412-nightly",
|
|
12
|
+
"@regulaforensics/face-core-basic": "8.4.860-nightly",
|
|
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 =
|
|
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.
|
|
3
|
+
"version": "8.4.1412-nightly",
|
|
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.
|
|
2
|
+
<plugin id="@regulaforensics/face-sdk" version="8.4.1412-nightly" 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.
|
|
30
|
+
<pod name="FaceSDKNightly" spec="8.4.5005" 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.
|
|
3
|
+
s.version = '8.4.1412-nightly'
|
|
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.
|
|
12
|
+
s.dependency 'FaceSDKNightly', '8.4.5005'
|
|
13
13
|
s.dependency 'React'
|
|
14
14
|
end
|
package/www/cordova.js
CHANGED
|
@@ -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
|