@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.
@@ -76,6 +76,6 @@ repositories {
76
76
  }
77
77
 
78
78
  dependencies {
79
- api "ai.shen:shenai-sdk:3.1.8"
79
+ api "ai.shen:shenai-sdk:3.1.10"
80
80
  implementation "com.facebook.react:react-native:+"
81
81
  }
@@ -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["UNKNOWN"] = 5] = "UNKNOWN";
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
- UNKNOWN = 5
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shenai/react-native-sdk",
3
- "version": "3.1.8",
3
+ "version": "3.1.10",
4
4
  "private": false,
5
5
  "description": "Shen.AI SDK for React Native.",
6
6
  "main": "lib/module/index.js",
@@ -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.8"
16
+ s.dependency "ShenaiSDK", "3.1.10"
17
17
 
18
18
  if respond_to?(:install_modules_dependencies, true)
19
19
  install_modules_dependencies(s)