@incodetech/core 2.5.0-rc.5 → 2.5.0-rc.7

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.
Files changed (153) hide show
  1. package/dist/{FaceDetectionProvider-VT31r1ov.esm.js → FaceDetectionProvider-Cqw51GCf.esm.js} +7 -7
  2. package/dist/{addressSearch-Rxm1K67A.esm.js → addressSearch-BGHyclUd.esm.js} +1 -1
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/antifraud.esm.js +2 -2
  5. package/dist/{antifraudManager-DKNOi9-z.esm.js → antifraudManager-CE2Cxfqy.esm.js} +2 -2
  6. package/dist/{antifraudStateMachine-BJ6PmCsw.esm.js → antifraudStateMachine-BpeuH5Wx.esm.js} +1 -1
  7. package/dist/{api-CZpuJuZl.esm.js → api-BMLJdwd_.esm.js} +0 -1
  8. package/dist/{apiError-D2biqI0c.esm.js → apiError-B0e6kXC-.esm.js} +1 -1
  9. package/dist/{attemptCarry-BecGGZK8.esm.js → attemptCarry-Dp2xFl7A.esm.js} +1 -1
  10. package/dist/authentication.esm.js +2 -2
  11. package/dist/{authenticationManager-Db2AIYOY.esm.js → authenticationManager-D0C0AG-A.esm.js} +4 -4
  12. package/dist/{authenticationStateMachine-D5S7dLqB.esm.js → authenticationStateMachine-B9eVbcfC.esm.js} +3 -3
  13. package/dist/certificate-issuance.esm.js +2 -2
  14. package/dist/{certificateIssuanceManager-DaUklfNj.esm.js → certificateIssuanceManager-BQ74_sGE.esm.js} +2 -2
  15. package/dist/{certificateIssuanceStateMachine-_EQcjGE3.esm.js → certificateIssuanceStateMachine-Cm3b9OoM.esm.js} +1 -1
  16. package/dist/consent.d.ts +1 -1
  17. package/dist/consent.esm.js +2 -2
  18. package/dist/{consentManager-BPocwpm2.esm.js → consentManager-DEC34vhb.esm.js} +2 -2
  19. package/dist/{consentManager-Duzd8paN.d.ts → consentManager-DlvhoJYc.d.ts} +4 -4
  20. package/dist/{consentStateMachine-DgiIcT9q.esm.js → consentStateMachine-D0Nh_LD7.esm.js} +1 -1
  21. package/dist/cross-document-data-match.esm.js +1 -1
  22. package/dist/{crossDocumentDataMatchManager-BfA29Aji.esm.js → crossDocumentDataMatchManager-BHRsIIYY.esm.js} +2 -2
  23. package/dist/curp-validation.esm.js +2 -2
  24. package/dist/{curpValidationManager-CbvBDoE1.esm.js → curpValidationManager-nIJpoMnT.esm.js} +2 -2
  25. package/dist/{curpValidationStateMachine-BQ8XK2Y3.esm.js → curpValidationStateMachine-4MAvdROS.esm.js} +2 -2
  26. package/dist/custom-fields.esm.js +1 -1
  27. package/dist/custom-watchlist.esm.js +2 -2
  28. package/dist/{customFieldsManager-BRqSCR9R.esm.js → customFieldsManager-BGCfq1Z3.esm.js} +2 -2
  29. package/dist/{customWatchlistManager-Bd1ooIDB.esm.js → customWatchlistManager-B5rEcjyh.esm.js} +2 -2
  30. package/dist/{customWatchlistStateMachine-r8nGhyo1.esm.js → customWatchlistStateMachine-5DmmGqzB.esm.js} +1 -1
  31. package/dist/{deepsightLoader-Ckm6t3kD.esm.js → deepsightLoader-Dspegfs_.esm.js} +3 -3
  32. package/dist/{desktopCameraElection-q3cVTQ6a.esm.js → desktopCameraElection-h7SmDXmW.esm.js} +1 -1
  33. package/dist/document-capture.d.ts +1 -1
  34. package/dist/document-capture.esm.js +2 -2
  35. package/dist/{documentCaptureManager-Dd3T6bcs.d.ts → documentCaptureManager-CoGcEiMK.d.ts} +5 -5
  36. package/dist/{documentCaptureManager-D5oiXpwG.esm.js → documentCaptureManager-DODC4eUX.esm.js} +2 -2
  37. package/dist/{documentCaptureStateMachine-zyJcTCBx.esm.js → documentCaptureStateMachine-B4CPAJrT.esm.js} +2 -2
  38. package/dist/dynamic-forms.esm.js +2 -2
  39. package/dist/{dynamicFormsManager-BVajFTAr.esm.js → dynamicFormsManager-B2WpJRIy.esm.js} +2 -2
  40. package/dist/{dynamicFormsStateMachine-CojKBZSx.esm.js → dynamicFormsStateMachine-DwH_DeuQ.esm.js} +2 -2
  41. package/dist/ekyb.esm.js +2 -2
  42. package/dist/{ekybManager-IjDkBive.esm.js → ekybManager-D6-cLZnV.esm.js} +2 -2
  43. package/dist/{ekybStateMachine-DrWUhTG5.esm.js → ekybStateMachine-Xpc40REP.esm.js} +3 -3
  44. package/dist/ekyc-prefill.d.ts +1 -1
  45. package/dist/ekyc-prefill.esm.js +2 -2
  46. package/dist/ekyc.esm.js +2 -2
  47. package/dist/{ekycManager-nRT0rxei.esm.js → ekycManager-DWuONuie.esm.js} +2 -2
  48. package/dist/{ekycPrefillManager-9Rdv8tsm.esm.js → ekycPrefillManager-BJzn8Pc4.esm.js} +1 -1
  49. package/dist/{ekycPrefillManager-CUFTaI8e.d.ts → ekycPrefillManager-DOTl3Y2w.d.ts} +34 -34
  50. package/dist/{ekycPrefillStateMachine-DVe575y0.esm.js → ekycPrefillStateMachine-COPqGv1-.esm.js} +2 -2
  51. package/dist/{ekycStateMachine-nwJRel2s.esm.js → ekycStateMachine-BsclGsmE.esm.js} +2 -2
  52. package/dist/electronic-signature.esm.js +1 -1
  53. package/dist/{electronicSignatureManager-BDOrUs1S.esm.js → electronicSignatureManager-BGUA13HH.esm.js} +3 -3
  54. package/dist/email.esm.js +2 -2
  55. package/dist/{emailManager-Co4jarT1.esm.js → emailManager-DJfqy42G.esm.js} +2 -2
  56. package/dist/{emailStateMachine-CTEaYncs.esm.js → emailStateMachine-Ba4dmk3l.esm.js} +2 -2
  57. package/dist/{events-CP3yOzAl.esm.js → events-C2lGiIT1.esm.js} +1 -1
  58. package/dist/events.esm.js +1 -1
  59. package/dist/extensibility.d.ts +7 -7
  60. package/dist/extensibility.esm.js +35 -35
  61. package/dist/face-match.esm.js +2 -2
  62. package/dist/{faceCaptureManagerFactory-D7o4vaSt.esm.js → faceCaptureManagerFactory-BznzTujd.esm.js} +2 -2
  63. package/dist/{faceCaptureSetup-B6pAu2Lo.esm.js → faceCaptureSetup-CTXrfKbx.esm.js} +9 -9
  64. package/dist/{faceMatchManager-CGmNGbov.esm.js → faceMatchManager-BFLHLTGE.esm.js} +2 -2
  65. package/dist/{faceMatchStateMachine-BuHt7kec.esm.js → faceMatchStateMachine-Bjjv_w-a.esm.js} +2 -2
  66. package/dist/{feature-management-Y7TclYIm.esm.js → feature-management-DqGvBwck.esm.js} +1 -1
  67. package/dist/feature-management.esm.js +1 -1
  68. package/dist/field-comparison.esm.js +1 -1
  69. package/dist/{fieldComparisonManager-VgCU4X96.esm.js → fieldComparisonManager-CPQEHk24.esm.js} +2 -2
  70. package/dist/fiscal-qr.esm.js +1 -1
  71. package/dist/{fiscalQrManager-2ZBUw08-.esm.js → fiscalQrManager-Ej11Z_Qk.esm.js} +2 -2
  72. package/dist/flow.d.ts +0 -2
  73. package/dist/flow.esm.js +8 -31
  74. package/dist/{flowCompletionService-C0gr4duW.esm.js → flowCompletionService-CEJARiEn.esm.js} +3 -24
  75. package/dist/{flowServices-B-_9AUG2.esm.js → flowServices-C0lKeHmE.esm.js} +6 -6
  76. package/dist/geolocation.d.ts +1 -1
  77. package/dist/geolocation.esm.js +2 -2
  78. package/dist/{geolocationManager-Del2ddmt.d.ts → geolocationManager-CENrvxpK.d.ts} +1 -1
  79. package/dist/{geolocationManager-BFT5MLUp.esm.js → geolocationManager-CK2LxvRM.esm.js} +2 -2
  80. package/dist/{geolocationStateMachine-B0mxG9gS.esm.js → geolocationStateMachine-y509TvfW.esm.js} +3 -3
  81. package/dist/government-validation.esm.js +2 -2
  82. package/dist/{governmentValidationManager-6JQQkzha.esm.js → governmentValidationManager-Dr5zg44a.esm.js} +2 -2
  83. package/dist/{governmentValidationStateMachine-wBunpfQ9.esm.js → governmentValidationStateMachine-BmgcBddx.esm.js} +1 -1
  84. package/dist/home.esm.js +1 -1
  85. package/dist/http.esm.js +1 -1
  86. package/dist/id-ocr.d.ts +1 -1
  87. package/dist/id-ocr.esm.js +2 -2
  88. package/dist/id-selfie-flow.esm.js +6 -6
  89. package/dist/id-verification.esm.js +2 -2
  90. package/dist/id.esm.js +3 -3
  91. package/dist/{idCaptureManager-kiSWD5_7.esm.js → idCaptureManager-CmZwGDkd.esm.js} +5 -5
  92. package/dist/{idCaptureServices-DABHaQGi.esm.js → idCaptureServices-DHmVtq3F.esm.js} +4 -4
  93. package/dist/{idCaptureStateMachine-B6Djl8nt.esm.js → idCaptureStateMachine-q5IuCdS6.esm.js} +13 -13
  94. package/dist/{idOcrManager-C3BHGgSb.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
  95. package/dist/{idOcrManager-im7VfJQi.esm.js → idOcrManager-CUqaGVGx.esm.js} +2 -2
  96. package/dist/{idOcrStateMachine-B832arAl.esm.js → idOcrStateMachine-8PmK-51A.esm.js} +1 -1
  97. package/dist/{idVerificationManager-PMGM4hXY.esm.js → idVerificationManager-BCJSTVib.esm.js} +2 -2
  98. package/dist/{idVerificationStateMachine-DeeugC00.esm.js → idVerificationStateMachine-XRiYohGp.esm.js} +1 -1
  99. package/dist/identity-reuse.d.ts +1 -1
  100. package/dist/identity-reuse.esm.js +2 -2
  101. package/dist/identity-search.esm.js +1 -1
  102. package/dist/{identityReuseManager-CjFZ7WRa.esm.js → identityReuseManager-BX6Xwekg.esm.js} +2 -2
  103. package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-C40ngKeM.d.ts} +4 -4
  104. package/dist/{identityReuseStateMachine-CLFjPp13.esm.js → identityReuseStateMachine-X1jzn8C5.esm.js} +1 -1
  105. package/dist/index.esm.js +1 -1
  106. package/dist/kyb-checks.esm.js +2 -2
  107. package/dist/{kybChecksManager-CAzYmH8L.esm.js → kybChecksManager-k_RFvulr.esm.js} +1 -1
  108. package/dist/{kybChecksStateMachine-DWYRi__r.esm.js → kybChecksStateMachine-DHUPRZvs.esm.js} +2 -2
  109. package/dist/mandatory-consent.d.ts +1 -1
  110. package/dist/mandatory-consent.esm.js +2 -2
  111. package/dist/{mandatoryConsentManager-CCkV4Cm3.d.ts → mandatoryConsentManager-D76rLUsm.d.ts} +4 -4
  112. package/dist/{mandatoryConsentManager-Dh3pBhOe.esm.js → mandatoryConsentManager-FKRF94TQ.esm.js} +2 -2
  113. package/dist/{mandatoryConsentStateMachine-BjuI72HZ.esm.js → mandatoryConsentStateMachine-CSF03QyH.esm.js} +1 -1
  114. package/dist/{multipartRecordingService-WgK8ieRI.esm.js → multipartRecordingService-UQ06vyEa.esm.js} +1 -1
  115. package/dist/phone.esm.js +2 -2
  116. package/dist/{phoneManager-rA7updqF.esm.js → phoneManager-xOrux05n.esm.js} +2 -2
  117. package/dist/{phoneServices-CFXcwCFr.esm.js → phoneServices-3DueJr0O.esm.js} +1 -1
  118. package/dist/{phoneStateMachine-DKdY2Scx.esm.js → phoneStateMachine-Bn9WlZnH.esm.js} +2 -2
  119. package/dist/{processFaceMatch-B_DkDTE5.esm.js → processFaceMatch-BwjIWIbi.esm.js} +1 -1
  120. package/dist/qe-signature.esm.js +1 -1
  121. package/dist/{recordingService-yptkVJTO.esm.js → recordingService-DE9YedlD.esm.js} +2 -2
  122. package/dist/redirect-to-mobile.esm.js +2 -2
  123. package/dist/{redirectToMobileManager-DjsEtWLq.esm.js → redirectToMobileManager-PWuwwVbb.esm.js} +2 -2
  124. package/dist/{redirectToMobileStateMachine-CMjjUXSu.esm.js → redirectToMobileStateMachine-DHpg32uO.esm.js} +1 -1
  125. package/dist/{runChildModule-CfTDIDFy.esm.js → runChildModule-C8rhZjmW.esm.js} +1 -1
  126. package/dist/{sdkVersion-B0u1yI4T.esm.js → sdkVersion-Drwh3iUL.esm.js} +1 -1
  127. package/dist/selfie.esm.js +8 -8
  128. package/dist/{selfieErrorUtils-KMGgzEY8.esm.js → selfieErrorUtils-FBmUZldI.esm.js} +1 -1
  129. package/dist/{selfieManager-CRAV_PgJ.esm.js → selfieManager-DwJsXQtP.esm.js} +4 -4
  130. package/dist/{selfieStateMachine-jd3k1iLj.esm.js → selfieStateMachine-02NklomH.esm.js} +3 -3
  131. package/dist/{session-BkAhUvu7.esm.js → session-N7-6DM4w.esm.js} +4 -4
  132. package/dist/session.esm.js +5 -5
  133. package/dist/{sessionInitializer-BzPWbuZe.esm.js → sessionInitializer-B1hTpJ_t.esm.js} +6 -6
  134. package/dist/{setup-Cg1JJe3W.esm.js → setup-RudevH0l.esm.js} +7 -7
  135. package/dist/signature.esm.js +2 -2
  136. package/dist/{signatureManager-BgAja97K.esm.js → signatureManager-DIXqYmUN.esm.js} +2 -2
  137. package/dist/{signatureStateMachine-CVPmvU2p.esm.js → signatureStateMachine-B7yC0mK9.esm.js} +1 -1
  138. package/dist/{stats-DoByUnTa.esm.js → stats-ummJank2.esm.js} +1 -1
  139. package/dist/stats.esm.js +1 -1
  140. package/dist/{trueSightService-CzUm08rX.esm.js → trueSightService-CbJ23CkU.esm.js} +3 -3
  141. package/dist/trust-graph.esm.js +1 -1
  142. package/dist/video-selfie.esm.js +6 -6
  143. package/dist/{videoSelfieCameraWarmer-Dmkf-4Dt.esm.js → videoSelfieCameraWarmer-DLwY4IGT.esm.js} +4 -4
  144. package/dist/wasm.esm.js +1 -1
  145. package/dist/watchlist-for-business.esm.js +2 -2
  146. package/dist/watchlist.esm.js +2 -2
  147. package/dist/{watchlistForBusinessManager-BH6M4kqA.esm.js → watchlistForBusinessManager-CCzx7A5X.esm.js} +2 -2
  148. package/dist/{watchlistForBusinessStateMachine-BMWm5mcP.esm.js → watchlistForBusinessStateMachine-DPS6rkl6.esm.js} +1 -1
  149. package/dist/{watchlistManager-BDaVjzLW.esm.js → watchlistManager-DDMrwI-3.esm.js} +2 -2
  150. package/dist/{watchlistStateMachine-Cx-6QAvu.esm.js → watchlistStateMachine-BuJHQJ_p.esm.js} +1 -1
  151. package/dist/workflow.d.ts +40 -225
  152. package/dist/workflow.esm.js +57 -141
  153. package/package.json +1 -1
