@incodetech/core 2.4.1-agentic → 2.4.1-agentic.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
- package/dist/{multipartRecordingService-DMBxHKS2.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -734
- package/dist/{FaceDetectionProvider-B83VmClw.esm.js → FaceDetectionProvider-CAY43vSI.esm.js} +11 -12
- package/dist/MultipartRecordingProvider-D9mauUdS.esm.js +146 -0
- package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
- package/dist/{WasmUtilProvider-GTkoJyFY.esm.js → WasmUtilProvider-Dp2V-Uct.esm.js} +2 -2
- package/dist/WorkerEncoderRecordingProvider-B1ODYtgN.esm.js +80 -0
- package/dist/{addressSearch-41sMcnJk.esm.js → addressSearch-DzbE9Ogt.esm.js} +2 -352
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
- package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
- package/dist/{api-BO8JA7Pf.esm.js → api-CpP4PS4S.esm.js} +2 -0
- package/dist/{apiError-CfuIvnUy.esm.js → apiError-DH-CH4Nz.esm.js} +1 -1
- package/dist/{attemptCarry-BjTJ6bMQ.esm.js → attemptCarry-WOkfvFMw.esm.js} +2 -2
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-C-cOki0Y.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
- package/dist/{authenticationManager-DvmklBTE.esm.js → authenticationManager-DjX0XDyH.esm.js} +5 -5
- package/dist/{authenticationStateMachine-BL2ptOA0.esm.js → authenticationStateMachine-BMbZL8wm.esm.js} +3 -3
- package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
- package/dist/{backCameraStream-C5_NNfUN.esm.js → backCameraStream-DS1oDiUq.esm.js} +10 -65
- 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-CM0fuqDC.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +1 -1
- package/dist/{connectivity-HSl0diCx.esm.js → connectivity-BCuEoQ-n.esm.js} +2 -21
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DMlSL6Ax.esm.js} +2 -2
- package/dist/{consentManager-_q9yJUku.d.ts → consentManager-bjfVXO7p.d.ts} +9 -9
- package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-CLgJQcx0.esm.js → curpValidationManager-DNpC3wyf.esm.js} +2 -2
- package/dist/{curpValidationManager-CXpFE-Mv.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-Bx9YhVkJ.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
- package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
- package/dist/{deepsightService-twg3bXqY.esm.js → deepsightLoader-B7DEYoyY.esm.js} +34 -29
- package/dist/{desktopCameraElection-kHY2IDJi.esm.js → desktopCameraElection-BGMtYwk3.esm.js} +5 -5
- package/dist/document-capture.d.ts +3 -3
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-6tnnDkMX.d.ts → documentCaptureManager-CD5iQiUI.d.ts} +24 -3
- package/dist/{documentCaptureManager-CMSC_Mhd.esm.js → documentCaptureManager-DLPqruXJ.esm.js} +3 -2
- package/dist/{documentCaptureStateMachine-BCwD5Rto.esm.js → documentCaptureStateMachine-DCvWQhFG.esm.js} +67 -26
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DU6W1e20.esm.js → dynamicFormsManager-DfqCEPg9.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-C8Z7k3vo.esm.js → dynamicFormsStateMachine-USQMB-uV.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
- package/dist/{ekybManager-TGfqyjuu.esm.js → ekybManager-CR8YSYux.esm.js} +2 -2
- package/dist/{ekybStateMachine-DBgFuEPK.esm.js → ekybStateMachine-kHwdz6hm.esm.js} +5 -3
- package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
- package/dist/ekyc.d.ts +3 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
- package/dist/{ekycManager-C2cgG2Pl.esm.js → ekycManager-DymCvmVB.esm.js} +2 -2
- package/dist/{ekycStateMachine-CuNF7z4O.esm.js → ekycStateMachine-CoFCUJ2z.esm.js} +141 -68
- package/dist/{ekycUtils-BFncpC4F.esm.js → ekycUtils-GRuMELYr.esm.js} +80 -9
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C7pqXsRm.esm.js → electronicSignatureManager-BCE3uA3z.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-FH_CP0cT.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
- package/dist/{emailStateMachine-Cx-uTaBV.esm.js → emailStateMachine-KgHfDNvM.esm.js} +2 -2
- package/dist/{events-CQteqXfy.esm.js → events-ggpBBaZ8.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +15 -14
- package/dist/extensibility.esm.js +36 -35
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-C-xKdj-d.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-CBm05KnT.esm.js → faceCaptureManagerFactory-Dp90bedH.esm.js} +4 -4
- package/dist/{faceCaptureSetup-BQjCbL51.esm.js → faceCaptureSetup-ZfiWg0fo.esm.js} +12 -403
- package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +2 -2
- package/dist/{feature-management-DjAG5lsJ.esm.js → feature-management-BbCIA4og.esm.js} +35 -21
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-Be-r4oZj.esm.js → fiscalQrManager-BZeklojR.esm.js} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +8 -8
- package/dist/flow.esm.js +10 -6
- package/dist/{flowCompletionService-ChMU2v79.esm.js → flowCompletionService-CcCnPs_T.esm.js} +2 -2
- package/dist/{flowServices-g2tVWsJl.esm.js → flowServices-Dmnc8Rye.esm.js} +69 -143
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DLbvZwUB.esm.js → geolocationManager-BJJ3m_I8.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CAJVongM.esm.js → geolocationStateMachine-CTI3m4Ie.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-AEbn3Afi.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- 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 +1 -1
- package/dist/id-selfie-flow.esm.js +10 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureDefaults-MSQoqScU.esm.js → idCaptureDefaults-Dszuq9ng.esm.js} +3 -3
- package/dist/{idCaptureManager-zZdTcpG1.esm.js → idCaptureManager-B3oR4RnA.esm.js} +9 -8
- package/dist/{idCaptureManager-DzTfQ1Am.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +5 -3
- package/dist/{idCaptureServices-8OHinO0N.esm.js → idCaptureServices-DK0QboqT.esm.js} +27 -196
- package/dist/{idCaptureStateMachine-B3G6XoDG.esm.js → idCaptureStateMachine-zzar9MPy.esm.js} +20 -20
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
- package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
- package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +1 -1
- package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
- package/dist/{index-DMDAk85K.d.ts → index-DC0P2Vzw.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-BJ0GVHGr.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +3 -0
- package/dist/kyb-checks.esm.js +3 -0
- package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
- package/dist/kybChecksManager-DpGOp4Su.esm.js +89 -0
- package/dist/kybChecksStateMachine-B43NAnv7.esm.js +718 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-xx3mY-xw.d.ts → mandatoryConsentManager-B88Sm5nd.d.ts} +6 -6
- package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +1 -1
- package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
- package/dist/multipartRecordingService-BTqkHGG9.esm.js +407 -0
- package/dist/{permissionGuards-B3OPL8Si.esm.js → permissionGuards-DFV-Ws0a.esm.js} +1 -1
- package/dist/{permissionServices-DnBAN_hW.esm.js → permissionServices-D190ATGD.esm.js} +8 -6
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
- package/dist/{phoneManager-C6jut_pz.esm.js → phoneManager-Dy5tODCU.esm.js} +3 -3
- package/dist/phoneServices-DJgyOzU2.esm.js +77 -0
- package/dist/{phoneStateMachine-T1-drWfG.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +20 -60
- package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-Bst83HaS.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/recordingService-CTko6Cjn.esm.js +397 -0
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +39 -21
- package/dist/resolveForm-O7-r79VA.esm.js +351 -0
- package/dist/{runChildModule-DPHTqSdF.esm.js → runChildModule-BffFArwl.esm.js} +2 -2
- package/dist/{sdkVersion-C3_P-Qbq.esm.js → sdkVersion-CDd_gaR7.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-BL0BLMnp.esm.js → selfieErrorUtils-f4MgAG2A.esm.js} +1 -1
- package/dist/{selfieManager-BMmpUii2.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
- package/dist/{selfieManager-Cbliomv7.esm.js → selfieManager-hopelYEk.esm.js} +5 -5
- package/dist/{selfieStateMachine-B5m_Kn0O.esm.js → selfieStateMachine-DaZIVv3Q.esm.js} +3 -3
- package/dist/{session-DAaAewMX.esm.js → session-CdSX4wsZ.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +6 -6
- package/dist/{sessionInitializer-CWFT4dfw.esm.js → sessionInitializer-DsL7X2j9.esm.js} +83 -24
- package/dist/{setup-CDAKwTr7.esm.js → setup-DDahygZs.esm.js} +28 -27
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
- package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
- package/dist/{stats-BpMz-hTP.esm.js → stats-CatA2dea.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/textRules-D4NRinKY.d.ts +41 -0
- package/dist/{tri-BajQnjbf.esm.js → tri-DG6priFa.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-BujtUIW6.esm.js → trueSightService-GuLthUVK.esm.js} +4 -4
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types--3HDl2SF.d.ts → types-BEVHQbbC.d.ts} +1 -1
- package/dist/{types-xEEWCx1j.d.ts → types-BPm1JSu7.d.ts} +1 -1
- package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
- package/dist/{types-DuD8TRJU.d.ts → types-CRaFu6wS.d.ts} +4 -2
- package/dist/types-CTaL0XJz.d.ts +80 -0
- package/dist/{types-PTZHRhGX.d.ts → types-Cd0J0F9D.d.ts} +1 -1
- package/dist/{types-e8fCsvvk.d.ts → types-Csh8vzPo.d.ts} +1 -1
- package/dist/{types-B2FK_wYb.d.ts → types-CuMJ2M7D.d.ts} +2 -41
- package/dist/{types-ZTZelfbM.d.ts → types-CyNndVAT.d.ts} +14 -6
- package/dist/types-J6g6iKe_.d.ts +6 -0
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +9 -7
- package/dist/{videoSelfieCameraWarmer-DjkPpoj_.esm.js → videoSelfieCameraWarmer-e3irGfcO.esm.js} +8 -8
- package/dist/{videoSelfieStepDetector-RfSmlFFW.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +2 -2
- package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
- package/dist/{warmup-BkfxQZsC.esm.js → warmup-DtB0DJpl.esm.js} +24 -17
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-BhU5H2oR.esm.js → wasmDsFlagSync-BtiR5pig.esm.js} +1 -1
- package/dist/{wasmWebClient-DTj9auyA.esm.js → wasmWebClient-BDrax6Eu.esm.js} +12 -9
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-DdaPl2PS.esm.js} +1 -1
- package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
- package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +42 -42
- package/package.json +11 -5
- package/dist/deepsightLoader-DMxtowCm.esm.js +0 -33
- package/dist/types-D9r3zRfY.d.ts +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.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-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
@@ -210,27 +210,45 @@ const redirectToMobileMachine = setup({
|
|
|
210
210
|
guard: "hasInvalidUrl",
|
|
211
211
|
actions: "setInvalidUrlError"
|
|
212
212
|
}, { target: "generatingUrl" }] } },
|
|
213
|
-
generatingUrl: {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
213
|
+
generatingUrl: {
|
|
214
|
+
type: "parallel",
|
|
215
|
+
states: {
|
|
216
|
+
redirectUrl: {
|
|
217
|
+
initial: "loading",
|
|
218
|
+
states: {
|
|
219
|
+
loading: { invoke: {
|
|
220
|
+
id: "fetchRedirectUrl",
|
|
221
|
+
src: "fetchRedirectUrl",
|
|
222
|
+
onDone: {
|
|
223
|
+
target: "done",
|
|
224
|
+
actions: "setBaseUrl"
|
|
225
|
+
},
|
|
226
|
+
onError: {
|
|
227
|
+
target: "#redirectToMobile.error",
|
|
228
|
+
actions: "setError"
|
|
229
|
+
}
|
|
230
|
+
} },
|
|
231
|
+
done: { type: "final" }
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
startInfo: {
|
|
235
|
+
initial: "loading",
|
|
236
|
+
states: {
|
|
237
|
+
loading: { invoke: {
|
|
238
|
+
id: "fetchStartInfo",
|
|
239
|
+
src: "fetchStartInfo",
|
|
240
|
+
onDone: {
|
|
241
|
+
target: "done",
|
|
242
|
+
actions: "setStartInfo"
|
|
243
|
+
},
|
|
244
|
+
onError: { target: "done" }
|
|
245
|
+
} },
|
|
246
|
+
done: { type: "final" }
|
|
247
|
+
}
|
|
248
|
+
}
|
|
231
249
|
},
|
|
232
|
-
|
|
233
|
-
}
|
|
250
|
+
onDone: { target: "showingQr" }
|
|
251
|
+
},
|
|
234
252
|
showingQr: {
|
|
235
253
|
type: "parallel",
|
|
236
254
|
states: {
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
//#region src/shared/usStates.ts
|
|
2
|
+
const usStates = {
|
|
3
|
+
AL: {
|
|
4
|
+
code: "AL",
|
|
5
|
+
name: "Alabama"
|
|
6
|
+
},
|
|
7
|
+
AK: {
|
|
8
|
+
code: "AK",
|
|
9
|
+
name: "Alaska"
|
|
10
|
+
},
|
|
11
|
+
AZ: {
|
|
12
|
+
code: "AZ",
|
|
13
|
+
name: "Arizona"
|
|
14
|
+
},
|
|
15
|
+
AR: {
|
|
16
|
+
code: "AR",
|
|
17
|
+
name: "Arkansas"
|
|
18
|
+
},
|
|
19
|
+
CA: {
|
|
20
|
+
code: "CA",
|
|
21
|
+
name: "California"
|
|
22
|
+
},
|
|
23
|
+
CO: {
|
|
24
|
+
code: "CO",
|
|
25
|
+
name: "Colorado"
|
|
26
|
+
},
|
|
27
|
+
CT: {
|
|
28
|
+
code: "CT",
|
|
29
|
+
name: "Connecticut"
|
|
30
|
+
},
|
|
31
|
+
DE: {
|
|
32
|
+
code: "DE",
|
|
33
|
+
name: "Delaware"
|
|
34
|
+
},
|
|
35
|
+
FL: {
|
|
36
|
+
code: "FL",
|
|
37
|
+
name: "Florida"
|
|
38
|
+
},
|
|
39
|
+
GA: {
|
|
40
|
+
code: "GA",
|
|
41
|
+
name: "Georgia"
|
|
42
|
+
},
|
|
43
|
+
HI: {
|
|
44
|
+
code: "HI",
|
|
45
|
+
name: "Hawaii"
|
|
46
|
+
},
|
|
47
|
+
ID: {
|
|
48
|
+
code: "ID",
|
|
49
|
+
name: "Idaho"
|
|
50
|
+
},
|
|
51
|
+
IL: {
|
|
52
|
+
code: "IL",
|
|
53
|
+
name: "Illinois"
|
|
54
|
+
},
|
|
55
|
+
IN: {
|
|
56
|
+
code: "IN",
|
|
57
|
+
name: "Indiana"
|
|
58
|
+
},
|
|
59
|
+
IA: {
|
|
60
|
+
code: "IA",
|
|
61
|
+
name: "Iowa"
|
|
62
|
+
},
|
|
63
|
+
KS: {
|
|
64
|
+
code: "KS",
|
|
65
|
+
name: "Kansas"
|
|
66
|
+
},
|
|
67
|
+
KY: {
|
|
68
|
+
code: "KY",
|
|
69
|
+
name: "Kentucky"
|
|
70
|
+
},
|
|
71
|
+
LA: {
|
|
72
|
+
code: "LA",
|
|
73
|
+
name: "Louisiana"
|
|
74
|
+
},
|
|
75
|
+
ME: {
|
|
76
|
+
code: "ME",
|
|
77
|
+
name: "Maine"
|
|
78
|
+
},
|
|
79
|
+
MD: {
|
|
80
|
+
code: "MD",
|
|
81
|
+
name: "Maryland"
|
|
82
|
+
},
|
|
83
|
+
MA: {
|
|
84
|
+
code: "MA",
|
|
85
|
+
name: "Massachusetts"
|
|
86
|
+
},
|
|
87
|
+
MI: {
|
|
88
|
+
code: "MI",
|
|
89
|
+
name: "Michigan"
|
|
90
|
+
},
|
|
91
|
+
MN: {
|
|
92
|
+
code: "MN",
|
|
93
|
+
name: "Minnesota"
|
|
94
|
+
},
|
|
95
|
+
MS: {
|
|
96
|
+
code: "MS",
|
|
97
|
+
name: "Mississippi"
|
|
98
|
+
},
|
|
99
|
+
MO: {
|
|
100
|
+
code: "MO",
|
|
101
|
+
name: "Missouri"
|
|
102
|
+
},
|
|
103
|
+
MT: {
|
|
104
|
+
code: "MT",
|
|
105
|
+
name: "Montana"
|
|
106
|
+
},
|
|
107
|
+
NE: {
|
|
108
|
+
code: "NE",
|
|
109
|
+
name: "Nebraska"
|
|
110
|
+
},
|
|
111
|
+
NV: {
|
|
112
|
+
code: "NV",
|
|
113
|
+
name: "Nevada"
|
|
114
|
+
},
|
|
115
|
+
NH: {
|
|
116
|
+
code: "NH",
|
|
117
|
+
name: "New Hampshire"
|
|
118
|
+
},
|
|
119
|
+
NJ: {
|
|
120
|
+
code: "NJ",
|
|
121
|
+
name: "New Jersey"
|
|
122
|
+
},
|
|
123
|
+
NM: {
|
|
124
|
+
code: "NM",
|
|
125
|
+
name: "New Mexico"
|
|
126
|
+
},
|
|
127
|
+
NY: {
|
|
128
|
+
code: "NY",
|
|
129
|
+
name: "New York"
|
|
130
|
+
},
|
|
131
|
+
NC: {
|
|
132
|
+
code: "NC",
|
|
133
|
+
name: "North Carolina"
|
|
134
|
+
},
|
|
135
|
+
ND: {
|
|
136
|
+
code: "ND",
|
|
137
|
+
name: "North Dakota"
|
|
138
|
+
},
|
|
139
|
+
OH: {
|
|
140
|
+
code: "OH",
|
|
141
|
+
name: "Ohio"
|
|
142
|
+
},
|
|
143
|
+
OK: {
|
|
144
|
+
code: "OK",
|
|
145
|
+
name: "Oklahoma"
|
|
146
|
+
},
|
|
147
|
+
OR: {
|
|
148
|
+
code: "OR",
|
|
149
|
+
name: "Oregon"
|
|
150
|
+
},
|
|
151
|
+
PA: {
|
|
152
|
+
code: "PA",
|
|
153
|
+
name: "Pennsylvania"
|
|
154
|
+
},
|
|
155
|
+
RI: {
|
|
156
|
+
code: "RI",
|
|
157
|
+
name: "Rhode Island"
|
|
158
|
+
},
|
|
159
|
+
SC: {
|
|
160
|
+
code: "SC",
|
|
161
|
+
name: "South Carolina"
|
|
162
|
+
},
|
|
163
|
+
SD: {
|
|
164
|
+
code: "SD",
|
|
165
|
+
name: "South Dakota"
|
|
166
|
+
},
|
|
167
|
+
TN: {
|
|
168
|
+
code: "TN",
|
|
169
|
+
name: "Tennessee"
|
|
170
|
+
},
|
|
171
|
+
TX: {
|
|
172
|
+
code: "TX",
|
|
173
|
+
name: "Texas"
|
|
174
|
+
},
|
|
175
|
+
UT: {
|
|
176
|
+
code: "UT",
|
|
177
|
+
name: "Utah"
|
|
178
|
+
},
|
|
179
|
+
VT: {
|
|
180
|
+
code: "VT",
|
|
181
|
+
name: "Vermont"
|
|
182
|
+
},
|
|
183
|
+
VA: {
|
|
184
|
+
code: "VA",
|
|
185
|
+
name: "Virginia"
|
|
186
|
+
},
|
|
187
|
+
WA: {
|
|
188
|
+
code: "WA",
|
|
189
|
+
name: "Washington"
|
|
190
|
+
},
|
|
191
|
+
WV: {
|
|
192
|
+
code: "WV",
|
|
193
|
+
name: "West Virginia"
|
|
194
|
+
},
|
|
195
|
+
WI: {
|
|
196
|
+
code: "WI",
|
|
197
|
+
name: "Wisconsin"
|
|
198
|
+
},
|
|
199
|
+
WY: {
|
|
200
|
+
code: "WY",
|
|
201
|
+
name: "Wyoming"
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
const usStateOptions = Object.values(usStates).map((state) => ({
|
|
205
|
+
value: state.code,
|
|
206
|
+
label: state.name
|
|
207
|
+
}));
|
|
208
|
+
//#endregion
|
|
209
|
+
//#region src/shared/displayErrors.ts
|
|
210
|
+
const DYNAMIC_REQUIRED_KEY = "verification.errors.fieldRequiredDynamic";
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region src/internal/forms/checkSupport.ts
|
|
213
|
+
const GROUP_POLICIES = /* @__PURE__ */ new Set(["hide", "forceShow"]);
|
|
214
|
+
/**
|
|
215
|
+
* Compares `major.minor` vocabulary versions. The compiler's twin is
|
|
216
|
+
* `compareVersions` in `packages/form-definitions/scripts/lib/checks.mjs`;
|
|
217
|
+
* both are tested against that package's `fixtures/vocabularyVersions.json`.
|
|
218
|
+
*/
|
|
219
|
+
function compareVocabulary(a, b) {
|
|
220
|
+
const [aMajor = 0, aMinor = 0] = a.split(".").map(Number);
|
|
221
|
+
const [bMajor = 0, bMinor = 0] = b.split(".").map(Number);
|
|
222
|
+
return aMajor - bMajor || aMinor - bMinor;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Whether this build can use a definition. Any id it doesn't implement makes
|
|
226
|
+
* the definition unsupported, so the caller falls back to its bundled
|
|
227
|
+
* definition or current form. Presentation hints (widget, keyboard, autofill)
|
|
228
|
+
* never fail: an unknown hint falls back to the platform default.
|
|
229
|
+
*/
|
|
230
|
+
function checkSupport(definition, ids) {
|
|
231
|
+
const problems = [];
|
|
232
|
+
const need = (category, known, id, path) => {
|
|
233
|
+
if (!known.has(id)) problems.push({
|
|
234
|
+
category,
|
|
235
|
+
id,
|
|
236
|
+
path
|
|
237
|
+
});
|
|
238
|
+
};
|
|
239
|
+
if (!ids.schemaVersions.includes(definition.schemaVersion)) problems.push({
|
|
240
|
+
category: "schemaVersion",
|
|
241
|
+
id: String(definition.schemaVersion),
|
|
242
|
+
path: "schemaVersion"
|
|
243
|
+
});
|
|
244
|
+
if (compareVocabulary(definition.vocabulary, ids.vocabulary) > 0) problems.push({
|
|
245
|
+
category: "vocabulary",
|
|
246
|
+
id: definition.vocabulary,
|
|
247
|
+
path: "vocabulary"
|
|
248
|
+
});
|
|
249
|
+
const checkField = (field, path) => {
|
|
250
|
+
need("kind", ids.kinds, field.kind, `${path}.kind`);
|
|
251
|
+
need("group", ids.groups, field.group, `${path}.group`);
|
|
252
|
+
field.rules?.forEach((rule, i) => need("rule", ids.rules, rule.id, `${path}.rules[${i}]`));
|
|
253
|
+
field.input?.format?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.input.format[${i}]`));
|
|
254
|
+
field.payload?.transforms?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.payload.transforms[${i}]`));
|
|
255
|
+
if (field.optionsRef) need("optionList", ids.optionLists, field.optionsRef, `${path}.optionsRef`);
|
|
256
|
+
if (field.suggestionsRef) need("optionList", ids.optionLists, field.suggestionsRef, `${path}.suggestionsRef`);
|
|
257
|
+
field.requiredWhen?.forEach((condition, i) => {
|
|
258
|
+
const keys = Object.keys(condition);
|
|
259
|
+
if (keys.length !== 1) problems.push({
|
|
260
|
+
category: "condition",
|
|
261
|
+
id: keys.join("+") || "(empty)",
|
|
262
|
+
path: `${path}.requiredWhen[${i}]`
|
|
263
|
+
});
|
|
264
|
+
for (const key of keys) need("condition", ids.conditions, key, `${path}.requiredWhen[${i}]`);
|
|
265
|
+
});
|
|
266
|
+
field.prefill?.forEach((id, i) => need("prefillSource", ids.prefillSources, id, `${path}.prefill[${i}]`));
|
|
267
|
+
const lock = field.phone?.lockCountry;
|
|
268
|
+
if (typeof lock === "string" && lock !== "whenPhoneRisk") problems.push({
|
|
269
|
+
category: "phoneLock",
|
|
270
|
+
id: lock,
|
|
271
|
+
path: `${path}.phone`
|
|
272
|
+
});
|
|
273
|
+
};
|
|
274
|
+
definition.fields.forEach((field) => checkField(field, `fields.${field.name}`));
|
|
275
|
+
definition.groups?.forEach((policy) => {
|
|
276
|
+
need("group", ids.groups, policy.group, `groups.${policy.group}`);
|
|
277
|
+
if (!GROUP_POLICIES.has(policy.whenDisabled)) problems.push({
|
|
278
|
+
category: "groupPolicy",
|
|
279
|
+
id: policy.whenDisabled,
|
|
280
|
+
path: `groups.${policy.group}`
|
|
281
|
+
});
|
|
282
|
+
});
|
|
283
|
+
definition.groupRules?.forEach((rule, i) => {
|
|
284
|
+
need("groupRule", ids.groupRules, rule.id, `groupRules[${i}]`);
|
|
285
|
+
const cases = rule.id === "rulesByOption" ? rule.params?.cases : void 0;
|
|
286
|
+
if (cases && typeof cases === "object" && !Array.isArray(cases)) for (const [value, rules] of Object.entries(cases)) {
|
|
287
|
+
if (!Array.isArray(rules)) continue;
|
|
288
|
+
rules.forEach((ref, j) => {
|
|
289
|
+
const id = ref?.id;
|
|
290
|
+
need("rule", ids.rules, typeof id === "string" ? id : "(missing)", `groupRules[${i}].params.cases.${value}[${j}]`);
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
definition.collections?.forEach((collection) => {
|
|
295
|
+
need("group", ids.groups, collection.group, `collections.${collection.id}`);
|
|
296
|
+
collection.fields.forEach((field) => checkField(field, `collections.${collection.id}.fields.${field.name}`));
|
|
297
|
+
});
|
|
298
|
+
return problems.length === 0 ? { supported: true } : {
|
|
299
|
+
supported: false,
|
|
300
|
+
problems
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
//#endregion
|
|
304
|
+
//#region src/internal/forms/resolveForm.ts
|
|
305
|
+
const FORCE_SHOW = "forceShow";
|
|
306
|
+
const WHEN_PHONE_RISK = "whenPhoneRisk";
|
|
307
|
+
/**
|
|
308
|
+
* Resolves a definition against module configuration: which fields show,
|
|
309
|
+
* which are required, whether the phone is locked, and which group rules and
|
|
310
|
+
* collections apply. Pure and synchronous, so it runs inside an assign action.
|
|
311
|
+
*
|
|
312
|
+
* Call `checkSupport` first for any definition that wasn't bundled with this
|
|
313
|
+
* build; `resolveForm` ignores ids it doesn't know.
|
|
314
|
+
*/
|
|
315
|
+
function resolveForm(definition, context) {
|
|
316
|
+
const forcedGroups = new Set((definition.groups ?? []).filter((policy) => policy.whenDisabled === FORCE_SHOW).map((policy) => policy.group));
|
|
317
|
+
const isOn = (group) => context.groups[group] === true;
|
|
318
|
+
const isShown = (group) => isOn(group) || forcedGroups.has(group);
|
|
319
|
+
const riskAddons = new Set(context.riskAddons ?? []);
|
|
320
|
+
const shownFields = definition.fields.filter((field) => isShown(field.group));
|
|
321
|
+
const shownNames = new Set(shownFields.map((field) => field.name));
|
|
322
|
+
const fields = shownFields.map((field) => {
|
|
323
|
+
const conditions = field.requiredWhen ?? [];
|
|
324
|
+
const addonRequired = conditions.some((condition) => condition.riskAddon !== void 0 && riskAddons.has(condition.riskAddon));
|
|
325
|
+
const requiredIfFilled = conditions.map((condition) => condition.fieldFilled).filter((name) => name !== void 0 && shownNames.has(name));
|
|
326
|
+
const lock = field.phone?.lockCountry;
|
|
327
|
+
return {
|
|
328
|
+
field,
|
|
329
|
+
required: field.required === true || addonRequired,
|
|
330
|
+
requiredIfFilled,
|
|
331
|
+
forced: !isOn(field.group),
|
|
332
|
+
phoneLocked: field.kind === "phone" && (lock === true || lock === WHEN_PHONE_RISK && context.phoneRisk === true)
|
|
333
|
+
};
|
|
334
|
+
});
|
|
335
|
+
const order = shownFields.map((field) => field.name);
|
|
336
|
+
return {
|
|
337
|
+
definition,
|
|
338
|
+
fields,
|
|
339
|
+
groupRules: (definition.groupRules ?? []).map((rule) => ({
|
|
340
|
+
rule,
|
|
341
|
+
fields: order.filter((name) => rule.fields.includes(name))
|
|
342
|
+
})).filter((resolved) => resolved.fields.length > 0),
|
|
343
|
+
collections: (definition.collections ?? []).filter((collection) => isShown(collection.group)).map((collection) => ({
|
|
344
|
+
collection,
|
|
345
|
+
min: collection.min ?? 0,
|
|
346
|
+
max: collection.max
|
|
347
|
+
}))
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
//#endregion
|
|
351
|
+
export { usStates as a, usStateOptions as i, checkSupport as n, DYNAMIC_REQUIRED_KEY as r, resolveForm as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { w as createEventBus } from "./events-
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
2
|
+
import { w as createEventBus } from "./events-ggpBBaZ8.esm.js";
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-GuLthUVK.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.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-DV2ULUYS.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
|
|
4
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-BEVHQbbC.js";
|
|
5
5
|
import { n as DeepsightService } from "./StreamCanvasCapture-C3xNfOsv.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
7
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-DmZFzs1-.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,15 +1,15 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { n as eventModuleNames } from "./events-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DDahygZs.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
8
|
-
import { s as processFace } from "./FaceDetectionProvider-
|
|
9
|
-
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
10
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
11
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
12
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-ZfiWg0fo.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dp90bedH.esm.js";
|
|
8
|
+
import { s as processFace } from "./FaceDetectionProvider-CAY43vSI.esm.js";
|
|
9
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-BGMtYwk3.esm.js";
|
|
10
|
+
import { t as selfieMachine } from "./selfieStateMachine-DaZIVv3Q.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-hopelYEk.esm.js";
|
|
12
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BJ0GVHGr.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
15
15
|
* face-capture state tree; only the upload/process step is local instead of
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
1
|
+
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CAY43vSI.esm.js";
|
|
2
2
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
3
3
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
4
4
|
const isFaceErrorCode = (value) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-DV2ULUYS.js";
|
|
4
4
|
//#region src/modules/selfie/selfieManager.d.ts
|
|
5
5
|
type SelfieState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { n as eventModuleNames } from "./events-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DDahygZs.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dp90bedH.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-DaZIVv3Q.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { n as validateUploadResponse } from "./selfieErrorUtils-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-ZfiWg0fo.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CAY43vSI.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-f4MgAG2A.esm.js";
|
|
6
6
|
/**
|
|
7
7
|
* The selfie capture state machine.
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as getApi, u as endpoints } from "./api-
|
|
2
|
-
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
1
|
+
import { n as getApi, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
|
+
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-GuLthUVK.esm.js";
|
|
3
|
+
import "./sessionInitializer-DsL7X2j9.esm.js";
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-DH-CH4Nz.esm.js";
|
|
5
5
|
//#region src/internal/session/sessionService.ts
|
|
6
6
|
/**
|
|
7
7
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./warmup-BO57syF6.js";
|
|
2
|
-
import { t as DeviceFingerprintResult } from "./types-
|
|
2
|
+
import { t as DeviceFingerprintResult } from "./types-Csh8vzPo.js";
|
|
3
3
|
import { n as FinishStatus, r as GetFinishStatusFn, s as getFinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
4
4
|
//#region src/internal/session/sessionService.d.ts
|
|
5
5
|
type CreateSessionOptions = {
|
package/dist/session.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
1
|
+
import { r as getToken } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-
|
|
5
|
-
import { t as IncodeApiError } from "./apiError-
|
|
6
|
-
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
7
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-DsL7X2j9.esm.js";
|
|
4
|
+
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-BCuEoQ-n.esm.js";
|
|
5
|
+
import { t as IncodeApiError } from "./apiError-DH-CH4Nz.esm.js";
|
|
6
|
+
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-CdSX4wsZ.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-CcCnPs_T.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|