@shenai/react-native-sdk 3.1.8 → 3.1.10
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/android/build.gradle
CHANGED
package/lib/module/index.js
CHANGED
|
@@ -403,7 +403,8 @@ export let FaceState = /*#__PURE__*/function (FaceState) {
|
|
|
403
403
|
FaceState[FaceState["TOO_CLOSE"] = 2] = "TOO_CLOSE";
|
|
404
404
|
FaceState[FaceState["NOT_CENTERED"] = 3] = "NOT_CENTERED";
|
|
405
405
|
FaceState[FaceState["NOT_VISIBLE"] = 4] = "NOT_VISIBLE";
|
|
406
|
-
FaceState[FaceState["
|
|
406
|
+
FaceState[FaceState["TURNED_AWAY"] = 5] = "TURNED_AWAY";
|
|
407
|
+
FaceState[FaceState["UNKNOWN"] = 6] = "UNKNOWN";
|
|
407
408
|
return FaceState;
|
|
408
409
|
}({});
|
|
409
410
|
export async function getFaceState() {
|
|
@@ -255,7 +255,8 @@ export declare const enum FaceState {
|
|
|
255
255
|
TOO_CLOSE = 2,
|
|
256
256
|
NOT_CENTERED = 3,
|
|
257
257
|
NOT_VISIBLE = 4,
|
|
258
|
-
|
|
258
|
+
TURNED_AWAY = 5,
|
|
259
|
+
UNKNOWN = 6
|
|
259
260
|
}
|
|
260
261
|
export declare function getFaceState(): Promise<FaceState>;
|
|
261
262
|
export interface NormalizedFaceBbox {
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.platforms = { :ios => "14.0" }
|
|
14
14
|
s.source = { :path => "." }
|
|
15
15
|
s.source_files = "ios/**/*.{h,m,mm}"
|
|
16
|
-
s.dependency "ShenaiSDK", "3.1.
|
|
16
|
+
s.dependency "ShenaiSDK", "3.1.10"
|
|
17
17
|
|
|
18
18
|
if respond_to?(:install_modules_dependencies, true)
|
|
19
19
|
install_modules_dependencies(s)
|