@shenai/capacitor-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.
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
12
12
  s.source = { :path => '.' }
13
13
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
14
  s.ios.deployment_target = '14.0'
15
- s.dependency 'ShenaiSDK', '3.1.8'
15
+ s.dependency 'ShenaiSDK', '3.1.10'
16
16
  s.dependency 'Capacitor'
17
17
  s.swift_version = '5.1'
18
18
  end
@@ -49,7 +49,7 @@ repositories {
49
49
  }
50
50
 
51
51
  dependencies {
52
- implementation "ai.shen:shenai-sdk:3.1.8"
52
+ implementation "ai.shen:shenai-sdk:3.1.10"
53
53
  implementation project(':capacitor-android')
54
54
  implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
55
55
  implementation "androidx.coordinatorlayout:coordinatorlayout:$androidxCoordinatorLayoutVersion"
package/dist/docs.json CHANGED
@@ -3099,6 +3099,11 @@
3099
3099
  "tags": [],
3100
3100
  "docs": ""
3101
3101
  },
3102
+ {
3103
+ "name": "TURNED_AWAY",
3104
+ "tags": [],
3105
+ "docs": ""
3106
+ },
3102
3107
  {
3103
3108
  "name": "UNKNOWN",
3104
3109
  "tags": [],
@@ -200,7 +200,8 @@ export declare enum FaceState {
200
200
  TOO_CLOSE = 2,
201
201
  NOT_CENTERED = 3,
202
202
  NOT_VISIBLE = 4,
203
- UNKNOWN = 5
203
+ TURNED_AWAY = 5,
204
+ UNKNOWN = 6
204
205
  }
205
206
  export interface NormalizedFaceBbox {
206
207
  x: number;
@@ -148,7 +148,8 @@ export var FaceState;
148
148
  FaceState[FaceState["TOO_CLOSE"] = 2] = "TOO_CLOSE";
149
149
  FaceState[FaceState["NOT_CENTERED"] = 3] = "NOT_CENTERED";
150
150
  FaceState[FaceState["NOT_VISIBLE"] = 4] = "NOT_VISIBLE";
151
- FaceState[FaceState["UNKNOWN"] = 5] = "UNKNOWN";
151
+ FaceState[FaceState["TURNED_AWAY"] = 5] = "TURNED_AWAY";
152
+ FaceState[FaceState["UNKNOWN"] = 6] = "UNKNOWN";
152
153
  })(FaceState || (FaceState = {}));
153
154
  export var MeasurementState;
154
155
  (function (MeasurementState) {
@@ -152,7 +152,8 @@ exports.FaceState = void 0;
152
152
  FaceState[FaceState["TOO_CLOSE"] = 2] = "TOO_CLOSE";
153
153
  FaceState[FaceState["NOT_CENTERED"] = 3] = "NOT_CENTERED";
154
154
  FaceState[FaceState["NOT_VISIBLE"] = 4] = "NOT_VISIBLE";
155
- FaceState[FaceState["UNKNOWN"] = 5] = "UNKNOWN";
155
+ FaceState[FaceState["TURNED_AWAY"] = 5] = "TURNED_AWAY";
156
+ FaceState[FaceState["UNKNOWN"] = 6] = "UNKNOWN";
156
157
  })(exports.FaceState || (exports.FaceState = {}));
157
158
  exports.MeasurementState = void 0;
158
159
  (function (MeasurementState) {
package/dist/plugin.js CHANGED
@@ -151,7 +151,8 @@ var capacitorShenaiSdkCapacitor = (function (exports, core) {
151
151
  FaceState[FaceState["TOO_CLOSE"] = 2] = "TOO_CLOSE";
152
152
  FaceState[FaceState["NOT_CENTERED"] = 3] = "NOT_CENTERED";
153
153
  FaceState[FaceState["NOT_VISIBLE"] = 4] = "NOT_VISIBLE";
154
- FaceState[FaceState["UNKNOWN"] = 5] = "UNKNOWN";
154
+ FaceState[FaceState["TURNED_AWAY"] = 5] = "TURNED_AWAY";
155
+ FaceState[FaceState["UNKNOWN"] = 6] = "UNKNOWN";
155
156
  })(exports.FaceState || (exports.FaceState = {}));
156
157
  exports.MeasurementState = void 0;
157
158
  (function (MeasurementState) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shenai/capacitor-sdk",
3
- "version": "3.1.8",
3
+ "version": "3.1.10",
4
4
  "description": "Shen.AI SDK for Capacitor.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",