@incodetech/welcome 1.85.0-20251218222520.0 → 1.85.0-20251219175515.0

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.
@@ -8289,7 +8289,7 @@ class MlWasmJSApi {
8289
8289
  );
8290
8290
  }
8291
8291
  }
8292
- const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251218222520.0";
8292
+ const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251219175515.0";
8293
8293
  function e$2(Be, Le) {
8294
8294
  return function(Ye, tt) {
8295
8295
  return Object.prototype.hasOwnProperty.call(Ye, tt);
@@ -146702,6 +146702,13 @@ function useSelfie({
146702
146702
  return;
146703
146703
  }
146704
146704
  switch (H0) {
146705
+ case "Selfie face is occluded or partially covered":
146706
+ Bt(zt("notifications.faceOccluded")), Pt(zt("notifications.faceOccludedDescription")), Le(
146707
+ getLogObject("faceOccluded", {
146708
+ message: `${zt("notifications.faceOccluded")}`
146709
+ })
146710
+ );
146711
+ break;
146705
146712
  case "Face not found.":
146706
146713
  Bt(zt("notifications.faceNotFound")), Pt(zt("notifications.faceNotFoundDescription")), Le(
146707
146714
  getLogObject("faceNotDetected", {
@@ -159736,7 +159743,7 @@ function Login({
159736
159743
  async (x0, p0) => {
159737
159744
  MlWasmJSApi$1.reset();
159738
159745
  const D0 = x0.getBase64Image();
159739
- Ye && typeof Ye == "function" ? Ye(await MlWasmJSApi$1.encryptImage(D0), p0) : Et ? Qt(D0, p0) : ht ? Gt(D0) : jt(D0, p0);
159746
+ Ye && typeof Ye == "function" ? Ye(await MlWasmJSApi$1.ens(D0), p0) : Et ? Qt(D0, p0) : ht ? Gt(D0) : jt(D0, p0);
159740
159747
  },
159741
159748
  300
159742
159749
  );
@@ -161746,7 +161753,7 @@ function CaptureSelfie({
161746
161753
  code: "selfieCapture",
161747
161754
  token: Ut
161748
161755
  }), await onboardingAnalytics.analyzeFrame(_n), onboardingAnalytics.update(), MlWasmJSApi$1.reset();
161749
- const Z0 = await MlWasmJSApi$1.encryptImage(_n), { blob: ln, url: xn } = dn.getBlobData();
161756
+ const Z0 = await MlWasmJSApi$1.ens(_n), { blob: ln, url: xn } = dn.getBlobData();
161750
161757
  if (Ct)
161751
161758
  return onboardingAnalytics.stopMotionSensors(), Le({
161752
161759
  imageBase64: _n,
@@ -172628,7 +172635,7 @@ const faceFlowManager = new FaceFlowManager(), useFaceFlowState = () => {
172628
172635
  faceFlowManager.incrementAttempts(), handleScreenEvent$1(Ye, eventScreenNames.faceCaptureUpload, !0);
172629
172636
  const gt = Be.getBase64Image();
172630
172637
  await onboardingAnalytics.analyzeFrame(gt), onboardingAnalytics.update(), MlWasmJSApi$1.reset();
172631
- const At = await MlWasmJSApi$1.encryptImage(gt);
172638
+ const At = await MlWasmJSApi$1.ens(gt);
172632
172639
  addEvent({
172633
172640
  token: Ye,
172634
172641
  code: "captureAttemptFinished",
@@ -172701,7 +172708,7 @@ const faceFlowManager = new FaceFlowManager(), useFaceFlowState = () => {
172701
172708
  faceFlowManager.incrementAttempts(), handleScreenEvent(Ye, eventScreenNames.authFaceUpload, !0);
172702
172709
  const nt = Be.getBase64Image();
172703
172710
  await onboardingAnalytics.analyzeFrame(nt), onboardingAnalytics.update(), MlWasmJSApi$1.reset();
172704
- const ft = await MlWasmJSApi$1.encryptImage(nt);
172711
+ const ft = await MlWasmJSApi$1.ens(nt);
172705
172712
  addEvent({
172706
172713
  token: Ye,
172707
172714
  code: "captureAttemptFinished",
@@ -174507,7 +174514,7 @@ const CaptureButtonContainer = dt(CaptureButtonContainer$1)`
174507
174514
  code: "selfieCapture",
174508
174515
  token: Pt
174509
174516
  }), await onboardingAnalytics.analyzeFrame(w0), onboardingAnalytics.update(), MlWasmJSApi$1.reset();
174510
- const M0 = selfieType, G0 = await MlWasmJSApi$1.encryptImage(w0), { blob: K0, url: un } = q0.getBlobData();
174517
+ const M0 = selfieType, G0 = await MlWasmJSApi$1.ens(w0), { blob: K0, url: un } = q0.getBlobData();
174511
174518
  if (yt)
174512
174519
  return Le({
174513
174520
  imageBase64: w0,
@@ -373575,7 +373582,7 @@ Private-MAC: ` + Mt.digest().toHex() + `\r
373575
373582
  };
373576
373583
  var tt = {};
373577
373584
  (() => {
373578
- Ye.r(tt), Ye.d(tt, { encryptImage: () => xt, forge: () => Ct() });
373585
+ Ye.r(tt), Ye.d(tt, { ens: () => xt, forge: () => Ct() });
373579
373586
  var nt = Ye(11), ft = Ye.n(nt), ht = Ye(4406), gt = Ye.n(ht);
373580
373587
  function At(kt) {
373581
373588
  return new Promise(function(vt) {