@incodetech/core 2.2.0 → 2.3.0-rc.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 (258) hide show
  1. package/THIRD_PARTY_NOTICES.txt +281 -0
  2. package/dist/BaseWasmProvider-Dyi6dKp1.d.ts +65 -0
  3. package/dist/{BrowserDiagnosticsCryptoProvider-B8vorxN5.esm.js → BrowserDiagnosticsCryptoProvider-CU6kBvqv.esm.js} +1 -1
  4. package/dist/{BrowserVisibilityObserverProvider-BX1BiLDK.esm.js → BrowserVisibilityObserverProvider-BrJN1B8A.esm.js} +2 -0
  5. package/dist/FaceDetectionProvider-BfhWkK90.esm.js +431 -0
  6. package/dist/FaceDetectionProvider-LdZ47bWy.d.ts +36 -0
  7. package/dist/{IIdCaptureCapability-DHTT3FC2.d.ts → IIdCaptureCapability-RNiFhvXR.d.ts} +7 -33
  8. package/dist/IWasmUtilCapability-CNWRl7jr.d.ts +117 -0
  9. package/dist/{MotionSensorProvider-DGiV77J_.esm.js → MotionSensorProvider-BgTYwg9L.esm.js} +1 -1
  10. package/dist/{StreamCanvasCapture-D2XcXCZ4.esm.js → StreamCanvasCapture-C9jtgBdT.esm.js} +2 -2
  11. package/dist/{deepsightService-DLVQS_RH.d.ts → StreamCanvasCapture-_8gdW5Lk.d.ts} +54 -41
  12. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
  13. package/dist/{addressSearch-D1XpBdUS.esm.js → addressSearch-DyHGgeX8.esm.js} +1 -1
  14. package/dist/advanceableErrors-CpF2cBy6.esm.js +21 -0
  15. package/dist/ae-signature.d.ts +4 -2
  16. package/dist/ae-signature.esm.js +1 -1
  17. package/dist/antifraud.esm.js +2 -2
  18. package/dist/{antifraudManager-CQFNgSPt.esm.js → antifraudManager-DNkw66oW.esm.js} +2 -2
  19. package/dist/{antifraudStateMachine-Bf_JVNwn.esm.js → antifraudStateMachine-DBeq47D2.esm.js} +1 -1
  20. package/dist/{apiError-BA1d_au0.esm.js → apiError-Budb6m6w.esm.js} +14 -2
  21. package/dist/authentication.d.ts +3 -3
  22. package/dist/authentication.esm.js +2 -2
  23. package/dist/{authenticationManager-BBMGTcwW.d.ts → authenticationManager-CjXBjC-c.d.ts} +7 -1
  24. package/dist/{authenticationManager-zh9TC62P.esm.js → authenticationManager-cMXhG70r.esm.js} +5 -5
  25. package/dist/{authenticationStateMachine-xzi-vnvE.esm.js → authenticationStateMachine-MOYz4HCf.esm.js} +6 -62
  26. package/dist/avatar.d.ts +1 -2
  27. package/dist/avatar.esm.js +1 -1
  28. package/dist/{backCameraStream-CUeYm5eu.esm.js → backCameraStream-BOtyQowf.esm.js} +83 -22
  29. package/dist/{camera-_2sXMXiF.esm.js → camera-sIa9ceW2.esm.js} +19 -1
  30. package/dist/camera.esm.js +1 -1
  31. package/dist/{canvas-E1zGkel4.esm.js → canvas-BxFzWTt-.esm.js} +19 -0
  32. package/dist/certificate-issuance.d.ts +2 -302
  33. package/dist/certificate-issuance.esm.js +3 -66
  34. package/dist/certificateIssuanceManager-C3-CI0_s.esm.js +69 -0
  35. package/dist/certificateIssuanceManager-DCgEidHz.d.ts +312 -0
  36. package/dist/{certificateIssuanceStateMachine-D_R92TYu.esm.js → certificateIssuanceStateMachine-CxqS_nD-.esm.js} +1 -1
  37. package/dist/consent.d.ts +1 -1
  38. package/dist/consent.esm.js +2 -2
  39. package/dist/{consentManager-BxjpLZAG.esm.js → consentManager-B6E1XJDw.esm.js} +2 -2
  40. package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-BhYFeKiG.d.ts} +4 -4
  41. package/dist/{consentStateMachine-D9D4ON8Z.esm.js → consentStateMachine-DTSfdGiW.esm.js} +1 -1
  42. package/dist/createCameraCycleOwnership-CX3hJGKc.esm.js +826 -0
  43. package/dist/{createFaceAvatar-DQKaRise.esm.js → createFaceAvatar-BNHdeFj8.esm.js} +2 -2
  44. package/dist/createFaceAvatar-BlcTYgJv.d.ts +497 -0
  45. package/dist/cross-document-data-match.esm.js +1 -1
  46. package/dist/{crossDocumentDataMatchManager-CGT0V6RV.esm.js → crossDocumentDataMatchManager-9XhFVZ5S.esm.js} +2 -2
  47. package/dist/curp-validation.d.ts +1 -1
  48. package/dist/curp-validation.esm.js +2 -2
  49. package/dist/{curpValidationManager-6Nmkn5u1.esm.js → curpValidationManager-DbIMYFcJ.esm.js} +2 -2
  50. package/dist/{curpValidationManager-DVGr7Fq7.d.ts → curpValidationManager-SSKNrm5Z.d.ts} +1 -1
  51. package/dist/{curpValidationStateMachine-Ds7KMacK.esm.js → curpValidationStateMachine-g5kMfuLj.esm.js} +1 -1
  52. package/dist/custom-fields.d.ts +2 -114
  53. package/dist/custom-fields.esm.js +2 -232
  54. package/dist/custom-watchlist.d.ts +2 -51
  55. package/dist/custom-watchlist.esm.js +3 -70
  56. package/dist/customFieldsManager-8-W2KY4n.d.ts +141 -0
  57. package/dist/customFieldsManager-CzWZTkW-.esm.js +264 -0
  58. package/dist/customWatchlistManager-DWTED5Ur.esm.js +73 -0
  59. package/dist/customWatchlistManager-PBWHr_oM.d.ts +64 -0
  60. package/dist/{customWatchlistStateMachine-YWSgKLbF.esm.js → customWatchlistStateMachine-DOQou6TW.esm.js} +1 -1
  61. package/dist/{deepsightLoader--wMKWECS.esm.js → deepsightLoader-DDv3vhXU.esm.js} +27 -71
  62. package/dist/device.d.ts +25 -2
  63. package/dist/device.esm.js +69 -7
  64. package/dist/document-capture.d.ts +2 -2
  65. package/dist/document-capture.esm.js +2 -2
  66. package/dist/{documentCaptureManager-DsQQhWry.esm.js → documentCaptureManager-CwAiM9WY.esm.js} +2 -2
  67. package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-DensIj5F.d.ts} +83 -83
  68. package/dist/{documentCaptureStateMachine-BM4Ex_5x.esm.js → documentCaptureStateMachine-DfGOBapD.esm.js} +5 -5
  69. package/dist/dynamic-forms.d.ts +1 -1
  70. package/dist/dynamic-forms.esm.js +2 -2
  71. package/dist/{dynamicFormsManager-fFVIRBNv.esm.js → dynamicFormsManager-BbS-XMFc.esm.js} +16 -5
  72. package/dist/{dynamicFormsManager-fhK0yINk.d.ts → dynamicFormsManager-D5R_uxLQ.d.ts} +25 -3
  73. package/dist/{dynamicFormsStateMachine-D6D7oEYk.esm.js → dynamicFormsStateMachine-D8zHBCh4.esm.js} +35 -3
  74. package/dist/ekyb.d.ts +1 -1
  75. package/dist/ekyb.esm.js +3 -3
  76. package/dist/{ekybManager-Y3MkoXpC.esm.js → ekybManager-5aiac8wL.esm.js} +2 -2
  77. package/dist/{ekybStateMachine-3nlnqdlr.esm.js → ekybStateMachine-Bn2IE9rx.esm.js} +3 -3
  78. package/dist/ekyc.esm.js +2 -2
  79. package/dist/{ekycManager-DgT48ky6.esm.js → ekycManager-BlQ-Qj4E.esm.js} +2 -2
  80. package/dist/{ekycStateMachine-CQwqiR-R.esm.js → ekycStateMachine-CshSNJhh.esm.js} +2 -2
  81. package/dist/electronic-signature.d.ts +3 -3
  82. package/dist/electronic-signature.esm.js +2 -2
  83. package/dist/{electronicSignatureManager-DGbAJ00W.esm.js → electronicSignatureManager-BJJH0Tvi.esm.js} +357 -51
  84. package/dist/electronicSignatureManager-Ds-KEVTq.d.ts +2786 -0
  85. package/dist/email.esm.js +2 -2
  86. package/dist/{emailManager-BY0jeYwR.esm.js → emailManager-bR1N5rV_.esm.js} +2 -2
  87. package/dist/{emailStateMachine-Crw8QVmc.esm.js → emailStateMachine-Bc_6oIYw.esm.js} +1 -1
  88. package/dist/{endpoints-CCzL3XD_.esm.js → endpoints-B-3Q-LUw.esm.js} +24 -10
  89. package/dist/{events-DYiyoSlx.esm.js → events-ijlbX_Wx.esm.js} +2 -2
  90. package/dist/events.d.ts +1 -1
  91. package/dist/events.esm.js +1 -1
  92. package/dist/extensibility.d.ts +24 -64
  93. package/dist/extensibility.esm.js +35 -29
  94. package/dist/face-match.esm.js +2 -2
  95. package/dist/{faceCaptureManagerFactory-CVnZ0fa5.esm.js → faceCaptureManagerFactory-B7Ms6pSs.esm.js} +68 -7
  96. package/dist/{faceCaptureManagerFactory-BxWPpxyd.d.ts → faceCaptureManagerFactory-BeUl8fl1.d.ts} +86 -54
  97. package/dist/faceCaptureSetup-bkAlr5d8.esm.js +2067 -0
  98. package/dist/{faceMatchManager-Ri4UbNz0.esm.js → faceMatchManager-Bmv0HzuY.esm.js} +2 -2
  99. package/dist/{faceMatchStateMachine-20DdZ3jg.esm.js → faceMatchStateMachine-mRIHQ3dA.esm.js} +1 -1
  100. package/dist/{feature-management-CPQ4qv3F.esm.js → feature-management-E0mq0pMs.esm.js} +32 -7
  101. package/dist/feature-management.d.ts +1 -1
  102. package/dist/feature-management.esm.js +1 -1
  103. package/dist/field-comparison.esm.js +1 -1
  104. package/dist/{fieldComparisonManager-Cg6kPQQx.esm.js → fieldComparisonManager-CC-klG0h.esm.js} +2 -2
  105. package/dist/fiscal-qr.d.ts +2 -56
  106. package/dist/fiscal-qr.esm.js +2 -308
  107. package/dist/fiscalQrManager-B1STmT6z.d.ts +71 -0
  108. package/dist/fiscalQrManager-BunLVFbd.esm.js +34143 -0
  109. package/dist/flow-events.d.ts +1 -1
  110. package/dist/flow.d.ts +212 -185
  111. package/dist/flow.esm.js +119 -30
  112. package/dist/{flowCompletionService-tfeoGre9.esm.js → flowCompletionService-DJp1odGN.esm.js} +2 -2
  113. package/dist/{flowServices-f5Ruz7R9.esm.js → flowServices-DjPFGs_D.esm.js} +91 -26
  114. package/dist/geolocation.esm.js +2 -2
  115. package/dist/{geolocationManager-CH6RfqFH.esm.js → geolocationManager-D5906YXx.esm.js} +2 -2
  116. package/dist/{geolocationStateMachine-DmbWFely.esm.js → geolocationStateMachine-BVOduc3y.esm.js} +3 -3
  117. package/dist/getBrowser-CBiibsL-.esm.js +19 -0
  118. package/dist/{getBrowser-DNrQeL4T.esm.js → getBrowser-Cbe1C4Tn.esm.js} +2 -1
  119. package/dist/{getDeviceClass-9y-kbVDw.esm.js → getDeviceClass-5NYZg9s6.esm.js} +2 -2
  120. package/dist/getParsedUserAgent-B2iFDql1.esm.js +1278 -0
  121. package/dist/government-validation.d.ts +2 -85
  122. package/dist/government-validation.esm.js +3 -120
  123. package/dist/governmentValidationManager-CacFOtKO.esm.js +79 -0
  124. package/dist/governmentValidationManager-D02vT4yY.d.ts +63 -0
  125. package/dist/governmentValidationStateMachine-CoaZOSTP.esm.js +54 -0
  126. package/dist/home.d.ts +1 -1
  127. package/dist/home.esm.js +1 -1
  128. package/dist/id-ocr.d.ts +2 -2
  129. package/dist/id-ocr.esm.js +2 -2
  130. package/dist/id-selfie-flow.d.ts +3 -2
  131. package/dist/id-selfie-flow.esm.js +11 -10
  132. package/dist/id-verification.esm.js +2 -2
  133. package/dist/id.d.ts +29 -5
  134. package/dist/id.esm.js +48 -46
  135. package/dist/idCaptureDefaults-CbPA-Auz.esm.js +727 -0
  136. package/dist/{idCaptureManager-CqrqSjJV.d.ts → idCaptureManager-DKESug0R.d.ts} +230 -43
  137. package/dist/{idCaptureManager-BYwTZ2H8.esm.js → idCaptureManager-rfV9dIXy.esm.js} +259 -46
  138. package/dist/{idCaptureServices-44kwQItl.esm.js → idCaptureServices-i1KxugN7.esm.js} +285 -72
  139. package/dist/idCaptureStateMachine-Ne_PXth_.esm.js +5333 -0
  140. package/dist/{idOcrManager-DXc_xRN7.d.ts → idOcrManager-BF_cXZq8.d.ts} +1 -1
  141. package/dist/{idOcrManager-BIQYQXXj.esm.js → idOcrManager-r46XfZGE.esm.js} +2 -2
  142. package/dist/{idOcrStateMachine-cSxzHpHt.esm.js → idOcrStateMachine-ClDEP-VI.esm.js} +1 -1
  143. package/dist/{idVerificationManager-JpV_SAsl.esm.js → idVerificationManager-DT42c77H.esm.js} +2 -2
  144. package/dist/{idVerificationStateMachine-nPeUNyFq.esm.js → idVerificationStateMachine-DbDVIh9t.esm.js} +1 -1
  145. package/dist/identity-reuse.esm.js +2 -2
  146. package/dist/{identityReuseManager-kNCg9AbD.esm.js → identityReuseManager-yG3acUrQ.esm.js} +2 -2
  147. package/dist/{identityReuseStateMachine-DyulxDjP.esm.js → identityReuseStateMachine-BhAkuIra.esm.js} +1 -1
  148. package/dist/{index-CLMF0QLQ.d.ts → index-DLcJT5YP.d.ts} +1 -1
  149. package/dist/index.d.ts +1 -1
  150. package/dist/index.esm.js +1 -1
  151. package/dist/{invokeOnCaptureCallback-GpvMuz9o.esm.js → invokeOnCaptureCallback-BjzPjJ_p.esm.js} +1 -1
  152. package/dist/mandatory-consent.d.ts +2 -2
  153. package/dist/mandatory-consent.esm.js +2 -2
  154. package/dist/{mandatoryConsentManager-B4Niyg_u.esm.js → mandatoryConsentManager-7dI0D08q.esm.js} +2 -2
  155. package/dist/{mandatoryConsentManager-DyPzUmsZ.d.ts → mandatoryConsentManager-vhv1co_n.d.ts} +1 -1
  156. package/dist/{mandatoryConsentStateMachine-B4-1u-L8.esm.js → mandatoryConsentStateMachine-DC5Mo6M1.esm.js} +1 -1
  157. package/dist/multipartRecordingService-OEgIRvqC.esm.js +605 -0
  158. package/dist/{permissionGuards-KINpmKtI.esm.js → permissionGuards-uYZYFu4J.esm.js} +1 -1
  159. package/dist/{permissionServices-UvUcOSRb.esm.js → permissionServices-Bj_fyWtv.esm.js} +5 -5
  160. package/dist/personhood.d.ts +6 -5
  161. package/dist/personhood.esm.js +10 -10
  162. package/dist/phone.esm.js +2 -2
  163. package/dist/{phoneManager-FsJ0W2Ei.esm.js → phoneManager-IjhSv5XS.esm.js} +2 -2
  164. package/dist/{phoneStateMachine-Ba0wKHyX.esm.js → phoneStateMachine-CXdXufKg.esm.js} +1 -1
  165. package/dist/{platform-BJrm5nzZ.esm.js → platform-DkcRc9JV.esm.js} +29 -1
  166. package/dist/qe-signature.d.ts +5 -3
  167. package/dist/qe-signature.esm.js +2 -2
  168. package/dist/redirect-to-mobile.esm.js +2 -2
  169. package/dist/{redirectToMobileManager-y4VQB11M.esm.js → redirectToMobileManager-FLEWJtv8.esm.js} +2 -2
  170. package/dist/{redirectToMobileStateMachine-Cyv2x0PP.esm.js → redirectToMobileStateMachine-CSWWgUTO.esm.js} +1 -1
  171. package/dist/{rolldown-runtime-FZ4Itg2g.esm.js → rolldown-runtime-FDOR9p9I.esm.js} +1 -19
  172. package/dist/{runChildModule-Dukuw23X.esm.js → runChildModule-CI1gGWN1.esm.js} +3 -21
  173. package/dist/safeStorage-B-trhxg6.esm.js +423 -0
  174. package/dist/{sdkVersion-D1Bm59g6.esm.js → sdkVersion-BZh6dj53.esm.js} +1 -1
  175. package/dist/selfie.d.ts +5 -5
  176. package/dist/selfie.esm.js +14 -76
  177. package/dist/{selfieErrorUtils-C2PYBVsp.esm.js → selfieErrorUtils-UiQ46EBa.esm.js} +30 -4
  178. package/dist/{selfieManager-DwlCppg0.d.ts → selfieManager-4RRLi21P.d.ts} +8 -11
  179. package/dist/{selfieManager-Bj6B2ZVy.esm.js → selfieManager-B-2c1n_x.esm.js} +5 -5
  180. package/dist/selfieStateMachine-Bzx41R8d.esm.js +69 -0
  181. package/dist/{session-BFdLgN4i.esm.js → session-3LmvAU4S.esm.js} +4 -5
  182. package/dist/session.d.ts +21 -11
  183. package/dist/session.esm.js +5 -5
  184. package/dist/{sessionInitializer-dlfDehHk.esm.js → sessionInitializer-BFk33E67.esm.js} +187 -68
  185. package/dist/{setup-BIAtLa8k.esm.js → setup-BWG-hivt.esm.js} +226 -100
  186. package/dist/{setup-BgoWtvIS.d.ts → setup-Cv-JM9QC.d.ts} +63 -69
  187. package/dist/signature.esm.js +2 -2
  188. package/dist/{signatureManager-Ca43yhwk.esm.js → signatureManager-B72np4ZO.esm.js} +2 -2
  189. package/dist/{signatureStateMachine-K1LMRrxG.esm.js → signatureStateMachine-ce_XMA3l.esm.js} +1 -1
  190. package/dist/{src-0Jurt29N.esm.js → src-35ekGRzK.esm.js} +1 -1
  191. package/dist/{stats-B0nFKawG.esm.js → stats-CZcy2J53.esm.js} +1 -1
  192. package/dist/stats.esm.js +1 -1
  193. package/dist/{trueSightService---iW2KKJ.esm.js → trueSightService-BN-Hzw82.esm.js} +7 -7
  194. package/dist/trust-graph.esm.js +1 -1
  195. package/dist/{types-BX_XkMsQ2.d.ts → types-9_esGTPj.d.ts} +1 -1
  196. package/dist/types-BT_Oalip.d.ts +1 -0
  197. package/dist/{types-DelMqZLe.d.ts → types-BjSly8cp.d.ts} +1 -1
  198. package/dist/{types-Hmd7U0JA.d.ts → types-Bnl58jUQ.d.ts} +6 -85
  199. package/dist/types-ChAowIxT.d.ts +6 -0
  200. package/dist/{types-DVmXIdzW.d.ts → types-D0gekt4U.d.ts} +38 -5
  201. package/dist/types-DgDvvzg0.d.ts +10 -0
  202. package/dist/{types-KPvmag_B.d.ts → types-Do5rEXij.d.ts} +7 -4
  203. package/dist/{types-Bdf8_LYB2.d.ts → types-byBHOzCG2.d.ts} +305 -25
  204. package/dist/video-selfie.d.ts +59 -35
  205. package/dist/video-selfie.esm.js +510 -601
  206. package/dist/{videoSelfieCameraWarmer-NEhFZvWx.esm.js → videoSelfieCameraWarmer-B8PcYqmz.esm.js} +14 -153
  207. package/dist/videoSelfieFlowModuleMachine-BUe2uACW.esm.js +32 -0
  208. package/dist/{videoSelfieStepDetector-D3oo2ofo.d.ts → videoSelfieStepDetector-Co0Gu2k2.d.ts} +59 -13
  209. package/dist/virtualCameraCheck-Cjab7FTI.esm.js +48 -0
  210. package/dist/warmup-CUUnwYxe.esm.js +714 -0
  211. package/dist/warmup-Cis2p6O0.d.ts +128 -0
  212. package/dist/wasm.d.ts +30 -6
  213. package/dist/wasm.esm.js +36 -4
  214. package/dist/{wasmDsFlagSync-BqUCwLY8.esm.js → wasmDsFlagSync-B2e8p268.esm.js} +2 -2
  215. package/dist/{wasmWebClient-DM8lkb0z.esm.js → wasmWebClient-B7baE-Wf.esm.js} +358 -28
  216. package/dist/watchlist-for-business.d.ts +2 -78
  217. package/dist/watchlist-for-business.esm.js +3 -102
  218. package/dist/watchlist.esm.js +2 -2
  219. package/dist/watchlistForBusinessManager-CIMkpEhu.esm.js +107 -0
  220. package/dist/watchlistForBusinessManager-CsnJnG-C.d.ts +99 -0
  221. package/dist/{watchlistForBusinessStateMachine-CxFnlshm.esm.js → watchlistForBusinessStateMachine-CJ-MvUre.esm.js} +13 -6
  222. package/dist/{watchlistManager-LoNZH9qm.esm.js → watchlistManager-CixcLNDT.esm.js} +2 -2
  223. package/dist/{watchlistStateMachine-DIKQDoUT.esm.js → watchlistStateMachine-CBqk2w-h.esm.js} +1 -1
  224. package/dist/workflow.d.ts +12 -8
  225. package/dist/workflow.esm.js +48 -39
  226. package/package.json +4 -10
  227. package/dist/BrowserStorageProvider-k-FDkC4W.esm.js +0 -67
  228. package/dist/FaceDetectionProvider-Mh6q3EbA.d.ts +0 -349
  229. package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +0 -23
  230. package/dist/IStorageCapability-ORkQfK3F.d.ts +0 -242
  231. package/dist/OpenViduRecordingProvider-Du98qevC.esm.js +0 -85
  232. package/dist/createFaceAvatar-BEj18KXi.d.ts +0 -50
  233. package/dist/document-upload.d.ts +0 -325
  234. package/dist/document-upload.esm.js +0 -197
  235. package/dist/electronicSignatureManager-CcUXQZS7.d.ts +0 -1300
  236. package/dist/faceCaptureSetup-Cd-04W_X.esm.js +0 -863
  237. package/dist/getBrowser-Cb8Zgrgp.esm.js +0 -7
  238. package/dist/getParsedUserAgent-pJjATANs.esm.js +0 -1622
  239. package/dist/governmentValidationStateMachine-CK9DrZXX.esm.js +0 -226
  240. package/dist/idCaptureDefaults-WeHbQM7W.esm.js +0 -225
  241. package/dist/idCaptureStateMachine-kZ5OpdfM.esm.js +0 -3342
  242. package/dist/lib-DAyUtOTj.esm.js +0 -12420
  243. package/dist/manualReviewService-D4IkipnN.esm.js +0 -15
  244. package/dist/mediaRecorderOptions-dALSV8af.esm.js +0 -40
  245. package/dist/onDeviceFaceResults-CUHwyZT4.esm.js +0 -646
  246. package/dist/openviduLazy-CCDpFWg1.esm.js +0 -10
  247. package/dist/recordingService-3NSENVwp.esm.js +0 -329
  248. package/dist/safeStorage-Ep56I-f_.esm.js +0 -982
  249. package/dist/selfieStateMachine-CHV_WNst.esm.js +0 -55
  250. package/dist/trueSight-B_icM8r2.esm.js +0 -1
  251. package/dist/types-EELWyWpd.d.ts +0 -6
  252. package/dist/types-Vb4P9ovf.d.ts +0 -22
  253. package/dist/warmup-Dv2alr2-.d.ts +0 -82
  254. package/dist/wasmDefaults-DTUrftxR.esm.js +0 -125
  255. package/dist/{Face2DProvider-UUQt_vRC.esm.js → Face2DProvider-BF48sz5c.esm.js} +1 -1
  256. package/dist/{PrivacyLensProvider-D8PS7AJa.esm.js → PrivacyLensProvider-EwnC_C5n.esm.js} +1 -1
  257. /package/dist/{types-BfgmV7s72.d.ts → types-BfgmV7s7.d.ts} +0 -0
  258. /package/dist/{types-CJ7Yl9K-2.d.ts → types-CJ7Yl9K-.d.ts} +0 -0
@@ -1,85 +1,2 @@
1
- import { t as Manager } from "./Manager-CQQ99QOI.js";
2
- import "./Actor-iTq7YY48.js";
3
- import { t as OtpValidationErrors } from "./otp-CEWfTj9v.js";
4
- //#region src/modules/government-validation/types.d.ts
5
- type GovernmentValidationConfig = {
6
- validationCountries?: string[];
7
- faceAndDataValidation?: boolean;
8
- addressValidation?: boolean;
9
- faceMatchOverrideDataScore?: boolean;
10
- useCroppedIdFacePhoto?: boolean;
11
- alternativeFacialValidation?: boolean;
12
- fallbackEnabled?: boolean;
13
- scrapingMethod?: boolean;
14
- scrapingV2?: boolean;
15
- scrapingV3?: boolean;
16
- failUnsupportedId?: boolean;
17
- mockConnectionError?: boolean;
18
- mockUserNotFoundError?: boolean;
19
- mockOK?: boolean;
20
- facialValidation: boolean;
21
- dataValidation: boolean;
22
- backgroundExecution: boolean;
23
- maxOtpAttempts?: number;
24
- };
25
- //#endregion
26
- //#region src/modules/government-validation/governmentValidationStateMachine.d.ts
27
- declare const governmentValidationMachine: any;
28
- //#endregion
29
- //#region src/modules/government-validation/governmentValidationActor.d.ts
30
- type CreateGovernmentValidationActorOptions = {
31
- config: GovernmentValidationConfig;
32
- };
33
- //#endregion
34
- //#region src/modules/government-validation/governmentValidationManager.d.ts
35
- type GovernmentValidationIdleState = {
36
- status: 'idle';
37
- };
38
- type GovernmentValidationLoadingState = {
39
- status: 'loading';
40
- };
41
- type GovernmentValidationProcessingState = {
42
- status: 'processing';
43
- };
44
- type GovernmentValidationAwaitingOtpState = {
45
- status: 'awaitingOtp';
46
- resendTimer: number;
47
- canResend: boolean;
48
- attemptsRemaining: number;
49
- otpError?: string;
50
- otpCode: string;
51
- otpLength: number;
52
- otpValidationErrors?: OtpValidationErrors;
53
- isOtpValid: boolean;
54
- };
55
- type GovernmentValidationVerifyingOtpState = {
56
- status: 'verifyingOtp';
57
- otpCode: string;
58
- otpLength: number;
59
- };
60
- type GovernmentValidationFinishedState = {
61
- status: 'finished';
62
- };
63
- type GovernmentValidationErrorState = {
64
- status: 'error';
65
- error: string;
66
- };
67
- type GovernmentValidationSuccessState = {
68
- status: 'displaySuccess';
69
- };
70
- type GovernmentValidationUnknownState = {
71
- status: 'unknown';
72
- error: string;
73
- };
74
- type GovernmentValidationState = GovernmentValidationIdleState | GovernmentValidationLoadingState | GovernmentValidationProcessingState | GovernmentValidationAwaitingOtpState | GovernmentValidationVerifyingOtpState | GovernmentValidationFinishedState | GovernmentValidationErrorState | GovernmentValidationSuccessState | GovernmentValidationUnknownState;
75
- declare function createGovernmentValidationManager(options: CreateGovernmentValidationActorOptions): Manager<GovernmentValidationState> & {
76
- load(): void;
77
- setOtpCode(code: string): void;
78
- validateOtp(): void;
79
- submitOtp(code: string): void;
80
- resendOtp(): void;
81
- retry(): void;
82
- };
83
- type GovernmentValidationManager = ReturnType<typeof createGovernmentValidationManager>;
84
- //#endregion
85
- export { type GovernmentValidationConfig, type GovernmentValidationManager, type GovernmentValidationState, createGovernmentValidationManager, governmentValidationMachine };
1
+ import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, o as governmentValidationMachine, r as createGovernmentValidationManager, s as GovernmentValidationConfig, t as GovernmentValidationManager } from "./governmentValidationManager-D02vT4yY.js";
2
+ export { type GovernmentValidationActor, type GovernmentValidationConfig, type GovernmentValidationManager, type GovernmentValidationState, createGovernmentValidationManager, createGovernmentValidationManagerFromActor, governmentValidationMachine };
@@ -1,120 +1,3 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
2
- import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CK9DrZXX.esm.js";
5
- //#region src/modules/government-validation/governmentValidationActor.ts
6
- function createGovernmentValidationActor(options) {
7
- return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
8
- }
9
- //#endregion
10
- //#region src/modules/government-validation/governmentValidationManager.ts
11
- /**
12
- * Maps a Government Validation state-machine snapshot to the exact Figma
13
- * "Tracked Events" screen name. Source: Government Record Verification
14
- * Figma file (`https://www.figma.com/design/5J4kaLMl19s8cLyRMUMW32/Government-Record-Verification---Latest-Design?node-id=25911-4095`).
15
- * Family is `GovernmentRecordValidation.*` (PascalCase verbatim from
16
- * Figma); spans the background record-lookup flow only. The mapper returns
17
- * Figma-verbatim spellings which the adapter emits as-is on `event.screen`
18
- * (e.g. `GovernmentRecordValidation.analyzing.default`). See
19
- * `docs/patterns/INSTRUMENTATION.md`.
20
- *
21
- * Figma sub-states the state machine does not surface as discrete states
22
- * (intentionally not mapped here):
23
- *
24
- * - The OTP sub-flow (`awaitingOtp`, `verifyingOtp`) is the
25
- * INE_VALIDATION variant. Figma does not define screens for it under
26
- * this family; those states fall back to the generic
27
- * `<module>.<state>` default.
28
- * - `displayUnknown` reflects an unrecognised API status code. Figma does
29
- * not define a tracked-event surface for it.
30
- *
31
- * `idle` and `finished` are intentionally unmapped — Figma does not
32
- * define screens for them and `finished` collapses into `moduleClosed`.
33
- */
34
- function getGovernmentValidationScreenName(snapshot) {
35
- const stateName = topLevelStateName(snapshot.value);
36
- if (stateName === void 0) return void 0;
37
- switch (stateName) {
38
- case "loading":
39
- case "displayProcessing": return "GovernmentRecordValidation.analyzing.default";
40
- case "displaySuccess": return "GovernmentRecordValidation.success.default";
41
- case "displayError": return "GovernmentRecordValidation.error.usernotfound";
42
- default: return;
43
- }
44
- }
45
- function mapState(snapshot) {
46
- const typedSnapshot = snapshot;
47
- const { context } = typedSnapshot;
48
- if (typedSnapshot.matches("idle")) return { status: "idle" };
49
- if (typedSnapshot.matches("loading")) return { status: "loading" };
50
- if (typedSnapshot.matches("awaitingOtp")) return {
51
- status: "awaitingOtp",
52
- resendTimer: context.resendTimer,
53
- canResend: !context.resendTimerActive,
54
- attemptsRemaining: context.attemptsRemaining,
55
- otpError: context.otpError,
56
- otpCode: context.otpCode,
57
- otpLength: 6,
58
- otpValidationErrors: context.otpValidationErrors,
59
- isOtpValid: Object.keys(context.otpValidationErrors ?? {}).length === 0
60
- };
61
- if (typedSnapshot.matches("verifyingOtp")) return {
62
- status: "verifyingOtp",
63
- otpCode: context.otpCode,
64
- otpLength: 6
65
- };
66
- if (typedSnapshot.matches("displaySuccess")) return { status: "displaySuccess" };
67
- if (typedSnapshot.matches("displayProcessing")) return { status: "processing" };
68
- if (typedSnapshot.matches("finished")) return { status: "finished" };
69
- if (typedSnapshot.matches("displayError")) return {
70
- status: "error",
71
- error: context.error ?? "An error occurred"
72
- };
73
- if (typedSnapshot.matches("displayUnknown")) return {
74
- status: "unknown",
75
- error: context.error ?? "Unknown validation status"
76
- };
77
- return { status: "idle" };
78
- }
79
- function createApi({ actor, trackElementClicked }) {
80
- return {
81
- load() {
82
- actor.send({ type: "LOAD" });
83
- },
84
- setOtpCode(code) {
85
- actor.send({
86
- type: "OTP_CHANGED",
87
- code
88
- });
89
- },
90
- validateOtp() {
91
- actor.send({ type: "VALIDATE_OTP" });
92
- },
93
- submitOtp(code) {
94
- trackElementClicked?.("submitOtp");
95
- actor.send({
96
- type: "OTP_CHANGED",
97
- code
98
- });
99
- actor.send({ type: "SUBMIT_OTP" });
100
- },
101
- resendOtp() {
102
- trackElementClicked?.("resendOtp");
103
- actor.send({ type: "RESEND_OTP" });
104
- },
105
- retry() {
106
- trackElementClicked?.("retry");
107
- actor.send({ type: "RETRY" });
108
- }
109
- };
110
- }
111
- function createGovernmentValidationManager(options) {
112
- return createManager({
113
- actor: createGovernmentValidationActor(options),
114
- mapState,
115
- createApi,
116
- instrumentation: createManagerInstrumentation(eventModuleNames.governmentValidation, { getEventScreenName: getGovernmentValidationScreenName })
117
- });
118
- }
119
- //#endregion
120
- export { createGovernmentValidationManager, governmentValidationMachine };
1
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CoaZOSTP.esm.js";
2
+ import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-CacFOtKO.esm.js";
3
+ export { createGovernmentValidationManager, createGovernmentValidationManagerFromActor, governmentValidationMachine };
@@ -0,0 +1,79 @@
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
+ import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
+ import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CoaZOSTP.esm.js";
5
+ //#region src/modules/government-validation/governmentValidationActor.ts
6
+ function createGovernmentValidationActor(options) {
7
+ return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
8
+ }
9
+ //#endregion
10
+ //#region src/modules/government-validation/governmentValidationManager.ts
11
+ /**
12
+ * Maps a Government Validation state-machine snapshot to the exact Figma
13
+ * "Tracked Events" screen name. Source: Government Record Verification
14
+ * Figma file (`https://www.figma.com/design/5J4kaLMl19s8cLyRMUMW32/Government-Record-Verification---Latest-Design?node-id=25911-4095`).
15
+ * Family is `GovernmentRecordValidation.*` (PascalCase verbatim from
16
+ * Figma).
17
+ *
18
+ * The module runs as a backend-only step (no result screen, no OTP
19
+ * sub-flow — see docs/_devhub/Module-Government-Validation.md): only the
20
+ * `loading` state maps to a tracked screen, used while the standard loader
21
+ * is shown. `idle` and `finished` are intentionally unmapped — Figma does
22
+ * not define screens for them and `finished` collapses into
23
+ * `moduleClosed`.
24
+ */
25
+ function getGovernmentValidationScreenName(snapshot) {
26
+ const stateName = topLevelStateName(snapshot.value);
27
+ if (stateName === void 0) return void 0;
28
+ switch (stateName) {
29
+ case "loading": return "GovernmentRecordValidation.analyzing.default";
30
+ default: return;
31
+ }
32
+ }
33
+ /**
34
+ * The validation outcome itself (success, failure, "unavailable for this
35
+ * country") is never treated as an error — it's recorded server-side once
36
+ * the request reaches the BE, and the flow always advances regardless. So
37
+ * this only fires for the one case the BE never sees: the request failing
38
+ * client-side (offline, timeout, DNS/CORS) before it reaches the backend at
39
+ * all — the state machine's `onError` transition is the sole place that
40
+ * sets `context.error`. Without this, that failure would be invisible both
41
+ * server-side (request never arrived) and client-side (no more `error`
42
+ * state name to drive the default instrumentation heuristic now that the
43
+ * result screen is gone). The UI stays silent either way — this only
44
+ * affects analytics/session events, never what's rendered.
45
+ */
46
+ function getGovernmentValidationErrorName(snapshot) {
47
+ return snapshot.context.error !== void 0 ? "error.requestFailed" : void 0;
48
+ }
49
+ function getGovernmentValidationErrorPayload(snapshot) {
50
+ return snapshot.context.error !== void 0 ? { reason: "requestFailed" } : void 0;
51
+ }
52
+ function mapState(snapshot) {
53
+ const typedSnapshot = snapshot;
54
+ if (typedSnapshot.matches("loading")) return { status: "loading" };
55
+ if (typedSnapshot.matches("finished")) return { status: "finished" };
56
+ return { status: "idle" };
57
+ }
58
+ function createApi({ actor }) {
59
+ return { load() {
60
+ actor.send({ type: "LOAD" });
61
+ } };
62
+ }
63
+ function createGovernmentValidationManager(options) {
64
+ return createGovernmentValidationManagerFromActor(createGovernmentValidationActor(options));
65
+ }
66
+ function createGovernmentValidationManagerFromActor(actor) {
67
+ return createManager({
68
+ actor,
69
+ mapState,
70
+ createApi,
71
+ instrumentation: createManagerInstrumentation(eventModuleNames.governmentValidation, {
72
+ getEventScreenName: getGovernmentValidationScreenName,
73
+ getErrorName: getGovernmentValidationErrorName,
74
+ getErrorPayload: getGovernmentValidationErrorPayload
75
+ })
76
+ });
77
+ }
78
+ //#endregion
79
+ export { createGovernmentValidationManagerFromActor as n, createGovernmentValidationManager as t };
@@ -0,0 +1,63 @@
1
+ import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
+ import { t as Manager } from "./Manager-CQQ99QOI.js";
3
+ import "./Actor-iTq7YY48.js";
4
+ import "./index-B8weJxmL.js";
5
+ //#region src/modules/government-validation/types.d.ts
6
+ type GovernmentValidationConfig = {
7
+ validationCountries?: string[];
8
+ faceAndDataValidation?: boolean;
9
+ addressValidation?: boolean;
10
+ faceMatchOverrideDataScore?: boolean;
11
+ useCroppedIdFacePhoto?: boolean;
12
+ alternativeFacialValidation?: boolean;
13
+ fallbackEnabled?: boolean;
14
+ scrapingMethod?: boolean;
15
+ scrapingV2?: boolean;
16
+ scrapingV3?: boolean;
17
+ failUnsupportedId?: boolean;
18
+ mockConnectionError?: boolean;
19
+ mockUserNotFoundError?: boolean;
20
+ mockOK?: boolean;
21
+ facialValidation: boolean;
22
+ dataValidation: boolean;
23
+ };
24
+ //#endregion
25
+ //#region src/modules/government-validation/governmentValidationStateMachine.d.ts
26
+ /**
27
+ * Government Record Validation runs as a backend-only step (see
28
+ * docs/_devhub/Module-Government-Validation.md): the SDK shows the standard
29
+ * loader while the call resolves, then advances to `finished` regardless of
30
+ * the validation outcome (success, failure, or unavailable for the
31
+ * country). The outcome is recorded server-side (BE logs / session events)
32
+ * for CS and debugging — nothing is surfaced to the end user, so there is
33
+ * no result screen and no OTP sub-flow here.
34
+ */
35
+ declare const governmentValidationMachine: any;
36
+ type GovernmentValidationMachine = typeof governmentValidationMachine;
37
+ //#endregion
38
+ //#region src/modules/government-validation/governmentValidationActor.d.ts
39
+ type CreateGovernmentValidationActorOptions = {
40
+ config: GovernmentValidationConfig;
41
+ };
42
+ type GovernmentValidationActor = ActorRefFrom<GovernmentValidationMachine>;
43
+ //#endregion
44
+ //#region src/modules/government-validation/governmentValidationManager.d.ts
45
+ type GovernmentValidationIdleState = {
46
+ status: 'idle';
47
+ };
48
+ type GovernmentValidationLoadingState = {
49
+ status: 'loading';
50
+ };
51
+ type GovernmentValidationFinishedState = {
52
+ status: 'finished';
53
+ };
54
+ type GovernmentValidationState = GovernmentValidationIdleState | GovernmentValidationLoadingState | GovernmentValidationFinishedState;
55
+ declare function createGovernmentValidationManager(options: CreateGovernmentValidationActorOptions): Manager<GovernmentValidationState> & {
56
+ load(): void;
57
+ };
58
+ declare function createGovernmentValidationManagerFromActor(actor: GovernmentValidationActor): Manager<GovernmentValidationState> & {
59
+ load(): void;
60
+ };
61
+ type GovernmentValidationManager = ReturnType<typeof createGovernmentValidationManager>;
62
+ //#endregion
63
+ export { GovernmentValidationActor as a, createGovernmentValidationManagerFromActor as i, GovernmentValidationState as n, governmentValidationMachine as o, createGovernmentValidationManager as r, GovernmentValidationConfig as s, GovernmentValidationManager as t };
@@ -0,0 +1,54 @@
1
+ import { t as api } from "./api-Bx3gKW_y.esm.js";
2
+ import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
3
+ import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
+ //#region src/modules/government-validation/governmentValidationServices.ts
6
+ async function processGovernmentValidation(signal) {
7
+ const res = await api.post(endpoints.governmentValidation, {}, { signal });
8
+ if (!res.ok) throw new Error(`POST ${endpoints.governmentValidation} failed: ${res.status} ${res.statusText}`);
9
+ return res.data;
10
+ }
11
+ //#endregion
12
+ //#region src/modules/government-validation/governmentValidationStateMachine.ts
13
+ /**
14
+ * Government Record Validation runs as a backend-only step (see
15
+ * docs/_devhub/Module-Government-Validation.md): the SDK shows the standard
16
+ * loader while the call resolves, then advances to `finished` regardless of
17
+ * the validation outcome (success, failure, or unavailable for the
18
+ * country). The outcome is recorded server-side (BE logs / session events)
19
+ * for CS and debugging — nothing is surfaced to the end user, so there is
20
+ * no result screen and no OTP sub-flow here.
21
+ */
22
+ const governmentValidationMachine = setup({
23
+ types: {
24
+ context: {},
25
+ events: {},
26
+ input: {}
27
+ },
28
+ actors: { processValidation: fromPromise(async ({ signal }) => {
29
+ return processGovernmentValidation(signal);
30
+ }) },
31
+ actions: { setError: assign(({ event }) => ({ error: String(event.error) })) }
32
+ }).createMachine({
33
+ id: "governmentValidation",
34
+ initial: "idle",
35
+ context: ({ input }) => ({
36
+ config: input.config,
37
+ error: void 0
38
+ }),
39
+ states: {
40
+ idle: { on: { LOAD: { target: "loading" } } },
41
+ loading: { invoke: {
42
+ id: "processValidation",
43
+ src: "processValidation",
44
+ onDone: { target: "finished" },
45
+ onError: {
46
+ target: "finished",
47
+ actions: "setError"
48
+ }
49
+ } },
50
+ finished: { type: "final" }
51
+ }
52
+ });
53
+ //#endregion
54
+ export { governmentValidationMachine as t };
package/dist/home.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { A as StateMachine, C as StateValue, a as ActorRefFromLogic, c as AnyEventObject, g as IsNotNever, h as InputFrom, k as MachineSnapshot, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
2
  import "./StateMachine-EDpYWy0i.js";
3
3
  import { t as Manager } from "./Manager-CQQ99QOI.js";
4
- import { t as EmptyConfig } from "./types-KPvmag_B.js";
4
+ import { t as EmptyConfig } from "./types-Do5rEXij.js";
5
5
  //#region src/modules/home/types.d.ts
6
6
  type HomeConfig = EmptyConfig;
7
7
  //#endregion
package/dist/home.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
3
3
  //#region src/modules/home/homeStateMachine.ts
4
4
  const homeMachine = setup({ types: {
package/dist/id-ocr.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-CJ7Yl9K-2.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-DXc_xRN7.js";
1
+ import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-CJ7Yl9K-.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-BF_cXZq8.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,6 +1,6 @@
1
1
  import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
2
- import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-cSxzHpHt.esm.js";
3
- import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-BIQYQXXj.esm.js";
2
+ import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-ClDEP-VI.esm.js";
3
+ import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-r46XfZGE.esm.js";
4
4
  //#region src/modules/id-ocr/idOcrCpfUtils.ts
5
5
  function formatCPF(value) {
6
6
  const digits = value.replace(/\D/g, "").slice(0, 11);
@@ -1,9 +1,10 @@
1
+ import "./warmup-Cis2p6O0.js";
1
2
  import "./StateMachine-EDpYWy0i.js";
2
3
  import "./Actor-iTq7YY48.js";
3
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
4
- import { t as DetectionOrientation } from "./IIdCaptureCapability-DHTT3FC2.js";
5
+ import { t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
5
6
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
6
- import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-D3oo2ofo.js";
7
+ import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-Co0Gu2k2.js";
7
8
  //#region src/modules/id-selfie-flow/types.d.ts
8
9
  /**
9
10
  * The capture steps an ID + Selfie flow session can run, in flow order. A
@@ -1,17 +1,18 @@
1
- import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-BIAtLa8k.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BWG-hivt.esm.js";
2
+ import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-f5Ruz7R9.esm.js";
4
+ import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-DjPFGs_D.esm.js";
5
5
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
7
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-CUHwyZT4.esm.js";
7
+ import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-BfhWkK90.esm.js";
8
+ import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
8
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
- import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-C2PYBVsp.esm.js";
10
- import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
11
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-WeHbQM7W.esm.js";
12
- import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-44kwQItl.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-tfeoGre9.esm.js";
14
- import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-NEhFZvWx.esm.js";
10
+ import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-UiQ46EBa.esm.js";
11
+ import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CbPA-Auz.esm.js";
12
+ import { g as ID_ERROR_CODES, h as validateUploadResponse, l as processId, p as uploadIdImage } from "./idCaptureServices-i1KxugN7.esm.js";
13
+ import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-DJp1odGN.esm.js";
15
+ import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-B8PcYqmz.esm.js";
15
16
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
16
17
  /** Default autocapture window for the selfie step. */
17
18
  const SELFIE_AUTOCAPTURE_MS = 1e4;
@@ -1,3 +1,3 @@
1
- import { t as idVerificationMachine } from "./idVerificationStateMachine-nPeUNyFq.esm.js";
2
- import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-JpV_SAsl.esm.js";
1
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-DbDVIh9t.esm.js";
2
+ import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-DT42c77H.esm.js";
3
3
  export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
package/dist/id.d.ts CHANGED
@@ -1,9 +1,33 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
- import { t as CameraStream } from "./camera-9wWD-pwg.js";
3
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
4
- import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DHTT3FC2.js";
5
- import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, O as MANUAL_UPLOAD_MAX_RETRIES, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-Bdf8_LYB2.js";
6
- import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-CqrqSjJV.js";
3
+ import { t as CameraStream } from "./camera-9wWD-pwg.js";
4
+ import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
5
+ import { A as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, B as DeviceWalletProvider, C as IdDocumentType, D as UploadIdResponse, E as IdFlowStep, F as DeviceWalletDecision, G as DigitalIdPlatformSupport, H as DIGITAL_ID_REGISTRY, I as DeviceWalletDecryptResponse, J as resolveDigitalIdImplementation, K as ResolvedDigitalIdRoute, L as DeviceWalletFailReason, M as ManualUploadContext, N as ManualUploadSide, P as ManualUploadTab, R as DeviceWalletOutput, S as IdCapturedImageData, T as IdErrorCode, U as DigitalIdDocumentType, V as DIGITAL_ID_DOCUMENT_TYPES, W as DigitalIdFunnelEntry, Y as DigitalIdProviderId, Z as RedirectReturnParams, _ as IdCaptureInput, a as CaptureOnlyResponse, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureGeometry, h as IdCaptureEvent, i as CaptureIdResponse, j as MANUAL_UPLOAD_MAX_RETRIES, k as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, q as isRedirectFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, w as IdError, x as IdCaptureThresholds, y as IdCaptureOnlyConfig, z as DeviceWalletPlatform } from "./types-byBHOzCG2.js";
6
+ import { A as prepareRecordingForCameraRetry, C as addBarcode, D as getRealQualityValue, E as finalizeRecordingSession, F as uploadIdImage, I as uploadManualIdFile, L as validateUploadResponse, M as startRecordingSession, N as stopRecording, O as initializeIdCapture, P as stopStream, S as ValidationError, T as disposeRecordingSession, _ as IdCaptureInitResult, a as CreateIdCaptureOnlyActorOptions, b as UploadIdImageParams, c as IdCaptureOnlyMachine, d as IdCaptureActor, f as createIdCaptureActor, g as FinalizedIdRecording, h as AddBarcodeParams, j as processId, k as pauseRecordingForAttempt, l as idCaptureOnlyMachine, m as idCaptureMachine, n as IdCaptureManager, o as IdCaptureOnlyActor, p as IdCaptureMachine, r as IdCaptureState, s as createIdCaptureOnlyActor, t as createIdCaptureManager, u as CreateIdCaptureActorOptions, v as InitializeIdCaptureParams, w as barcodeToBase64, x as UploadManualIdFileParams, y as StartRecordingParams } from "./idCaptureManager-DKESug0R.js";
7
+ //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
+ /**
9
+ * Fail reason → i18n key for the device-wallet error screen (same shape as
10
+ * `DIGITAL_UPLOAD_ERROR_KEYS`). Keys are authored in i18nexus.
11
+ */
12
+ declare const DEVICE_WALLET_ERROR_KEYS: {
13
+ readonly UNSUPPORTED_PLATFORM: "idv2.deviceWallet.unsupportedPlatformDescription";
14
+ readonly NO_CREDENTIAL: "idv2.deviceWallet.noCredentialDescription";
15
+ readonly WALLET_ERROR: "idv2.deviceWallet.errorDescription";
16
+ };
17
+ //#endregion
18
+ //#region src/modules/id/deviceWallet/deviceWalletPlatform.d.ts
19
+ /**
20
+ * Maps an explicit provider override or the current user agent to the wallet
21
+ * platform (ported from V1 `resolveWalletPlatform`, minus the Credentials API
22
+ * capability check — that lives on `IDigitalCredentialsCapability.isAvailable()`
23
+ * and is consulted by the digital-ID funnel before this module is invoked).
24
+ *
25
+ * Auto-detection: iOS/iPadOS and macOS Safari → Apple Wallet (web); Android
26
+ * and every other desktop/unknown browser (incl. macOS Chrome) → Google
27
+ * Wallet, which is the only wallet reachable there.
28
+ */
29
+ declare function resolveWalletPlatform(provider?: DeviceWalletProvider): DeviceWalletPlatform;
30
+ //#endregion
7
31
  //#region src/modules/id/idCaptureOnlyManager.d.ts
8
32
  type IdCaptureOnlyManager = IdCaptureManager;
9
33
  /**
@@ -23,4 +47,4 @@ declare function createIdCaptureOnlyManagerFromActor(actor: IdCaptureOnlyActor,
23
47
  */
24
48
  declare function createIdCaptureOnlyManager(options: CreateIdCaptureOnlyActorOptions): IdCaptureOnlyManager;
25
49
  //#endregion
26
- export { AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DetectionArea, type DetectionOrientation, DetectionStatus, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, type ManualUploadContext, type ManualUploadSide, type ManualUploadTab, type PermissionResult, type PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, addBarcode, barcodeToBase64, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
50
+ export { AcceptedDocument, AcceptedDocumentType, AddBarcodeParams, AddBarcodeV3Response, type CameraStream, CaptureIdResponse, CaptureOnlyResponse, CapturedImage, type CreateIdCaptureActorOptions, type CreateIdCaptureOnlyActorOptions, DEVICE_WALLET_ERROR_KEYS, DIGITAL_ID_DOCUMENT_TYPES, DIGITAL_ID_REGISTRY, DetectionArea, type DetectionOrientation, DetectionStatus, type DeviceWalletDecision, type DeviceWalletDecryptResponse, type DeviceWalletFailReason, type DeviceWalletOutput, type DeviceWalletPlatform, type DeviceWalletProvider, type DigitalIdDocumentType, type DigitalIdFunnelEntry, type DigitalIdPlatformSupport, type DigitalIdProviderId, FinalizedIdRecording, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureDigitalIdFlowType, IdCaptureDigitalIdMethod, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, type IdCaptureOnlyActor, IdCaptureOnlyConfig, type IdCaptureOnlyMachine, type IdCaptureOnlyManager, IdCaptureOutput, type IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdCapturedImageData, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, type ManualUploadContext, type ManualUploadSide, type ManualUploadTab, type PermissionResult, type PermissionStatus, type RedirectReturnParams, type ResolvedDigitalIdRoute, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, addBarcode, barcodeToBase64, createIdCaptureActor, createIdCaptureManager, createIdCaptureOnlyActor, createIdCaptureOnlyManager, createIdCaptureOnlyManagerFromActor, disposeRecordingSession, finalizeRecordingSession, getRealQualityValue, idCaptureMachine, idCaptureOnlyMachine, initializeIdCapture, isRedirectFlowType, pauseRecordingForAttempt, prepareRecordingForCameraRetry, processId, resolveDigitalIdImplementation, resolveWalletPlatform, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };