@regulaforensics/face-sdk 8.3.1195-rc → 8.3.1202-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/RNFaceSDK.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/facesdk/Config.kt +90 -90
- package/android/src/main/java/com/regula/plugin/facesdk/JSONConstructor.kt +98 -98
- package/android/src/main/java/com/regula/plugin/facesdk/Main.kt +35 -35
- package/examples/capacitor/package.json +2 -2
- package/examples/ionic/package.json +2 -2
- package/examples/react_native/package.json +2 -2
- package/ios/Config.swift +105 -105
- package/ios/Decoder.swift +67 -67
- package/ios/Main.swift +22 -22
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/package-lock.json +2 -5
- package/test/test.tsx +15 -15
- package/www/cordova.js +15 -15
- package/www/types/index.d.ts +24 -24
package/www/types/index.d.ts
CHANGED
|
@@ -122,13 +122,13 @@ export {
|
|
|
122
122
|
LivenessNotificationCompletion,
|
|
123
123
|
LivenessResponse,
|
|
124
124
|
LivenessStatus,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
125
|
+
EnrollmentConfig,
|
|
126
|
+
EnrollmentRequest,
|
|
127
|
+
VerificationConfig,
|
|
128
|
+
ErrorResponse,
|
|
129
|
+
EnrollmentResponse,
|
|
130
|
+
VerifyMatchResponse,
|
|
131
|
+
VerificationResponse,
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
import { ComparedFace } from './match_faces/compared_face'
|
|
@@ -283,23 +283,23 @@ export class FaceSDK {
|
|
|
283
283
|
}
|
|
284
284
|
): Promise<LivenessResponse>
|
|
285
285
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
286
|
+
startEnrollment(
|
|
287
|
+
config: EnrollmentConfig,
|
|
288
|
+
options?: {
|
|
289
|
+
notificationCompletion?: LivenessNotificationCompletion,
|
|
290
|
+
cameraSwitchCallback?: CameraSwitchCallback,
|
|
291
|
+
}
|
|
292
|
+
): Promise<[LivenessResponse, EnrollmentResponse | null]>
|
|
293
|
+
|
|
294
|
+
startVerification(
|
|
295
|
+
config: VerificationConfig,
|
|
296
|
+
options?: {
|
|
297
|
+
notificationCompletion?: LivenessNotificationCompletion,
|
|
298
|
+
cameraSwitchCallback?: CameraSwitchCallback,
|
|
299
|
+
}
|
|
300
|
+
): Promise<[LivenessResponse, VerificationResponse | null]>
|
|
301
|
+
|
|
302
|
+
enrollWithTrustedPhoto(request: EnrollmentRequest): Promise<EnrollmentResponse>
|
|
303
303
|
|
|
304
304
|
stopLiveness(): void
|
|
305
305
|
|