@incodetech/core 2.4.1-agentic.11 → 2.4.1-agentic.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CameraCompositor-ppyMYVoY.esm.js → CameraCompositor-C7N1N61V.esm.js} +55 -1
- package/dist/{FaceDetectionProvider-2NzWDbV8.esm.js → FaceDetectionProvider-WtuJ6QBK.esm.js} +16 -11
- package/dist/{IWasmUtilCapability-BRn0wz8v.d.ts → IWasmUtilCapability-XcOtT1TP.d.ts} +5 -4
- package/dist/{MultipartRecordingProvider-CduV32Qa.esm.js → MultipartRecordingProvider-BtMQZEbg.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-ixfy84ys.d.ts → StreamCanvasCapture-BnBfA6fb.d.ts} +24 -2
- package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
- package/dist/{WasmUtilProvider-DdhAHHw4.esm.js → WasmUtilProvider-D5RMElzw.esm.js} +7 -0
- package/dist/{WorkerEncoderRecordingProvider-CsDED9UU.esm.js → WorkerEncoderRecordingProvider-BO7urYwT.esm.js} +1 -1
- package/dist/{addressSearch-Rxm1K67A.esm.js → addressSearch-BzAy6lhp.esm.js} +2 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-DKNOi9-z.esm.js → antifraudManager-Bw5nw5fh.esm.js} +3 -3
- package/dist/{antifraudStateMachine-BJ6PmCsw.esm.js → antifraudStateMachine-kOfsaAuT.esm.js} +2 -4
- package/dist/{api-CZpuJuZl.esm.js → api-DSZSaaWr.esm.js} +2 -0
- package/dist/{apiError-BamZ815u.esm.js → apiError-BDuL1wTs.esm.js} +1 -1
- package/dist/{attemptCarry-BecGGZK8.esm.js → attemptCarry-QFQkA3na.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-yBVGiIf_.esm.js → authenticationManager-B0SioAdd.esm.js} +6 -6
- package/dist/{authenticationManager-DRaugLgH.d.ts → authenticationManager-eYcurNiS.d.ts} +1 -1
- package/dist/{authenticationStateMachine-DPqTOJPp.esm.js → authenticationStateMachine-n1OrhPTv.esm.js} +3 -3
- package/dist/{backCameraStream-DS1oDiUq.esm.js → backCameraStream-6qVHvj76.esm.js} +2 -2
- package/dist/{browser-pQZA35G2-DxIBykpe.esm.js → browser-pQZA35G2-CG3C-xGt.esm.js} +1 -1
- package/dist/calendarDate-DcqGuEht.esm.js +35 -0
- package/dist/camera-9yYDUOsO.d.ts +5 -0
- package/dist/{camera-E_Kcre4O.esm.js → camera-CJKApt0x.esm.js} +10 -3
- package/dist/camera.d.ts +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-Dxl9UwR0.esm.js → certificateIssuanceManager-DPT8E9zV.esm.js} +3 -3
- package/dist/{certificateIssuanceStateMachine-CM4q71h1.esm.js → certificateIssuanceStateMachine-BwDb3ezx.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-B2F_VeAo.d.ts → consentManager-B0YKqYtZ.d.ts} +9 -9
- package/dist/{consentManager-BPocwpm2.esm.js → consentManager-DRMJ3O4r.esm.js} +3 -3
- package/dist/{consentStateMachine-DgiIcT9q.esm.js → consentStateMachine-Br0JbW7k.esm.js} +4 -7
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BfA29Aji.esm.js → crossDocumentDataMatchManager-BIQ-SYcR.esm.js} +3 -4
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CbvBDoE1.esm.js → curpValidationManager-BKUDQ55W.esm.js} +3 -3
- package/dist/{curpValidationManager-Ci2iVuog.d.ts → curpValidationManager-DgUZySoq.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-BQ8XK2Y3.esm.js → curpValidationStateMachine-BwUBkyyi.esm.js} +13 -14
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-BRqSCR9R.esm.js → customFieldsManager-CPhONu5i.esm.js} +12 -16
- package/dist/{customWatchlistManager-Bd1ooIDB.esm.js → customWatchlistManager-cN57usIW.esm.js} +3 -3
- package/dist/{customWatchlistStateMachine-r8nGhyo1.esm.js → customWatchlistStateMachine-C1Xq1ugl.esm.js} +2 -4
- package/dist/{deepsightLoader-CEY2mSPM.esm.js → deepsightLoader-ClCQCdeL.esm.js} +5 -5
- package/dist/{desktopCameraElection-enVPfRsQ.esm.js → desktopCameraElection-btFONYx6.esm.js} +22 -10
- package/dist/device.d.ts +3 -3
- package/dist/device.esm.js +15 -15
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-signature.d.ts +123 -0
- package/dist/document-signature.esm.js +149 -0
- package/dist/{documentCaptureManager-C11k5BO-.esm.js → documentCaptureManager-5I3lKDVW.esm.js} +3 -3
- package/dist/{documentCaptureManager-BZBmcOKI.d.ts → documentCaptureManager-BkaPpoKy.d.ts} +1 -1
- package/dist/{documentCaptureStateMachine-g0gfL0_1.esm.js → documentCaptureStateMachine-jtQHasPA.esm.js} +7 -10
- package/dist/documentSignatureStateMachine-DKtU0H-F.esm.js +218 -0
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BmfCZ2zV.esm.js → dynamicFormsManager-B6Bv32wU.esm.js} +3 -3
- package/dist/{dynamicFormsStateMachine-B-eYytau.esm.js → dynamicFormsStateMachine-Kauq2oB-.esm.js} +10 -11
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-BPaMfbgw.esm.js → ekybManager-wi135kG-.esm.js} +3 -3
- package/dist/{ekybStateMachine-C_lEw4I7.esm.js → ekybStateMachine-Vjb6_mFt.esm.js} +4 -6
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-nRT0rxei.esm.js → ekycManager-DWCL912J.esm.js} +3 -3
- package/dist/{ekycPrefillManager-DOTl3Y2w.d.ts → ekycPrefillManager-BcLhkpp8.d.ts} +4 -4
- package/dist/{ekycPrefillManager-CCtbmrFd.esm.js → ekycPrefillManager-C27Cu6rn.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-XpxgCAoC.esm.js → ekycPrefillStateMachine-DqXvupSw.esm.js} +4 -6
- package/dist/{ekycRules-DXP2hqVw.esm.js → ekycRules-1hyjJ6bw.esm.js} +7 -4
- package/dist/{ekycStateMachine-nwJRel2s.esm.js → ekycStateMachine-DjiGyQtm.esm.js} +149 -13
- package/dist/{ekycUtils-FcqA6oU4.esm.js → ekycUtils-D9ui9Ztp.esm.js} +5 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-M2O2VDks.esm.js → electronicSignatureManager-BHnxFx7u.esm.js} +8 -16
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-Co4jarT1.esm.js → emailManager-CfvR6pQN.esm.js} +3 -3
- package/dist/{emailStateMachine-CTEaYncs.esm.js → emailStateMachine-C4FouMzc.esm.js} +3 -5
- package/dist/{events-CP3yOzAl.esm.js → events-CsPmTidH.esm.js} +2 -2
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +14 -14
- package/dist/extensibility.esm.js +36 -36
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-3Or5qfbA.esm.js → faceCaptureManagerFactory-BjVIUTMM.esm.js} +5 -5
- package/dist/{faceCaptureManagerFactory-CRGajjZ4.d.ts → faceCaptureManagerFactory-DhDPxxp-.d.ts} +12 -6
- package/dist/{faceCaptureSetup-Cf87i0rT.esm.js → faceCaptureSetup-q33e6ah9.esm.js} +26 -15
- package/dist/{faceMatchManager-CGmNGbov.esm.js → faceMatchManager-CsPFaja4.esm.js} +3 -3
- package/dist/{faceMatchStateMachine-BuHt7kec.esm.js → faceMatchStateMachine-Co2S7iN8.esm.js} +8 -19
- package/dist/{feature-management-DG016L6E.esm.js → feature-management-BhRKAG--.esm.js} +3 -2
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-VgCU4X96.esm.js → fieldComparisonManager-Chn80m_n.esm.js} +4 -6
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-DOLq45ph.esm.js → fiscalQrManager-CpX6MOy_.esm.js} +6 -7
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -6
- package/dist/flow.esm.js +5 -5
- package/dist/{flowCompletionService-BpeAbbXc.esm.js → flowCompletionService-E_6ChYsV.esm.js} +2 -2
- package/dist/{flowServices-rDg1bAMs.esm.js → flowServices-C23o7MqO.esm.js} +10 -9
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-T8m4lqvF.esm.js → geolocationManager-dgMVi0ed.esm.js} +3 -3
- package/dist/{geolocationStateMachine-NWmA1Dtn.esm.js → geolocationStateMachine-CCVd9xGh.esm.js} +6 -8
- package/dist/{getDeviceClass-DoIWuKI8.esm.js → getDeviceClass-Dcy9erbl.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-6JQQkzha.esm.js → governmentValidationManager-D2KGYDws.esm.js} +3 -3
- package/dist/{governmentValidationStateMachine-wBunpfQ9.esm.js → governmentValidationStateMachine-DRG-5jwQ.esm.js} +2 -4
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +2 -2
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +2 -2
- package/dist/id-selfie-flow.esm.js +10 -10
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-Cjesf5i9.esm.js → idCaptureDefaults-BivjtJka.esm.js} +1 -1
- package/dist/{idCaptureManager-5-ReVgbB.esm.js → idCaptureManager-B_deOVCC.esm.js} +12 -14
- package/dist/{idCaptureManager-Cqx2y_fC.d.ts → idCaptureManager-DzAMWmRO.d.ts} +12 -5
- package/dist/{idCaptureServices-exB6I9lV.esm.js → idCaptureServices-BFCsusKB.esm.js} +17 -25
- package/dist/{idCaptureStateMachine-DQ14d3GR.esm.js → idCaptureStateMachine--CMATkG9.esm.js} +49 -56
- package/dist/{idOcrManager-im7VfJQi.esm.js → idOcrManager-C-_bzBSX.esm.js} +3 -3
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/{idOcrStateMachine-B832arAl.esm.js → idOcrStateMachine-BNtBkAXC.esm.js} +10 -7
- package/dist/{idVerificationManager-PMGM4hXY.esm.js → idVerificationManager-CdvGdtg2.esm.js} +3 -3
- package/dist/{idVerificationStateMachine-DeeugC00.esm.js → idVerificationStateMachine-mozw0CIg.esm.js} +2 -4
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/identity-search.esm.js +3 -4
- package/dist/{identityReuseManager-CjFZ7WRa.esm.js → identityReuseManager-Z1Re4UGd.esm.js} +3 -3
- package/dist/{identityReuseStateMachine-CLFjPp13.esm.js → identityReuseStateMachine-C_3fSFCw.esm.js} +3 -7
- package/dist/{index-DxYNO94y.d.ts → index-C0WIMlJE.d.ts} +1 -1
- package/dist/{index-DM43R87x.d.ts → index-CNck5TLp.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-lXP41N7b.esm.js → invokeOnCaptureCallback-DNQX9k5e.esm.js} +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CZfdCkLC.esm.js → kybChecksManager-D-mVF14T.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-DkWxSU4L.esm.js → kybChecksStateMachine-BARZh9GN.esm.js} +5 -9
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-Dh3pBhOe.esm.js → mandatoryConsentManager-CKzzbbRe.esm.js} +3 -3
- package/dist/{mandatoryConsentManager-Bh1asNJh.d.ts → mandatoryConsentManager-D6tBmPDy.d.ts} +8 -8
- package/dist/{mandatoryConsentStateMachine-BjuI72HZ.esm.js → mandatoryConsentStateMachine-DpK7fg3E.esm.js} +4 -7
- package/dist/{mediaRecorderOptions-g1TwTlhd.esm.js → mediaRecorderOptions-Di_V9TnZ.esm.js} +1 -1
- package/dist/{multipartRecordingService-WgK8ieRI.esm.js → multipartRecordingService-CEtaAPz4.esm.js} +2 -2
- package/dist/{permissionGuards-D-4_VU7-.esm.js → permissionGuards-BJIaHxvI.esm.js} +1 -1
- package/dist/{permissionServices-DpccEnzE.esm.js → permissionServices-6Mdq1hDk.esm.js} +8 -5
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-rA7updqF.esm.js → phoneManager-D8-l6-0y.esm.js} +3 -3
- package/dist/{phoneServices-CFXcwCFr.esm.js → phoneServices-C9lFIuCM.esm.js} +3 -7
- package/dist/{phoneStateMachine-DKdY2Scx.esm.js → phoneStateMachine-CGLBgJJR.esm.js} +2 -2
- package/dist/{platform-aPh7gTWh.esm.js → platform-GIg4uPWe.esm.js} +1 -4
- package/dist/{processFaceMatch-B_DkDTE5.esm.js → processFaceMatch-B1Mhqkep.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DxiwS8TV.esm.js → recordingService-CLGnDCDl.esm.js} +7 -6
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DTB_pWuS.esm.js → redirectToMobileManager-Djb_daci.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-nP9DM01_.esm.js → redirectToMobileStateMachine-BCyQFlpn.esm.js} +7 -17
- package/dist/{runChildModule-CXLcOcXN.esm.js → runChildModule-DF2c6TxC.esm.js} +2 -2
- package/dist/{sdkVersion-fqxsdqFZ.esm.js → sdkVersion-B5_kVegT.esm.js} +1 -1
- package/dist/selfie.d.ts +5 -5
- package/dist/selfie.esm.js +11 -11
- package/dist/{selfieErrorUtils-MOfYdGPz.esm.js → selfieErrorUtils-BVuv5qO7.esm.js} +1 -1
- package/dist/{selfieManager-DihwheJ6.d.ts → selfieManager-C5a6Fw6W.d.ts} +1 -1
- package/dist/{selfieManager-Dq8tIqGd.esm.js → selfieManager-Dnb5h3qV.esm.js} +6 -6
- package/dist/{selfieStateMachine-BZVDQB8R.esm.js → selfieStateMachine-BT69FLFb.esm.js} +3 -3
- package/dist/{session-C7x_iJ-p.esm.js → session-OCc4b-Iv.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-k-hKIBg8.esm.js → sessionInitializer-BUUpdBy6.esm.js} +11 -13
- package/dist/{setup-CpXbdA1X.d.ts → setup-BpD7lYSf.d.ts} +5 -4
- package/dist/{setup-BRbhjHiU.esm.js → setup-CJMohzTE.esm.js} +10 -10
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BgAja97K.esm.js → signatureManager-B6dRieBV.esm.js} +3 -3
- package/dist/{signatureStateMachine-CVPmvU2p.esm.js → signatureStateMachine-DSW5-ZO0.esm.js} +3 -5
- package/dist/{stats-DoByUnTa.esm.js → stats-VqHbD5rn.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{tri-CI2exudk.esm.js → tri-B5Yh5glk.esm.js} +2 -2
- package/dist/tri.d.ts +1 -1
- package/dist/tri.esm-DYdFtcDH.esm.js +3105 -0
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-DhW2O8mB.esm.js → trueSightService-D9D2IdEj.esm.js} +6 -7
- package/dist/trust-graph.esm.js +2 -2
- package/dist/{types-Ddc4Tr_f.d.ts → types-B2DGXHe6.d.ts} +2 -0
- package/dist/{types-Cpdum4vi.d.ts → types-BBHnkH6S.d.ts} +4 -4
- package/dist/types-BNkzXOXE.d.ts +45 -0
- package/dist/{types-DJPU3W2M.d.ts → types-BkWUNheX.d.ts} +1 -1
- package/dist/types-C2uJrJrS.d.ts +6 -0
- package/dist/{types-DYYMdAGv.esm.js → types-CBQN04Rh.esm.js} +2 -1
- package/dist/{types-CyNndVAT.d.ts → types-CaVUb1DL.d.ts} +1 -1
- package/dist/{types-DFP7eSle.d.ts → types-Crg7oL-l.d.ts} +1 -1
- package/dist/{types-9wlf1-GE.d.ts → types-x5MQKskR.d.ts} +4 -2
- package/dist/video-selfie.d.ts +2 -2
- package/dist/video-selfie.esm.js +9 -9
- package/dist/{videoSelfieCameraWarmer-YwO_uP-b.esm.js → videoSelfieCameraWarmer-CYEHPKK6.esm.js} +9 -9
- package/dist/{videoSelfieStepDetector-DRrh4P0A.d.ts → videoSelfieStepDetector-DGXi_TXk.d.ts} +18 -8
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/{wasmDsFlagSync-D_6e8W62.esm.js → wasmDsFlagSync-BNttW5Sm.esm.js} +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-BH6M4kqA.esm.js → watchlistForBusinessManager-CfLnsL8p.esm.js} +3 -3
- package/dist/{watchlistForBusinessStateMachine-BMWm5mcP.esm.js → watchlistForBusinessStateMachine-EzlC_4I4.esm.js} +9 -6
- package/dist/{watchlistManager-BDaVjzLW.esm.js → watchlistManager-CGXbemnp.esm.js} +3 -3
- package/dist/{watchlistStateMachine-Cx-6QAvu.esm.js → watchlistStateMachine-CsNEmiXL.esm.js} +2 -4
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +40 -38
- package/package.json +6 -1
- package/dist/camera-9wWD-pwg.d.ts +0 -4
- package/dist/tri.esm-CxLWmTZk.esm.js +0 -2287
- package/dist/types-CE1jkHw3.d.ts +0 -6
package/dist/{idVerificationManager-PMGM4hXY.esm.js → idVerificationManager-CdvGdtg2.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.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-
|
|
5
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-mozw0CIg.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-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.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
|
|
@@ -14,9 +14,7 @@ async function processId(input = {}, signal) {
|
|
|
14
14
|
const endpoint = input.isSecondId ? endpoints.processSecondId : endpoints.processId;
|
|
15
15
|
const queueName = input.queueName ?? "";
|
|
16
16
|
const url = `${endpoint}?queueName=${encodeURIComponent(queueName)}`;
|
|
17
|
-
|
|
18
|
-
if (!res.ok) throw new Error(`POST ${endpoint} failed: ${res.status} ${res.statusText}`);
|
|
19
|
-
return { isDocumentExpired: res.data?.isDocumentExpired ?? false };
|
|
17
|
+
return { isDocumentExpired: (await api.post(url, {}, { signal })).data?.isDocumentExpired ?? false };
|
|
20
18
|
}
|
|
21
19
|
//#endregion
|
|
22
20
|
//#region src/modules/id-verification/idVerificationStateMachine.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-
|
|
2
|
-
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-
|
|
1
|
+
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-C_3fSFCw.esm.js";
|
|
2
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-Z1Re4UGd.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-
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
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-DSZSaaWr.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";
|
|
@@ -12,8 +12,7 @@ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
|
12
12
|
* on failure.
|
|
13
13
|
*/
|
|
14
14
|
async function searchIdentity(signal) {
|
|
15
|
-
|
|
16
|
-
if (!res.ok) throw new Error(`POST ${endpoints.identitySearch} failed: ${res.status} ${res.statusText}`);
|
|
15
|
+
await api.post(endpoints.identitySearch, {}, { signal });
|
|
17
16
|
}
|
|
18
17
|
//#endregion
|
|
19
18
|
//#region src/modules/identity-search/identitySearchStateMachine.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.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-
|
|
5
|
+
import { n as identityReuseMachine } from "./identityReuseStateMachine-C_3fSFCw.esm.js";
|
|
6
6
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
|
7
7
|
/**
|
|
8
8
|
* Creates and starts an IdentityReuse actor.
|
package/dist/{identityReuseStateMachine-CLFjPp13.esm.js → identityReuseStateMachine-C_3fSFCw.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.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
|
|
@@ -31,15 +31,11 @@ function adaptDocument(doc) {
|
|
|
31
31
|
}
|
|
32
32
|
/** Fetches reusable identity documents. Throws on failure. */
|
|
33
33
|
async function fetchDocuments(signal) {
|
|
34
|
-
|
|
35
|
-
if (!res.ok) throw new Error(`GET ${endpoints.identityReuseDocuments} failed: ${res.status} ${res.statusText} — ${JSON.stringify(res.data)}`);
|
|
36
|
-
return (res.data?.documents ?? []).map(adaptDocument);
|
|
34
|
+
return ((await api.get(endpoints.identityReuseDocuments, { signal })).data?.documents ?? []).map(adaptDocument);
|
|
37
35
|
}
|
|
38
36
|
/** Submits the chosen document (or scan-new) for reuse. Throws on failure. */
|
|
39
37
|
async function submitDocument(params, signal) {
|
|
40
|
-
|
|
41
|
-
if (!res.ok) throw new Error(`POST ${endpoints.identityReuseSubmit} failed: ${res.status} ${res.statusText} — ${JSON.stringify(res.data)}`);
|
|
42
|
-
return res.data;
|
|
38
|
+
return (await api.post(endpoints.identityReuseSubmit, params, { signal })).data;
|
|
43
39
|
}
|
|
44
40
|
//#endregion
|
|
45
41
|
//#region src/modules/identity-reuse/identityReuseStateMachine.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Manager-DufwKlav.js";
|
|
2
|
-
import { n as Flow } from "./types-
|
|
2
|
+
import { n as Flow } from "./types-B2DGXHe6.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 = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-
|
|
1
|
+
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261118130106-3b5181d76a540a606e9971dfbe3ea37052d775a9/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
|
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-
|
|
1
|
+
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-BpD7lYSf.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-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-CJMohzTE.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
package/dist/kyb-checks.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
-
import { t as createKybChecksManager } from "./kybChecksManager-
|
|
1
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-BARZh9GN.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-D-mVF14T.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-
|
|
3
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-BARZh9GN.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 = {}) {
|
package/dist/{kybChecksStateMachine-DkWxSU4L.esm.js → kybChecksStateMachine-BARZh9GN.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
-
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
|
+
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-BDuL1wTs.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -465,12 +465,10 @@ function buildSubmitBody(submit, values) {
|
|
|
465
465
|
*/
|
|
466
466
|
async function fetchKybForm(country, signal) {
|
|
467
467
|
try {
|
|
468
|
-
|
|
468
|
+
return (await api.get(endpoints.kybForm, {
|
|
469
469
|
query: { country },
|
|
470
470
|
signal
|
|
471
|
-
});
|
|
472
|
-
if (!res.ok) throw res;
|
|
473
|
-
return res.data;
|
|
471
|
+
})).data;
|
|
474
472
|
} catch (error) {
|
|
475
473
|
throw toIncodeApiError(endpoints.kybForm, error);
|
|
476
474
|
}
|
|
@@ -481,9 +479,7 @@ async function fetchKybForm(country, signal) {
|
|
|
481
479
|
*/
|
|
482
480
|
async function submitKyb(body, signal) {
|
|
483
481
|
try {
|
|
484
|
-
|
|
485
|
-
if (!res.ok) throw res;
|
|
486
|
-
return res.data;
|
|
482
|
+
return (await api.post(endpoints.kybSubmit, body, { signal })).data;
|
|
487
483
|
} catch (error) {
|
|
488
484
|
throw toIncodeApiError(endpoints.kybSubmit, error);
|
|
489
485
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { r as MandatoryConsentConfig } from "./types-BkWUNheX.js";
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-D6tBmPDy.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
2
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DpK7fg3E.esm.js";
|
|
2
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-CKzzbbRe.esm.js";
|
|
3
3
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-Dh3pBhOe.esm.js → mandatoryConsentManager-CKzzbbRe.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.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 mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
5
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DpK7fg3E.esm.js";
|
|
6
6
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
7
7
|
function createMandatoryConsentActor(options) {
|
|
8
8
|
return createActor(mandatoryConsentMachine, { input: { config: options.config } }).start();
|
package/dist/{mandatoryConsentManager-Bh1asNJh.d.ts → mandatoryConsentManager-D6tBmPDy.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { A as MachineSnapshot, O as PromiseActorLogic, S as RequiredLogicInput,
|
|
|
2
2
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
3
3
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
4
4
|
import "./Actor-DqjOqDfU.js";
|
|
5
|
-
import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-
|
|
5
|
+
import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-BkWUNheX.js";
|
|
6
6
|
//#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
|
|
7
7
|
type MandatoryConsentContext = {
|
|
8
8
|
config: MandatoryConsentConfig;
|
|
@@ -58,22 +58,22 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
58
58
|
type: "setError";
|
|
59
59
|
params: NonReducibleUnknown;
|
|
60
60
|
};
|
|
61
|
-
setLoadError: {
|
|
62
|
-
type: "setLoadError";
|
|
63
|
-
params: NonReducibleUnknown;
|
|
64
|
-
};
|
|
65
61
|
clearError: {
|
|
66
62
|
type: "clearError";
|
|
67
63
|
params: NonReducibleUnknown;
|
|
68
64
|
};
|
|
69
|
-
|
|
70
|
-
type: "
|
|
65
|
+
setLoadError: {
|
|
66
|
+
type: "setLoadError";
|
|
71
67
|
params: NonReducibleUnknown;
|
|
72
68
|
};
|
|
73
69
|
toggleSigned: {
|
|
74
70
|
type: "toggleSigned";
|
|
75
71
|
params: NonReducibleUnknown;
|
|
76
72
|
};
|
|
73
|
+
resetContext: {
|
|
74
|
+
type: "resetContext";
|
|
75
|
+
params: NonReducibleUnknown;
|
|
76
|
+
};
|
|
77
77
|
}>, Values<{
|
|
78
78
|
canSubmit: {
|
|
79
79
|
type: "canSubmit";
|
|
@@ -83,7 +83,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
83
83
|
type: "hasConsent";
|
|
84
84
|
params: unknown;
|
|
85
85
|
};
|
|
86
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
86
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
87
87
|
readonly id: "mandatoryConsent";
|
|
88
88
|
readonly initial: "idle";
|
|
89
89
|
readonly context: ({ input }: {
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.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/mandatory-consent/mandatoryConsentServices.ts
|
|
5
5
|
async function fetchMandatoryConsent(regulationType, language, type, signal) {
|
|
6
|
-
|
|
6
|
+
return (await api.get(endpoints.getConsents, {
|
|
7
7
|
signal,
|
|
8
8
|
query: {
|
|
9
9
|
type,
|
|
10
10
|
language: language ?? "en",
|
|
11
11
|
regulationType
|
|
12
12
|
}
|
|
13
|
-
});
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getConsents} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
13
|
+
})).data;
|
|
16
14
|
}
|
|
17
15
|
async function submitMandatoryConsent(params, signal) {
|
|
18
|
-
|
|
19
|
-
if (!res.ok) throw new Error(`POST ${endpoints.submitMlConsent} failed: ${res.status} ${res.statusText}`);
|
|
16
|
+
await api.post(endpoints.submitMlConsent, params, { signal });
|
|
20
17
|
}
|
|
21
18
|
//#endregion
|
|
22
19
|
//#region src/modules/mandatory-consent/mandatoryConsentStateMachine.ts
|
package/dist/{multipartRecordingService-WgK8ieRI.esm.js → multipartRecordingService-CEtaAPz4.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as BrowserNetworkStatusProvider } from "./BrowserNetworkStatusProvider-BrDXBEDd.esm.js";
|
|
5
|
-
import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-
|
|
5
|
+
import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-BtMQZEbg.esm.js";
|
|
6
6
|
//#region src/internal/recordings/videoSelfieUploadService.ts
|
|
7
7
|
/**
|
|
8
8
|
* Opens a scoped multipart video upload session. Idempotent server-side: if
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { s as isWasmMotionPrimedForModule } from "./permissionServices-6Mdq1hDk.esm.js";
|
|
2
2
|
//#region src/internal/permissions/permissionGuards.ts
|
|
3
3
|
function resolveStoredPermissionResult(fromEvent, fromContext) {
|
|
4
4
|
if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import { n as isAndroidWebView } from "./platform-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-D5RMElzw.esm.js";
|
|
2
|
+
import { n as isAndroidWebView } from "./platform-GIg4uPWe.esm.js";
|
|
3
3
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
|
|
4
|
-
import { a as stopCameraStream,
|
|
4
|
+
import { a as stopCameraStream, l as isCameraGrantedInDocument, r as requestCameraAccess, s as clearCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
|
|
5
5
|
//#region ../infra/src/media/permissions.ts
|
|
6
6
|
async function queryPermission(name) {
|
|
7
7
|
try {
|
|
@@ -160,7 +160,7 @@ async function requestPermission(options = {}) {
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
async function invokeRequestPermissionActor(input) {
|
|
163
|
-
if (!input.requestMotionPermission) return requestPermission();
|
|
163
|
+
if (!input.requestMotionPermission) return requestPermission({ requestAudio: input.requestAudio });
|
|
164
164
|
if (input.permissionResult === "granted") {
|
|
165
165
|
if (!isWasmMotionPrimedForModule()) {
|
|
166
166
|
const motionSensor = new MotionSensorProvider();
|
|
@@ -169,7 +169,10 @@ async function invokeRequestPermissionActor(input) {
|
|
|
169
169
|
}
|
|
170
170
|
return "granted";
|
|
171
171
|
}
|
|
172
|
-
return requestPermission({
|
|
172
|
+
return requestPermission({
|
|
173
|
+
requestMotion: true,
|
|
174
|
+
requestAudio: input.requestAudio
|
|
175
|
+
});
|
|
173
176
|
}
|
|
174
177
|
//#endregion
|
|
175
178
|
export { requestPermission as a, resetWasmMotionPrimedForModule as c, requestMotionPermission as i, queryCameraPermission as l, invokeRequestPermissionActor as n, requiresMotionPermissionUserGesture as o, primeMotionFromUserGestureIfNeeded as r, isWasmMotionPrimedForModule as s, checkPermission as t, queryPermission as u };
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
2
|
-
import { t as createPhoneManager } from "./phoneManager-
|
|
1
|
+
import { t as phoneMachine } from "./phoneStateMachine-CGLBgJJR.esm.js";
|
|
2
|
+
import { t as createPhoneManager } from "./phoneManager-D8-l6-0y.esm.js";
|
|
3
3
|
export { createPhoneManager, phoneMachine };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
|
|
7
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
7
|
+
import { t as phoneMachine } from "./phoneStateMachine-CGLBgJJR.esm.js";
|
|
8
8
|
//#region src/modules/phone/phoneActor.ts
|
|
9
9
|
function createPhoneActor(options) {
|
|
10
10
|
return createActor(phoneMachine, { input: { config: options.config } }).start();
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
1
|
+
import { r as getToken, t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
//#region src/modules/phone/phoneServices.ts
|
|
3
3
|
function getPhoneServerFailureReason(error, invalidStatus) {
|
|
4
4
|
if (error.status === invalidStatus) return "invalidPhone";
|
|
5
5
|
return "serverError";
|
|
6
6
|
}
|
|
7
7
|
async function fetchPhone(signal) {
|
|
8
|
-
|
|
9
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getPhone} failed: ${res.status} ${res.statusText}`);
|
|
10
|
-
return res.data;
|
|
8
|
+
return (await api.get(endpoints.getPhone, { signal })).data;
|
|
11
9
|
}
|
|
12
10
|
async function requestStartInfo(signal) {
|
|
13
|
-
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.startInfo} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
11
|
+
return (await api.get(endpoints.startInfo, { signal })).data;
|
|
16
12
|
}
|
|
17
13
|
let prefetchedStartInfo;
|
|
18
14
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
3
|
-
import { i as fetchStartInfo, n as addPhoneInstantVerify, o as sendOtp, r as fetchPhone, s as verifyOtp, t as addPhone } from "./phoneServices-
|
|
3
|
+
import { i as fetchStartInfo, n as addPhoneInstantVerify, o as sendOtp, r as fetchPhone, s as verifyOtp, t as addPhone } from "./phoneServices-C9lFIuCM.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
6
|
+
import { t as carryAttempts } from "./attemptCarry-QFQkA3na.esm.js";
|
|
7
7
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
8
8
|
//#region src/modules/phone/phoneStateMachine.ts
|
|
9
9
|
const RESEND_TIMER_SECONDS = 30;
|
|
@@ -92,9 +92,6 @@ function isMacOsSafari(userAgent) {
|
|
|
92
92
|
const ua = userAgent || (typeof navigator !== "undefined" ? navigator.userAgent : "");
|
|
93
93
|
return /Mac OS/.test(ua) && !isIOS(ua) && isSafari(ua);
|
|
94
94
|
}
|
|
95
|
-
function isBraveBrowser() {
|
|
96
|
-
return typeof navigator !== "undefined" && "brave" in navigator;
|
|
97
|
-
}
|
|
98
95
|
function isIslandBrowser() {
|
|
99
96
|
return typeof navigator !== "undefined" && "island" in navigator;
|
|
100
97
|
}
|
|
@@ -142,4 +139,4 @@ function isIPhone14OrHigher() {
|
|
|
142
139
|
return IPHONE_14_PLUS_DIMENSIONS.some((dims) => dims.outerHeight === outerHeight && dims.outerWidth === outerWidth || dims.innerHeight === innerHeight && dims.innerWidth === innerWidth);
|
|
143
140
|
}
|
|
144
141
|
//#endregion
|
|
145
|
-
export {
|
|
142
|
+
export { isIOSWebView as a, isIslandBrowser as c, isSamsungDevice as d, isTabletWithoutAndroid as f, isIOS as i, isMacOsSafari as l, isAndroidWebView as n, isIPad as o, isDesktop as r, isIPhone14OrHigher as s, isAndroid as t, isSafari as u };
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BHnxFx7u.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
3
|
-
import { r as createRecordingCompositor } from "./CameraCompositor-
|
|
4
|
-
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-
|
|
5
|
-
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-
|
|
6
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
3
|
+
import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
4
|
+
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-Di_V9TnZ.esm.js";
|
|
5
|
+
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
|
|
6
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-CEtaAPz4.esm.js";
|
|
7
7
|
//#region ../infra/src/media/VideoTrimmer.ts
|
|
8
8
|
/** A trim that runs longer than this uploads the full recording instead. */
|
|
9
9
|
const TRIM_TIMEOUT_MS = 1e4;
|
|
@@ -335,7 +335,7 @@ var MultipartFaceRecordingService = class {
|
|
|
335
335
|
if (!compositor) return;
|
|
336
336
|
if (this.needsVideoSourceReplacement) {
|
|
337
337
|
const recordingSource = stream.clone();
|
|
338
|
-
|
|
338
|
+
compositor.switchAudio(recordingSource);
|
|
339
339
|
compositor.switchVideo(recordingSource);
|
|
340
340
|
this.needsVideoSourceReplacement = false;
|
|
341
341
|
this.recordingSource = recordingSource;
|
|
@@ -373,6 +373,7 @@ var MultipartFaceRecordingService = class {
|
|
|
373
373
|
for (const track of tracks) try {
|
|
374
374
|
track.stop();
|
|
375
375
|
} catch {}
|
|
376
|
+
if (options.keepAudio) this.compositor?.releaseAudio();
|
|
376
377
|
}
|
|
377
378
|
};
|
|
378
379
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-
|
|
2
|
-
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-
|
|
1
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-BCyQFlpn.esm.js";
|
|
2
|
+
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-Djb_daci.esm.js";
|
|
3
3
|
export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
package/dist/{redirectToMobileManager-DTB_pWuS.esm.js → redirectToMobileManager-Djb_daci.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as eventModuleNames } from "./types-
|
|
2
|
-
import { t as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
2
|
+
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
|
-
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-
|
|
7
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-BCyQFlpn.esm.js";
|
|
8
8
|
//#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
|
|
9
9
|
const POLL_INTERVAL_MS = 5e3;
|
|
10
10
|
const QR_REFRESH_INTERVAL_MS = 5e3;
|
|
@@ -1,36 +1,26 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { i as resolveAgainstPageOrigin, r as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-B2wagB5v.esm.js";
|
|
6
6
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.ts
|
|
7
7
|
async function fetchRedirectUrl(signal) {
|
|
8
|
-
|
|
9
|
-
if (!res.ok) throw new Error(`GET ${endpoints.onboardingUrl} failed: ${res.status} ${res.statusText}`);
|
|
10
|
-
return res.data;
|
|
8
|
+
return (await api.get(endpoints.onboardingUrl, { signal })).data;
|
|
11
9
|
}
|
|
12
10
|
async function fetchOnboardingStatus(signal) {
|
|
13
|
-
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.onboardingStatus} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
11
|
+
return (await api.get(endpoints.onboardingStatus, { signal })).data;
|
|
16
12
|
}
|
|
17
13
|
async function sendRedirectSms(params, signal) {
|
|
18
|
-
|
|
19
|
-
if (!res.ok) throw new Error(`POST ${endpoints.sendRedirectSms} failed: ${res.status} ${res.statusText}`);
|
|
14
|
+
await api.post(endpoints.sendRedirectSms, params, { signal });
|
|
20
15
|
}
|
|
21
16
|
async function addPhoneForRedirect(phone, signal) {
|
|
22
|
-
|
|
23
|
-
if (!res.ok) throw new Error(`POST ${endpoints.phone} failed: ${res.status} ${res.statusText}`);
|
|
17
|
+
await api.post(endpoints.phone, { phone }, { signal });
|
|
24
18
|
}
|
|
25
19
|
async function refreshQrUuid(onboardingId, signal) {
|
|
26
|
-
|
|
27
|
-
if (!res.ok) throw new Error(`POST ${endpoints.qrRefreshUuid} failed: ${res.status} ${res.statusText}`);
|
|
28
|
-
return res.data;
|
|
20
|
+
return (await api.post(endpoints.qrRefreshUuid, { onboardingId }, { signal })).data;
|
|
29
21
|
}
|
|
30
22
|
async function fetchStartInfo(signal) {
|
|
31
|
-
|
|
32
|
-
if (!res.ok) throw new Error(`GET ${endpoints.startInfo} failed: ${res.status} ${res.statusText}`);
|
|
33
|
-
return res.data;
|
|
23
|
+
return (await api.get(endpoints.startInfo, { signal })).data;
|
|
34
24
|
}
|
|
35
25
|
const defaultRedirectToMobileServices = {
|
|
36
26
|
fetchRedirectUrl,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { C as createEventBus } from "./types-
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
2
|
+
import { C as createEventBus } from "./types-CBQN04Rh.esm.js";
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-D9D2IdEj.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
6
6
|
//#region src/internal/flow-events/flowEvents.ts
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
|
-
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-DhDPxxp-.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
4
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-
|
|
5
|
-
import { n as DeepsightService } from "./StreamCanvasCapture-
|
|
6
|
-
import { t as CameraStream } from "./camera-
|
|
7
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
4
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-x5MQKskR.js";
|
|
5
|
+
import { n as DeepsightService } from "./StreamCanvasCapture-BnBfA6fb.js";
|
|
6
|
+
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
7
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-C5a6Fw6W.js";
|
|
8
8
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
9
9
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
|
10
10
|
type SelfieCaptureOnlyManager = FaceCaptureManager;
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { n as eventModuleNames } from "./types-
|
|
4
|
-
import "./events-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-CJMohzTE.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-D5RMElzw.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
|
+
import "./events-CsPmTidH.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
8
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
9
|
-
import { s as processFace } from "./FaceDetectionProvider-
|
|
10
|
-
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
11
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
12
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
13
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
7
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-q33e6ah9.esm.js";
|
|
8
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BjVIUTMM.esm.js";
|
|
9
|
+
import { s as processFace } from "./FaceDetectionProvider-WtuJ6QBK.esm.js";
|
|
10
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-btFONYx6.esm.js";
|
|
11
|
+
import { t as selfieMachine } from "./selfieStateMachine-BT69FLFb.esm.js";
|
|
12
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Dnb5h3qV.esm.js";
|
|
13
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DNQX9k5e.esm.js";
|
|
14
14
|
/**
|
|
15
15
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
16
16
|
* face-capture state tree; only the upload/process step is local instead of
|