package/dist/flow.esm.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { g as screenOpened, m as screenClosed, v as addEvent } from "./types-DYYMdAGv.esm.js";
2
- import "./events-CP3yOzAl.esm.js";
2
+ import "./events-C2lGiIT1.esm.js";
3
3
  import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
4
- import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-B-_9AUG2.esm.js";
4
+ import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-C0lKeHmE.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
- import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-C0gr4duW.esm.js";
9
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CfTDIDFy.esm.js";
8
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-CEJARiEn.esm.js";
9
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-C8rhZjmW.esm.js";
10
10
  import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
11
11
  //#region src/modules/flow/noOpFlowModuleMachine.ts
12
12
  const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
@@ -408,7 +408,6 @@ function createBaseContext(context, isHomeContinueLoading) {
408
408
  getFinishStatus: context.getFinishStatus,
409
409
  enableHome: context.enableHome,
410
410
  finishStatus: void 0,
411
- completedOnMobile: false,
412
411
  isHomeContinueLoading,
413
412
  deferActivation: context.deferActivation,
414
413
  activationResolved: false,
@@ -478,7 +477,6 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
478
477
  input: {}
479
478
  },
480
479
  actors: {
481
- resolveHandoffCompletion: fromPromise(({ signal }) => getHandoffFinishStatus(signal)),
482
480
  fetchFlow: fromPromise(async ({ input, signal }) => {
483
481
  const served = prepareFlowOcrSteps(await retryAfterReconnect(() => input.getFlow(signal), signal));
484
482
  const arming = armFlowPresets(served, input.canResolve);
@@ -693,7 +691,6 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
693
691
  isMisconfiguredFlow: ({ event }) => "output" in event && event.output.arming.status === "misconfigured",
694
692
  isLastStep: ({ context }) => context.currentStepIndex >= 0 && context.currentStepIndex === context.steps.length - 1,
695
693
  canGoNext: ({ context }) => context.currentStepIndex >= 0 && context.currentStepIndex < context.steps.length - 1,
696
- isRedirectToMobileStep: ({ context }) => context.currentStep === "REDIRECT_TO_MOBILE",
697
694
  isOnboardingFinishedSignal: ({ event }) => event.output?.action === "onboardingFinished",
698
695
  shouldEnterHome: ({ context }) => shouldEnterHome(context),
699
696
  needsActivation: ({ context }) => context.deferActivation && !context.activationResolved && context.currentStep !== "REDIRECT_TO_MOBILE",
@@ -876,7 +873,7 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
876
873
  MODULE_COMPLETE: [
877
874
  { guard: "isEarlySearchCompletion" },
878
875
  {
879
- target: "resolvingHandoffCompletion",
876
+ target: "finished",
880
877
  guard: "isOnboardingFinishedSignal"
881
878
  },
882
879
  {
@@ -913,10 +910,7 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
913
910
  }
914
911
  ],
915
912
  COMPLETE_FLOW: { target: "completing" },
916
- FINISH_FLOW: [{
917
- guard: "isRedirectToMobileStep",
918
- target: "resolvingHandoffCompletion"
919
- }, { target: "finished" }],
913
+ FINISH_FLOW: { target: "finished" },
920
914
  RESET: {
921
915
  target: "idle",
922
916
  actions: "resetContext"
@@ -930,22 +924,6 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
930
924
  target: "resolvingModule",
931
925
  actions: "incrementStep"
932
926
  }] },
933
- resolvingHandoffCompletion: {
934
- entry: assign({ completedOnMobile: true }),
935
- after: { [HANDOFF_COMPLETION_TIMEOUT_MS]: "finished" },
936
- invoke: {
937
- src: "resolveHandoffCompletion",
938
- onDone: {
939
- target: "finished",
940
- actions: "setFinishStatus"
941
- },
942
- onError: { target: "finished" }
943
- },
944
- on: { RESET: {
945
- target: "idle",
946
- actions: "resetContext"
947
- } }
948
- },
949
927
  completing: {
950
928
  invoke: {
951
929
  id: "notifyBackend",
@@ -986,7 +964,7 @@ function deriveUiModel(snapshot, mappedStatus, isHomePhase, options) {
986
964
  const effectiveEnableHome = enableHome === true && serverDisablesLaunch === false;
987
965
  const isTerminal = mappedStatus === "finished" || mappedStatus === "error";
988
966
  const awaitingOrchestrator = mappedStatus === "idle" || mappedStatus === "loading";
989
- const isCompletingPhase = mappedStatus === "completing";
967
+ const isCompletingPhase = snapshot.value === "completing";
990
968
  const firstRealIndex = snapshot.context.steps[0] === "REDIRECT_TO_MOBILE" ? 1 : 0;
991
969
  const isAtFirstRealModule = snapshot.context.currentStepIndex === firstRealIndex;
992
970
  const isResolvingHomeAnchor = (snapshot.value === "resolvingModule" || snapshot.value === "resolvingActivation") && effectiveEnableHome && isAtFirstRealModule;
@@ -1011,7 +989,7 @@ function deriveUiModel(snapshot, mappedStatus, isHomePhase, options) {
1011
989
  function getMappedStatus(snapshot) {
1012
990
  const { value } = snapshot;
1013
991
  if (value === "idle") return "idle";
1014
- if (value === "completing" || value === "resolvingHandoffCompletion") return "completing";
992
+ if (value === "completing") return "completing";
1015
993
  if (value === "loading" || value === "resolvingModule" || value === "resolvingActivation" || value === "advancing" || typeof value === "object") return "loading";
1016
994
  if (value === "finished") return "finished";
1017
995
  if (value === "error") return "error";
@@ -1039,7 +1017,6 @@ function mapOrchestratedFlowState(snapshot, uiOptions) {
1039
1017
  if (mappedStatus === "finished") return {
1040
1018
  status: "finished",
1041
1019
  flow: context.flow ?? {},
1042
- ...context.completedOnMobile ? { completedOnMobile: true } : {},
1043
1020
  finishStatus: context.finishStatus ?? {
1044
1021
  redirectionUrl: "",
1045
1022
  action: "none",
@@ -1,5 +1,5 @@
1
- import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-D2biqI0c.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-B0e6kXC-.esm.js";
3
3
  //#region src/modules/flow/flowCompletionService.ts
4
4
  const getFinishStatus = async (flowId, signal) => {
5
5
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -13,27 +13,6 @@ const getFinishStatus = async (flowId, signal) => {
13
13
  toIncodeApiError(endpoints.finishStatus, error);
14
14
  }
15
15
  };
16
- const HANDOFF_COMPLETION_TIMEOUT_MS = 1e4;
17
- /** Mobile already finished the session; read its redirect without finishing again. */
18
- async function getHandoffFinishStatus(signal) {
19
- try {
20
- const data = (await api.get(endpoints.redirectionUrl, {
21
- signal,
22
- timeout: HANDOFF_COMPLETION_TIMEOUT_MS
23
- })).data;
24
- let redirectionUrl = "";
25
- if (typeof data === "object" && data !== null && "redirectionUrl" in data && typeof data.redirectionUrl === "string") redirectionUrl = data.redirectionUrl;
26
- return {
27
- redirectionUrl,
28
- action: "none",
29
- scoreStatus: "UNKNOWN",
30
- endScreenTitle: null,
31
- endScreenText: null
32
- };
33
- } catch (error) {
34
- toIncodeApiError(endpoints.redirectionUrl, error);
35
- }
36
- }
37
16
  const SCORE_VARIANTS = {
38
17
  OK: "success",
39
18
  WARN: "success",
@@ -57,4 +36,4 @@ async function getTotalScoreStatus(signal) {
57
36
  }
58
37
  }
59
38
  //#endregion
60
- export { getTotalScoreStatus as a, getHandoffFinishStatus as i, classifyScoreStatus as n, getFinishStatus as r, HANDOFF_COMPLETION_TIMEOUT_MS as t };
39
+ export { getFinishStatus as n, getTotalScoreStatus as r, classifyScoreStatus as t };
@@ -1,12 +1,12 @@
1
1
  import { r as getWasmStatus } from "./warmup-BZOMg303.esm.js";
2
2
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
3
- import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
4
- import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BzPWbuZe.esm.js";
5
- import { E as updateFeatureManagementUser } from "./feature-management-Y7TclYIm.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-D2biqI0c.esm.js";
7
- import "./session-BkAhUvu7.esm.js";
3
+ import { r as getToken, t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
4
+ import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-B1hTpJ_t.esm.js";
5
+ import { E as updateFeatureManagementUser } from "./feature-management-DqGvBwck.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-B0e6kXC-.esm.js";
7
+ import "./session-N7-6DM4w.esm.js";
8
8
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
9
- import { a as prefetchStartInfo } from "./phoneServices-CFXcwCFr.esm.js";
9
+ import { a as prefetchStartInfo } from "./phoneServices-3DueJr0O.esm.js";
10
10
  //#region src/modules/flow/dashboardConfig.ts
11
11
  function isPlainObject(value) {
12
12
  if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
@@ -1,2 +1,2 @@
1
- import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
1
+ import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
2
2
  export { type GeolocationConfig, type GeolocationManager, type GeolocationState, createGeolocationManager, geolocationMachine };
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-BFT5MLUp.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-B0mxG9gS.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-CK2LxvRM.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-y509TvfW.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -117,7 +117,7 @@ declare const geolocationMachine: StateMachine<GeolocationContext, {
117
117
  type: "isPermissionDenied";
118
118
  params: unknown;
119
119
  };
120
- }>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "requestingLocation" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
120
+ }>, never, "error" | "idle" | "closed" | "finished" | "requestingLocation" | "submitting" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
121
121
  readonly id: "geolocation";
122
122
  readonly initial: "idle";
123
123
  readonly context: ({ input, self }: {
@@ -1,8 +1,8 @@
1
1
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { t as geolocationMachine } from "./geolocationStateMachine-B0mxG9gS.esm.js";
5
+ import { t as geolocationMachine } from "./geolocationStateMachine-y509TvfW.esm.js";
6
6
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
7
7
  var BrowserGeolocationProvider = class {
8
8
  getCurrentPosition() {
@@ -1,9 +1,9 @@
1
- import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
2
2
  import { a as isIOS, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
3
- import { n as isConnectivityError } from "./apiError-D2biqI0c.esm.js";
3
+ import { n as isConnectivityError } from "./apiError-B0e6kXC-.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
- import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
6
+ import { t as carryAttempts } from "./attemptCarry-Dp2xFl7A.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
8
8
  async function addGeolocation(params, signal) {
9
9
  const res = await api.post(endpoints.addGeolocation, {
@@ -1,3 +1,3 @@
1
- import { t as governmentValidationMachine } from "./governmentValidationStateMachine-wBunpfQ9.esm.js";
2
- import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-6JQQkzha.esm.js";
1
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BmgcBddx.esm.js";
2
+ import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-Dr5zg44a.esm.js";
3
3
  export { createGovernmentValidationManager, createGovernmentValidationManagerFromActor, governmentValidationMachine };
@@ -1,9 +1,9 @@
1
1
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as governmentValidationMachine } from "./governmentValidationStateMachine-wBunpfQ9.esm.js";
6
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BmgcBddx.esm.js";
7
7
  //#region src/modules/government-validation/governmentValidationActor.ts
8
8
  function createGovernmentValidationActor(options) {
9
9
  return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/government-validation/governmentValidationServices.ts
package/dist/home.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  //#region src/modules/home/homeStateMachine.ts
package/dist/http.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as getApi, t as api } from "./api-CZpuJuZl.esm.js";
1
+ import { n as getApi, t as api } from "./api-BMLJdwd_.esm.js";
2
2
  export { api, getApi };
package/dist/id-ocr.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-Bpo97EOh.js";
2
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-C3BHGgSb.js";
2
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-C0C7lFGd.js";
3
3
  //#region src/modules/id-ocr/idOcrFields.d.ts
4
4
  declare const OCR_FIELDS: OcrFieldConfig[];
5
5
  declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
@@ -1,4 +1,4 @@
1
1
  import { n as isValidCPF, t as formatCPF } from "./idOcrCpfUtils-D5Gwskxu.esm.js";
2
- import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-B832arAl.esm.js";
3
- import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-im7VfJQi.esm.js";
2
+ import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-8PmK-51A.esm.js";
3
+ import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-CUqaGVGx.esm.js";
4
4
  export { CPFFlowIds, MIN_AGE, OCR_FIELDS, createIdOcrManager, createIdOcrManagerFromActor, formatCPF, getOcrFields, idOcrStateMachine, isValidCPF };
@@ -1,18 +1,18 @@
1
- import { t as ensureWasmPipelines } from "./setup-Cg1JJe3W.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-RudevH0l.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-B-_9AUG2.esm.js";
4
+ import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-C0lKeHmE.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
- import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-VT31r1ov.esm.js";
8
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-Cqw51GCf.esm.js";
9
9
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
10
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CRn9jT4K.esm.js";
12
- import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-DABHaQGi.esm.js";
12
+ import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-DHmVtq3F.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
14
- import { r as getFinishStatus } from "./flowCompletionService-C0gr4duW.esm.js";
15
- import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-Dmkf-4Dt.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-CEJARiEn.esm.js";
15
+ import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-DLwY4IGT.esm.js";
16
16
  import { t as CameraCompositor } from "./CameraCompositor-BAP_KRUT.esm.js";
17
17
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
18
18
  /** Default autocapture window for the selfie step. */
@@ -1,3 +1,3 @@
1
- import { t as idVerificationMachine } from "./idVerificationStateMachine-DeeugC00.esm.js";
2
- import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-PMGM4hXY.esm.js";
1
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-XRiYohGp.esm.js";
2
+ import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-BCJSTVib.esm.js";
3
3
  export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
package/dist/id.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-B6Djl8nt.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-kiSWD5_7.esm.js";
3
- import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-DABHaQGi.esm.js";
1
+ import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-q5IuCdS6.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CmZwGDkd.esm.js";
3
+ import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-DHmVtq3F.esm.js";
4
4
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
5
5
  /**
6
6
  * Fail reason → i18n key for the device-wallet error screen (same shape as
@@ -1,7 +1,7 @@
1
- import { u as BrowserStorageProvider } from "./setup-Cg1JJe3W.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-RudevH0l.esm.js";
2
2
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
3
- import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
4
- import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
+ import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
4
+ import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
5
5
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
6
6
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
7
7
  import { i as assign, s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
@@ -11,8 +11,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
11
11
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
12
12
  import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BMQItC9y.esm.js";
13
13
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
14
- import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-B6Djl8nt.esm.js";
15
- import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-DABHaQGi.esm.js";
14
+ import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-q5IuCdS6.esm.js";
15
+ import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-DHmVtq3F.esm.js";
16
16
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-lXP41N7b.esm.js";
17
17
  //#region src/modules/id/digitalUpload/instrumentation.ts
18
18
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1,6 +1,6 @@
1
- import { t as ensureWasmPipelines } from "./setup-Cg1JJe3W.esm.js";
2
- import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
- import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-Y7TclYIm.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-RudevH0l.esm.js";
2
+ import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
3
+ import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DqGvBwck.esm.js";
4
4
  import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
5
5
  import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
@@ -436,7 +436,7 @@ async function startRecordingSession(params) {
436
436
  const [compositorModule, recorderModule, serviceModule] = await Promise.all([
437
437
  import("./CameraCompositor-BAP_KRUT.esm.js").then((n) => n.n),
438
438
  import("./WorkerEncoderRecordingProvider-CsDED9UU.esm.js").then((n) => n.n),
439
- import("./multipartRecordingService-WgK8ieRI.esm.js").then((n) => n.n)
439
+ import("./multipartRecordingService-UQ06vyEa.esm.js").then((n) => n.n)
440
440
  ]);
441
441
  const recordingSource = params.stream.clone();
442
442
  const compositor = compositorModule.createRecordingCompositor();
@@ -1,26 +1,26 @@
1
1
  import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-Cg1JJe3W.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-RudevH0l.esm.js";
3
3
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
4
4
  import { n as eventModuleNames, v as addEvent } from "./types-DYYMdAGv.esm.js";
5
- import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
6
- import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
7
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CzUm08rX.esm.js";
8
- import { t as getDisableIpify } from "./sessionInitializer-BzPWbuZe.esm.js";
5
+ import { r as getToken, t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
6
+ import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
7
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CbJ23CkU.esm.js";
8
+ import { t as getDisableIpify } from "./sessionInitializer-B1hTpJ_t.esm.js";
9
9
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
10
- import { s as exposeExperimentOnce } from "./feature-management-Y7TclYIm.esm.js";
11
- import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
10
+ import { s as exposeExperimentOnce } from "./feature-management-DqGvBwck.esm.js";
11
+ import { t as addDeviceStats } from "./stats-ummJank2.esm.js";
12
12
  import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
13
- import "./session-BkAhUvu7.esm.js";
13
+ import "./session-N7-6DM4w.esm.js";
14
14
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
15
15
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
16
16
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
17
17
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
18
18
  import { c as isCameraDenialErrorName } from "./camera-wzsqfd3B.esm.js";
19
19
  import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-BMQItC9y.esm.js";
20
- import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-q3cVTQ6a.esm.js";
20
+ import { i as cameraCycleProvider, n as createCameraCycleOwnership, o as flagIdManualReview, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-h7SmDXmW.esm.js";
21
21
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
22
22
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CR0Z10rU.esm.js";
23
- import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
23
+ import { t as carryAttempts } from "./attemptCarry-Dp2xFl7A.esm.js";
24
24
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
25
25
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
26
26
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
@@ -28,7 +28,7 @@ import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
28
28
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
29
29
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
30
30
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CRn9jT4K.esm.js";
31
- import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-DABHaQGi.esm.js";
31
+ import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-DHmVtq3F.esm.js";
32
32
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
33
33
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
34
34
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
@@ -2046,7 +2046,7 @@ fromPromise(async ({ input }) => {
2046
2046
  });
2047
2047
  fromPromise(async ({ input }) => {
2048
2048
  if (!input.dependencies) return;
2049
- const { loadDeepsightSession } = await import("./deepsightLoader-Ckm6t3kD.esm.js");
2049
+ const { loadDeepsightSession } = await import("./deepsightLoader-Dspegfs_.esm.js");
2050
2050
  return loadDeepsightSession({
2051
2051
  ds: input.ds,
2052
2052
  storage: input.dependencies.storage,
@@ -2489,7 +2489,7 @@ function cleanup(service) {
2489
2489
  service.cleanup();
2490
2490
  } catch {}
2491
2491
  }
2492
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Ckm6t3kD.esm.js")).loadDeepsightSession(input)) {
2492
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Dspegfs_.esm.js")).loadDeepsightSession(input)) {
2493
2493
  let disposed = false;
2494
2494
  let preparation;
2495
2495
  let service;
@@ -110,7 +110,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
110
110
  type: "shouldProceedWithoutSubmitToSecondId";
111
111
  params: unknown;
112
112
  };
113
- }>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "submitting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
114
114
  readonly id: "idOcr";
115
115
  readonly initial: "idle";
116
116
  readonly context: ({ input }: {
@@ -1,8 +1,8 @@
1
1
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { t as idOcrStateMachine } from "./idOcrStateMachine-B832arAl.esm.js";
5
+ import { t as idOcrStateMachine } from "./idOcrStateMachine-8PmK-51A.esm.js";
6
6
  //#region src/modules/id-ocr/idOcrActor.ts
7
7
  function createIdOcrActor(options) {
8
8
  return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { t as DateFormattingProvider } from "./DateFormattingProvider-DPq9zco-.esm.js";
@@ -1,8 +1,8 @@
1
1
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { t as idVerificationMachine } from "./idVerificationStateMachine-DeeugC00.esm.js";
5
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-XRiYohGp.esm.js";
6
6
  //#region src/modules/id-verification/idVerificationActor.ts
7
7
  function createIdVerificationActor(options) {
8
8
  return createActor(idVerificationMachine, { input: { config: options.config } }).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
2
2
  import { t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/id-verification/idVerificationServices.ts
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-CZ-qJ_Aa.js";
1
+ import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-C40ngKeM.js";
2
2
  export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseOutput, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -1,3 +1,3 @@
1
- import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-CLFjPp13.esm.js";
2
- import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-CjFZ7WRa.esm.js";
1
+ import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-X1jzn8C5.esm.js";
2
+ import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-BX6Xwekg.esm.js";
3
3
  export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -1,5 +1,5 @@
1
1
  import { f as moduleClosed, g as screenOpened, m as screenClosed, n as eventModuleNames, p as moduleOpened } from "./types-DYYMdAGv.esm.js";
2
- import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
3
3
  import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -1,8 +1,8 @@
1
1
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-C2lGiIT1.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { n as identityReuseMachine } from "./identityReuseStateMachine-CLFjPp13.esm.js";
5
+ import { n as identityReuseMachine } from "./identityReuseStateMachine-X1jzn8C5.esm.js";
6
6
  //#region src/modules/identity-reuse/identityReuseActor.ts
7
7
  /**
8
8
  * Creates and starts an IdentityReuse actor.
@@ -142,10 +142,6 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
142
142
  type: "setError";
143
143
  params: NonReducibleUnknown;
144
144
  };
145
- clearError: {
146
- type: "clearError";
147
- params: NonReducibleUnknown;
148
- };
149
145
  setSelectedDocument: {
150
146
  type: "setSelectedDocument";
151
147
  params: NonReducibleUnknown;
@@ -154,6 +150,10 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
154
150
  type: "setCompanyName";
155
151
  params: NonReducibleUnknown;
156
152
  };
153
+ clearError: {
154
+ type: "clearError";
155
+ params: NonReducibleUnknown;
156
+ };
157
157
  setIdentityShared: {
158
158
  type: "setIdentityShared";
159
159
  params: NonReducibleUnknown;
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/identity-reuse/identityReuseServices.ts
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-Cg1JJe3W.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-RudevH0l.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
- import { t as kybChecksMachine } from "./kybChecksStateMachine-DWYRi__r.esm.js";
2
- import { t as createKybChecksManager } from "./kybChecksManager-CAzYmH8L.esm.js";
1
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-DHUPRZvs.esm.js";
2
+ import { t as createKybChecksManager } from "./kybChecksManager-k_RFvulr.esm.js";
3
3
  export { createKybChecksManager, kybChecksMachine };
@@ -1,6 +1,6 @@
1
1
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
2
2
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
3
- import { t as kybChecksMachine } from "./kybChecksStateMachine-DWYRi__r.esm.js";
3
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-DHUPRZvs.esm.js";
4
4
  //#region src/modules/kyb-checks/kybChecksActor.ts
5
5
  /** Creates and starts a KYB Checks actor, idle until `LOAD`. */
6
6
  function createKybChecksActor(options = {}) {
@@ -1,5 +1,5 @@
1
- import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-D2biqI0c.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BMLJdwd_.esm.js";
2
+ import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-B0e6kXC-.esm.js";
3
3
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-DJPU3W2M.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CCkV4Cm3.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-D76rLUsm.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };