@incodetech/core 0.0.0-dev-20260713-506b2caa → 0.0.0-dev-20260714-84eb7a5b
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/{3dAvatarProvider-D_SAp-m_.esm.js → 3dAvatarProvider-CjCu0kkb.esm.js} +1 -1
- package/dist/{Face2DProvider-CqUgP8ro.esm.js → Face2DProvider-BHP2bgkR.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-D-SuPeaR.d.ts → FaceDetectionProvider-sjxLCtCj.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-CCTvyShE.d.ts → IWasmUtilCapability-67CL2B5T.d.ts} +2 -2
- package/dist/{OpenViduRecordingProvider-DUJbCdJS.esm.js → OpenViduRecordingProvider-DBD6mCgy.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-2WEq2BPh.d.ts → StreamCanvasCapture-B-gbqrCw.d.ts} +2 -2
- package/dist/ae-signature.d.ts +4 -4
- package/dist/antifraud.d.ts +4 -4
- package/dist/{antifraudManager-DGdmAXUw.d.ts → antifraudManager-Cb7V8LfR.d.ts} +2 -2
- package/dist/authentication.d.ts +19 -19
- package/dist/authentication.esm.js +7 -7
- package/dist/{authenticationManager-BxjPAQjy.esm.js → authenticationManager-DMLa3SgO.esm.js} +2 -2
- package/dist/{authenticationManager-D_hu_JQz.d.ts → authenticationManager-DrjNztmP.d.ts} +3 -3
- package/dist/{authenticationStateMachine-1dW-EM34.esm.js → authenticationStateMachine-D2cBhpfh.esm.js} +2 -2
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/camera.d.ts +1 -1
- package/dist/certificate-issuance.d.ts +31 -31
- package/dist/consent.d.ts +4 -4
- package/dist/{consentManager-BBLuAEtO.d.ts → consentManager-BAol4bsP.d.ts} +49 -49
- package/dist/cpf-ocr.d.ts +4 -4
- package/dist/{cpfOcrManager-DiuFeIlv.d.ts → cpfOcrManager-C0EgKkQQ.d.ts} +19 -19
- package/dist/{createFaceAvatar-DoRExjKD.esm.js → createFaceAvatar-B3VyVrXD.esm.js} +3 -3
- package/dist/{createFaceAvatar-Cq8XaOFg.d.ts → createFaceAvatar-v31npknQ.d.ts} +1 -1
- package/dist/cross-document-data-match.d.ts +4 -4
- package/dist/{crossDocumentDataMatchManager-BjgY5K5j.d.ts → crossDocumentDataMatchManager-CnHoAGC7.d.ts} +2 -2
- package/dist/curp-validation.d.ts +10 -10
- package/dist/{curpValidationManager-Dh5pbMIh.d.ts → curpValidationManager-CeEgDRDi.d.ts} +3 -3
- package/dist/custom-fields.d.ts +3 -3
- package/dist/custom-watchlist.d.ts +2 -2
- package/dist/{deepsightLoader-Br33KOpX.esm.js → deepsightLoader-CjKCURKj.esm.js} +2 -2
- package/dist/document-capture.d.ts +6 -6
- package/dist/document-upload.d.ts +48 -48
- package/dist/{documentCaptureManager-Cg45h7_W.d.ts → documentCaptureManager-BduN2sRl.d.ts} +229 -229
- package/dist/dynamic-forms.d.ts +4 -4
- package/dist/{dynamicFormsManager-6myIq8JT.d.ts → dynamicFormsManager-DSNMQlC3.d.ts} +2 -2
- package/dist/ekyb.d.ts +9 -9
- package/dist/ekyb.esm.js +4 -4
- package/dist/{ekybStateMachine-BiPcOX5p.esm.js → ekybStateMachine-Dt5sOCoX.esm.js} +1 -1
- package/dist/ekyc.d.ts +6 -78
- package/dist/ekyc.esm.js +3 -146
- package/dist/ekycManager-KcUwIdYs.d.ts +98 -0
- package/dist/ekycManager-thjwh_uT.esm.js +149 -0
- package/dist/electronic-signature.d.ts +4 -4
- package/dist/email.d.ts +5 -5
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-C3txxrRg.d.ts → emailManager-BW2hseKJ.d.ts} +3 -3
- package/dist/{emailManager-CMLBFHqK.esm.js → emailManager-DOA8AXYQ.esm.js} +2 -2
- package/dist/{emailStateMachine-COK_8IDp.esm.js → emailStateMachine-B2MptyiU.esm.js} +1 -1
- package/dist/extensibility.d.ts +41 -40
- package/dist/extensibility.esm.js +38 -35
- package/dist/face-match.d.ts +3 -3
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-CN95eDaX.d.ts → faceCaptureManagerFactory-B-xH9qFE.d.ts} +13 -13
- package/dist/{faceCaptureManagerFactory-7LOCpq26.esm.js → faceCaptureManagerFactory-Cgphf_pX.esm.js} +1 -1
- package/dist/{faceCaptureSetup-CcPBTCx_.esm.js → faceCaptureSetup-Bd_qCt6v.esm.js} +3 -3
- package/dist/{faceMatchManager-CQiSAocW.d.ts → faceMatchManager-CCq_XLv2.d.ts} +3 -3
- package/dist/{faceMatchManager-DBLomalC.esm.js → faceMatchManager-z7hbiLBH.esm.js} +1 -1
- package/dist/field-comparison.d.ts +4 -4
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-Dr99pXex.d.ts → fieldComparisonManager-r99cyWRu.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +5 -5
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow-events.d.ts +8 -8
- package/dist/flow.d.ts +14 -14
- package/dist/flow.esm.js +5 -5
- package/dist/{flowServices-xoG2v-Zg.esm.js → flowServices-CDBzGrq9.esm.js} +1 -1
- package/dist/geolocation.d.ts +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-D5Lo-VE4.d.ts → geolocationManager-DC_bGi5H.d.ts} +2 -2
- package/dist/{geolocationManager-Y9FZP1w1.esm.js → geolocationManager-PzNDt1bv.esm.js} +1 -1
- package/dist/government-validation.d.ts +4 -4
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-BqNYD2XO.esm.js → governmentValidationStateMachine-RUvohGIS.esm.js} +1 -1
- package/dist/home.d.ts +18 -18
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +4 -4
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.d.ts +4 -4
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +16 -16
- package/dist/id.esm.js +8 -8
- package/dist/{idCaptureManager-C5Ko6NhX.d.ts → idCaptureManager-CzyKv7x6.d.ts} +12 -12
- package/dist/{idCaptureManager-CvcIYCbR.esm.js → idCaptureManager-DWvLW483.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-DWRtZU8U.esm.js → idCaptureStateMachine-DLT-T2yB.esm.js} +6 -6
- package/dist/{idOcrManager-DjytGOv2.esm.js → idOcrManager--cuvWT7w.esm.js} +1 -1
- package/dist/{idOcrManager-BztGAfB0.d.ts → idOcrManager-DzHpEuO0.d.ts} +54 -54
- package/dist/{idVerificationManager-xpHq_s6f.esm.js → idVerificationManager-BhAwLh2D.esm.js} +1 -1
- package/dist/{idVerificationManager-DDy-difD.d.ts → idVerificationManager-Y1-ZVyma.d.ts} +27 -27
- package/dist/identity-reuse.d.ts +4 -4
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-PHtuVw5T.esm.js → identityReuseManager-BHdQQJ5P.esm.js} +1 -1
- package/dist/{identityReuseManager-CU0zYV7u.d.ts → identityReuseManager-BIu1_jPK.d.ts} +33 -33
- package/dist/{index-Bl4synmA.d.ts → index-BTIELBrO.d.ts} +2 -2
- package/dist/{index-U-zHjUn0.d.ts → index-D845j9QR.d.ts} +151 -151
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +10 -10
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-DzZATI2M.d.ts → mandatoryConsentManager-Cy-vPF5k.d.ts} +53 -53
- package/dist/{mandatoryConsentManager-DlfGdZ58.esm.js → mandatoryConsentManager-DOcK1k6q.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-DOX32waz.esm.js → onDeviceFaceResults-CXqiz6o1.esm.js} +2 -2
- package/dist/openviduLazy-C5QPlhKX.esm.js +3 -0
- package/dist/{openviduLazy-B8Io9NMC.esm.js → openviduLazy-Cv86aS2h.esm.js} +1 -1
- package/dist/personhood.d.ts +16 -16
- package/dist/personhood.esm.js +3 -3
- package/dist/phone.d.ts +5 -5
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-RmMuAM_h.esm.js → phoneManager-C2hbNl_W.esm.js} +2 -2
- package/dist/{phoneManager-Bt4GpgTV.d.ts → phoneManager-DfcjlYoj.d.ts} +3 -3
- package/dist/{phoneStateMachine-CX4rvv0t.esm.js → phoneStateMachine-ZaquBwPP.esm.js} +1 -1
- package/dist/qe-signature.d.ts +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-COOmW1Y3.esm.js → recordingService-B901joV2.esm.js} +3 -3
- package/dist/redirect-to-mobile.d.ts +4 -4
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-AY6GnTCO.d.ts → redirectToMobileManager-BFf63F5S.d.ts} +2 -2
- package/dist/{redirectToMobileManager-BAg8VZjc.esm.js → redirectToMobileManager-CArNr2Fc.esm.js} +1 -1
- package/dist/selfie.d.ts +19 -19
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieManager-CSc7GgWc.esm.js → selfieManager-A_EE0I_a.esm.js} +2 -2
- package/dist/{selfieManager-xfzu2VxN.d.ts → selfieManager-CfKSPlLr.d.ts} +3 -3
- package/dist/{selfieStateMachine-BpCqqPy0.esm.js → selfieStateMachine-CAdZCJfF.esm.js} +2 -2
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +3 -3
- package/dist/{sessionInitializer-Co7APszQ.esm.js → sessionInitializer-CZfhs1Af.esm.js} +2 -2
- package/dist/{setup-C-KKsxNp.esm.js → setup-B-KjXF9e.esm.js} +2 -2
- package/dist/{setup-D1e0UBPP.d.ts → setup-C9azSPgy.d.ts} +2 -2
- package/dist/signature.d.ts +3 -3
- package/dist/signature.esm.js +1 -1
- package/dist/{tri-BzQijCrD.esm.js → tri-Cn0g8xLX.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-ByOqNnU3.esm.js → tri.esm-DJDT0c68.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +4 -4
- package/dist/{types-DMwx1WSD.d.ts → types-Bq6I7Tbd.d.ts} +1 -1
- package/dist/{types-DjUVRt1t.d.ts → types-CFx_SPaH.d.ts} +3 -3
- package/dist/{types-C7UUDE5w.d.ts → types-CHY2ZSXW.d.ts} +1 -1
- package/dist/{types-q_JqcrUi.d.ts → types-DhN4qd9T.d.ts} +2 -2
- package/dist/video-selfie.d.ts +14 -14
- package/dist/video-selfie.esm.js +5 -5
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist-for-business.d.ts +2 -2
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +2 -2
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +170 -170
- package/dist/workflow.esm.js +29 -29
- package/package.json +1 -1
- package/dist/openviduLazy-iOxoNARd.esm.js +0 -3
- /package/dist/{Actor-CVuNUOJR.d.ts → Actor-D__xf-S9.d.ts} +0 -0
- /package/dist/{IVisibilityObserverCapability-CnatuAB2.d.ts → IVisibilityObserverCapability-BWiR2wii.d.ts} +0 -0
- /package/dist/{Manager-Nf1FHI2l.d.ts → Manager-D4FerOEH.d.ts} +0 -0
- /package/dist/{PrivacyLensProvider-lI9Re3Vo.esm.js → PrivacyLensProvider-DdNBghgC.esm.js} +0 -0
- /package/dist/{StateMachine-BbQn0WGQ.d.ts → StateMachine-IH5gwvRc.d.ts} +0 -0
- /package/dist/{browser-DlFgHpoC-2zr0Hz4y.esm.js → browser-DlFgHpoC-71PTjAHo.esm.js} +0 -0
- /package/dist/{camera-BKIKKx_i.d.ts → camera-d1f2p-kb.d.ts} +0 -0
- /package/dist/{canvas-BObFM-qd.d.ts → canvas-6lBxtuDn.d.ts} +0 -0
- /package/dist/{deepsightService-DM-bFcoC.d.ts → deepsightService-szDosYMr.d.ts} +0 -0
- /package/dist/{faceMatchStateMachine-BMQd3rrh.esm.js → faceMatchStateMachine-R89dO4W8.esm.js} +0 -0
- /package/dist/{fieldComparisonManager-DGpPHZ-4.esm.js → fieldComparisonManager-D3ii0cu6.esm.js} +0 -0
- /package/dist/{flowCompletionService-BM0VfDdG.esm.js → flowCompletionService-CmLw0M5w.esm.js} +0 -0
- /package/dist/{flowCompletionService-D67Cat5z.d.ts → flowCompletionService-oENcBdj6.d.ts} +0 -0
- /package/dist/{geolocationStateMachine-BXpXtbpl.esm.js → geolocationStateMachine-DaCuXXsG.esm.js} +0 -0
- /package/dist/{http-CrBBn_W2.esm.js → http-Be7sLlwP.esm.js} +0 -0
- /package/dist/{idCaptureDefaults-DK4ykzxh.esm.js → idCaptureDefaults-BRzPff0h.esm.js} +0 -0
- /package/dist/{idOcrStateMachine-DLuOVNIt.esm.js → idOcrStateMachine-BUpCUsFQ.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-DgoR-BBg.esm.js → idVerificationStateMachine-BM9O-8Ef.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-DmnM1BAa.esm.js → identityReuseStateMachine-9A4J3lOb.esm.js} +0 -0
- /package/dist/{index--OYuPcRj.d.ts → index-CmD84PXB.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-DlCKlJWr.esm.js → invokeOnCaptureCallback-C1cpCmPj.esm.js} +0 -0
- /package/dist/{lib-DmWhcCPD.esm.js → lib-DQrpzNM-.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-CrkH9XLD.esm.js → mandatoryConsentStateMachine-HU0NnLsD.esm.js} +0 -0
- /package/dist/{mediapipeShared-DRjYsEf3.esm.js → mediapipeShared-Bk_3uEgM.esm.js} +0 -0
- /package/dist/{otp-nhnnp9FM.esm.js → otp-Bfnzf7I3.esm.js} +0 -0
- /package/dist/{otp-_n_me71J.d.ts → otp-Cc9mVS4s.d.ts} +0 -0
- /package/dist/{qe-signature-jpyR9x3e.esm.js → qe-signature-Ces-NrOq.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-jTHPayFp.esm.js → redirectToMobileStateMachine-CFh7ch0g.esm.js} +0 -0
- /package/dist/{runChildModule-DfryCG-j.esm.js → runChildModule-DuSlT0xP.esm.js} +0 -0
- /package/dist/{signatureStateMachine-CUWvEuOb.esm.js → signatureStateMachine-Bw615tMS.esm.js} +0 -0
- /package/dist/{types-4Zm5rOiY.d.ts → types-B6J7yeLF.d.ts} +0 -0
- /package/dist/{types-BvBOuDuK.d.ts → types-D54cpe17.d.ts} +0 -0
- /package/dist/{warmup-BLb08x_r.d.ts → warmup-6G-VPvwz.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-fc_8PwqF.esm.js → watchlistForBusinessStateMachine-wzZuYOIU.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-BnXwv9fp.esm.js → watchlistStateMachine-C0fEH_Xu.esm.js} +0 -0
package/dist/home.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import "./types-
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./canvas-
|
|
7
|
-
import "./createFaceAvatar-
|
|
8
|
-
import { t as EmptyConfig } from "./types-
|
|
9
|
-
import * as
|
|
1
|
+
import "./StateMachine-IH5gwvRc.js";
|
|
2
|
+
import { t as Manager } from "./Manager-D4FerOEH.js";
|
|
3
|
+
import "./camera-d1f2p-kb.js";
|
|
4
|
+
import "./types-Bq6I7Tbd.js";
|
|
5
|
+
import "./types-D54cpe17.js";
|
|
6
|
+
import "./canvas-6lBxtuDn.js";
|
|
7
|
+
import "./createFaceAvatar-v31npknQ.js";
|
|
8
|
+
import { t as EmptyConfig } from "./types-DhN4qd9T.js";
|
|
9
|
+
import * as xstate818 from "xstate";
|
|
10
10
|
|
|
11
11
|
//#region src/modules/home/types.d.ts
|
|
12
12
|
type HomeConfig = EmptyConfig;
|
|
@@ -38,41 +38,41 @@ type HomeContext = {
|
|
|
38
38
|
type HomeInput = {
|
|
39
39
|
config: EmptyConfig;
|
|
40
40
|
};
|
|
41
|
-
declare const homeMachine:
|
|
41
|
+
declare const homeMachine: xstate818.StateMachine<HomeContext, {
|
|
42
42
|
type: "LOAD";
|
|
43
43
|
} | {
|
|
44
44
|
type: "COMPLETE";
|
|
45
45
|
} | {
|
|
46
46
|
type: "RESET";
|
|
47
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
47
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate818.NonReducibleUnknown, xstate818.EventObject, xstate818.MetaObject, {
|
|
48
48
|
readonly id: "home";
|
|
49
49
|
readonly initial: "idle";
|
|
50
50
|
readonly context: ({
|
|
51
51
|
input
|
|
52
52
|
}: {
|
|
53
53
|
spawn: {
|
|
54
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
55
|
-
<TLogic extends
|
|
54
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate818.ActorRefFromLogic<never>;
|
|
55
|
+
<TLogic extends xstate818.AnyActorLogic>(src: TLogic, ...[options]: xstate818.ConditionalRequired<[options?: ({
|
|
56
56
|
id?: never;
|
|
57
57
|
systemId?: string;
|
|
58
|
-
input?:
|
|
58
|
+
input?: xstate818.InputFrom<TLogic> | undefined;
|
|
59
59
|
syncSnapshot?: boolean;
|
|
60
|
-
} & { [K in
|
|
60
|
+
} & { [K in xstate818.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate818.IsNotNever<xstate818.RequiredLogicInput<TLogic>>>): xstate818.ActorRefFromLogic<TLogic>;
|
|
61
61
|
};
|
|
62
62
|
input: HomeInput;
|
|
63
|
-
self:
|
|
63
|
+
self: xstate818.ActorRef<xstate818.MachineSnapshot<HomeContext, {
|
|
64
64
|
type: "LOAD";
|
|
65
65
|
} | {
|
|
66
66
|
type: "COMPLETE";
|
|
67
67
|
} | {
|
|
68
68
|
type: "RESET";
|
|
69
|
-
}, Record<string,
|
|
69
|
+
}, Record<string, xstate818.AnyActorRef | undefined>, xstate818.StateValue, string, unknown, any, any>, {
|
|
70
70
|
type: "LOAD";
|
|
71
71
|
} | {
|
|
72
72
|
type: "COMPLETE";
|
|
73
73
|
} | {
|
|
74
74
|
type: "RESET";
|
|
75
|
-
},
|
|
75
|
+
}, xstate818.AnyEventObject>;
|
|
76
76
|
}) => {
|
|
77
77
|
config: EmptyConfig;
|
|
78
78
|
};
|
package/dist/http.esm.js
CHANGED
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { a as IdOcrActor, c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, i as createIdOcrManagerFromActor, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-
|
|
1
|
+
import "./StateMachine-IH5gwvRc.js";
|
|
2
|
+
import "./Manager-D4FerOEH.js";
|
|
3
|
+
import "./Actor-D__xf-S9.js";
|
|
4
|
+
import { a as IdOcrActor, c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, i as createIdOcrManagerFromActor, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-DzHpEuO0.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
7
7
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import "./events-aeCkGlnn.esm.js";
|
|
|
3
3
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
4
|
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
5
|
import "./cpf-B9htWzDt.esm.js";
|
|
6
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
7
|
-
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager
|
|
6
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-BUpCUsFQ.esm.js";
|
|
7
|
+
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager--cuvWT7w.esm.js";
|
|
8
8
|
|
|
9
9
|
export { CPFFlowIds, MIN_AGE, OCR_FIELDS, createIdOcrManager, createIdOcrManagerFromActor, getOcrFields, idOcrStateMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, o as idVerificationMachine, r as createIdVerificationManager, s as IdVerificationConfig, t as IdVerificationManager } from "./idVerificationManager-
|
|
1
|
+
import "./StateMachine-IH5gwvRc.js";
|
|
2
|
+
import "./Manager-D4FerOEH.js";
|
|
3
|
+
import "./Actor-D__xf-S9.js";
|
|
4
|
+
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, o as idVerificationMachine, r as createIdVerificationManager, s as IdVerificationConfig, t as IdVerificationManager } from "./idVerificationManager-Y1-ZVyma.js";
|
|
5
5
|
export { type IdVerificationActor, type IdVerificationConfig, type IdVerificationManager, type IdVerificationState, createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|
|
@@ -2,7 +2,7 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import "./events-aeCkGlnn.esm.js";
|
|
3
3
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
4
4
|
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
6
|
-
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-
|
|
5
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-BM9O-8Ef.esm.js";
|
|
6
|
+
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-BhAwLh2D.esm.js";
|
|
7
7
|
|
|
8
8
|
export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|
package/dist/id.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./StateMachine-
|
|
3
|
-
import "./Manager-
|
|
4
|
-
import "./Actor-
|
|
5
|
-
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-
|
|
6
|
-
import { t as CameraStream } from "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./canvas-
|
|
10
|
-
import "./createFaceAvatar-
|
|
11
|
-
import "./types-
|
|
12
|
-
import "./IWasmUtilCapability-
|
|
13
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
14
|
-
import "./StreamCanvasCapture-
|
|
15
|
-
import "./deepsightService-
|
|
16
|
-
import { $ as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, A as CaptureIdResponse, B as IdCaptureGeometry, C as IdCaptureOnlyMachine, D as createIdCaptureActor, E as IdCaptureActor, F as ID_ERROR_CODES, G as IdCapturedImageData, H as IdCaptureMode, I as IdCaptureConfig, J as IdErrorCode, K as IdDocumentType, L as IdCaptureContext, M as CapturedImage, N as DetectionArea, O as IdCaptureMachine, P as DetectionStatus, Q as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, R as IdCaptureDependencies, S as createIdCaptureOnlyActor, T as CreateIdCaptureActorOptions, U as IdCaptureOnlyConfig, V as IdCaptureInput, W as IdCaptureThresholds, X as RecordingSession, Y as IdFlowStep, Z as UploadIdResponse, _ as uploadIdImage, a as IdCaptureInitResult, at as IdCaptureSettings, b as CreateIdCaptureOnlyActorOptions, c as UploadIdImageParams, d as initializeIdCapture, et as MANUAL_UPLOAD_MAX_RETRIES, f as preloadIdRecordingProvider, g as stopStream, h as stopRecording, it as DetectionOrientation, j as CaptureOnlyResponse, k as idCaptureMachine, l as UploadManualIdFileParams, m as startRecordingSession, n as IdCaptureManager, nt as ManualUploadSide, o as InitializeIdCaptureParams, p as processId, q as IdError, r as IdCaptureState, rt as ManualUploadTab, s as StartRecordingParams, t as createIdCaptureManager, tt as ManualUploadContext, u as ValidationError, v as uploadManualIdFile, w as idCaptureOnlyMachine, x as IdCaptureOnlyActor, y as validateUploadResponse, z as IdCaptureEvent } from "./idCaptureManager-
|
|
1
|
+
import "./warmup-6G-VPvwz.js";
|
|
2
|
+
import "./StateMachine-IH5gwvRc.js";
|
|
3
|
+
import "./Manager-D4FerOEH.js";
|
|
4
|
+
import "./Actor-D__xf-S9.js";
|
|
5
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-BWiR2wii.js";
|
|
6
|
+
import { t as CameraStream } from "./camera-d1f2p-kb.js";
|
|
7
|
+
import "./types-Bq6I7Tbd.js";
|
|
8
|
+
import "./types-D54cpe17.js";
|
|
9
|
+
import "./canvas-6lBxtuDn.js";
|
|
10
|
+
import "./createFaceAvatar-v31npknQ.js";
|
|
11
|
+
import "./types-DhN4qd9T.js";
|
|
12
|
+
import "./IWasmUtilCapability-67CL2B5T.js";
|
|
13
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-B6J7yeLF.js";
|
|
14
|
+
import "./StreamCanvasCapture-B-gbqrCw.js";
|
|
15
|
+
import "./deepsightService-szDosYMr.js";
|
|
16
|
+
import { $ as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, A as CaptureIdResponse, B as IdCaptureGeometry, C as IdCaptureOnlyMachine, D as createIdCaptureActor, E as IdCaptureActor, F as ID_ERROR_CODES, G as IdCapturedImageData, H as IdCaptureMode, I as IdCaptureConfig, J as IdErrorCode, K as IdDocumentType, L as IdCaptureContext, M as CapturedImage, N as DetectionArea, O as IdCaptureMachine, P as DetectionStatus, Q as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, R as IdCaptureDependencies, S as createIdCaptureOnlyActor, T as CreateIdCaptureActorOptions, U as IdCaptureOnlyConfig, V as IdCaptureInput, W as IdCaptureThresholds, X as RecordingSession, Y as IdFlowStep, Z as UploadIdResponse, _ as uploadIdImage, a as IdCaptureInitResult, at as IdCaptureSettings, b as CreateIdCaptureOnlyActorOptions, c as UploadIdImageParams, d as initializeIdCapture, et as MANUAL_UPLOAD_MAX_RETRIES, f as preloadIdRecordingProvider, g as stopStream, h as stopRecording, it as DetectionOrientation, j as CaptureOnlyResponse, k as idCaptureMachine, l as UploadManualIdFileParams, m as startRecordingSession, n as IdCaptureManager, nt as ManualUploadSide, o as InitializeIdCaptureParams, p as processId, q as IdError, r as IdCaptureState, rt as ManualUploadTab, s as StartRecordingParams, t as createIdCaptureManager, tt as ManualUploadContext, u as ValidationError, v as uploadManualIdFile, w as idCaptureOnlyMachine, x as IdCaptureOnlyActor, y as validateUploadResponse, z as IdCaptureEvent } from "./idCaptureManager-CzyKv7x6.js";
|
|
17
17
|
|
|
18
18
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
19
19
|
type IdCaptureOnlyManager = IdCaptureManager;
|
package/dist/id.esm.js
CHANGED
|
@@ -4,11 +4,11 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
4
4
|
import { n as eventModuleNames } from "./events-aeCkGlnn.esm.js";
|
|
5
5
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
6
6
|
import "./stats-BVy52wLy.esm.js";
|
|
7
|
-
import "./sessionInitializer-
|
|
7
|
+
import "./sessionInitializer-CZfhs1Af.esm.js";
|
|
8
8
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
9
9
|
import "./platform-0Ot-bF_a.esm.js";
|
|
10
10
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
11
|
-
import "./tri-
|
|
11
|
+
import "./tri-Cn0g8xLX.esm.js";
|
|
12
12
|
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
13
13
|
import "./apiError-DkOXfFBu.esm.js";
|
|
14
14
|
import "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
|
|
@@ -16,7 +16,7 @@ import "./MotionSensorProvider-BkHKMCPE.esm.js";
|
|
|
16
16
|
import "./permissionServices-B7lD6fiG.esm.js";
|
|
17
17
|
import "./camera-B0yWS33x.esm.js";
|
|
18
18
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
19
|
-
import "./onDeviceFaceResults-
|
|
19
|
+
import "./onDeviceFaceResults-CXqiz6o1.esm.js";
|
|
20
20
|
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
21
21
|
import "./canvas-DsJa51yU.esm.js";
|
|
22
22
|
import "./backCameraStream-Cz2EvzSR.esm.js";
|
|
@@ -27,13 +27,13 @@ import "./getDeviceClass-QxbJwsOO.esm.js";
|
|
|
27
27
|
import "./types-Db2ooXIu.esm.js";
|
|
28
28
|
import "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
29
29
|
import "./permissionGuards-CayfS8OY.esm.js";
|
|
30
|
-
import "./recordingService-
|
|
30
|
+
import "./recordingService-B901joV2.esm.js";
|
|
31
31
|
import "./mediaRecorderOptions-DuYelylE.esm.js";
|
|
32
32
|
import "./session--C2lbjK5.esm.js";
|
|
33
|
-
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-
|
|
34
|
-
import "./idCaptureDefaults-
|
|
35
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
36
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
33
|
+
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-DLT-T2yB.esm.js";
|
|
34
|
+
import "./idCaptureDefaults-BRzPff0h.esm.js";
|
|
35
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DWvLW483.esm.js";
|
|
36
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-C1cpCmPj.esm.js";
|
|
37
37
|
|
|
38
38
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
39
39
|
function buildSubImage(canvas) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
4
|
-
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
7
|
-
import { _ as MLProviderConfig, g as IMLProviderCapability } from "./createFaceAvatar-
|
|
8
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
9
|
-
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-
|
|
10
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
11
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
12
|
-
import { t as DeepsightService } from "./deepsightService-
|
|
1
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-IH5gwvRc.js";
|
|
2
|
+
import { t as Manager } from "./Manager-D4FerOEH.js";
|
|
3
|
+
import { t as ActorRefFrom } from "./Actor-D__xf-S9.js";
|
|
4
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-BWiR2wii.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-d1f2p-kb.js";
|
|
6
|
+
import { t as IncodeCanvas } from "./canvas-6lBxtuDn.js";
|
|
7
|
+
import { _ as MLProviderConfig, g as IMLProviderCapability } from "./createFaceAvatar-v31npknQ.js";
|
|
8
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-DhN4qd9T.js";
|
|
9
|
+
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-67CL2B5T.js";
|
|
10
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-B6J7yeLF.js";
|
|
11
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-B-gbqrCw.js";
|
|
12
|
+
import { t as DeepsightService } from "./deepsightService-szDosYMr.js";
|
|
13
13
|
|
|
14
14
|
//#region ../infra/src/capabilities/IIdCaptureCapability.d.ts
|
|
15
15
|
/**
|
|
@@ -3,7 +3,7 @@ import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.
|
|
|
3
3
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
|
|
4
4
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B7lD6fiG.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
6
|
-
import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-
|
|
6
|
+
import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-DLT-T2yB.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/internal/idCapture/idCaptureManagerFactory.ts
|
|
9
9
|
function getPermissionStatus(snapshot) {
|
package/dist/{idCaptureStateMachine-DWRtZU8U.esm.js → idCaptureStateMachine-DLT-T2yB.esm.js}
RENAMED
|
@@ -3,19 +3,19 @@ import { r as getToken, t as api } from "./api-DsbUi7TO.esm.js";
|
|
|
3
3
|
import { C as revokeObjectURL } from "./events-aeCkGlnn.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-BVy52wLy.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-CZfhs1Af.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-0Ot-bF_a.esm.js";
|
|
8
8
|
import { a as fromPromise, c as not, i as fromCallback, n as sendTo, o as and, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
9
9
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-B7lD6fiG.esm.js";
|
|
10
|
-
import { _ as stopRecording$1, g as startRecording, h as createRecordingSession, y as StreamCanvasProcessingSession } from "./onDeviceFaceResults-
|
|
10
|
+
import { _ as stopRecording$1, g as startRecording, h as createRecordingSession, y as StreamCanvasProcessingSession } from "./onDeviceFaceResults-CXqiz6o1.esm.js";
|
|
11
11
|
import { t as IncodeCanvas } from "./canvas-DsJa51yU.esm.js";
|
|
12
12
|
import { n as getBackCameraStream } from "./backCameraStream-Cz2EvzSR.esm.js";
|
|
13
13
|
import { n as getWindowDimensions } from "./getDeviceClass-BdgmyOOu.esm.js";
|
|
14
14
|
import { t as getDeviceClass } from "./getDeviceClass-QxbJwsOO.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
16
16
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CayfS8OY.esm.js";
|
|
17
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
18
|
-
import { i as IdCaptureProvider, n as DEFAULT_ID_CAPTURE_MODEL_VERSION, r as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-
|
|
17
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-B901joV2.esm.js";
|
|
18
|
+
import { i as IdCaptureProvider, n as DEFAULT_ID_CAPTURE_MODEL_VERSION, r as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-BRzPff0h.esm.js";
|
|
19
19
|
|
|
20
20
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
21
21
|
const TERMINAL_FAIL_REASONS = new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -680,7 +680,7 @@ function preloadIdRecordingProvider(config) {
|
|
|
680
680
|
preloadOpenViduProvider();
|
|
681
681
|
}
|
|
682
682
|
async function createOpenViduRecordingProvider() {
|
|
683
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
683
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-DBD6mCgy.esm.js");
|
|
684
684
|
return new OpenViduRecordingProvider();
|
|
685
685
|
}
|
|
686
686
|
async function startRecordingSession(params) {
|
|
@@ -1660,7 +1660,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1660
1660
|
});
|
|
1661
1661
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1662
1662
|
if (!input.dependencies) return;
|
|
1663
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1663
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CjKCURKj.esm.js");
|
|
1664
1664
|
return loadDeepsightSession({
|
|
1665
1665
|
ds: input.ds,
|
|
1666
1666
|
storage: input.dependencies.storage,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-aeCkGlnn.esm.js";
|
|
2
2
|
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
3
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
3
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-BUpCUsFQ.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
6
6
|
function createIdOcrActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-D4FerOEH.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-D__xf-S9.js";
|
|
3
|
+
import * as xstate835 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-ocr/types.d.ts
|
|
6
6
|
type IdOcrConfig = {
|
|
@@ -177,7 +177,7 @@ type IdOcrContext = {
|
|
|
177
177
|
type IdOcrInput = {
|
|
178
178
|
config: IdOcrConfig;
|
|
179
179
|
};
|
|
180
|
-
declare const idOcrStateMachine:
|
|
180
|
+
declare const idOcrStateMachine: xstate835.StateMachine<IdOcrContext, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "DATA_CHANGED";
|
|
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
191
191
|
} | {
|
|
192
192
|
type: "RETRY";
|
|
193
193
|
}, {
|
|
194
|
-
[x: string]:
|
|
194
|
+
[x: string]: xstate835.ActorRefFromLogic<xstate835.PromiseActorLogic<OcrData, {
|
|
195
195
|
isSecondId: boolean;
|
|
196
|
-
},
|
|
196
|
+
}, xstate835.EventObject>> | xstate835.ActorRefFromLogic<xstate835.PromiseActorLogic<UpdateOcrResponse, {
|
|
197
197
|
params: UpdateOcrDataParams;
|
|
198
198
|
isSecondId: boolean;
|
|
199
|
-
},
|
|
200
|
-
},
|
|
199
|
+
}, xstate835.EventObject>> | undefined;
|
|
200
|
+
}, xstate835.Values<{
|
|
201
201
|
getOcrData: {
|
|
202
202
|
src: "getOcrData";
|
|
203
|
-
logic:
|
|
203
|
+
logic: xstate835.PromiseActorLogic<OcrData, {
|
|
204
204
|
isSecondId: boolean;
|
|
205
|
-
},
|
|
205
|
+
}, xstate835.EventObject>;
|
|
206
206
|
id: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
updateOcrData: {
|
|
209
209
|
src: "updateOcrData";
|
|
210
|
-
logic:
|
|
210
|
+
logic: xstate835.PromiseActorLogic<UpdateOcrResponse, {
|
|
211
211
|
params: UpdateOcrDataParams;
|
|
212
212
|
isSecondId: boolean;
|
|
213
|
-
},
|
|
213
|
+
}, xstate835.EventObject>;
|
|
214
214
|
id: string | undefined;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
216
|
+
}>, xstate835.Values<{
|
|
217
217
|
setError: {
|
|
218
218
|
type: "setError";
|
|
219
|
-
params:
|
|
219
|
+
params: xstate835.NonReducibleUnknown;
|
|
220
220
|
};
|
|
221
221
|
setInitialData: {
|
|
222
222
|
type: "setInitialData";
|
|
223
|
-
params:
|
|
223
|
+
params: xstate835.NonReducibleUnknown;
|
|
224
224
|
};
|
|
225
225
|
updateField: {
|
|
226
226
|
type: "updateField";
|
|
227
|
-
params:
|
|
227
|
+
params: xstate835.NonReducibleUnknown;
|
|
228
228
|
};
|
|
229
229
|
clearFieldValidationError: {
|
|
230
230
|
type: "clearFieldValidationError";
|
|
231
|
-
params:
|
|
231
|
+
params: xstate835.NonReducibleUnknown;
|
|
232
232
|
};
|
|
233
233
|
setOcrValidationErrors: {
|
|
234
234
|
type: "setOcrValidationErrors";
|
|
235
|
-
params:
|
|
235
|
+
params: xstate835.NonReducibleUnknown;
|
|
236
236
|
};
|
|
237
237
|
validateFormField: {
|
|
238
238
|
type: "validateFormField";
|
|
239
|
-
params:
|
|
239
|
+
params: xstate835.NonReducibleUnknown;
|
|
240
240
|
};
|
|
241
241
|
beginSecondIdOcrPhase: {
|
|
242
242
|
type: "beginSecondIdOcrPhase";
|
|
243
|
-
params:
|
|
243
|
+
params: xstate835.NonReducibleUnknown;
|
|
244
244
|
};
|
|
245
245
|
resetForRetry: {
|
|
246
246
|
type: "resetForRetry";
|
|
247
|
-
params:
|
|
247
|
+
params: xstate835.NonReducibleUnknown;
|
|
248
248
|
};
|
|
249
249
|
computeValidationResult: {
|
|
250
250
|
type: "computeValidationResult";
|
|
251
|
-
params:
|
|
251
|
+
params: xstate835.NonReducibleUnknown;
|
|
252
252
|
};
|
|
253
|
-
}>,
|
|
253
|
+
}>, xstate835.Values<{
|
|
254
254
|
isOcrEditable: {
|
|
255
255
|
type: "isOcrEditable";
|
|
256
256
|
params: unknown;
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput,
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate835.NonReducibleUnknown, xstate835.EventObject, xstate835.MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({
|
|
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
280
280
|
spawn: {
|
|
281
281
|
<TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
|
|
282
282
|
src: "getOcrData";
|
|
283
|
-
logic:
|
|
283
|
+
logic: xstate835.PromiseActorLogic<OcrData, {
|
|
284
284
|
isSecondId: boolean;
|
|
285
|
-
},
|
|
285
|
+
}, xstate835.EventObject>;
|
|
286
286
|
id: string | undefined;
|
|
287
287
|
} extends infer T ? T extends {
|
|
288
288
|
src: "getOcrData";
|
|
289
|
-
logic:
|
|
289
|
+
logic: xstate835.PromiseActorLogic<OcrData, {
|
|
290
290
|
isSecondId: boolean;
|
|
291
|
-
},
|
|
291
|
+
}, xstate835.EventObject>;
|
|
292
292
|
id: string | undefined;
|
|
293
293
|
} ? T extends {
|
|
294
294
|
src: TSrc;
|
|
295
|
-
} ?
|
|
295
|
+
} ? xstate835.ConditionalRequired<[options?: ({
|
|
296
296
|
id?: T["id"] | undefined;
|
|
297
297
|
systemId?: string;
|
|
298
|
-
input?:
|
|
298
|
+
input?: xstate835.InputFrom<T["logic"]> | undefined;
|
|
299
299
|
syncSnapshot?: boolean;
|
|
300
|
-
} & { [K in
|
|
300
|
+
} & { [K in xstate835.RequiredActorOptions<T>]: unknown }) | undefined], xstate835.IsNotNever<xstate835.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
301
301
|
src: "updateOcrData";
|
|
302
|
-
logic:
|
|
302
|
+
logic: xstate835.PromiseActorLogic<UpdateOcrResponse, {
|
|
303
303
|
params: UpdateOcrDataParams;
|
|
304
304
|
isSecondId: boolean;
|
|
305
|
-
},
|
|
305
|
+
}, xstate835.EventObject>;
|
|
306
306
|
id: string | undefined;
|
|
307
307
|
} extends infer T_1 ? T_1 extends {
|
|
308
308
|
src: "updateOcrData";
|
|
309
|
-
logic:
|
|
309
|
+
logic: xstate835.PromiseActorLogic<UpdateOcrResponse, {
|
|
310
310
|
params: UpdateOcrDataParams;
|
|
311
311
|
isSecondId: boolean;
|
|
312
|
-
},
|
|
312
|
+
}, xstate835.EventObject>;
|
|
313
313
|
id: string | undefined;
|
|
314
314
|
} ? T_1 extends {
|
|
315
315
|
src: TSrc;
|
|
316
|
-
} ?
|
|
316
|
+
} ? xstate835.ConditionalRequired<[options?: ({
|
|
317
317
|
id?: T_1["id"] | undefined;
|
|
318
318
|
systemId?: string;
|
|
319
|
-
input?:
|
|
319
|
+
input?: xstate835.InputFrom<T_1["logic"]> | undefined;
|
|
320
320
|
syncSnapshot?: boolean;
|
|
321
|
-
} & { [K_1 in
|
|
321
|
+
} & { [K_1 in xstate835.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate835.IsNotNever<xstate835.RequiredActorOptions<T_1>>> : never : never : never)): xstate835.ActorRefFromLogic<xstate835.GetConcreteByKey<xstate835.Values<{
|
|
322
322
|
getOcrData: {
|
|
323
323
|
src: "getOcrData";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate835.PromiseActorLogic<OcrData, {
|
|
325
325
|
isSecondId: boolean;
|
|
326
|
-
},
|
|
326
|
+
}, xstate835.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
updateOcrData: {
|
|
330
330
|
src: "updateOcrData";
|
|
331
|
-
logic:
|
|
331
|
+
logic: xstate835.PromiseActorLogic<UpdateOcrResponse, {
|
|
332
332
|
params: UpdateOcrDataParams;
|
|
333
333
|
isSecondId: boolean;
|
|
334
|
-
},
|
|
334
|
+
}, xstate835.EventObject>;
|
|
335
335
|
id: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}>, "src", TSrc>["logic"]>;
|
|
338
|
-
<TLogic extends
|
|
338
|
+
<TLogic extends xstate835.AnyActorLogic>(src: TLogic, ...[options]: xstate835.ConditionalRequired<[options?: ({
|
|
339
339
|
id?: never;
|
|
340
340
|
systemId?: string;
|
|
341
|
-
input?:
|
|
341
|
+
input?: xstate835.InputFrom<TLogic> | undefined;
|
|
342
342
|
syncSnapshot?: boolean;
|
|
343
|
-
} & { [K in
|
|
343
|
+
} & { [K in xstate835.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate835.IsNotNever<xstate835.RequiredLogicInput<TLogic>>>): xstate835.ActorRefFromLogic<TLogic>;
|
|
344
344
|
};
|
|
345
345
|
input: IdOcrInput;
|
|
346
|
-
self:
|
|
346
|
+
self: xstate835.ActorRef<xstate835.MachineSnapshot<IdOcrContext, {
|
|
347
347
|
type: "LOAD";
|
|
348
348
|
} | {
|
|
349
349
|
type: "DATA_CHANGED";
|
|
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
356
356
|
type: "CONTINUE";
|
|
357
357
|
} | {
|
|
358
358
|
type: "RETRY";
|
|
359
|
-
}, Record<string,
|
|
359
|
+
}, Record<string, xstate835.AnyActorRef | undefined>, xstate835.StateValue, string, unknown, any, any>, {
|
|
360
360
|
type: "LOAD";
|
|
361
361
|
} | {
|
|
362
362
|
type: "DATA_CHANGED";
|
|
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
369
369
|
type: "CONTINUE";
|
|
370
370
|
} | {
|
|
371
371
|
type: "RETRY";
|
|
372
|
-
},
|
|
372
|
+
}, xstate835.AnyEventObject>;
|
|
373
373
|
}) => {
|
|
374
374
|
config: IdOcrConfig;
|
|
375
375
|
formData: UpdateOcrDataParams;
|
|
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
405
405
|
} | {
|
|
406
406
|
type: "RETRY";
|
|
407
407
|
};
|
|
408
|
-
self:
|
|
408
|
+
self: xstate835.ActorRef<xstate835.MachineSnapshot<IdOcrContext, {
|
|
409
409
|
type: "LOAD";
|
|
410
410
|
} | {
|
|
411
411
|
type: "DATA_CHANGED";
|
|
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
418
418
|
type: "CONTINUE";
|
|
419
419
|
} | {
|
|
420
420
|
type: "RETRY";
|
|
421
|
-
}, Record<string,
|
|
421
|
+
}, Record<string, xstate835.AnyActorRef>, xstate835.StateValue, string, unknown, any, any>, {
|
|
422
422
|
type: "LOAD";
|
|
423
423
|
} | {
|
|
424
424
|
type: "DATA_CHANGED";
|
|
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
431
431
|
type: "CONTINUE";
|
|
432
432
|
} | {
|
|
433
433
|
type: "RETRY";
|
|
434
|
-
},
|
|
434
|
+
}, xstate835.AnyEventObject>;
|
|
435
435
|
}) => {
|
|
436
436
|
isSecondId: boolean;
|
|
437
437
|
};
|
|
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
510
510
|
} | {
|
|
511
511
|
type: "RETRY";
|
|
512
512
|
};
|
|
513
|
-
self:
|
|
513
|
+
self: xstate835.ActorRef<xstate835.MachineSnapshot<IdOcrContext, {
|
|
514
514
|
type: "LOAD";
|
|
515
515
|
} | {
|
|
516
516
|
type: "DATA_CHANGED";
|
|
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
523
523
|
type: "CONTINUE";
|
|
524
524
|
} | {
|
|
525
525
|
type: "RETRY";
|
|
526
|
-
}, Record<string,
|
|
526
|
+
}, Record<string, xstate835.AnyActorRef>, xstate835.StateValue, string, unknown, any, any>, {
|
|
527
527
|
type: "LOAD";
|
|
528
528
|
} | {
|
|
529
529
|
type: "DATA_CHANGED";
|
|
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate1301.StateMachine<IdOcrContext, {
|
|
|
536
536
|
type: "CONTINUE";
|
|
537
537
|
} | {
|
|
538
538
|
type: "RETRY";
|
|
539
|
-
},
|
|
539
|
+
}, xstate835.AnyEventObject>;
|
|
540
540
|
}) => {
|
|
541
541
|
params: UpdateOcrDataParams;
|
|
542
542
|
isSecondId: boolean;
|
package/dist/{idVerificationManager-xpHq_s6f.esm.js → idVerificationManager-BhAwLh2D.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-aeCkGlnn.esm.js";
|
|
2
2
|
import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
3
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
3
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-BM9O-8Ef.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
6
6
|
function createIdVerificationActor(options) {
|