@incodetech/core 2.5.0-agentic → 2.5.0-agentic.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.
Files changed (224) hide show
  1. package/dist/{FaceDetectionProvider-Dv9iXub0.esm.js → FaceDetectionProvider-Cy2EAL0i.esm.js} +9 -9
  2. package/dist/{IIdCaptureCapability-CAxToGns.d.ts → IIdCaptureCapability-BRAZQtkM.d.ts} +1 -0
  3. package/dist/{MotionSensorProvider-X4_2eBGd.esm.js → MotionSensorProvider-BAGydZPH.esm.js} +5 -0
  4. package/dist/{WasmUtilProvider-DVFDFlIL.esm.js → WasmUtilProvider-C4x5gc1c.esm.js} +2 -2
  5. package/dist/{definitionSource-B-Z2EgJJ.esm.js → addressSearch-DBJeg_g3.esm.js} +76 -9
  6. package/dist/ae-signature.esm.js +1 -1
  7. package/dist/{phoneFormat-C3q0Ukh4.esm.js → allowedCharacters-Bnir--CN.esm.js} +1 -11
  8. package/dist/antifraud.esm.js +2 -2
  9. package/dist/{antifraudManager-BI2zr7YX.esm.js → antifraudManager-DRMBLSh7.esm.js} +3 -3
  10. package/dist/{antifraudStateMachine-TWUu8wLN.esm.js → antifraudStateMachine-Bi0m60oV.esm.js} +1 -1
  11. package/dist/{api-BNxrW8xK.esm.js → api-B58edv6M.esm.js} +0 -1
  12. package/dist/{apiError-BAfdBGxH.esm.js → apiError-B9-B3cMq.esm.js} +1 -1
  13. package/dist/{attemptCarry-DWM8lV9V.esm.js → attemptCarry-CxiYlUAO.esm.js} +1 -1
  14. package/dist/authentication.d.ts +3 -3
  15. package/dist/authentication.esm.js +2 -2
  16. package/dist/{authenticationManager-BJElkTsj.d.ts → authenticationManager-CkD0JR7Q.d.ts} +1 -1
  17. package/dist/{authenticationManager-DFzByAYo.esm.js → authenticationManager-DNWtc0eq.esm.js} +6 -6
  18. package/dist/{authenticationStateMachine-CKTOhwwc.esm.js → authenticationStateMachine-CJ9i4Al-.esm.js} +3 -3
  19. package/dist/{browser-pQZA35G2-CG3C-xGt.esm.js → browser-pQZA35G2-B4Dwja1e.esm.js} +1 -1
  20. package/dist/{calendarDate-DcqGuEht.esm.js → calendarDate-D2zWfUlA.esm.js} +1 -1
  21. package/dist/camera.esm.js +1 -1
  22. package/dist/certificate-issuance.esm.js +2 -2
  23. package/dist/{certificateIssuanceManager-P44yBRop.esm.js → certificateIssuanceManager-Ctj6AJC7.esm.js} +3 -3
  24. package/dist/{certificateIssuanceStateMachine-BPBrILt6.esm.js → certificateIssuanceStateMachine-DDqN9kvL.esm.js} +1 -1
  25. package/dist/{cnpj-Bl_olpdX.esm.js → cnpj-CVq3vL39.esm.js} +1 -9
  26. package/dist/cnpj-D5cxwIe-.esm.js +9 -0
  27. package/dist/consent.d.ts +1 -1
  28. package/dist/consent.esm.js +2 -2
  29. package/dist/{consentManager-Duzd8paN.d.ts → consentManager-B0YKqYtZ.d.ts} +5 -5
  30. package/dist/{consentManager-D43w2ms-.esm.js → consentManager-CyoeiABc.esm.js} +3 -3
  31. package/dist/{consentStateMachine-CLK8PfM4.esm.js → consentStateMachine-BTUrAslr.esm.js} +1 -1
  32. package/dist/cross-document-data-match.esm.js +1 -1
  33. package/dist/{crossDocumentDataMatchManager-Cag_bcyW.esm.js → crossDocumentDataMatchManager-cmQmp7Bi.esm.js} +3 -3
  34. package/dist/curp-validation.d.ts +1 -1
  35. package/dist/curp-validation.esm.js +2 -2
  36. package/dist/{curpValidationManager-C6WmQToS.esm.js → curpValidationManager-EW44fVpH.esm.js} +3 -3
  37. package/dist/{curpValidationManager-CmL52FU8.d.ts → curpValidationManager-HOidAKvT.d.ts} +1 -1
  38. package/dist/{curpValidationStateMachine-BbJ4YAzE.esm.js → curpValidationStateMachine-BFkt90Zs.esm.js} +3 -3
  39. package/dist/custom-fields.esm.js +1 -1
  40. package/dist/custom-watchlist.esm.js +2 -2
  41. package/dist/{customFieldsManager-BBy6X9nh.esm.js → customFieldsManager-DPMBJrcH.esm.js} +4 -4
  42. package/dist/{customWatchlistManager-CtBMy2EF.esm.js → customWatchlistManager-DiYpPjZx.esm.js} +3 -3
  43. package/dist/{customWatchlistStateMachine-SS2ssNCg.esm.js → customWatchlistStateMachine-D7VxQggF.esm.js} +1 -1
  44. package/dist/{deepsightCaptureConfig-Nm_K8twx.esm.js → deepsightCaptureConfig-BxD3mSac.esm.js} +2 -2
  45. package/dist/{deepsightLoader-BInnND1H.esm.js → deepsightLoader-KYZP8_x-.esm.js} +7 -7
  46. package/dist/definitionSource-B9WTvQb9.esm.js +30 -0
  47. package/dist/{desktopCameraElection-JNBOXqvK.esm.js → desktopCameraElection-BGQRIA2u.esm.js} +8 -8
  48. package/dist/document-capture.esm.js +2 -2
  49. package/dist/document-signature.esm.js +3 -3
  50. package/dist/{documentCaptureManager-CGDtkfWj.esm.js → documentCaptureManager-SRG6YEMh.esm.js} +3 -3
  51. package/dist/{documentCaptureStateMachine-flAt9D4q.esm.js → documentCaptureStateMachine-Bh0uyfGq.esm.js} +4 -4
  52. package/dist/{documentSignatureStateMachine-DrRyICFT.esm.js → documentSignatureStateMachine-CLljjltG.esm.js} +4 -4
  53. package/dist/dynamic-forms.esm.js +2 -2
  54. package/dist/{dynamicFormsManager-CxLq2KzT.esm.js → dynamicFormsManager-CnU2hRvl.esm.js} +3 -3
  55. package/dist/{dynamicFormsStateMachine-By-maT_4.esm.js → dynamicFormsStateMachine-huYmjamB.esm.js} +3 -3
  56. package/dist/ekyb.d.ts +4 -4
  57. package/dist/ekyb.esm.js +3 -3
  58. package/dist/{ekybManager-CE19Pcdb.esm.js → ekybManager-CaEErq39.esm.js} +3 -3
  59. package/dist/{ekybManager-BflWuTe4.d.ts → ekybManager-Cjk8pQX0.d.ts} +2 -2
  60. package/dist/{ekybStateMachine-q7JQ-x9l.esm.js → ekybStateMachine-BIU8KIMv.esm.js} +141 -10
  61. package/dist/{ekybUtils-Z9MhFAer.esm.js → ekybUtils-Dl0MU-ib.esm.js} +23 -1
  62. package/dist/ekyc-prefill.d.ts +5 -5
  63. package/dist/ekyc-prefill.esm.js +2 -2
  64. package/dist/ekyc.d.ts +3 -3
  65. package/dist/ekyc.esm.js +3 -3
  66. package/dist/{ekycManager-p3uenUEi.esm.js → ekycManager-D2K8AaMV.esm.js} +3 -3
  67. package/dist/{ekycManager-BKVQazAb.d.ts → ekycManager-DusmB-4j.d.ts} +2 -2
  68. package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-BwmPXfhY.d.ts} +12 -12
  69. package/dist/{ekycPrefillManager-gPX3XE7u.esm.js → ekycPrefillManager-CENQjdNq.esm.js} +6 -7
  70. package/dist/ekycPrefillStateMachine-jT3hIt2X.esm.js +1289 -0
  71. package/dist/{ekycStateMachine-D0NAHzS7.esm.js → ekycStateMachine-6EKndBd7.esm.js} +740 -230
  72. package/dist/{ekycUtils-DEvtEyBI.esm.js → ekycUtils-C6HZB46m.esm.js} +37 -6
  73. package/dist/electronic-signature.esm.js +1 -1
  74. package/dist/{electronicSignatureManager-C1M-Yxf2.esm.js → electronicSignatureManager-wM8WTgzP.esm.js} +4 -4
  75. package/dist/email.esm.js +2 -2
  76. package/dist/{emailManager-DWnhEsUf.esm.js → emailManager-BBdRYLtH.esm.js} +3 -3
  77. package/dist/{emailStateMachine--T9PHflK.esm.js → emailStateMachine-DO7lWYvn.esm.js} +2 -2
  78. package/dist/{events-ChMS-UzR.esm.js → events-PUWyizJn.esm.js} +2 -2
  79. package/dist/events.d.ts +0 -3
  80. package/dist/events.esm.js +2 -2
  81. package/dist/extensibility.d.ts +15 -15
  82. package/dist/extensibility.esm.js +36 -36
  83. package/dist/face-match.esm.js +2 -2
  84. package/dist/{faceCaptureManagerFactory-CHqmyOjM.d.ts → faceCaptureManagerFactory-D1EJw36F.d.ts} +3 -3
  85. package/dist/{faceCaptureManagerFactory-18QW0lmV.esm.js → faceCaptureManagerFactory-DbEARG3h.esm.js} +6 -6
  86. package/dist/{faceCaptureSetup-CFToXwHy.esm.js → faceCaptureSetup-VaAjMpWX.esm.js} +20 -12
  87. package/dist/{faceMatchManager-DIStK4qi.esm.js → faceMatchManager-nBvS9z0o.esm.js} +3 -3
  88. package/dist/{faceMatchStateMachine-DagrRdo2.esm.js → faceMatchStateMachine-48O8j_Lx.esm.js} +2 -2
  89. package/dist/{feature-management-BlscKbeV.esm.js → feature-management-D7oLtULO.esm.js} +1 -1
  90. package/dist/feature-management.esm.js +1 -1
  91. package/dist/field-comparison.esm.js +1 -1
  92. package/dist/{fieldComparisonManager-BnWBtMN7.esm.js → fieldComparisonManager-B1ipvtnp.esm.js} +3 -3
  93. package/dist/fiscal-qr.esm.js +1 -1
  94. package/dist/{fiscalQrManager-BxXaLhin.esm.js → fiscalQrManager-yecjuXV4.esm.js} +3 -3
  95. package/dist/flow-events.d.ts +1 -1
  96. package/dist/flow.d.ts +7 -7
  97. package/dist/flow.esm.js +5 -5
  98. package/dist/{flowCompletionService-DNLssMAg.esm.js → flowCompletionService-CIjaIpMH.esm.js} +2 -2
  99. package/dist/{flowServices-Bzq3piUR.esm.js → flowServices-Dqt75TXx.esm.js} +9 -9
  100. package/dist/formErrors-lSfh7Y8J.esm.js +512 -0
  101. package/dist/geolocation.esm.js +2 -2
  102. package/dist/{geolocationManager-DoLbpx5e.esm.js → geolocationManager-DHfgXhEs.esm.js} +3 -3
  103. package/dist/{geolocationStateMachine-d5_E7gAm.esm.js → geolocationStateMachine-CrEspaN-.esm.js} +3 -3
  104. package/dist/government-validation.esm.js +2 -2
  105. package/dist/{governmentValidationManager-CaZxyEOO.esm.js → governmentValidationManager-0-L21hu6.esm.js} +3 -3
  106. package/dist/{governmentValidationStateMachine-DeHHhlcf.esm.js → governmentValidationStateMachine-BFIcq3UB.esm.js} +1 -1
  107. package/dist/home.d.ts +1 -1
  108. package/dist/home.esm.js +2 -2
  109. package/dist/http.esm.js +1 -1
  110. package/dist/id-ocr.d.ts +1 -1
  111. package/dist/id-ocr.esm.js +19 -3
  112. package/dist/id-selfie-flow.d.ts +2 -2
  113. package/dist/id-selfie-flow.esm.js +8 -8
  114. package/dist/id-verification.esm.js +2 -2
  115. package/dist/id.d.ts +3 -3
  116. package/dist/id.esm.js +3 -3
  117. package/dist/{idCaptureDefaults-R3rHuTOE.esm.js → idCaptureDefaults-CNopPetU.esm.js} +16 -6
  118. package/dist/{idCaptureManager-D_YGMeCW.esm.js → idCaptureManager-BPDCAV04.esm.js} +24 -18
  119. package/dist/{idCaptureManager-CgkQW3Xc.d.ts → idCaptureManager-CNFBeYgV.d.ts} +20 -5
  120. package/dist/{idCaptureServices-CP6AxsFW.esm.js → idCaptureServices-CWZFmS7l.esm.js} +5 -5
  121. package/dist/{idCaptureStateMachine-BdBtGQZP.esm.js → idCaptureStateMachine-Cyt2BvPB.esm.js} +191 -44
  122. package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
  123. package/dist/{idOcrManager-XTbpfHoF.esm.js → idOcrManager-bjBLjrEE.esm.js} +3 -3
  124. package/dist/{idOcrStateMachine-B-00PgPh.esm.js → idOcrStateMachine-D5ifJ1B8.esm.js} +2 -2
  125. package/dist/{idVerificationManager-B4NYLlUl.esm.js → idVerificationManager-C8Ja-vKq.esm.js} +3 -3
  126. package/dist/{idVerificationStateMachine-B48Ikl-7.esm.js → idVerificationStateMachine-BMnfZZli.esm.js} +1 -1
  127. package/dist/identity-reuse.esm.js +2 -2
  128. package/dist/identity-search.esm.js +2 -2
  129. package/dist/{identityReuseManager-tFeYm_So.esm.js → identityReuseManager-B5BWAleT.esm.js} +3 -3
  130. package/dist/{identityReuseStateMachine-Ckf39qFu.esm.js → identityReuseStateMachine-Cuggm1UP.esm.js} +1 -1
  131. package/dist/{index-CNck5TLp.d.ts → index-BMr3MZEI.d.ts} +1 -1
  132. package/dist/{index-CoePktWH.d.ts → index-BoGlwLGK.d.ts} +1 -1
  133. package/dist/index.d.ts +1 -1
  134. package/dist/index.esm.js +1 -1
  135. package/dist/{invokeOnCaptureCallback-DNQX9k5e.esm.js → invokeOnCaptureCallback-D2FOfi4O.esm.js} +1 -1
  136. package/dist/kyb-checks.d.ts +3 -3
  137. package/dist/kyb-checks.esm.js +2 -2
  138. package/dist/{kybChecksManager-DP76y-Qz.esm.js → kybChecksManager-BF2vf0Q2.esm.js} +2 -2
  139. package/dist/{kybChecksManager-B7Di9auB.d.ts → kybChecksManager-CKDy1mel.d.ts} +1 -1
  140. package/dist/{kybChecksStateMachine-OKLT8Zoc.esm.js → kybChecksStateMachine-oBQfgdka.esm.js} +176 -179
  141. package/dist/mandatory-consent.d.ts +2 -2
  142. package/dist/mandatory-consent.esm.js +2 -2
  143. package/dist/{mandatoryConsentManager-kzr5kdc_.d.ts → mandatoryConsentManager-BcxCesP5.d.ts} +6 -6
  144. package/dist/{mandatoryConsentManager-NX1lz6nk.esm.js → mandatoryConsentManager-FfgHdPYw.esm.js} +3 -3
  145. package/dist/{mandatoryConsentStateMachine-D1J2NQSI.esm.js → mandatoryConsentStateMachine-CXuYC3qR.esm.js} +1 -1
  146. package/dist/{multipartRecordingService-Cz-cWrpV.esm.js → multipartRecordingService-CFmOUGQt.esm.js} +1 -1
  147. package/dist/numericRange-2e1vw1W0.esm.js +256 -0
  148. package/dist/{permissionGuards-Cyh71hOt.esm.js → permissionGuards-CZTCRHT-.esm.js} +1 -1
  149. package/dist/{permissionServices-BrtDMB0Z.esm.js → permissionServices-Vd86JiW9.esm.js} +19 -7
  150. package/dist/phone.d.ts +1 -1
  151. package/dist/phone.esm.js +2 -2
  152. package/dist/{phoneManager-VO1HEoUZ.d.ts → phoneManager-bA-xw2TP.d.ts} +0 -8
  153. package/dist/{phoneManager-D1QPNbu0.esm.js → phoneManager-oIMdbeLG.esm.js} +5 -6
  154. package/dist/{phoneServices-DC7AuUed.esm.js → phoneServices-Dk4j3NhI.esm.js} +2 -12
  155. package/dist/{phoneStateMachine-CxCPxTIy.esm.js → phoneStateMachine-Cu3y7ewi.esm.js} +3 -8
  156. package/dist/{processFaceMatch-BQoiqLVh.esm.js → processFaceMatch-CHeI0DEt.esm.js} +1 -1
  157. package/dist/qe-signature.esm.js +1 -1
  158. package/dist/{recordingService-CSCvD2tB.esm.js → recordingService-DK3kjUby.esm.js} +3 -3
  159. package/dist/redirect-to-mobile.esm.js +2 -2
  160. package/dist/{redirectToMobileManager-Dcpg5GfP.esm.js → redirectToMobileManager-yYJGE47m.esm.js} +3 -3
  161. package/dist/{redirectToMobileStateMachine-BMehrtVP.esm.js → redirectToMobileStateMachine-g_NbyHrL.esm.js} +1 -1
  162. package/dist/{runChildModule-DNEmc7of.esm.js → runChildModule-x1rrxjYY.esm.js} +2 -2
  163. package/dist/{sdkVersion-etdZfyCR.esm.js → sdkVersion-kRh5h82H.esm.js} +1 -1
  164. package/dist/selfie.d.ts +3 -3
  165. package/dist/selfie.esm.js +11 -11
  166. package/dist/{selfieErrorUtils-DT-uhK20.esm.js → selfieErrorUtils-B9GfiS9f.esm.js} +1 -1
  167. package/dist/{selfieManager-CdS6a7Q8.esm.js → selfieManager-CivYjnF5.esm.js} +6 -6
  168. package/dist/{selfieManager-DrBYj5kA.d.ts → selfieManager-CqDlUy6B.d.ts} +1 -1
  169. package/dist/{selfieStateMachine-ChCl3nyf.esm.js → selfieStateMachine-dLwrXWll.esm.js} +3 -3
  170. package/dist/{session-VXYuRYzb.esm.js → session-DeJ-rd9u.esm.js} +5 -5
  171. package/dist/session.d.ts +1 -1
  172. package/dist/session.esm.js +5 -5
  173. package/dist/{sessionInitializer-BT_CmYcX.esm.js → sessionInitializer-uZgyxsrL.esm.js} +11 -11
  174. package/dist/{setup-rcXgYUcY.d.ts → setup-Cr2KCwau.d.ts} +1 -1
  175. package/dist/{setup-BXrgDdfx.esm.js → setup-D0QZHkS8.esm.js} +13 -13
  176. package/dist/signature.esm.js +2 -2
  177. package/dist/{signatureManager-B737Gkvk.esm.js → signatureManager-DRUflksL.esm.js} +3 -3
  178. package/dist/{signatureStateMachine-B-QG7fk0.esm.js → signatureStateMachine-BQZenxel.esm.js} +1 -1
  179. package/dist/{stats-CrqhpKkP.esm.js → stats-DHu3li6G.esm.js} +1 -1
  180. package/dist/stats.esm.js +1 -1
  181. package/dist/{tri-BD9z6z0w.esm.js → tri-D_gHPWrq.esm.js} +2 -2
  182. package/dist/tri.d.ts +1 -1
  183. package/dist/{tri.esm-DYdFtcDH.esm.js → tri.esm-CftnGf9w.esm.js} +187 -177
  184. package/dist/tri.esm.js +1 -1
  185. package/dist/trueSight-CbrZUzLx.esm.js +1 -0
  186. package/dist/{trueSightService-BwyLhIAo.esm.js → trueSightService-BMp8g65B.esm.js} +5 -7
  187. package/dist/trust-graph.esm.js +3 -3
  188. package/dist/{trustGraphStateMachine-BxvReuo1.esm.js → trustGraphStateMachine-0Ehwried.esm.js} +1 -1
  189. package/dist/{types-4Re9FSOw.d.ts → types-BZsmNYom.d.ts} +3 -4
  190. package/dist/types-BinnzVrL.d.ts +6 -0
  191. package/dist/{types-BgRHw-dR.d.ts → types-BwMpWCVG.d.ts} +6 -2
  192. package/dist/{types-b0l9b83G.d.ts → types-D-FEM1rT.d.ts} +26 -10
  193. package/dist/{textRules-D4NRinKY.d.ts → types-D6Q1D1kx.d.ts} +1 -9
  194. package/dist/{types-CBQN04Rh.esm.js → types-DLsivQsu.esm.js} +0 -3
  195. package/dist/{types-CTaL0XJz.d.ts → types-DWqO7owj.d.ts} +2 -24
  196. package/dist/{types-CEGG70FK.d.ts → types-HHgsFhZn.d.ts} +1 -1
  197. package/dist/{types-C1056-J1.d.ts → types-LbccjQYX.d.ts} +1 -1
  198. package/dist/{types-DHpz4Y37.d.ts → types-PnJXvTkV.d.ts} +1 -1
  199. package/dist/{types-B-PIc0en.d.ts → types-g3NuVCT9.d.ts} +40 -37
  200. package/dist/{types-DEa3taWc.d.ts → types-tOSLpcSa.d.ts} +16 -2
  201. package/dist/video-selfie.d.ts +14 -6
  202. package/dist/video-selfie.esm.js +12 -9
  203. package/dist/{videoSelfieCameraWarmer-DgRlU_8q.esm.js → videoSelfieCameraWarmer-BpP0_lDr.esm.js} +27 -8
  204. package/dist/{videoSelfieStepDetector-DC_Qh7qI.d.ts → videoSelfieStepDetector-CxOc3kSI.d.ts} +3 -3
  205. package/dist/{warmup-BN8dG2KX.esm.js → warmup-ClZxXOkg.esm.js} +1 -1
  206. package/dist/wasm.d.ts +2 -2
  207. package/dist/wasm.esm.js +3 -3
  208. package/dist/{wasmDsFlagSync-DwBfTlgB.esm.js → wasmDsFlagSync-Bw-P5OG1.esm.js} +1 -1
  209. package/dist/{wasmWebClient-B2P6Vlvv.esm.js → wasmWebClient-BLtlzQhv.esm.js} +9 -9
  210. package/dist/watchlist-for-business.esm.js +2 -2
  211. package/dist/watchlist.esm.js +2 -2
  212. package/dist/{watchlistForBusinessManager-DxeSH80T.esm.js → watchlistForBusinessManager-d8kdf35n.esm.js} +3 -3
  213. package/dist/{watchlistForBusinessStateMachine-BC9UWLuZ.esm.js → watchlistForBusinessStateMachine-Y9wFmuMH.esm.js} +4 -3
  214. package/dist/{watchlistManager-BHzmC9OC.esm.js → watchlistManager-D1BVrd3H.esm.js} +3 -3
  215. package/dist/{watchlistStateMachine-Bxzn16iJ.esm.js → watchlistStateMachine-Da4p0sTE.esm.js} +1 -1
  216. package/dist/workflow.d.ts +1 -1
  217. package/dist/workflow.esm.js +42 -42
  218. package/package.json +3 -3
  219. package/dist/addressSearch-BKlynuBr.esm.js +0 -71
  220. package/dist/ekycPrefillStateMachine-SBnBKPGA.esm.js +0 -685
  221. package/dist/ekycRules-BH_Ll_0A.esm.js +0 -482
  222. package/dist/idOcrCpfUtils-D5Gwskxu.esm.js +0 -18
  223. package/dist/trueSight-BymJD5cW.esm.js +0 -1
  224. package/dist/types-BtrJ5fkm.d.ts +0 -6
