@incodetech/core 0.0.0-dev-20260720-ca9de495 → 0.0.0-dev-20260721-eccd3f30
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/BrowserVisibilityObserverProvider-DfE4Sheq.esm.js +64 -0
- package/dist/{addressSearch-DEYnZoez.esm.js → addressSearch-CK0sUGXQ.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CFsD4BgV.esm.js → antifraudManager-DNQ03cI-.esm.js} +3 -3
- package/dist/{antifraudStateMachine-VB-aXHct.esm.js → antifraudStateMachine-BhDtbvsr.esm.js} +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CwGOQTp3.esm.js → authenticationManager-DDjH-50n.esm.js} +4 -4
- package/dist/{authenticationStateMachine-gh33Mocb.esm.js → authenticationStateMachine-BjSbdil1.esm.js} +4 -4
- package/dist/certificate-issuance.esm.js +3 -3
- package/dist/{certificateIssuanceStateMachine-Di_bLlkP.esm.js → certificateIssuanceStateMachine-FqsRyCQy.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-0EiBXYtL.esm.js → consentManager-BFqvQKnL.esm.js} +3 -3
- package/dist/{consentManager-2h_w6wFc.d.ts → consentManager-uhDPdU6i.d.ts} +5 -5
- package/dist/{consentStateMachine-STURxpEc.esm.js → consentStateMachine-DEX3rWmY.esm.js} +2 -2
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/cpf-ocr.esm.js +1 -1
- package/dist/{cpfOcrManager-CQkUAeWO.d.ts → cpfOcrManager-C-3PWS2h.d.ts} +1 -1
- package/dist/{cpfOcrManager-Bu32le9u.esm.js → cpfOcrManager-Crj9julI.esm.js} +3 -3
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-Dw7euiiZ.esm.js → crossDocumentDataMatchManager-BJ1sNzqp.esm.js} +3 -3
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-BGj9U3E0.esm.js → curpValidationManager-DxpyQx7s.esm.js} +3 -3
- package/dist/{curpValidationStateMachine-Dq6l4oeZ.esm.js → curpValidationStateMachine-CLaUrwr_.esm.js} +2 -2
- package/dist/custom-fields.esm.js +3 -3
- package/dist/custom-watchlist.esm.js +3 -3
- package/dist/{customWatchlistStateMachine-BuQML-pk.esm.js → customWatchlistStateMachine-DmR8nQ9D.esm.js} +2 -2
- package/dist/{deepsightLoader-CCg7okNq.esm.js → deepsightLoader-BtxdGkfR.esm.js} +1 -1
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.esm.js +3 -3
- package/dist/{documentCaptureManager-DewvUtVQ.d.ts → documentCaptureManager-CBP2DkPr.d.ts} +65 -65
- package/dist/{documentCaptureManager-BI1bAj1F.esm.js → documentCaptureManager-HPQFi4FW.esm.js} +3 -3
- package/dist/{documentCaptureStateMachine-C1uifdea.esm.js → documentCaptureStateMachine-DPDPyUQd.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Fi2O2RUM.esm.js → dynamicFormsManager-Cpui-n_E.esm.js} +3 -3
- package/dist/{dynamicFormsStateMachine-DiPpuHgF.esm.js → dynamicFormsStateMachine-PBlPbUaP.esm.js} +2 -2
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CNYD_rcL.esm.js → ekybManager-SvomKsA_.esm.js} +3 -3
- package/dist/{ekybStateMachine-wp-ecHHi.esm.js → ekybStateMachine-Dk6h4MpB.esm.js} +4 -4
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-CI7sN4Ln.esm.js → ekycManager-CSSMm3NN.esm.js} +3 -3
- package/dist/{ekycStateMachine-DFQdmBXl.esm.js → ekycStateMachine-DKSNtU9D.esm.js} +3 -3
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DGFwHdro.esm.js → electronicSignatureManager-BGt5jlyi.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-Dmt1YrtS.esm.js → emailManager-B9ZtXkmO.esm.js} +3 -3
- package/dist/{emailStateMachine-DQS-QMgQ.esm.js → emailStateMachine-dPf_JV21.esm.js} +2 -2
- package/dist/{events-Dy8PyVO5.esm.js → events-Cz6MebsD.esm.js} +16 -1
- package/dist/events.d.ts +9 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +6 -6
- package/dist/extensibility.esm.js +26 -26
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-Bgr6E6eS.esm.js → faceCaptureManagerFactory-BKhutsJi.esm.js} +30 -5
- package/dist/{faceCaptureSetup-z13yTUSx.esm.js → faceCaptureSetup-7D-0M-GK.esm.js} +4 -4
- package/dist/{faceMatchManager-fPX11GnX.esm.js → faceMatchManager-C27ikuay.esm.js} +3 -3
- package/dist/{faceMatchStateMachine-D_7UX1rV.esm.js → faceMatchStateMachine-DPxvXTD8.esm.js} +2 -2
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-USUE9qDr.esm.js → fieldComparisonManager-DFRmWfO2.esm.js} +3 -3
- package/dist/fiscal-qr.esm.js +3 -3
- package/dist/flow.esm.js +5 -5
- package/dist/{flowServices-Cu3jqNDh.esm.js → flowServices-Cm4p5g-V.esm.js} +2 -2
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-C8GnN4Od.esm.js → geolocationManager-Bq6mhMLb.esm.js} +3 -3
- package/dist/{geolocationStateMachine-DfVSIUvS.esm.js → geolocationStateMachine-CM43faR8.esm.js} +2 -2
- package/dist/government-validation.esm.js +3 -3
- package/dist/{governmentValidationStateMachine-loZfWcU9.esm.js → governmentValidationStateMachine-DOzBCyQG.esm.js} +2 -2
- package/dist/home.esm.js +2 -2
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.esm.js +6 -6
- package/dist/{idCaptureManager-Cqx7_G5y.esm.js → idCaptureManager-Ckd9D4Q8.esm.js} +27 -8
- package/dist/{idCaptureStateMachine-Ctq7tDpn.esm.js → idCaptureStateMachine-DOwiqNpC.esm.js} +8 -8
- package/dist/{idOcrManager-vXa7GdRh.d.ts → idOcrManager-B-JyjyPb.d.ts} +1 -1
- package/dist/{idOcrManager-gscmFPxD.esm.js → idOcrManager-CZqArdyB.esm.js} +3 -3
- package/dist/{idOcrStateMachine-jfAyK4Bb.esm.js → idOcrStateMachine-D6SZ5UEN.esm.js} +3 -3
- package/dist/{idVerificationManager-BTsyXjv6.esm.js → idVerificationManager-D-fdmeEv.esm.js} +3 -3
- package/dist/{idVerificationStateMachine-7BSciEJk.esm.js → idVerificationStateMachine-CRyto3WY.esm.js} +2 -2
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-BjMJHKLP.esm.js → identityReuseManager-B4Uc5t63.esm.js} +3 -3
- package/dist/{identityReuseManager-D6pD4hcZ.d.ts → identityReuseManager-v2TH5g7e.d.ts} +1 -1
- package/dist/{identityReuseStateMachine-B0IFF3R7.esm.js → identityReuseStateMachine-DuDSkTJQ.esm.js} +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-B-QfsCQY.esm.js → invokeOnCaptureCallback-DClbfPxs.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-DzLHRc5u.d.ts → mandatoryConsentManager-BYyb8A34.d.ts} +5 -5
- package/dist/{mandatoryConsentManager-BOOjm7SU.esm.js → mandatoryConsentManager-D0xVg9hS.esm.js} +3 -3
- package/dist/{mandatoryConsentStateMachine-BP3npRnI.esm.js → mandatoryConsentStateMachine-OJMLYTcA.esm.js} +2 -2
- package/dist/{onDeviceFaceResults-DYyiiDct.esm.js → onDeviceFaceResults-C5TVpaYV.esm.js} +1 -1
- package/dist/personhood.esm.js +5 -5
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-C3aqq6jS.esm.js → phoneManager-CuSs7oB6.esm.js} +3 -3
- package/dist/{phoneStateMachine-CLGcLA8t.esm.js → phoneStateMachine-BcNKggqC.esm.js} +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DWip186Y.esm.js → recordingService-C7rP7d1i.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-Ct_5C_La.esm.js → redirectToMobileManager-eW8H-t2I.esm.js} +4 -4
- package/dist/{redirectToMobileStateMachine-D78eaxsp.esm.js → redirectToMobileStateMachine-DfeNOyS0.esm.js} +2 -2
- package/dist/{runChildModule-Crz1nHwJ.esm.js → runChildModule-CqKn3aLp.esm.js} +3 -3
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieManager-COH1oF0k.esm.js → selfieManager-B_OEbSBa.esm.js} +4 -4
- package/dist/{selfieStateMachine-D12LWngD.esm.js → selfieStateMachine-Dtjx0rzU.esm.js} +4 -4
- package/dist/session-CRq_s4g4.esm.js +1 -0
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-DpLZ6Px5.esm.js → sessionInitializer-BWyEUl6d.esm.js} +2 -2
- package/dist/{setup-DOio3C6M.esm.js → setup-ByVn7P4r.esm.js} +2 -2
- package/dist/signature.esm.js +3 -3
- package/dist/{signatureStateMachine-zRLvEGTw.esm.js → signatureStateMachine-CL414Utx.esm.js} +2 -2
- package/dist/trust-graph.esm.js +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +3 -3
- package/dist/watchlist.esm.js +3 -3
- package/dist/{watchlistForBusinessStateMachine-Rc6BAwlr.esm.js → watchlistForBusinessStateMachine-Bneo_qn7.esm.js} +2 -2
- package/dist/{watchlistStateMachine-64y9XBjm.esm.js → watchlistStateMachine-Dy3_dkvG.esm.js} +2 -2
- package/dist/workflow.esm.js +31 -31
- package/dist/{xstate-actors.esm-CtI5S0f4.esm.js → xstate-actors.esm-BaY-n1vb.esm.js} +1 -1
- package/dist/{xstate.esm-Cf4e0Cfd.esm.js → xstate.esm-DJRyQbtk.esm.js} +10 -3
- package/package.json +1 -1
- package/dist/BrowserVisibilityObserverProvider-sJclps4C.esm.js +0 -23
- package/dist/session-10sTI8lm.esm.js +0 -1
|
@@ -174,6 +174,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
174
174
|
}, EventObject>;
|
|
175
175
|
id: string | undefined;
|
|
176
176
|
};
|
|
177
|
+
initCamera: {
|
|
178
|
+
src: "initCamera";
|
|
179
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
180
|
+
id: string | undefined;
|
|
181
|
+
};
|
|
177
182
|
requestPermission: {
|
|
178
183
|
src: "requestPermission";
|
|
179
184
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -182,11 +187,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
182
187
|
}, EventObject>;
|
|
183
188
|
id: string | undefined;
|
|
184
189
|
};
|
|
185
|
-
initCamera: {
|
|
186
|
-
src: "initCamera";
|
|
187
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
188
|
-
id: string | undefined;
|
|
189
|
-
};
|
|
190
190
|
checkPermission: {
|
|
191
191
|
src: "checkPermission";
|
|
192
192
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -360,7 +360,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
360
360
|
readonly initial: "tutorial";
|
|
361
361
|
readonly context: ({ input }: {
|
|
362
362
|
spawn: {
|
|
363
|
-
<TSrc extends "uploadDocument" | "
|
|
363
|
+
<TSrc extends "uploadDocument" | "initCamera" | "requestPermission" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
364
364
|
src: "uploadDocument";
|
|
365
365
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
366
366
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
@@ -384,18 +384,12 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
384
384
|
input?: InputFrom<T["logic"]> | undefined;
|
|
385
385
|
syncSnapshot?: boolean;
|
|
386
386
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
387
|
-
src: "
|
|
388
|
-
logic: PromiseActorLogic<
|
|
389
|
-
permissionResult?: PermissionResult;
|
|
390
|
-
requestMotionPermission: boolean;
|
|
391
|
-
}, EventObject>;
|
|
387
|
+
src: "initCamera";
|
|
388
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
392
389
|
id: string | undefined;
|
|
393
390
|
} extends (infer T_1) ? T_1 extends {
|
|
394
|
-
src: "
|
|
395
|
-
logic: PromiseActorLogic<
|
|
396
|
-
permissionResult?: PermissionResult;
|
|
397
|
-
requestMotionPermission: boolean;
|
|
398
|
-
}, EventObject>;
|
|
391
|
+
src: "initCamera";
|
|
392
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
399
393
|
id: string | undefined;
|
|
400
394
|
} ? T_1 extends {
|
|
401
395
|
src: TSrc;
|
|
@@ -405,12 +399,18 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
405
399
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
406
400
|
syncSnapshot?: boolean;
|
|
407
401
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
408
|
-
src: "
|
|
409
|
-
logic: PromiseActorLogic<
|
|
402
|
+
src: "requestPermission";
|
|
403
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
404
|
+
permissionResult?: PermissionResult;
|
|
405
|
+
requestMotionPermission: boolean;
|
|
406
|
+
}, EventObject>;
|
|
410
407
|
id: string | undefined;
|
|
411
408
|
} extends (infer T_2) ? T_2 extends {
|
|
412
|
-
src: "
|
|
413
|
-
logic: PromiseActorLogic<
|
|
409
|
+
src: "requestPermission";
|
|
410
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
411
|
+
permissionResult?: PermissionResult;
|
|
412
|
+
requestMotionPermission: boolean;
|
|
413
|
+
}, EventObject>;
|
|
414
414
|
id: string | undefined;
|
|
415
415
|
} ? T_2 extends {
|
|
416
416
|
src: TSrc;
|
|
@@ -463,6 +463,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
463
463
|
}, EventObject>;
|
|
464
464
|
id: string | undefined;
|
|
465
465
|
};
|
|
466
|
+
initCamera: {
|
|
467
|
+
src: "initCamera";
|
|
468
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
469
|
+
id: string | undefined;
|
|
470
|
+
};
|
|
466
471
|
requestPermission: {
|
|
467
472
|
src: "requestPermission";
|
|
468
473
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -471,11 +476,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
471
476
|
}, EventObject>;
|
|
472
477
|
id: string | undefined;
|
|
473
478
|
};
|
|
474
|
-
initCamera: {
|
|
475
|
-
src: "initCamera";
|
|
476
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
477
|
-
id: string | undefined;
|
|
478
|
-
};
|
|
479
479
|
checkPermission: {
|
|
480
480
|
src: "checkPermission";
|
|
481
481
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -723,6 +723,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
723
723
|
}, EventObject>;
|
|
724
724
|
id: string | undefined;
|
|
725
725
|
};
|
|
726
|
+
initCamera: {
|
|
727
|
+
src: "initCamera";
|
|
728
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
729
|
+
id: string | undefined;
|
|
730
|
+
};
|
|
726
731
|
requestPermission: {
|
|
727
732
|
src: "requestPermission";
|
|
728
733
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -731,11 +736,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
731
736
|
}, EventObject>;
|
|
732
737
|
id: string | undefined;
|
|
733
738
|
};
|
|
734
|
-
initCamera: {
|
|
735
|
-
src: "initCamera";
|
|
736
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
737
|
-
id: string | undefined;
|
|
738
|
-
};
|
|
739
739
|
checkPermission: {
|
|
740
740
|
src: "checkPermission";
|
|
741
741
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -808,6 +808,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
808
808
|
}, EventObject>;
|
|
809
809
|
id: string | undefined;
|
|
810
810
|
};
|
|
811
|
+
initCamera: {
|
|
812
|
+
src: "initCamera";
|
|
813
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
814
|
+
id: string | undefined;
|
|
815
|
+
};
|
|
811
816
|
requestPermission: {
|
|
812
817
|
src: "requestPermission";
|
|
813
818
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -816,11 +821,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
816
821
|
}, EventObject>;
|
|
817
822
|
id: string | undefined;
|
|
818
823
|
};
|
|
819
|
-
initCamera: {
|
|
820
|
-
src: "initCamera";
|
|
821
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
822
|
-
id: string | undefined;
|
|
823
|
-
};
|
|
824
824
|
checkPermission: {
|
|
825
825
|
src: "checkPermission";
|
|
826
826
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -892,6 +892,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
892
892
|
}, EventObject>;
|
|
893
893
|
id: string | undefined;
|
|
894
894
|
};
|
|
895
|
+
initCamera: {
|
|
896
|
+
src: "initCamera";
|
|
897
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
898
|
+
id: string | undefined;
|
|
899
|
+
};
|
|
895
900
|
requestPermission: {
|
|
896
901
|
src: "requestPermission";
|
|
897
902
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -900,11 +905,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
900
905
|
}, EventObject>;
|
|
901
906
|
id: string | undefined;
|
|
902
907
|
};
|
|
903
|
-
initCamera: {
|
|
904
|
-
src: "initCamera";
|
|
905
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
906
|
-
id: string | undefined;
|
|
907
|
-
};
|
|
908
908
|
checkPermission: {
|
|
909
909
|
src: "checkPermission";
|
|
910
910
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -977,6 +977,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
977
977
|
}, EventObject>;
|
|
978
978
|
id: string | undefined;
|
|
979
979
|
};
|
|
980
|
+
initCamera: {
|
|
981
|
+
src: "initCamera";
|
|
982
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
983
|
+
id: string | undefined;
|
|
984
|
+
};
|
|
980
985
|
requestPermission: {
|
|
981
986
|
src: "requestPermission";
|
|
982
987
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -985,11 +990,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
985
990
|
}, EventObject>;
|
|
986
991
|
id: string | undefined;
|
|
987
992
|
};
|
|
988
|
-
initCamera: {
|
|
989
|
-
src: "initCamera";
|
|
990
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
991
|
-
id: string | undefined;
|
|
992
|
-
};
|
|
993
993
|
checkPermission: {
|
|
994
994
|
src: "checkPermission";
|
|
995
995
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1231,6 +1231,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1231
1231
|
}, EventObject>;
|
|
1232
1232
|
id: string | undefined;
|
|
1233
1233
|
};
|
|
1234
|
+
initCamera: {
|
|
1235
|
+
src: "initCamera";
|
|
1236
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1237
|
+
id: string | undefined;
|
|
1238
|
+
};
|
|
1234
1239
|
requestPermission: {
|
|
1235
1240
|
src: "requestPermission";
|
|
1236
1241
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1239,11 +1244,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1239
1244
|
}, EventObject>;
|
|
1240
1245
|
id: string | undefined;
|
|
1241
1246
|
};
|
|
1242
|
-
initCamera: {
|
|
1243
|
-
src: "initCamera";
|
|
1244
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1245
|
-
id: string | undefined;
|
|
1246
|
-
};
|
|
1247
1247
|
checkPermission: {
|
|
1248
1248
|
src: "checkPermission";
|
|
1249
1249
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1316,6 +1316,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1316
1316
|
}, EventObject>;
|
|
1317
1317
|
id: string | undefined;
|
|
1318
1318
|
};
|
|
1319
|
+
initCamera: {
|
|
1320
|
+
src: "initCamera";
|
|
1321
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1322
|
+
id: string | undefined;
|
|
1323
|
+
};
|
|
1319
1324
|
requestPermission: {
|
|
1320
1325
|
src: "requestPermission";
|
|
1321
1326
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1324,11 +1329,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1324
1329
|
}, EventObject>;
|
|
1325
1330
|
id: string | undefined;
|
|
1326
1331
|
};
|
|
1327
|
-
initCamera: {
|
|
1328
|
-
src: "initCamera";
|
|
1329
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1330
|
-
id: string | undefined;
|
|
1331
|
-
};
|
|
1332
1332
|
checkPermission: {
|
|
1333
1333
|
src: "checkPermission";
|
|
1334
1334
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1400,6 +1400,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1400
1400
|
}, EventObject>;
|
|
1401
1401
|
id: string | undefined;
|
|
1402
1402
|
};
|
|
1403
|
+
initCamera: {
|
|
1404
|
+
src: "initCamera";
|
|
1405
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1406
|
+
id: string | undefined;
|
|
1407
|
+
};
|
|
1403
1408
|
requestPermission: {
|
|
1404
1409
|
src: "requestPermission";
|
|
1405
1410
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1408,11 +1413,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1408
1413
|
}, EventObject>;
|
|
1409
1414
|
id: string | undefined;
|
|
1410
1415
|
};
|
|
1411
|
-
initCamera: {
|
|
1412
|
-
src: "initCamera";
|
|
1413
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1414
|
-
id: string | undefined;
|
|
1415
|
-
};
|
|
1416
1416
|
checkPermission: {
|
|
1417
1417
|
src: "checkPermission";
|
|
1418
1418
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1535,6 +1535,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1535
1535
|
}, EventObject>;
|
|
1536
1536
|
id: string | undefined;
|
|
1537
1537
|
};
|
|
1538
|
+
initCamera: {
|
|
1539
|
+
src: "initCamera";
|
|
1540
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1541
|
+
id: string | undefined;
|
|
1542
|
+
};
|
|
1538
1543
|
requestPermission: {
|
|
1539
1544
|
src: "requestPermission";
|
|
1540
1545
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1543,11 +1548,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1543
1548
|
}, EventObject>;
|
|
1544
1549
|
id: string | undefined;
|
|
1545
1550
|
};
|
|
1546
|
-
initCamera: {
|
|
1547
|
-
src: "initCamera";
|
|
1548
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1549
|
-
id: string | undefined;
|
|
1550
|
-
};
|
|
1551
1551
|
checkPermission: {
|
|
1552
1552
|
src: "checkPermission";
|
|
1553
1553
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
package/dist/{documentCaptureManager-BI1bAj1F.esm.js → documentCaptureManager-HPQFi4FW.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DPDPyUQd.esm.js";
|
|
5
5
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
6
6
|
function createDocumentCaptureActor(options) {
|
|
7
7
|
return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
5
5
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
6
6
|
import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
|
|
7
7
|
import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-PBlPbUaP.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-Cpui-n_E.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-PBlPbUaP.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-DiPpuHgF.esm.js → dynamicFormsStateMachine-PBlPbUaP.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
5
5
|
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
|
7
7
|
//#region src/modules/dynamic-forms/dynamicFormsFields.ts
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
2
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-Dk6h4MpB.esm.js";
|
|
2
|
+
import { t as createEkybManager } from "./ekybManager-SvomKsA_.esm.js";
|
|
3
3
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-Dk6h4MpB.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
5
|
-
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-
|
|
6
|
-
import { t as getFlow } from "./flowServices-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
5
|
+
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-CK0sUGXQ.esm.js";
|
|
6
|
+
import { t as getFlow } from "./flowServices-Cm4p5g-V.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
/**
|
|
9
9
|
* Countries available in all environments.
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-
|
|
2
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
1
|
+
import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DKSNtU9D.esm.js";
|
|
2
|
+
import { t as createEkycManager } from "./ekycManager-CSSMm3NN.esm.js";
|
|
3
3
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { t as ekycMachine } from "./ekycStateMachine-DKSNtU9D.esm.js";
|
|
5
5
|
//#region src/modules/ekyc/ekycActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYC actor.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
5
5
|
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
6
|
-
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-
|
|
6
|
+
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-CK0sUGXQ.esm.js";
|
|
7
7
|
//#region src/modules/ekyc/ekycConsts.ts
|
|
8
8
|
const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
|
|
9
9
|
const STATE_CODE_HINTS = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-BGt5jlyi.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
|
-
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-
|
|
6
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
5
|
+
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
6
|
+
import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
7
7
|
import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
|
|
8
8
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
9
9
|
//#region src/modules/electronic-signature/electronicSignatureServices.ts
|
package/dist/email.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
2
|
-
import { t as createEmailManager } from "./emailManager-
|
|
1
|
+
import { t as emailMachine } from "./emailStateMachine-dPf_JV21.esm.js";
|
|
2
|
+
import { t as createEmailManager } from "./emailManager-B9ZtXkmO.esm.js";
|
|
3
3
|
export { createEmailManager, emailMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, o as createActor } from "./xstate.esm-
|
|
3
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
|
|
2
|
+
import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
3
|
+
import { t as emailMachine } from "./emailStateMachine-dPf_JV21.esm.js";
|
|
4
4
|
//#region src/modules/email/emailActor.ts
|
|
5
5
|
function createEmailActor(options) {
|
|
6
6
|
return createActor(emailMachine, { input: { config: options.config } }).start();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
4
|
+
import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
|
|
6
6
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
7
7
|
//#region src/modules/email/emailServices.ts
|
|
8
8
|
function getEmailServerFailureReason(error, invalidStatus) {
|
|
@@ -209,6 +209,14 @@ function errorTriggered(module, screen, payload) {
|
|
|
209
209
|
payload
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
|
+
function stateChanged(module, screen, payload) {
|
|
213
|
+
screenEvent({
|
|
214
|
+
module,
|
|
215
|
+
screen,
|
|
216
|
+
code: "stateEvent",
|
|
217
|
+
payload
|
|
218
|
+
});
|
|
219
|
+
}
|
|
212
220
|
function elementClicked(module, screen, payload) {
|
|
213
221
|
screenEvent({
|
|
214
222
|
module,
|
|
@@ -290,6 +298,7 @@ function createManagerInstrumentation(moduleName, options) {
|
|
|
290
298
|
onModuleClosed: moduleClosed,
|
|
291
299
|
onScreenOpened: screenOpened,
|
|
292
300
|
onScreenClosed: screenClosed,
|
|
301
|
+
onStateChanged: (moduleName, screenName, stateName) => stateChanged(moduleName, screenName, { stateName }),
|
|
293
302
|
onErrorTriggered: (moduleName, errorName, screenName, payload) => errorTriggered(moduleName, screenName, {
|
|
294
303
|
errorName,
|
|
295
304
|
...payload
|
|
@@ -304,6 +313,12 @@ function createManagerInstrumentation(moduleName, options) {
|
|
|
304
313
|
getEventScreenName: options?.getEventScreenName,
|
|
305
314
|
getScreenName: options?.getScreenName
|
|
306
315
|
}),
|
|
316
|
+
getStateName: (snapshot) => {
|
|
317
|
+
const stateName = options?.getEventStateName?.(snapshot);
|
|
318
|
+
if (stateName === void 0) return;
|
|
319
|
+
const trimmed = stateName.trim();
|
|
320
|
+
return trimmed.length > 0 ? trimmed : void 0;
|
|
321
|
+
},
|
|
307
322
|
getErrorName: (snapshot) => {
|
|
308
323
|
const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
|
|
309
324
|
if (mappedError === void 0) return;
|
|
@@ -501,4 +516,4 @@ const cameraScreenNamesMapper = {
|
|
|
501
516
|
document: "document"
|
|
502
517
|
};
|
|
503
518
|
//#endregion
|
|
504
|
-
export {
|
|
519
|
+
export { revokeObjectURL as S, resetAnalyticsBatcher as _, videoSelfieEvents as a, createEventBus as b, elementClicked as c, screenClosed as d, screenEvent as f, getAnalyticsBatcher as g, addEvent as h, tutorialScreenNamesMapper as i, moduleClosed as l, stateChanged as m, eventModuleNames as n, createManagerInstrumentation as o, screenOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, moduleOpened as u, setAnalyticsBatcher as v, getTimestamp as x, subscribeEvent as y };
|
package/dist/events.d.ts
CHANGED
|
@@ -256,12 +256,20 @@ type ElementClickedPayload = {
|
|
|
256
256
|
type CaptureAttemptFinishedPayload = {
|
|
257
257
|
logs: string;
|
|
258
258
|
};
|
|
259
|
+
type StateChangedPayload = {
|
|
260
|
+
/**
|
|
261
|
+
* The Figma sub-section name for the in-screen state, e.g.
|
|
262
|
+
* `idCapture.frontCapture.livecue-glare`. Emitted verbatim.
|
|
263
|
+
*/
|
|
264
|
+
stateName: string;
|
|
265
|
+
};
|
|
259
266
|
declare function screenEvent(params: ScreenEventParams): void;
|
|
260
267
|
declare function moduleOpened(module: EventModule | string, screen?: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
261
268
|
declare function moduleClosed(module: EventModule | string, screen?: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
262
269
|
declare function screenOpened(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
263
270
|
declare function screenClosed(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
271
|
+
declare function stateChanged(module: EventModule | string, screen: EventScreen | string | undefined, payload: StateChangedPayload): void;
|
|
264
272
|
declare function elementClicked(module: EventModule | string, screen: EventScreen | string | undefined, payload: ElementClickedPayload): void;
|
|
265
273
|
declare function captureAttemptFinished(module: EventModule | string, screen: EventScreen | string | undefined, payload: CaptureAttemptFinishedPayload): void;
|
|
266
274
|
//#endregion
|
|
267
|
-
export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen, addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
|
275
|
+
export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen, type StateChangedPayload, addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/events.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, i as tutorialScreenNamesMapper, l as moduleClosed, m as
|
|
2
|
-
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
|
1
|
+
import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, h as addEvent, i as tutorialScreenNamesMapper, l as moduleClosed, m as stateChanged, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened, y as subscribeEvent } from "./events-Cz6MebsD.esm.js";
|
|
2
|
+
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -9,21 +9,21 @@ import { t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
|
|
|
9
9
|
import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-DMMk51Ec.js";
|
|
10
10
|
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-Dq9wNlcg.js";
|
|
11
11
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BCm7eGoK.js";
|
|
12
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
13
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-
|
|
12
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
13
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-C-3PWS2h.js";
|
|
14
14
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
15
15
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DRQrbEhj.js";
|
|
16
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
16
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CBP2DkPr.js";
|
|
17
17
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-Dposae2l.js";
|
|
18
18
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-CBX0tM04.js";
|
|
19
19
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
20
20
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
21
21
|
import { P as CaptureIdResponse, i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DTe_5dcI.js";
|
|
22
22
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
23
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
23
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
24
24
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
25
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
26
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
25
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-BYyb8A34.js";
|
|
26
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-B-JyjyPb.js";
|
|
27
27
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-NVQM3o5P.js";
|
|
28
28
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-BOuGkRoP.js";
|
|
29
29
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
|