@authme/identity-verification 2.8.47 → 2.8.49

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/index.cjs.js CHANGED
@@ -29736,7 +29736,7 @@ async function startLiveness(config) {
29736
29736
  });
29737
29737
  } else {
29738
29738
  // Engine 返回 timeout 或其他失敗狀態
29739
- throw new core.AuthmeError(core.ErrorCode.ID_RECOGNITION_TIMEOUT);
29739
+ throw new core.AuthmeError(core.ErrorCode.LIVENESS_NOT_PASSED);
29740
29740
  }
29741
29741
  }), rxjs.filter(res => res.isSuccess), rxjs.switchMap(() => rxjs.defer(() => config.onSuccess())));
29742
29742
  return rxjs.of({}).pipe(() => {
@@ -37344,7 +37344,7 @@ class AuthmeIdentityVerification extends engine.AuthmeFunctionModule {
37344
37344
  }
37345
37345
 
37346
37346
  var name = "authme/sdk";
37347
- var version$1 = "2.8.47";
37347
+ var version$1 = "2.8.49";
37348
37348
  var packageInfo = {
37349
37349
  name: name,
37350
37350
  version: version$1};
package/index.esm.js CHANGED
@@ -29734,7 +29734,7 @@ async function startLiveness(config) {
29734
29734
  });
29735
29735
  } else {
29736
29736
  // Engine 返回 timeout 或其他失敗狀態
29737
- throw new AuthmeError(ErrorCode.ID_RECOGNITION_TIMEOUT);
29737
+ throw new AuthmeError(ErrorCode.LIVENESS_NOT_PASSED);
29738
29738
  }
29739
29739
  }), filter(res => res.isSuccess), switchMap(() => defer(() => config.onSuccess())));
29740
29740
  return of({}).pipe(() => {
@@ -37342,7 +37342,7 @@ class AuthmeIdentityVerification extends AuthmeFunctionModule {
37342
37342
  }
37343
37343
 
37344
37344
  var name = "authme/sdk";
37345
- var version$1 = "2.8.47";
37345
+ var version$1 = "2.8.49";
37346
37346
  var packageInfo = {
37347
37347
  name: name,
37348
37348
  version: version$1};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authme/identity-verification",
3
- "version": "2.8.47",
3
+ "version": "2.8.49",
4
4
  "peerDependencies": {
5
5
  "core-js": "^3.6.0",
6
6
  "lottie-web": "^5.9.2",