@@ -1,36 +1,36 @@
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-BXrgDdfx.esm.js";
3
- import { t as WasmUtilProvider } from "./WasmUtilProvider-DVFDFlIL.esm.js";
4
- import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
5
- import { r as getToken, t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
6
- import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
7
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-BwyLhIAo.esm.js";
8
- import "./trueSight-BymJD5cW.esm.js";
9
- import { t as getDisableIpify } from "./sessionInitializer-BT_CmYcX.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-D0QZHkS8.esm.js";
3
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-C4x5gc1c.esm.js";
4
+ import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
5
+ import { r as getToken, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
6
+ import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
7
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-BMp8g65B.esm.js";
8
+ import "./trueSight-CbrZUzLx.esm.js";
9
+ import { t as getDisableIpify } from "./sessionInitializer-uZgyxsrL.esm.js";
10
10
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
11
- import { s as exposeExperimentOnce } from "./feature-management-BlscKbeV.esm.js";
12
- import { t as addDeviceStats } from "./stats-CrqhpKkP.esm.js";
11
+ import { s as exposeExperimentOnce } from "./feature-management-D7oLtULO.esm.js";
12
+ import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
13
13
  import { d as isSamsungDevice, i as isIOS, l as isMacOsSafari, o as isIPad, s as isIPhone14OrHigher, t as isAndroid } from "./platform-GIg4uPWe.esm.js";
14
- import "./session-VXYuRYzb.esm.js";
14
+ import "./session-DeJ-rd9u.esm.js";
15
15
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
16
16
  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";
17
17
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
18
18
  import { r as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-B2wagB5v.esm.js";
19
19
  import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
20
- import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-BrtDMB0Z.esm.js";
20
+ import { a as requestMotionPermission, d as queryPermission, n as checkPermission, r as invokeRequestPermissionActor, s as requiresMotionPermissionUserGesture, t as canPrimeMotionWithoutUserGesture } from "./permissionServices-Vd86JiW9.esm.js";
21
21
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
22
22
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
23
- import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-Nm_K8twx.esm.js";
24
- import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, r as readIadCameraStepGates, s as flagIdManualReview, t as electDesktopCameraDevice } from "./desktopCameraElection-JNBOXqvK.esm.js";
23
+ import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-BxD3mSac.esm.js";
24
+ import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, r as readIadCameraStepGates, s as flagIdManualReview, t as electDesktopCameraDevice } from "./desktopCameraElection-BGQRIA2u.esm.js";
25
25
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
26
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-Cyh71hOt.esm.js";
27
- import { t as carryAttempts } from "./attemptCarry-DWM8lV9V.esm.js";
26
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CZTCRHT-.esm.js";
27
+ import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
28
28
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
29
29
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
30
30
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
31
31
  import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
32
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-R3rHuTOE.esm.js";
33
- 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-CP6AxsFW.esm.js";
32
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CNopPetU.esm.js";
33
+ 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-CWZFmS7l.esm.js";
34
34
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
35
35
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
36
36
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
@@ -889,6 +889,25 @@ async function detectDigitalIdCountries(dependencies, options = {}) {
889
889
  function isRedirectFlowType(flowType) {
890
890
  return flowType === "REDIRECT" || flowType === "WEB_REDIRECT";
891
891
  }
892
+ /**
893
+ * True when a digital-ID method is launched by the `digitalIdRedirect` child:
894
+ * a full-page redirect, or a QR code for a wallet on another device (EUDI
895
+ * wallets over OID4VP, e.g. France Identité). Both are external-provider
896
+ * methods, never a device wallet; only the launch step differs.
897
+ */
898
+ function isProviderLaunchFlowType(flowType) {
899
+ return isRedirectFlowType(flowType) || flowType === "QR";
900
+ }
901
+ /**
902
+ * BACK-COMPAT ONLY for redirect providers — do not add new providers here.
903
+ *
904
+ * The backend catalog (user-service) defines every Digital ID provider and
905
+ * sends `providerId`, `flowType`, `displayName`, `logoUrl` and `countries` on
906
+ * each `digitalIds.methods[]` entry; the SDK launches such a method from that
907
+ * data alone. The redirect entries below only serve backends that still send
908
+ * bare method names. The `mDL` funnel (device wallet first, then its redirect
909
+ * fallback) is the one part that is still SDK logic.
910
+ */
892
911
  const DIGITAL_ID_REGISTRY = {
893
912
  mDL: [{
894
913
  kind: "incodeWallet",
@@ -1000,11 +1019,12 @@ const TEST_MOCK_REDIRECT_PROVIDER_BY_METHOD = {
1000
1019
  TRINSIC_MOCK_OUTPUT: "trinsic_trinsic_mock_output"
1001
1020
  };
1002
1021
  /**
1003
- * Persisted method name → catalog provider id, derived from the registry's
1004
- * Trinsic entries (single source of truth). Lets the SDK launch iDIN / FTN
1005
- * from a backend that does not yet send `providerId` on each method.
1006
- * TODO(roadmap: fully-catalog-driven): remove once every backend enriches
1007
- * `digitalIds.methods[]` with `providerId` + `flowType`.
1022
+ * BACK-COMPAT ONLY: persisted method name → provider id, derived from the
1023
+ * registry's redirect entries. Used only when a method arrives without
1024
+ * `providerId` + a launch `flowType` (backends older than the catalog
1025
+ * enrichment, ENG-60819). An enriched method always wins.
1026
+ * TODO(roadmap: fully-catalog-driven): remove once every supported backend
1027
+ * enriches `digitalIds.methods[]` with `providerId` + `flowType`.
1008
1028
  */
1009
1029
  const REDIRECT_PROVIDER_BY_METHOD = (() => {
1010
1030
  const map = { ...TEST_MOCK_REDIRECT_PROVIDER_BY_METHOD };
@@ -1012,9 +1032,9 @@ const REDIRECT_PROVIDER_BY_METHOD = (() => {
1012
1032
  return map;
1013
1033
  })();
1014
1034
  /**
1015
- * Catalog provider id → the countries it serves, from the registry. Lets the
1016
- * chooser rank redirect providers by country even when the backend does not enrich
1017
- * `digitalIds.methods[]` with `countries`.
1035
+ * BACK-COMPAT ONLY: catalog provider id → the countries it serves, from the
1036
+ * registry. Lets the chooser rank redirect providers by country when the
1037
+ * backend sends a method without `countries`; the backend's list always wins.
1018
1038
  */
1019
1039
  const REDIRECT_PROVIDER_COUNTRIES = Object.fromEntries(DIGITAL_ID_DOCUMENT_TYPES.flatMap((docType) => DIGITAL_ID_REGISTRY[docType].flatMap((entry) => entry.kind === "trinsicRedirect" && entry.countries ? [[entry.providerId, entry.countries]] : [])));
1020
1040
  /**
@@ -1046,7 +1066,7 @@ function isStandaloneRedirectProvider(providerId) {
1046
1066
  */
1047
1067
  function resolveRedirectProviderId(method) {
1048
1068
  if (method.flowType) {
1049
- if (!isRedirectFlowType(method.flowType)) return;
1069
+ if (!isProviderLaunchFlowType(method.flowType)) return;
1050
1070
  const explicit = method.provider ?? method.providerId;
1051
1071
  if (explicit) return explicit;
1052
1072
  }
@@ -1076,7 +1096,7 @@ function normalizeDigitalIdMethods(config) {
1076
1096
  * `SAMSUNG_WALLET` is listed by name because the onboarding catalog does not
1077
1097
  * enrich it yet: it arrives as a bare `{ method: 'SAMSUNG_WALLET' }`. Without
1078
1098
  * the name it would fall through to the unfiltered `deviceWallet` flag and
1079
- * skip `WALLET_PLATFORM_RULES`' Samsung-only rule.
1099
+ * skip `WALLET_PLATFORM_RULES`, whose Samsung rule keeps it off the tile.
1080
1100
  */
1081
1101
  const DEVICE_WALLET_METHODS = /* @__PURE__ */ new Set([
1082
1102
  "APPLE_WALLET",
@@ -1094,23 +1114,25 @@ const DEVICE_WALLET_METHODS = /* @__PURE__ */ new Set([
1094
1114
  * any caller walks the list.
1095
1115
  */
1096
1116
  function isDeviceWalletMethod(method) {
1097
- if (method.flowType && isRedirectFlowType(method.flowType)) return false;
1117
+ if (method.flowType === "DEVICE_WALLET") return true;
1118
+ if (method.flowType && isProviderLaunchFlowType(method.flowType)) return false;
1098
1119
  if (method.type?.toUpperCase() === "MDL") return true;
1099
1120
  return method.method !== void 0 && DEVICE_WALLET_METHODS.has(method.method.toUpperCase());
1100
1121
  }
1101
1122
  /**
1102
1123
  * Device-level hard filter per wallet method: a wallet the device cannot reach
1103
- * is never offered. Apple Wallet needs the Apple platform, Google Wallet any
1104
- * other, and Samsung Wallet a Samsung device. Methods without a rule (CA DMV
1105
- * Wallet, an unknown catalog `MDL` method) run on either platform.
1124
+ * is never offered. Apple Wallet needs the Apple platform and Google Wallet any
1125
+ * other. Samsung Wallet never makes the Digital ID tile show: it has its own
1126
+ * card, whose eligibility is `hasEligibleSamsungWallet`. Methods without a rule
1127
+ * (CA DMV Wallet, an unknown catalog `MDL` method) run on either platform.
1106
1128
  *
1107
1129
  * A rule only rejects on a known platform fact, so a caller that omits
1108
- * `walletPlatform` / `samsungDevice` gets no filtering.
1130
+ * `walletPlatform` gets no filtering.
1109
1131
  */
1110
1132
  const WALLET_PLATFORM_RULES = {
1111
1133
  APPLE_WALLET: (platform) => platform.walletPlatform !== "android",
1112
1134
  GOOGLE_WALLET: (platform) => platform.walletPlatform !== "ios",
1113
- SAMSUNG_WALLET: (platform) => platform.walletPlatform !== "ios" && platform.samsungDevice !== false
1135
+ SAMSUNG_WALLET: () => false
1114
1136
  };
1115
1137
  function isDeviceWalletMethodEligible(method, platform) {
1116
1138
  const rule = method.method !== void 0 ? WALLET_PLATFORM_RULES[method.method.toUpperCase()] : void 0;
@@ -1137,6 +1159,18 @@ function hasEligibleDeviceWallet(config, platform) {
1137
1159
  if (walletMethods.length > 0) return walletMethods.some((method) => isDeviceWalletMethodEligible(method, platform));
1138
1160
  return config.deviceWallet === true;
1139
1161
  }
1162
+ /**
1163
+ * Whether the separate Samsung Wallet card shows: the Credentials API is
1164
+ * there, `SAMSUNG_WALLET` is enabled for the flow, and the device is not an
1165
+ * Apple one. It runs over the v2 `samsung_wallet` verification, signed with
1166
+ * the Samsung verifier certificate (`createSamsungWalletServices`).
1167
+ *
1168
+ * Not narrowed to detected Samsung devices: Chrome reduces the Android user
1169
+ * agent, so `samsungDevice` is `false` on most Samsung phones.
1170
+ */
1171
+ function hasEligibleSamsungWallet(config, platform) {
1172
+ return platform.credentialsAvailable && platform.walletPlatform !== "ios" && normalizeDigitalIdMethods(config).some((method) => method.method?.toUpperCase() === "SAMSUNG_WALLET");
1173
+ }
1140
1174
  /** Whether a funnel entry is activated by config + platform capabilities. */
1141
1175
  function isEntryActive(entry, config, platform) {
1142
1176
  if (entry.kind === "incodeWallet") return platform.credentialsAvailable && hasEligibleDeviceWallet(config, platform);
@@ -1149,11 +1183,11 @@ function isEntryActive(entry, config, platform) {
1149
1183
  * `normalizeDigitalIdMethods`.
1150
1184
  */
1151
1185
  function findConfiguredMethod(entry, config) {
1152
- return normalizeDigitalIdMethods(config).find((method) => method.method?.toUpperCase() === entry.method || method.provider === entry.providerId && !!method.flowType && isRedirectFlowType(method.flowType));
1186
+ return normalizeDigitalIdMethods(config).find((method) => method.method?.toUpperCase() === entry.method || method.provider === entry.providerId && !!method.flowType && isProviderLaunchFlowType(method.flowType));
1153
1187
  }
1154
1188
  /** Normalizes a raw configured method into the mapped shape for the child input. */
1155
1189
  function toMappedMethod(entry, method) {
1156
- if (method.flowType && isRedirectFlowType(method.flowType)) return method;
1190
+ if (method.flowType && isProviderLaunchFlowType(method.flowType)) return method;
1157
1191
  return {
1158
1192
  method: method.method,
1159
1193
  provider: entry.providerId,
@@ -1185,14 +1219,15 @@ function resolveDigitalIdImplementation(docType, config, platform) {
1185
1219
  /**
1186
1220
  * Normalizes a configured method into the mapped redirect shape for a
1187
1221
  * resolved provider. The already-mapped shape is returned as-is; the raw
1188
- * backend shape gets `provider` + `WEB_REDIRECT` filled in.
1222
+ * backend shape gets `provider` filled in, and keeps its own launch
1223
+ * `flowType` (`QR` for a wallet on another device), else `WEB_REDIRECT`.
1189
1224
  */
1190
1225
  function toRedirectMethod(method, provider) {
1191
1226
  if (method.provider && method.flowType) return method;
1192
1227
  return {
1193
1228
  method: method.method,
1194
1229
  provider,
1195
- flowType: "WEB_REDIRECT",
1230
+ flowType: method.flowType && isProviderLaunchFlowType(method.flowType) ? method.flowType : "WEB_REDIRECT",
1196
1231
  country: method.country ?? method.countries?.[0],
1197
1232
  displayName: method.displayName,
1198
1233
  logoUrl: method.logoUrl
@@ -1335,6 +1370,7 @@ function getAvailableDocumentTypes(config, platform = { credentialsAvailable: fa
1335
1370
  const documentType = route.kind === "incodeWallet" ? "digitalId" : "digitalIdRedirect";
1336
1371
  if (!adjustedDocumentTypes.includes(documentType)) adjustedDocumentTypes.push(documentType);
1337
1372
  }
1373
+ if (hasEligibleSamsungWallet(config, platform)) adjustedDocumentTypes.push("samsungWallet");
1338
1374
  if (!adjustedDocumentTypes.includes("digitalIdRedirect") && getAvailableDigitalIdRedirectOptions(config).length > 0) adjustedDocumentTypes.push("digitalIdRedirect");
1339
1375
  return adjustedDocumentTypes;
1340
1376
  }
@@ -1403,6 +1439,10 @@ const isReadyForCaptureGuard = ({ context, event }) => {
1403
1439
  const needsMotionPrimeOnlyGuard = ({ context, event }) => {
1404
1440
  return needsMotionPrimeOnlyFromPermission(resolveStoredPermissionResult(getPermissionOutput(event), context.permissionResult), wantsDeepsightMotion(context.config));
1405
1441
  };
1442
+ const needsMotionPrimeWithoutGestureGuard = ({ context, event }) => needsMotionPrimeOnlyGuard({
1443
+ context,
1444
+ event
1445
+ }) && canPrimeMotionWithoutUserGesture();
1406
1446
  const isPermissionDeniedErrorGuard = ({ event }) => {
1407
1447
  if ("error" in event) {
1408
1448
  const error = event.error;
@@ -1502,6 +1542,8 @@ const isDigitalIdUploadSelectedGuard = ({ event }) => event.type === "SELECT_DOC
1502
1542
  const isDigitalIdRedirectSelectedGuard = ({ event }) => event.type === "SELECT_DOCUMENT" && event.documentType === "digitalIdRedirect";
1503
1543
  /** The Digital ID (device wallet) chooser tile was picked. */
1504
1544
  const isDigitalIdSelectedGuard = ({ event }) => event.type === "SELECT_DOCUMENT" && event.documentType === "digitalId";
1545
+ /** The separate Samsung Wallet card was picked. */
1546
+ const isSamsungWalletSelectedGuard = ({ event }) => event.type === "SELECT_DOCUMENT" && event.documentType === "samsungWallet";
1505
1547
  /** Funnel resolution stored by `resolveDigitalIdRoute` picked the native wallet. */
1506
1548
  const digitalIdRouteIsWalletGuard = ({ context }) => context.digitalIdRoute?.kind === "incodeWallet";
1507
1549
  /** Funnel resolution picked the Trinsic web-redirect fallback. */
@@ -2042,7 +2084,7 @@ fromPromise(async ({ input }) => {
2042
2084
  });
2043
2085
  fromPromise(async ({ input }) => {
2044
2086
  if (!input.dependencies) return;
2045
- const { loadDeepsightSession } = await import("./deepsightLoader-BInnND1H.esm.js");
2087
+ const { loadDeepsightSession } = await import("./deepsightLoader-KYZP8_x-.esm.js");
2046
2088
  return loadDeepsightSession({
2047
2089
  ds: input.ds,
2048
2090
  storage: input.dependencies.storage,
@@ -2486,7 +2528,7 @@ function cleanup(service) {
2486
2528
  service.cleanup();
2487
2529
  } catch {}
2488
2530
  }
2489
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-BInnND1H.esm.js")).loadDeepsightSession(input)) {
2531
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-KYZP8_x-.esm.js")).loadDeepsightSession(input)) {
2490
2532
  let disposed = false;
2491
2533
  let preparation;
2492
2534
  let service;
@@ -3882,6 +3924,7 @@ const digitalIdRedirectMachine = setup({
3882
3924
  },
3883
3925
  guards: {
3884
3926
  hasPresetProvider: ({ context }) => Boolean(context.config.provider),
3927
+ createdQrFlow: ({ event }) => event.output.flowType === "QR",
3885
3928
  autoStartPreset: ({ context }) => context.autoStart && Boolean(context.config.provider),
3886
3929
  autoStartCatalog: ({ context }) => context.autoStart && !context.config.provider,
3887
3930
  isResuming: ({ context }) => Boolean(context.returnParams),
@@ -3960,15 +4003,41 @@ const digitalIdRedirectMachine = setup({
3960
4003
  providerId: context.selectedProvider ?? "",
3961
4004
  redirectUrl: context.returnUrl
3962
4005
  }),
3963
- onDone: {
4006
+ onDone: [{
4007
+ guard: "createdQrFlow",
4008
+ target: "showingQr",
4009
+ actions: "setVerification"
4010
+ }, {
3964
4011
  target: "persisting",
3965
4012
  actions: "setVerification"
3966
- },
4013
+ }],
3967
4014
  onError: {
3968
4015
  target: "error",
3969
4016
  actions: "setError"
3970
4017
  }
3971
4018
  } },
4019
+ showingQr: {
4020
+ invoke: {
4021
+ src: "pollStatus",
4022
+ input: ({ context }) => ({ verificationId: context.verificationId ?? "" })
4023
+ },
4024
+ on: {
4025
+ POLL_RESULT: [{
4026
+ guard: "polledOk",
4027
+ target: "succeeded",
4028
+ actions: "setVerificationFromEvent"
4029
+ }, {
4030
+ target: "failed",
4031
+ actions: "setVerificationFromEvent"
4032
+ }],
4033
+ CLOSE: { target: "closed" },
4034
+ USE_ANOTHER_METHOD: { target: "closed" }
4035
+ },
4036
+ after: { [MAX_POLL_DURATION_MS]: {
4037
+ target: "error",
4038
+ actions: assign({ error: () => POLL_CEILING_ERROR })
4039
+ } }
4040
+ },
3972
4041
  persisting: { invoke: {
3973
4042
  src: "persistPending",
3974
4043
  input: ({ context }) => ({
@@ -4063,6 +4132,65 @@ const digitalIdRedirectMachine = setup({
4063
4132
  }
4064
4133
  });
4065
4134
  //#endregion
4135
+ //#region src/modules/id/deviceWallet/samsungWalletServices.ts
4136
+ /** Catalog provider id of Samsung Wallet on the v2 digital-ID API. */
4137
+ const SAMSUNG_WALLET_PROVIDER_ID = "samsung_wallet";
4138
+ /**
4139
+ * Device-wallet services for Samsung Wallet over the v2 digital-ID API.
4140
+ *
4141
+ * Samsung Wallet must get a request signed with the Samsung verifier
4142
+ * certificate. The v1 Google request (`/device/wallet/google/request`) is
4143
+ * signed with the Google one, which Samsung Wallet does not trust, so this
4144
+ * handshake creates a `samsung_wallet` verification instead: its
4145
+ * `flowData.challengeData` is the Samsung-signed Digital Credentials API
4146
+ * request (the same shapes as the Google payload, see
4147
+ * {@link toGoogleRequestOptions}), and the wallet's JWE goes back to that
4148
+ * verification's `/response`.
4149
+ *
4150
+ * One instance per handshake: it keeps the verification id between the
4151
+ * request and the response. A retry creates the verification again; the
4152
+ * backend reuses the pending one.
4153
+ */
4154
+ function createSamsungWalletServices() {
4155
+ let verificationId;
4156
+ return {
4157
+ async requestWalletData(_platform, signal) {
4158
+ const verification = (await api.post(endpoints.digitalIdVerifications, {
4159
+ providerId: SAMSUNG_WALLET_PROVIDER_ID,
4160
+ signedSupported: true
4161
+ }, { signal })).data;
4162
+ const challengeData = verification.flowData?.challengeData;
4163
+ if (!verification.verificationId || !challengeData) throw new Error("Samsung Wallet verification has no wallet request");
4164
+ verificationId = verification.verificationId;
4165
+ return toGoogleRequestOptions(JSON.parse(challengeData));
4166
+ },
4167
+ async decryptWalletResponse(_platform, walletResponse, signal) {
4168
+ if (!verificationId) throw new Error("Samsung Wallet response without a verification");
4169
+ return toDecryptResponse((await api.post(`${endpoints.digitalIdVerifications}/${verificationId}/response`, { walletResponse }, { signal })).data);
4170
+ }
4171
+ };
4172
+ }
4173
+ /**
4174
+ * Maps the v2 status onto the v1 decrypt response the device-wallet machine
4175
+ * reads. `FAILED` is a completed but rejected handshake, as a v1 `REJECTED`
4176
+ * decision is; any other non-terminal or ended status is an error, so the
4177
+ * machine offers a retry.
4178
+ */
4179
+ function toDecryptResponse(verification) {
4180
+ switch (verification.status) {
4181
+ case "COMPLETED": return {
4182
+ success: true,
4183
+ decision: "ACCEPTED"
4184
+ };
4185
+ case "FAILED": return {
4186
+ success: false,
4187
+ decision: "REJECTED",
4188
+ failureReason: verification.failureReason
4189
+ };
4190
+ default: throw new Error(`Samsung Wallet verification ended as ${verification.status ?? "unknown"}`);
4191
+ }
4192
+ }
4193
+ //#endregion
4066
4194
  //#region src/modules/id/idCaptureDependencies.ts
4067
4195
  function resolveIdCaptureDependencies(dependencies) {
4068
4196
  return dependencies ?? { storage: new BrowserStorageProvider() };
@@ -4624,6 +4752,10 @@ const idCaptureMachine = setup({
4624
4752
  context,
4625
4753
  event: asPublicIdEvent(event)
4626
4754
  }),
4755
+ needsMotionPrimeWithoutGesture: ({ context, event }) => needsMotionPrimeWithoutGestureGuard({
4756
+ context,
4757
+ event: asPublicIdEvent(event)
4758
+ }),
4627
4759
  isPermissionDeniedError: ({ event }) => isPermissionDeniedErrorGuard({ event: asPublicIdEvent(event) }),
4628
4760
  isPermissionBlocked: isPermissionBlockedGuard,
4629
4761
  requiresMotionPermissionUserGesture: requiresMotionPermissionUserGestureGuard,
@@ -4645,6 +4777,7 @@ const idCaptureMachine = setup({
4645
4777
  isDigitalIdUploadSelected: ({ event }) => isDigitalIdUploadSelectedGuard({ event: asPublicIdEvent(event) }),
4646
4778
  isDigitalIdRedirectSelected: ({ event }) => isDigitalIdRedirectSelectedGuard({ event: asPublicIdEvent(event) }),
4647
4779
  isDigitalIdSelected: ({ event }) => isDigitalIdSelectedGuard({ event: asPublicIdEvent(event) }),
4780
+ isSamsungWalletSelected: ({ event }) => isSamsungWalletSelectedGuard({ event: asPublicIdEvent(event) }),
4648
4781
  digitalIdRouteIsWallet: digitalIdRouteIsWalletGuard,
4649
4782
  digitalIdRouteIsTrinsic: digitalIdRouteIsTrinsicGuard,
4650
4783
  isUploadExpired: isUploadExpiredGuard,
@@ -4863,6 +4996,11 @@ const idCaptureMachine = setup({
4863
4996
  guard: "isDigitalIdSelected",
4864
4997
  actions: ["setSelectedDocument", "resolveDigitalIdRoute"]
4865
4998
  },
4999
+ {
5000
+ target: "deviceWallet",
5001
+ guard: "isSamsungWalletSelected",
5002
+ actions: ["setSelectedDocument"]
5003
+ },
4866
5004
  {
4867
5005
  target: "digitalIdRedirect",
4868
5006
  guard: "isDigitalIdRedirectSelected",
@@ -5097,6 +5235,11 @@ const idCaptureMachine = setup({
5097
5235
  guard: ({ event }) => event.output === "denied",
5098
5236
  actions: assign({ permissionResult: ({ event }) => event.output })
5099
5237
  },
5238
+ {
5239
+ target: "requesting",
5240
+ guard: "needsMotionPrimeWithoutGesture",
5241
+ actions: assign({ permissionResult: ({ event }) => event.output })
5242
+ },
5100
5243
  {
5101
5244
  target: "motionOnly",
5102
5245
  guard: "needsMotionPrimeOnly",
@@ -5992,10 +6135,14 @@ const idCaptureMachine = setup({
5992
6135
  invoke: {
5993
6136
  id: "deviceWallet",
5994
6137
  src: "deviceWalletMachine",
5995
- input: ({ context }) => ({
6138
+ input: ({ context }) => context.selectedDocumentType === "samsungWallet" ? {
6139
+ platform: "android",
6140
+ credentials: context.dependencies?.credentials ?? unavailableDigitalCredentials,
6141
+ services: createSamsungWalletServices()
6142
+ } : {
5996
6143
  platform: resolveWalletPlatform(),
5997
6144
  credentials: context.dependencies?.credentials ?? unavailableDigitalCredentials
5998
- }),
6145
+ },
5999
6146
  onSnapshot: { actions: () => {} },
6000
6147
  onDone: [
6001
6148
  {
@@ -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" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
+ }>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "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
- import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
1
+ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-PUWyizJn.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-B-00PgPh.esm.js";
5
+ import { t as idOcrStateMachine } from "./idOcrStateMachine-D5ifJ1B8.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,8 +1,8 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
2
+ import { t as api, u as endpoints } from "./api-B58edv6M.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
- import { n as calendarDateError, t as INVALID_DATE_ERROR_KEY } from "./calendarDate-DcqGuEht.esm.js";
5
+ import { n as calendarDateError, t as INVALID_DATE_ERROR_KEY } from "./calendarDate-D2zWfUlA.esm.js";
6
6
  import { t as DateFormattingProvider } from "./DateFormattingProvider-DPq9zco-.esm.js";
7
7
  import { t as validateCPF } from "./cpf-DDXMTLYr.esm.js";
8
8
  //#region src/modules/id-ocr/idOcrUtils.ts
@@ -1,8 +1,8 @@
1
- import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
1
+ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-PUWyizJn.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-B48Ikl-7.esm.js";
5
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-BMnfZZli.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-BNxrW8xK.esm.js";
1
+ import { t as api, u as endpoints } from "./api-B58edv6M.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,3 +1,3 @@
1
- import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-Ckf39qFu.esm.js";
2
- import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-tFeYm_So.esm.js";
1
+ import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-Cuggm1UP.esm.js";
2
+ import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-B5BWAleT.esm.js";
3
3
  export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -1,5 +1,5 @@
1
- import { f as moduleClosed, g as screenOpened, m as screenClosed, n as eventModuleNames, p as moduleOpened } from "./types-CBQN04Rh.esm.js";
2
- import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
1
+ import { f as moduleClosed, g as screenOpened, m as screenClosed, n as eventModuleNames, p as moduleOpened } from "./types-DLsivQsu.esm.js";
2
+ import { t as api, u as endpoints } from "./api-B58edv6M.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
- import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
1
+ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-PUWyizJn.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-Ckf39qFu.esm.js";
5
+ import { n as identityReuseMachine } from "./identityReuseStateMachine-Cuggm1UP.esm.js";
6
6
  //#region src/modules/identity-reuse/identityReuseActor.ts
7
7
  /**
8
8
  * Creates and starts an IdentityReuse actor.
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
1
+ import { t as api, u as endpoints } from "./api-B58edv6M.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
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261118130106-3b5181d76a540a606e9971dfbe3ea37052d775a9/node_modules/@incodetech/tri-sdk/dist/index.d.ts
1
+ //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261126134638-5fecd70f19ccf51aceade38a393876560c0b09d5/node_modules/@incodetech/tri-sdk/dist/index.d.ts
2
2
  type CollectorKey = 'pointer' | 'pointermove' | 'focus' | 'input' | 'keystroke' | 'clipboard' | 'form' | 'change' | 'selection' | 'tab' | 'visibility' | 'navigation' | 'viewportresize' | 'viewport' | 'scroll' | 'sensors' | 'network-request' | 'networkconnection' | 'screen' | 'wheel' | 'hover' | 'fpsignals';
3
3
  /**
4
4
  * The configurable sub-events of each collector key. For a key in
@@ -1,5 +1,5 @@
1
1
  import "./Manager-DufwKlav.js";
2
- import { n as Flow } from "./types-4Re9FSOw.js";
2
+ import { n as Flow } from "./types-BZsmNYom.js";
3
3
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
4
4
  //#region src/internal/flow-events/flowEvents.d.ts
5
5
  type FlowStartedEvent = {
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-rcXgYUcY.js";
1
+ import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-Cr2KCwau.js";
2
2
  export { type SetupOptions, isConfigured, reset, setup };
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-BXrgDdfx.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-D0QZHkS8.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,4 +1,4 @@
1
- import { v as addEvent } from "./types-CBQN04Rh.esm.js";
1
+ import { v as addEvent } from "./types-DLsivQsu.esm.js";
2
2
  //#region src/internal/captureOnly/invokeOnCaptureCallback.ts
3
3
  /**
4
4
  * Invokes an integrator-provided `onCapture` callback with the assembled
@@ -1,3 +1,3 @@
1
- import { a as KybChecksSection, c as KybFieldValue, d as KybText, f as KybUnsupportedModule, i as KybChecksResult, l as KybFieldValues, n as KybChecksConfig, o as KybFieldDef, p as KybValidationRule, r as KybChecksErrorKind, s as KybFieldErrors, t as KybCheckModuleKey, u as KybFormLevelRule } from "./types-CTaL0XJz.js";
2
- import { a as KybChecksLoadingState, c as KybChecksState, i as KybChecksFormState, l as KybChecksSubmittingState, n as KybChecksErrorState, o as KybChecksManager, p as kybChecksMachine, r as KybChecksFinishedState, s as KybChecksMisconfiguredState, t as KybChecksClosedState, u as createKybChecksManager } from "./kybChecksManager-B7Di9auB.js";
3
- export { type KybCheckModuleKey, type KybChecksClosedState, type KybChecksConfig, type KybChecksErrorKind, type KybChecksErrorState, type KybChecksFinishedState, type KybChecksFormState, type KybChecksLoadingState, type KybChecksManager, type KybChecksMisconfiguredState, type KybChecksResult, type KybChecksSection, type KybChecksState, type KybChecksSubmittingState, type KybFieldDef, type KybFieldErrors, type KybFieldValue, type KybFieldValues, type KybFormLevelRule, type KybText, type KybUnsupportedModule, type KybValidationRule, createKybChecksManager, kybChecksMachine };
1
+ import { a as KybChecksSection, c as KybFieldValue, d as KybUnsupportedModule, i as KybChecksResult, l as KybFieldValues, n as KybChecksConfig, o as KybFieldDef, r as KybChecksErrorKind, s as KybFieldErrors, t as KybCheckModuleKey, u as KybText } from "./types-DWqO7owj.js";
2
+ import { a as KybChecksLoadingState, c as KybChecksState, i as KybChecksFormState, l as KybChecksSubmittingState, n as KybChecksErrorState, o as KybChecksManager, p as kybChecksMachine, r as KybChecksFinishedState, s as KybChecksMisconfiguredState, t as KybChecksClosedState, u as createKybChecksManager } from "./kybChecksManager-CKDy1mel.js";
3
+ export { type KybCheckModuleKey, type KybChecksClosedState, type KybChecksConfig, type KybChecksErrorKind, type KybChecksErrorState, type KybChecksFinishedState, type KybChecksFormState, type KybChecksLoadingState, type KybChecksManager, type KybChecksMisconfiguredState, type KybChecksResult, type KybChecksSection, type KybChecksState, type KybChecksSubmittingState, type KybFieldDef, type KybFieldErrors, type KybFieldValue, type KybFieldValues, type KybText, type KybUnsupportedModule, createKybChecksManager, kybChecksMachine };
@@ -1,3 +1,3 @@
1
- import { t as kybChecksMachine } from "./kybChecksStateMachine-OKLT8Zoc.esm.js";
2
- import { t as createKybChecksManager } from "./kybChecksManager-DP76y-Qz.esm.js";
1
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-oBQfgdka.esm.js";
2
+ import { t as createKybChecksManager } from "./kybChecksManager-BF2vf0Q2.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-OKLT8Zoc.esm.js";
3
+ import { n as toKybErrors, t as kybChecksMachine } from "./kybChecksStateMachine-oBQfgdka.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 = {}) {
@@ -18,7 +18,7 @@ function mapState(snapshot) {
18
18
  title: context.prepared?.title,
19
19
  sections: context.prepared?.sections ?? [],
20
20
  values: context.values,
21
- errors: context.errors,
21
+ errors: toKybErrors(context.form, context.errors),
22
22
  isRefetching,
23
23
  canSubmit: !!context.form?.submit && !isRefetching,
24
24
  unsupportedModules: context.form?.context.unsupportedModules ?? []
@@ -1,7 +1,7 @@
1
1
  import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
2
  import { t as Manager } from "./Manager-DufwKlav.js";
3
3
  import "./Actor-DqjOqDfU.js";
4
- import { a as KybChecksSection, c as KybFieldValue, d as KybText, f as KybUnsupportedModule, i as KybChecksResult, l as KybFieldValues, n as KybChecksConfig, r as KybChecksErrorKind, s as KybFieldErrors } from "./types-CTaL0XJz.js";
4
+ import { a as KybChecksSection, c as KybFieldValue, d as KybUnsupportedModule, i as KybChecksResult, l as KybFieldValues, n as KybChecksConfig, r as KybChecksErrorKind, s as KybFieldErrors, u as KybText } from "./types-DWqO7owj.js";
5
5
  //#region src/modules/kyb-checks/kybChecksStateMachine.d.ts
6
6
  declare const kybChecksMachine: any;
7
7
  type KybChecksMachine = typeof kybChecksMachine;