@smileid/usesmileid_huawei_face 12.0.0 → 12.0.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 12.0.1
2
+
3
+ See the repository CHANGELOG for the 12.0.1 release notes.
4
+
1
5
  ## 12.0.0
2
6
 
3
7
  First stable release of the Smile ID v12 SDK. Provides the Android Huawei HMS face detection module for `usesmileid` on GMS-free devices.
package/README.md CHANGED
@@ -10,7 +10,7 @@ Google Mobile Services (Huawei post-2019 hardware, etc.); use
10
10
 
11
11
  The native side runs the entire face-scan pipeline. This package
12
12
  contributes a Kotlin Expo Module that constructs
13
- `UseSmileIDFaceSession(FaceDetectorAnalyzer())` against the Huawei
13
+ `UseSmileIDFaceSession(HuaweiFaceDetectorAnalyzer())` against the Huawei
14
14
  HMS-backed analyzer in the `com.usesmileid:huawei-face` AAR, and a
15
15
  TS wrapper that bridges `configure / analyze / reset / close` with
16
16
  Zod-validated wire payloads.
@@ -17,7 +17,7 @@ plugins {
17
17
  }
18
18
 
19
19
  group = 'com.usesmileid.huawei.face'
20
- version = '12.0.0'
20
+ version = '12.0.1'
21
21
 
22
22
  android {
23
23
  namespace 'com.usesmileid.huawei.face'
@@ -29,7 +29,7 @@ android {
29
29
  // android/build.gradle and the rest of the @expo/* modules.
30
30
  defaultConfig {
31
31
  versionCode 1
32
- versionName '12.0.0'
32
+ versionName '12.0.1'
33
33
  // R8 keep-rules to bundle into partner apps that depend on this
34
34
  // module. Without these, R8 may rename the Expo module entry
35
35
  // point and the JS-bridged member functions, breaking autolinking.
@@ -42,7 +42,7 @@ dependencies {
42
42
  // Targets Huawei AppGallery / no-GMS devices via HMS ML kit. The
43
43
  // Expo Module is a thin Kotlin shim that constructs the session
44
44
  // and bridges its four methods to JS via Expo Modules.
45
- implementation 'com.usesmileid:huawei-face:12.0.0'
45
+ implementation 'com.usesmileid:huawei-face:12.0.1'
46
46
 
47
47
  // VisionCamera frame-processor plugin classes. The host app provides
48
48
  // this dependency via RN autolinking — react-native-vision-camera >= 4.7.3
@@ -2,7 +2,7 @@ package com.usesmileid.huawei.face
2
2
 
3
3
  import com.mrousavy.camera.frameprocessors.FrameProcessorPluginRegistry
4
4
  import com.usesmileid.bridge.dsl.builder.FaceDetectorMode
5
- import com.usesmileid.bridge.huawei.face.FaceDetectorAnalyzer
5
+ import com.usesmileid.bridge.huawei.face.HuaweiFaceDetectorAnalyzer
6
6
  import com.usesmileid.bridge.model.BoundingBox as NativeBoundingBox
7
7
  import com.usesmileid.bridge.model.CaptureReadyEvent as NativeCaptureReadyEvent
8
8
  import com.usesmileid.bridge.model.FaceDetectorOutput as NativeFaceOutput
@@ -22,7 +22,7 @@ import expo.modules.kotlin.modules.ModuleDefinition
22
22
 
23
23
  /**
24
24
  * Expo Module bridging the existing native session
25
- * `UseSmileIDFaceSession(FaceDetectorAnalyzer())` (shipped in the
25
+ * `UseSmileIDFaceSession(HuaweiFaceDetectorAnalyzer())` (shipped in the
26
26
  * `com.smileidentity:huawei-face` AAR) to the JS side. The Huawei
27
27
  * variant targets devices without Google Mobile Services and uses
28
28
  * Huawei HMS ML kit for face detection.
@@ -100,7 +100,7 @@ class UseSmileIDHuaweiFaceModule : Module() {
100
100
  Name("UseSmileIDHuaweiFace")
101
101
 
102
102
  OnCreate {
103
- FaceAnalyzerFactoryRegistry.register(KEY) { FaceDetectorAnalyzer() }
103
+ FaceAnalyzerFactoryRegistry.register(KEY) { HuaweiFaceDetectorAnalyzer() }
104
104
  val ctx = appContext.reactContext
105
105
  ?: throw IllegalStateException("Module not attached to a React context")
106
106
  executor.onAttach(ctx)
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { FaceConfig, FaceScanResult } from "@smileid/usesmileid_bridge";
4
4
  * Google Mobile Services).
5
5
  *
6
6
  * Thin shim around the existing native session
7
- * `com.usesmileid.bridge.session.UseSmileIDFaceSession(FaceDetectorAnalyzer())`
7
+ * `com.usesmileid.bridge.session.UseSmileIDFaceSession(HuaweiFaceDetectorAnalyzer())`
8
8
  * shipped in the `com.smileidentity:huawei-face` AAR. The native side
9
9
  * runs the entire pipeline (analyzer + validator + transitioner +
10
10
  * state machine); this TS layer routes calls and validates wire
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import { useSmileIDAnalyzerExecutor } from "@smileid/usesmileid_platform_interfa
5
5
  * Google Mobile Services).
6
6
  *
7
7
  * Thin shim around the existing native session
8
- * `com.usesmileid.bridge.session.UseSmileIDFaceSession(FaceDetectorAnalyzer())`
8
+ * `com.usesmileid.bridge.session.UseSmileIDFaceSession(HuaweiFaceDetectorAnalyzer())`
9
9
  * shipped in the `com.smileidentity:huawei-face` AAR. The native side
10
10
  * runs the entire pipeline (analyzer + validator + transitioner +
11
11
  * state machine); this TS layer routes calls and validates wire
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smileid/usesmileid_huawei_face",
3
- "version": "12.0.0",
3
+ "version": "12.0.1",
4
4
  "description": "Huawei HMS face detection implementation for the UseSmileID React Native (Expo) SDK.",
5
5
  "homepage": "https://usesmileid.com",
6
6
  "repository": {
@@ -43,8 +43,8 @@
43
43
  "CHANGELOG.md"
44
44
  ],
45
45
  "dependencies": {
46
- "@smileid/usesmileid_bridge": "12.0.0",
47
- "@smileid/usesmileid_platform_interface": "12.0.0"
46
+ "@smileid/usesmileid_bridge": "12.0.1",
47
+ "@smileid/usesmileid_platform_interface": "12.0.1"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "expo": ">=56.0.0",
package/src/index.ts CHANGED
@@ -7,7 +7,7 @@ import { useSmileIDAnalyzerExecutor } from "@smileid/usesmileid_platform_interfa
7
7
  * Google Mobile Services).
8
8
  *
9
9
  * Thin shim around the existing native session
10
- * `com.usesmileid.bridge.session.UseSmileIDFaceSession(FaceDetectorAnalyzer())`
10
+ * `com.usesmileid.bridge.session.UseSmileIDFaceSession(HuaweiFaceDetectorAnalyzer())`
11
11
  * shipped in the `com.smileidentity:huawei-face` AAR. The native side
12
12
  * runs the entire pipeline (analyzer + validator + transitioner +
13
13
  * state machine); this TS layer routes calls and validates wire