@incodetech/core 0.0.0-dev-20261104-4dbc3ea3 → 0.0.0-dev-20261104-49452fc0
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/{FaceDetectionProvider-Clp2STaL.esm.js → FaceDetectionProvider-YEIZbGDi.esm.js} +9 -9
- package/dist/{WasmUtilProvider-DZOGC2HE.esm.js → WasmUtilProvider-BP6-08Yn.esm.js} +2 -2
- 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-BYiBD0Ua.esm.js → apiError-b2fuT-IQ.esm.js} +1 -1
- package/dist/{attemptCarry-C8NbkPlt.esm.js → attemptCarry-WOkfvFMw.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager--l6e_7Pr.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
- package/dist/{authenticationManager-D3MYWvA6.esm.js → authenticationManager-x8mqpHOE.esm.js} +5 -5
- package/dist/{authenticationStateMachine-BCTipd5K.esm.js → authenticationStateMachine-C5Jln1aT.esm.js} +3 -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-CM0fuqDC.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +1 -1
- 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-D8rgr5Dv.d.ts → consentManager-ybzeu6sI.d.ts} +5 -5
- 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-C7t3QLf-.esm.js → curpValidationManager-DNpC3wyf.esm.js} +2 -2
- package/dist/{curpValidationManager-B9LuZ0tj.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-DAFndzpo.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/{deepsightLoader-AYvov0JE.esm.js → deepsightLoader-DEaTmOtV.esm.js} +5 -5
- package/dist/{desktopCameraElection-CzF8HsJn.esm.js → desktopCameraElection-CvVbR9-p.esm.js} +4 -4
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-BfXguEU3.esm.js → documentCaptureManager-CNF5LNmp.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-DJPyCwQu.esm.js → documentCaptureStateMachine-p8yovofp.esm.js} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Dt8hp7Xd.esm.js → dynamicFormsManager-f8riHilf.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-DLAvflmE.esm.js → dynamicFormsStateMachine-Dt4_Fsxk.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
- package/dist/{ekybManager-D2iEUBPj.esm.js → ekybManager-BwBdOOMz.esm.js} +2 -2
- package/dist/{ekybStateMachine-PH1hy6T0.esm.js → ekybStateMachine-Cr_wkUnH.esm.js} +4 -3
- package/dist/ekyc.d.ts +3 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-Be6T7RJs.esm.js → ekycManager-CoWoHxtL.esm.js} +2 -2
- package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
- package/dist/{ekycStateMachine-DZbKVMgq.esm.js → ekycStateMachine-DOWVsq7o.esm.js} +5 -67
- package/dist/{ekycUtils-ChD5TcJH.esm.js → ekycUtils-as4sEjNz.esm.js} +59 -8
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DDL-ylsJ.esm.js → electronicSignatureManager-DRPy_cGL.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-CDhBis0c.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
- package/dist/{emailStateMachine-D6WedIVj.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-tFqvK5KO.esm.js → faceCaptureManagerFactory-Bl3wOB84.esm.js} +4 -4
- package/dist/{faceCaptureManagerFactory-BQtDMMuq.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +3 -3
- package/dist/{faceCaptureSetup-B8W4cid6.esm.js → faceCaptureSetup-zI6zgq4z.esm.js} +11 -11
- 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-C5QYxdqM.esm.js → feature-management-DQFwX8Hl.esm.js} +1 -1
- 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-Bj2YnPFD.esm.js → fiscalQrManager-BZeklojR.esm.js} +2 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +7 -7
- package/dist/flow.esm.js +4 -4
- package/dist/{flowCompletionService-CHf7rcBO.esm.js → flowCompletionService-DHFje7x-.esm.js} +2 -2
- package/dist/{flowServices-BWnaP5s0.esm.js → flowServices-Cb0iHJVG.esm.js} +8 -8
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CbRv_K1Y.esm.js → geolocationManager-Cw8v5-5V.esm.js} +2 -2
- package/dist/{geolocationStateMachine-BdDTTyAI.esm.js → geolocationStateMachine-ma-iPEHx.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 +8 -8
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-BOIM1God.esm.js → idCaptureDefaults-CnAGmc1o.esm.js} +3 -3
- package/dist/{idCaptureManager-BwnhLz9C.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +2 -2
- package/dist/{idCaptureManager-CWlC3EJz.esm.js → idCaptureManager-DSTzKvSp.esm.js} +8 -8
- package/dist/{idCaptureServices-D9d-qtrS.esm.js → idCaptureServices-DrnyYM5Z.esm.js} +5 -5
- package/dist/{idCaptureStateMachine-zmw_aQU4.esm.js → idCaptureStateMachine-Cx8jXNgx.esm.js} +17 -17
- 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.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
- package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
- package/dist/{index-D2xVKjpi.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-DswTVAz4.esm.js +89 -0
- package/dist/kybChecksStateMachine-DI_5RyBk.esm.js +718 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-BeVif8kS.d.ts → mandatoryConsentManager-6e3_CcJt.d.ts} +6 -6
- package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +1 -1
- package/dist/{multipartRecordingService-Cp2NhhmP.esm.js → multipartRecordingService-BTqkHGG9.esm.js} +1 -1
- package/dist/{permissionGuards-Dck-ZReK.esm.js → permissionGuards-s7Qm6q8W.esm.js} +1 -1
- package/dist/{permissionServices-CJSZshmj.esm.js → permissionServices-RawRSsLZ.esm.js} +8 -6
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
- package/dist/{phoneManager-DLFQqWDV.esm.js → phoneManager-Dy5tODCU.esm.js} +2 -2
- package/dist/{phoneServices-Cn4uBGpN.esm.js → phoneServices-DJgyOzU2.esm.js} +1 -1
- package/dist/{phoneStateMachine-BLFIfxPy.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +19 -9
- package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-Bst83HaS.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-zbt2C0w0.esm.js → recordingService-CTko6Cjn.esm.js} +2 -2
- 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-DqeR4WUi.esm.js → runChildModule-qXpd7G2p.esm.js} +2 -2
- package/dist/{sdkVersion-DvR2zcLB.esm.js → sdkVersion-WYkWwTmz.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-DfQnVgaQ.esm.js → selfieErrorUtils-f3lQlFEy.esm.js} +1 -1
- package/dist/{selfieManager-BDStgLz_.esm.js → selfieManager-B8swkeIe.esm.js} +5 -5
- package/dist/{selfieManager-DMFBTmjl.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
- package/dist/{selfieStateMachine-Bkwmpva6.esm.js → selfieStateMachine-CGMAbg6e.esm.js} +3 -3
- package/dist/{session-D8sTB7-6.esm.js → session-sPZ3TAsp.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-CdOpCvp3.esm.js → sessionInitializer-C2NbBy_s.esm.js} +13 -10
- package/dist/{setup-Cj8cl6ne.esm.js → setup-C86PfxZS.esm.js} +25 -22
- 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/{trueSightService-h_nIpoO_.esm.js → trueSightService-JP7_wQle.esm.js} +4 -4
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-CfGxl1G0.d.ts → types-BEVHQbbC.d.ts} +1 -1
- package/dist/{types-XwxtmhWC.d.ts → types-BPm1JSu7.d.ts} +1 -1
- package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
- package/dist/{types-DPc-3Uo6.d.ts → types-CRaFu6wS.d.ts} +3 -1
- package/dist/types-CTaL0XJz.d.ts +80 -0
- package/dist/{types-bn0ZpYF1.d.ts → types-Cd0J0F9D.d.ts} +1 -1
- package/dist/{types-CAawq94W.d.ts → types-Csh8vzPo.d.ts} +1 -1
- package/dist/{types-B2FK_wYb.d.ts → types-CuMJ2M7D.d.ts} +2 -41
- package/dist/types-J6g6iKe_.d.ts +6 -0
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +7 -7
- package/dist/{videoSelfieCameraWarmer-DqQPTyle.esm.js → videoSelfieCameraWarmer-gdlCA1VK.esm.js} +6 -6
- package/dist/{videoSelfieStepDetector-C8uL2RCz.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +2 -2
- package/dist/{warmup-DPfXWeBq.esm.js → warmup-BUnab2eW.esm.js} +24 -17
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-Ck2Lt6OY.esm.js → wasmDsFlagSync-DhJXZ9el.esm.js} +1 -1
- package/dist/{wasmWebClient-DClKyqNR.esm.js → wasmWebClient-CowdFxEv.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 +40 -40
- package/package.json +6 -1
- package/dist/types-BZ_Hjz-X.d.ts +0 -6
package/dist/{FaceDetectionProvider-Clp2STaL.esm.js → FaceDetectionProvider-YEIZbGDi.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { l as wasmRuntime } from "./warmup-
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
3
|
-
import { r as BaseWasmProvider } from "./WasmUtilProvider-
|
|
4
|
-
import { t as api, u as endpoints } from "./api-
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./sessionInitializer-
|
|
7
|
-
import { t as addDeviceStats } from "./stats-
|
|
1
|
+
import { l as wasmRuntime } from "./warmup-BUnab2eW.esm.js";
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-C86PfxZS.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
|
|
4
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-JP7_wQle.esm.js";
|
|
6
|
+
import "./sessionInitializer-C2NbBy_s.esm.js";
|
|
7
|
+
import { t as addDeviceStats } from "./stats-CatA2dea.esm.js";
|
|
8
8
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
10
10
|
import { r as hasBackCamera } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
11
11
|
import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
|
|
12
|
-
import { n as saveProcessFaceMatch } from "./processFaceMatch-
|
|
12
|
+
import { n as saveProcessFaceMatch } from "./processFaceMatch-Bst83HaS.esm.js";
|
|
13
13
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
14
14
|
/**
|
|
15
15
|
* On-device still-face capture is owned by the protected camera-cycle actor.
|
|
@@ -235,7 +235,7 @@ function startDetection(params) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
async function initializeDeepsightSession(options) {
|
|
238
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
238
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-DEaTmOtV.esm.js");
|
|
239
239
|
return loadDeepsightSession({
|
|
240
240
|
ds: options.ds,
|
|
241
241
|
storage: options.storage
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-
|
|
3
|
-
import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-
|
|
2
|
+
import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-CowdFxEv.esm.js";
|
|
3
|
+
import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-BUnab2eW.esm.js";
|
|
4
4
|
//#region ../infra/src/wasm/utilityWasmApi.ts
|
|
5
5
|
/**
|
|
6
6
|
* Utility / metadata domain facade over {@link WasmRuntime}.
|
|
@@ -1,214 +1,6 @@
|
|
|
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 { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
|
-
//#region src/shared/usStates.ts
|
|
5
|
-
const usStates = {
|
|
6
|
-
AL: {
|
|
7
|
-
code: "AL",
|
|
8
|
-
name: "Alabama"
|
|
9
|
-
},
|
|
10
|
-
AK: {
|
|
11
|
-
code: "AK",
|
|
12
|
-
name: "Alaska"
|
|
13
|
-
},
|
|
14
|
-
AZ: {
|
|
15
|
-
code: "AZ",
|
|
16
|
-
name: "Arizona"
|
|
17
|
-
},
|
|
18
|
-
AR: {
|
|
19
|
-
code: "AR",
|
|
20
|
-
name: "Arkansas"
|
|
21
|
-
},
|
|
22
|
-
CA: {
|
|
23
|
-
code: "CA",
|
|
24
|
-
name: "California"
|
|
25
|
-
},
|
|
26
|
-
CO: {
|
|
27
|
-
code: "CO",
|
|
28
|
-
name: "Colorado"
|
|
29
|
-
},
|
|
30
|
-
CT: {
|
|
31
|
-
code: "CT",
|
|
32
|
-
name: "Connecticut"
|
|
33
|
-
},
|
|
34
|
-
DE: {
|
|
35
|
-
code: "DE",
|
|
36
|
-
name: "Delaware"
|
|
37
|
-
},
|
|
38
|
-
FL: {
|
|
39
|
-
code: "FL",
|
|
40
|
-
name: "Florida"
|
|
41
|
-
},
|
|
42
|
-
GA: {
|
|
43
|
-
code: "GA",
|
|
44
|
-
name: "Georgia"
|
|
45
|
-
},
|
|
46
|
-
HI: {
|
|
47
|
-
code: "HI",
|
|
48
|
-
name: "Hawaii"
|
|
49
|
-
},
|
|
50
|
-
ID: {
|
|
51
|
-
code: "ID",
|
|
52
|
-
name: "Idaho"
|
|
53
|
-
},
|
|
54
|
-
IL: {
|
|
55
|
-
code: "IL",
|
|
56
|
-
name: "Illinois"
|
|
57
|
-
},
|
|
58
|
-
IN: {
|
|
59
|
-
code: "IN",
|
|
60
|
-
name: "Indiana"
|
|
61
|
-
},
|
|
62
|
-
IA: {
|
|
63
|
-
code: "IA",
|
|
64
|
-
name: "Iowa"
|
|
65
|
-
},
|
|
66
|
-
KS: {
|
|
67
|
-
code: "KS",
|
|
68
|
-
name: "Kansas"
|
|
69
|
-
},
|
|
70
|
-
KY: {
|
|
71
|
-
code: "KY",
|
|
72
|
-
name: "Kentucky"
|
|
73
|
-
},
|
|
74
|
-
LA: {
|
|
75
|
-
code: "LA",
|
|
76
|
-
name: "Louisiana"
|
|
77
|
-
},
|
|
78
|
-
ME: {
|
|
79
|
-
code: "ME",
|
|
80
|
-
name: "Maine"
|
|
81
|
-
},
|
|
82
|
-
MD: {
|
|
83
|
-
code: "MD",
|
|
84
|
-
name: "Maryland"
|
|
85
|
-
},
|
|
86
|
-
MA: {
|
|
87
|
-
code: "MA",
|
|
88
|
-
name: "Massachusetts"
|
|
89
|
-
},
|
|
90
|
-
MI: {
|
|
91
|
-
code: "MI",
|
|
92
|
-
name: "Michigan"
|
|
93
|
-
},
|
|
94
|
-
MN: {
|
|
95
|
-
code: "MN",
|
|
96
|
-
name: "Minnesota"
|
|
97
|
-
},
|
|
98
|
-
MS: {
|
|
99
|
-
code: "MS",
|
|
100
|
-
name: "Mississippi"
|
|
101
|
-
},
|
|
102
|
-
MO: {
|
|
103
|
-
code: "MO",
|
|
104
|
-
name: "Missouri"
|
|
105
|
-
},
|
|
106
|
-
MT: {
|
|
107
|
-
code: "MT",
|
|
108
|
-
name: "Montana"
|
|
109
|
-
},
|
|
110
|
-
NE: {
|
|
111
|
-
code: "NE",
|
|
112
|
-
name: "Nebraska"
|
|
113
|
-
},
|
|
114
|
-
NV: {
|
|
115
|
-
code: "NV",
|
|
116
|
-
name: "Nevada"
|
|
117
|
-
},
|
|
118
|
-
NH: {
|
|
119
|
-
code: "NH",
|
|
120
|
-
name: "New Hampshire"
|
|
121
|
-
},
|
|
122
|
-
NJ: {
|
|
123
|
-
code: "NJ",
|
|
124
|
-
name: "New Jersey"
|
|
125
|
-
},
|
|
126
|
-
NM: {
|
|
127
|
-
code: "NM",
|
|
128
|
-
name: "New Mexico"
|
|
129
|
-
},
|
|
130
|
-
NY: {
|
|
131
|
-
code: "NY",
|
|
132
|
-
name: "New York"
|
|
133
|
-
},
|
|
134
|
-
NC: {
|
|
135
|
-
code: "NC",
|
|
136
|
-
name: "North Carolina"
|
|
137
|
-
},
|
|
138
|
-
ND: {
|
|
139
|
-
code: "ND",
|
|
140
|
-
name: "North Dakota"
|
|
141
|
-
},
|
|
142
|
-
OH: {
|
|
143
|
-
code: "OH",
|
|
144
|
-
name: "Ohio"
|
|
145
|
-
},
|
|
146
|
-
OK: {
|
|
147
|
-
code: "OK",
|
|
148
|
-
name: "Oklahoma"
|
|
149
|
-
},
|
|
150
|
-
OR: {
|
|
151
|
-
code: "OR",
|
|
152
|
-
name: "Oregon"
|
|
153
|
-
},
|
|
154
|
-
PA: {
|
|
155
|
-
code: "PA",
|
|
156
|
-
name: "Pennsylvania"
|
|
157
|
-
},
|
|
158
|
-
RI: {
|
|
159
|
-
code: "RI",
|
|
160
|
-
name: "Rhode Island"
|
|
161
|
-
},
|
|
162
|
-
SC: {
|
|
163
|
-
code: "SC",
|
|
164
|
-
name: "South Carolina"
|
|
165
|
-
},
|
|
166
|
-
SD: {
|
|
167
|
-
code: "SD",
|
|
168
|
-
name: "South Dakota"
|
|
169
|
-
},
|
|
170
|
-
TN: {
|
|
171
|
-
code: "TN",
|
|
172
|
-
name: "Tennessee"
|
|
173
|
-
},
|
|
174
|
-
TX: {
|
|
175
|
-
code: "TX",
|
|
176
|
-
name: "Texas"
|
|
177
|
-
},
|
|
178
|
-
UT: {
|
|
179
|
-
code: "UT",
|
|
180
|
-
name: "Utah"
|
|
181
|
-
},
|
|
182
|
-
VT: {
|
|
183
|
-
code: "VT",
|
|
184
|
-
name: "Vermont"
|
|
185
|
-
},
|
|
186
|
-
VA: {
|
|
187
|
-
code: "VA",
|
|
188
|
-
name: "Virginia"
|
|
189
|
-
},
|
|
190
|
-
WA: {
|
|
191
|
-
code: "WA",
|
|
192
|
-
name: "Washington"
|
|
193
|
-
},
|
|
194
|
-
WV: {
|
|
195
|
-
code: "WV",
|
|
196
|
-
name: "West Virginia"
|
|
197
|
-
},
|
|
198
|
-
WI: {
|
|
199
|
-
code: "WI",
|
|
200
|
-
name: "Wisconsin"
|
|
201
|
-
},
|
|
202
|
-
WY: {
|
|
203
|
-
code: "WY",
|
|
204
|
-
name: "Wyoming"
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
|
-
const usStateOptions = Object.values(usStates).map((state) => ({
|
|
208
|
-
value: state.code,
|
|
209
|
-
label: state.name
|
|
210
|
-
}));
|
|
211
|
-
//#endregion
|
|
212
4
|
//#region src/shared/addressSuggestion.ts
|
|
213
5
|
/** Shown when an autocomplete suggestion has no street (city/region-level result). */
|
|
214
6
|
const STREET_LEVEL_REQUIRED_ERROR = { key: "verification.errors.streetLevelRequired" };
|
|
@@ -263,9 +55,6 @@ function buildStreetValue(street, houseNumber, hasHouseNoField) {
|
|
|
263
55
|
if (houseNumber && street) return `${houseNumber} ${street}`;
|
|
264
56
|
return houseNumber ?? street ?? "";
|
|
265
57
|
}
|
|
266
|
-
//#endregion
|
|
267
|
-
//#region src/shared/displayErrors.ts
|
|
268
|
-
const DYNAMIC_REQUIRED_KEY = "verification.errors.fieldRequiredDynamic";
|
|
269
58
|
const POSTAL_CODE_MAX_LENGTH_BY_COUNTRY = {
|
|
270
59
|
US: 10,
|
|
271
60
|
BR: 9,
|
|
@@ -383,98 +172,6 @@ function formatPostalCode(value, country) {
|
|
|
383
172
|
return value.slice(0, 8);
|
|
384
173
|
}
|
|
385
174
|
//#endregion
|
|
386
|
-
//#region src/internal/forms/checkSupport.ts
|
|
387
|
-
const GROUP_POLICIES = /* @__PURE__ */ new Set(["hide", "forceShow"]);
|
|
388
|
-
/**
|
|
389
|
-
* Compares `major.minor` vocabulary versions. The compiler's twin is
|
|
390
|
-
* `compareVersions` in `packages/form-definitions/scripts/lib/checks.mjs`;
|
|
391
|
-
* both are tested against that package's `fixtures/vocabularyVersions.json`.
|
|
392
|
-
*/
|
|
393
|
-
function compareVocabulary(a, b) {
|
|
394
|
-
const [aMajor = 0, aMinor = 0] = a.split(".").map(Number);
|
|
395
|
-
const [bMajor = 0, bMinor = 0] = b.split(".").map(Number);
|
|
396
|
-
return aMajor - bMajor || aMinor - bMinor;
|
|
397
|
-
}
|
|
398
|
-
/**
|
|
399
|
-
* Whether this build can use a definition. Any id it doesn't implement makes
|
|
400
|
-
* the definition unsupported, so the caller falls back to its bundled
|
|
401
|
-
* definition or current form. Presentation hints (widget, keyboard, autofill)
|
|
402
|
-
* never fail: an unknown hint falls back to the platform default.
|
|
403
|
-
*/
|
|
404
|
-
function checkSupport(definition, ids) {
|
|
405
|
-
const problems = [];
|
|
406
|
-
const need = (category, known, id, path) => {
|
|
407
|
-
if (!known.has(id)) problems.push({
|
|
408
|
-
category,
|
|
409
|
-
id,
|
|
410
|
-
path
|
|
411
|
-
});
|
|
412
|
-
};
|
|
413
|
-
if (!ids.schemaVersions.includes(definition.schemaVersion)) problems.push({
|
|
414
|
-
category: "schemaVersion",
|
|
415
|
-
id: String(definition.schemaVersion),
|
|
416
|
-
path: "schemaVersion"
|
|
417
|
-
});
|
|
418
|
-
if (compareVocabulary(definition.vocabulary, ids.vocabulary) > 0) problems.push({
|
|
419
|
-
category: "vocabulary",
|
|
420
|
-
id: definition.vocabulary,
|
|
421
|
-
path: "vocabulary"
|
|
422
|
-
});
|
|
423
|
-
const checkField = (field, path) => {
|
|
424
|
-
need("kind", ids.kinds, field.kind, `${path}.kind`);
|
|
425
|
-
need("group", ids.groups, field.group, `${path}.group`);
|
|
426
|
-
field.rules?.forEach((rule, i) => need("rule", ids.rules, rule.id, `${path}.rules[${i}]`));
|
|
427
|
-
field.input?.format?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.input.format[${i}]`));
|
|
428
|
-
field.payload?.transforms?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.payload.transforms[${i}]`));
|
|
429
|
-
if (field.optionsRef) need("optionList", ids.optionLists, field.optionsRef, `${path}.optionsRef`);
|
|
430
|
-
if (field.suggestionsRef) need("optionList", ids.optionLists, field.suggestionsRef, `${path}.suggestionsRef`);
|
|
431
|
-
field.requiredWhen?.forEach((condition, i) => {
|
|
432
|
-
const keys = Object.keys(condition);
|
|
433
|
-
if (keys.length !== 1) problems.push({
|
|
434
|
-
category: "condition",
|
|
435
|
-
id: keys.join("+") || "(empty)",
|
|
436
|
-
path: `${path}.requiredWhen[${i}]`
|
|
437
|
-
});
|
|
438
|
-
for (const key of keys) need("condition", ids.conditions, key, `${path}.requiredWhen[${i}]`);
|
|
439
|
-
});
|
|
440
|
-
field.prefill?.forEach((id, i) => need("prefillSource", ids.prefillSources, id, `${path}.prefill[${i}]`));
|
|
441
|
-
const lock = field.phone?.lockCountry;
|
|
442
|
-
if (typeof lock === "string" && lock !== "whenPhoneRisk") problems.push({
|
|
443
|
-
category: "phoneLock",
|
|
444
|
-
id: lock,
|
|
445
|
-
path: `${path}.phone`
|
|
446
|
-
});
|
|
447
|
-
};
|
|
448
|
-
definition.fields.forEach((field) => checkField(field, `fields.${field.name}`));
|
|
449
|
-
definition.groups?.forEach((policy) => {
|
|
450
|
-
need("group", ids.groups, policy.group, `groups.${policy.group}`);
|
|
451
|
-
if (!GROUP_POLICIES.has(policy.whenDisabled)) problems.push({
|
|
452
|
-
category: "groupPolicy",
|
|
453
|
-
id: policy.whenDisabled,
|
|
454
|
-
path: `groups.${policy.group}`
|
|
455
|
-
});
|
|
456
|
-
});
|
|
457
|
-
definition.groupRules?.forEach((rule, i) => {
|
|
458
|
-
need("groupRule", ids.groupRules, rule.id, `groupRules[${i}]`);
|
|
459
|
-
const cases = rule.id === "rulesByOption" ? rule.params?.cases : void 0;
|
|
460
|
-
if (cases && typeof cases === "object" && !Array.isArray(cases)) for (const [value, rules] of Object.entries(cases)) {
|
|
461
|
-
if (!Array.isArray(rules)) continue;
|
|
462
|
-
rules.forEach((ref, j) => {
|
|
463
|
-
const id = ref?.id;
|
|
464
|
-
need("rule", ids.rules, typeof id === "string" ? id : "(missing)", `groupRules[${i}].params.cases.${value}[${j}]`);
|
|
465
|
-
});
|
|
466
|
-
}
|
|
467
|
-
});
|
|
468
|
-
definition.collections?.forEach((collection) => {
|
|
469
|
-
need("group", ids.groups, collection.group, `collections.${collection.id}`);
|
|
470
|
-
collection.fields.forEach((field) => checkField(field, `collections.${collection.id}.fields.${field.name}`));
|
|
471
|
-
});
|
|
472
|
-
return problems.length === 0 ? { supported: true } : {
|
|
473
|
-
supported: false,
|
|
474
|
-
problems
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
|
-
//#endregion
|
|
478
175
|
//#region src/internal/forms/definitionSource.ts
|
|
479
176
|
const queryKey = ({ module, source, country }) => `${module}|${source ?? ""}|${country ?? ""}`;
|
|
480
177
|
/**
|
|
@@ -486,53 +183,6 @@ function createBundledDefinitionSource(definitions) {
|
|
|
486
183
|
return { select: (query) => byQuery.get(queryKey(query)) };
|
|
487
184
|
}
|
|
488
185
|
//#endregion
|
|
489
|
-
//#region src/internal/forms/resolveForm.ts
|
|
490
|
-
const FORCE_SHOW = "forceShow";
|
|
491
|
-
const WHEN_PHONE_RISK = "whenPhoneRisk";
|
|
492
|
-
/**
|
|
493
|
-
* Resolves a definition against module configuration: which fields show,
|
|
494
|
-
* which are required, whether the phone is locked, and which group rules and
|
|
495
|
-
* collections apply. Pure and synchronous, so it runs inside an assign action.
|
|
496
|
-
*
|
|
497
|
-
* Call `checkSupport` first for any definition that wasn't bundled with this
|
|
498
|
-
* build; `resolveForm` ignores ids it doesn't know.
|
|
499
|
-
*/
|
|
500
|
-
function resolveForm(definition, context) {
|
|
501
|
-
const forcedGroups = new Set((definition.groups ?? []).filter((policy) => policy.whenDisabled === FORCE_SHOW).map((policy) => policy.group));
|
|
502
|
-
const isOn = (group) => context.groups[group] === true;
|
|
503
|
-
const isShown = (group) => isOn(group) || forcedGroups.has(group);
|
|
504
|
-
const riskAddons = new Set(context.riskAddons ?? []);
|
|
505
|
-
const shownFields = definition.fields.filter((field) => isShown(field.group));
|
|
506
|
-
const shownNames = new Set(shownFields.map((field) => field.name));
|
|
507
|
-
const fields = shownFields.map((field) => {
|
|
508
|
-
const conditions = field.requiredWhen ?? [];
|
|
509
|
-
const addonRequired = conditions.some((condition) => condition.riskAddon !== void 0 && riskAddons.has(condition.riskAddon));
|
|
510
|
-
const requiredIfFilled = conditions.map((condition) => condition.fieldFilled).filter((name) => name !== void 0 && shownNames.has(name));
|
|
511
|
-
const lock = field.phone?.lockCountry;
|
|
512
|
-
return {
|
|
513
|
-
field,
|
|
514
|
-
required: field.required === true || addonRequired,
|
|
515
|
-
requiredIfFilled,
|
|
516
|
-
forced: !isOn(field.group),
|
|
517
|
-
phoneLocked: field.kind === "phone" && (lock === true || lock === WHEN_PHONE_RISK && context.phoneRisk === true)
|
|
518
|
-
};
|
|
519
|
-
});
|
|
520
|
-
const order = shownFields.map((field) => field.name);
|
|
521
|
-
return {
|
|
522
|
-
definition,
|
|
523
|
-
fields,
|
|
524
|
-
groupRules: (definition.groupRules ?? []).map((rule) => ({
|
|
525
|
-
rule,
|
|
526
|
-
fields: order.filter((name) => rule.fields.includes(name))
|
|
527
|
-
})).filter((resolved) => resolved.fields.length > 0),
|
|
528
|
-
collections: (definition.collections ?? []).filter((collection) => isShown(collection.group)).map((collection) => ({
|
|
529
|
-
collection,
|
|
530
|
-
min: collection.min ?? 0,
|
|
531
|
-
max: collection.max
|
|
532
|
-
}))
|
|
533
|
-
};
|
|
534
|
-
}
|
|
535
|
-
//#endregion
|
|
536
186
|
//#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
|
|
537
187
|
/**
|
|
538
188
|
* The rollout switch for form definitions (ENG-59781): one all-or-nothing
|
|
@@ -601,4 +251,4 @@ const debounceSearchActor = fromCallback(({ input, sendBack }) => {
|
|
|
601
251
|
};
|
|
602
252
|
});
|
|
603
253
|
//#endregion
|
|
604
|
-
export {
|
|
254
|
+
export { FIXED_DIGIT_POSTAL_CODE_LENGTH as a, getPostalCodeMaxLength as c, fillFromSuggestion as d, getStreetLevelErrorForSuggestion as f, createBundledDefinitionSource as i, validatePostalCode as l, searchAddress as n, formatPostalCode as o, isFormDefinitionsEnabled as r, getPostalCodeErrorKey as s, debounceSearchActor as t, STREET_LEVEL_REQUIRED_ERROR as u };
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DRPy_cGL.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
2
|
-
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-
|
|
1
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-Dfrd2-26.esm.js";
|
|
2
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-BObuHBjn.esm.js";
|
|
3
3
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
4
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-Dfrd2-26.esm.js";
|
|
5
5
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
6
6
|
function createAntifraudActor() {
|
|
7
7
|
return createActor(antifraudMachine).start();
|
package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-Dfrd2-26.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-CpP4PS4S.esm.js";
|
|
2
2
|
import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
@@ -64,6 +64,8 @@ const endpoints = {
|
|
|
64
64
|
addGeolocation: "/omni/add/geolocation",
|
|
65
65
|
ekycSubmit: "/omni/externalVerification/ekyc",
|
|
66
66
|
ekybSubmit: "/omni/externalVerification/ekyb",
|
|
67
|
+
kybForm: "/omni/kyb/form",
|
|
68
|
+
kybSubmit: "/omni/kyb",
|
|
67
69
|
getCombinedConsent: "/omni/get/combined-consent",
|
|
68
70
|
signCombinedConsent: "/omni/sign-combined-consent",
|
|
69
71
|
getConsents: "/omni/consents",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
1
|
+
import { r as getToken } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { a as watchConnectivity } from "./connectivity-BCuEoQ-n.esm.js";
|
|
3
3
|
//#region src/internal/session/attemptCarry.ts
|
|
4
4
|
const carried = /* @__PURE__ */ new Map();
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { t as AuthenticationConfig } from "./types-
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DV2ULUYS.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-J6g6iKe_.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CWmh7aSY.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-C5Jln1aT.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-x8mqpHOE.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -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 { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DV2ULUYS.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-D3MYWvA6.esm.js → authenticationManager-x8mqpHOE.esm.js}
RENAMED
|
@@ -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-C86PfxZS.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.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 authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Bl3wOB84.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-C5Jln1aT.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(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 { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-zI6zgq4z.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-YEIZbGDi.esm.js";
|
|
5
|
+
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-CvVbR9-p.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
8
8
|
SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
|
package/dist/camera.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ declare function checkPermission(): Promise<PermissionResult>;
|
|
|
31
31
|
/**
|
|
32
32
|
* Requests camera permission by attempting to access the camera, then immediately
|
|
33
33
|
* stops the obtained stream. When `requestMotion` is true (deepsight), requests
|
|
34
|
-
* motion OS permission, primes WASM sensors
|
|
35
|
-
* chain,
|
|
34
|
+
* motion OS permission first, then primes WASM sensors while it requests the
|
|
35
|
+
* camera — all in one user gesture chain, as in SDK v1.
|
|
36
36
|
*/
|
|
37
37
|
declare function requestPermission(options?: RequestPermissionOptions): Promise<PermissionResult>;
|
|
38
38
|
//#endregion
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as requestPermission, t as checkPermission } from "./permissionServices-
|
|
1
|
+
import { a as requestPermission, t as checkPermission } from "./permissionServices-RawRSsLZ.esm.js";
|
|
2
2
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
2
|
-
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-
|
|
1
|
+
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DThXMDqr.esm.js";
|
|
2
|
+
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-C1nETQos.esm.js";
|
|
3
3
|
export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, createCertificateIssuanceManagerFromActor, emptyPasswordValidations, isPasswordValid, validatePassword };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
3
|
+
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DThXMDqr.esm.js";
|
|
4
4
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts a certificate issuance actor.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as getApi, r as getToken, u as endpoints } from "./api-
|
|
1
|
+
import { n as getApi, r as getToken, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-ybzeu6sI.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
2
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
1
|
+
import { t as consentMachine } from "./consentStateMachine-DIYSMxKQ.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-DMlSL6Ax.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-DIYSMxKQ.esm.js";
|
|
5
5
|
//#region src/modules/consent/consentActor.ts
|
|
6
6
|
function createConsentActor(options) {
|
|
7
7
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -78,10 +78,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
78
78
|
type: "setError";
|
|
79
79
|
params: NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
|
-
clearError: {
|
|
82
|
-
type: "clearError";
|
|
83
|
-
params: NonReducibleUnknown;
|
|
84
|
-
};
|
|
85
81
|
setLoadError: {
|
|
86
82
|
type: "setLoadError";
|
|
87
83
|
params: NonReducibleUnknown;
|
|
@@ -94,6 +90,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
94
90
|
type: "toggleCheckbox";
|
|
95
91
|
params: NonReducibleUnknown;
|
|
96
92
|
};
|
|
93
|
+
clearError: {
|
|
94
|
+
type: "clearError";
|
|
95
|
+
params: NonReducibleUnknown;
|
|
96
|
+
};
|
|
97
97
|
resetContext: {
|
|
98
98
|
type: "resetContext";
|
|
99
99
|
params: NonReducibleUnknown;
|
|
@@ -101,7 +101,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
101
101
|
}>, {
|
|
102
102
|
type: "canSubmit";
|
|
103
103
|
params: unknown;
|
|
104
|
-
}, never, "error" | "idle" | "finished" | "
|
|
104
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
105
105
|
readonly id: "consent";
|
|
106
106
|
readonly initial: "idle";
|
|
107
107
|
readonly context: ({ input }: {
|
|
@@ -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 { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/consent/consentServices.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-BFTdiEDB.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|