@incodetech/core 0.0.0-dev-20260703-464afb8a → 0.0.0-dev-20260703-a5abff33
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-CVwSAzDw.esm.js → 3dAvatarProvider-BkvqkuDS.esm.js} +1 -1
- package/dist/{Face2DProvider-BuWoUgFl.esm.js → Face2DProvider-D1IoZOtw.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-5ODfa48C.d.ts → FaceDetectionProvider-C3hk0vhL.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-D7S5rkSH.d.ts → IWasmUtilCapability-DyiEO2jA.d.ts} +2 -2
- package/dist/{OpenViduRecordingProvider-CK6A5kiU.esm.js → OpenViduRecordingProvider-1QSFdZVL.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DHaWferF.d.ts → StreamCanvasCapture-DXti432h.d.ts} +2 -2
- package/dist/ae-signature.d.ts +4 -4
- package/dist/antifraud.d.ts +4 -4
- package/dist/{antifraudManager-DCiNI6np.d.ts → antifraudManager-b2LJI3nr.d.ts} +2 -2
- package/dist/authentication.d.ts +19 -19
- package/dist/authentication.esm.js +7 -7
- package/dist/{authenticationManager-B2DqMiXJ.d.ts → authenticationManager-CR6JGCPM.d.ts} +3 -3
- package/dist/{authenticationManager-C3fe4lGI.esm.js → authenticationManager-sPcCh1HP.esm.js} +2 -2
- package/dist/{authenticationStateMachine-CYois9xB.esm.js → authenticationStateMachine-AihNFtXT.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-B9ciAXTR.d.ts → consentManager-3PEfl5_B.d.ts} +49 -49
- package/dist/cpf-ocr.d.ts +4 -4
- package/dist/{cpfOcrManager-OeiEEYoU.d.ts → cpfOcrManager-SYXEpZSH.d.ts} +19 -19
- package/dist/{createFaceAvatar-97WdPBmX.esm.js → createFaceAvatar-CuWRhoKp.esm.js} +3 -3
- package/dist/{createFaceAvatar-CpdYp9Iy.d.ts → createFaceAvatar-DFvWGUts.d.ts} +1 -1
- package/dist/cross-document-data-match.d.ts +2 -2
- package/dist/curp-validation.d.ts +10 -10
- package/dist/{curpValidationManager-CoqODZx5.d.ts → curpValidationManager-GcNPOE9-.d.ts} +3 -3
- package/dist/custom-fields.d.ts +3 -3
- package/dist/custom-watchlist.d.ts +2 -2
- package/dist/document-capture.d.ts +229 -229
- package/dist/document-upload.d.ts +54 -54
- package/dist/dynamic-forms.d.ts +3 -3
- package/dist/ekyb.d.ts +9 -9
- package/dist/ekyb.esm.js +4 -4
- package/dist/{ekybStateMachine-CyzntJzO.esm.js → ekybStateMachine-CoVumHmj.esm.js} +1 -1
- package/dist/ekyc.d.ts +4 -4
- package/dist/electronic-signature.d.ts +4 -4
- package/dist/email.d.ts +5 -5
- package/dist/{emailManager-D1dWWxLM.d.ts → emailManager-t3yQLU9f.d.ts} +3 -3
- package/dist/extensibility.d.ts +35 -34
- package/dist/extensibility.esm.js +16 -14
- package/dist/face-match.d.ts +2 -2
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-gdShHivE.d.ts → faceCaptureManagerFactory-BbfxSiGY.d.ts} +13 -13
- package/dist/{faceCaptureManagerFactory-D65wC0Oy.esm.js → faceCaptureManagerFactory-zneUQO62.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DRgLc1RU.esm.js → faceCaptureSetup-CrIhuxN5.esm.js} +3 -3
- package/dist/field-comparison.d.ts +4 -4
- package/dist/{fieldComparisonManager-CSYVU-Vk.d.ts → fieldComparisonManager-BDffIuJm.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-C_4Yc2kf.esm.js → flowServices-DBOIgXYa.esm.js} +1 -1
- package/dist/geolocation.d.ts +4 -128
- package/dist/geolocation.esm.js +5 -113
- package/dist/geolocationManager-B3iKaTkZ.esm.js +123 -0
- package/dist/geolocationManager-Ba5fKdE5.d.ts +156 -0
- package/dist/government-validation.d.ts +4 -4
- package/dist/government-validation.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-verification.d.ts +28 -28
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +16 -16
- package/dist/id.esm.js +7 -7
- package/dist/{idCaptureManager-L0JyIaWM.d.ts → idCaptureManager-DEULKa4Q.d.ts} +12 -12
- package/dist/{idCaptureManager-VyxI4Mt1.esm.js → idCaptureManager-G114Uunh.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-BWTVPXMt.esm.js → idCaptureStateMachine-DO_8KmND.esm.js} +5 -5
- package/dist/{idOcrManager-CQCoiHhT.d.ts → idOcrManager-uUuQLtxQ.d.ts} +54 -54
- package/dist/identity-reuse.d.ts +4 -4
- package/dist/{identityReuseManager-DuD39brc.d.ts → identityReuseManager-BmqH-96q.d.ts} +36 -36
- package/dist/{index-BDZhI2V_.d.ts → index-9cOETl_2.d.ts} +169 -169
- package/dist/{index-0PqCAPxK.d.ts → index-Dnkvn5_X.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +10 -10
- package/dist/{mandatoryConsentManager-B4U6GKph.d.ts → mandatoryConsentManager-6VEzgB1P.d.ts} +50 -50
- package/dist/{onDeviceFaceResults-IJDRqtYI.esm.js → onDeviceFaceResults-BiFX_-W5.esm.js} +2 -2
- package/dist/{openviduLazy-wEojM41w.esm.js → openviduLazy-CR7uayMc.esm.js} +1 -1
- package/dist/openviduLazy-Fbht0txL.esm.js +3 -0
- package/dist/personhood.d.ts +16 -16
- package/dist/personhood.esm.js +1 -1
- package/dist/phone.d.ts +5 -5
- package/dist/{phoneManager-DitebgbQ.d.ts → phoneManager-DSyl8tGa.d.ts} +3 -3
- package/dist/qe-signature.d.ts +4 -4
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-4pOlb2SG.esm.js → recordingService-CkE5o82_.esm.js} +3 -3
- package/dist/redirect-to-mobile.d.ts +4 -4
- package/dist/{redirectToMobileManager-kf5afsMm.d.ts → redirectToMobileManager-Bjs3pRzS.d.ts} +2 -2
- package/dist/selfie.d.ts +19 -19
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieManager-By-EP_q4.esm.js → selfieManager-Bp7WFLAV.esm.js} +2 -2
- package/dist/{selfieManager-B0nFzgeP.d.ts → selfieManager-LHJ4vEQd.d.ts} +3 -3
- package/dist/{selfieStateMachine-Dn3Vh_z_.esm.js → selfieStateMachine-D5pSBFyn.esm.js} +2 -2
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +3 -3
- package/dist/{sessionInitializer-hbAgc1U0.esm.js → sessionInitializer-CoArFTzS.esm.js} +2 -2
- package/dist/{setup-Da51UnII.d.ts → setup-ChZ--9XV.d.ts} +2 -2
- package/dist/{setup-Cnj8G6HJ.esm.js → setup-JaAaqeUc.esm.js} +2 -2
- package/dist/signature.d.ts +3 -3
- package/dist/signature.esm.js +1 -1
- package/dist/{tri-QAWxUCoY.esm.js → tri-CtEMMAM6.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-B47NPJjh.esm.js → tri.esm--8e_42NO.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +4 -4
- package/dist/{types-CU_aiZL_.d.ts → types-DW5cPsw1.d.ts} +1 -1
- package/dist/{types-DV3wkhQ4.d.ts → types-H9ompebR.d.ts} +1 -1
- package/dist/{types-BUgeB2X6.d.ts → types-bWGcbd3_.d.ts} +2 -2
- package/dist/{types-B1DBrARx.d.ts → types-m3_HUzgU.d.ts} +3 -3
- package/dist/video-selfie.d.ts +14 -14
- package/dist/video-selfie.esm.js +4 -4
- 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 +167 -167
- package/dist/workflow.esm.js +21 -21
- package/package.json +1 -1
- package/dist/openviduLazy-jPgABwrt.esm.js +0 -3
- /package/dist/{Actor-BwgmOPkb.d.ts → Actor-BYmFPUr7.d.ts} +0 -0
- /package/dist/{IVisibilityObserverCapability-BZ1rE7ly.d.ts → IVisibilityObserverCapability-DaXAeadS.d.ts} +0 -0
- /package/dist/{Manager-goNPc_h_.d.ts → Manager-Cmz78C-6.d.ts} +0 -0
- /package/dist/{PrivacyLensProvider-CZnkF34Z.esm.js → PrivacyLensProvider-DSYMiRJn.esm.js} +0 -0
- /package/dist/{StateMachine-D5WO6lHS.d.ts → StateMachine-CNPJD4wG.d.ts} +0 -0
- /package/dist/{browser-DlFgHpoC-BieMg30k.esm.js → browser-DlFgHpoC-Bc6EUg7K.esm.js} +0 -0
- /package/dist/{camera-CKU96nwJ.d.ts → camera-DLCbUdzy.d.ts} +0 -0
- /package/dist/{canvas-90BqS0NF.d.ts → canvas-lNFq1bim.d.ts} +0 -0
- /package/dist/{deepsightLoader-BrK1yV0-.esm.js → deepsightLoader-oH-UOgvy.esm.js} +0 -0
- /package/dist/{deepsightService-BgdEmIRg.d.ts → deepsightService-DhJ1iwXr.d.ts} +0 -0
- /package/dist/{faceMatchStateMachine-BLL5aQX6.esm.js → faceMatchStateMachine-BOi4dYbB.esm.js} +0 -0
- /package/dist/{flowCompletionService-SXnPwz9I.d.ts → flowCompletionService-BOSTlAWo.d.ts} +0 -0
- /package/dist/{flowCompletionService-C4ciNLxe.esm.js → flowCompletionService-DwNoUhk5.esm.js} +0 -0
- /package/dist/{geolocationStateMachine-Vs5GfQ8l.esm.js → geolocationStateMachine-BKbXdD87.esm.js} +0 -0
- /package/dist/{governmentValidationStateMachine-EKSIq4v9.esm.js → governmentValidationStateMachine-CdU4oRYS.esm.js} +0 -0
- /package/dist/{http-CBbBcnBa.esm.js → http-Dg_LUZCK.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-BOz1v4AY.esm.js → idVerificationStateMachine-QEZjjPPv.esm.js} +0 -0
- /package/dist/{index-BAyZ8_iI.d.ts → index-DE1C1s0Y.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-uZ42DiUz.esm.js → invokeOnCaptureCallback-Byx0Y09k.esm.js} +0 -0
- /package/dist/{lib-Bjd6nOLG.esm.js → lib-C7yt36-i.esm.js} +0 -0
- /package/dist/{mediapipeShared-Bcmkzs3x.esm.js → mediapipeShared-DGYt_amp.esm.js} +0 -0
- /package/dist/{otp-CETbFjXH.d.ts → otp-B1YeyRXu.d.ts} +0 -0
- /package/dist/{qe-signature-mU2bJh-u.esm.js → qe-signature-DrNTWaUP.esm.js} +0 -0
- /package/dist/{runChildModule-D-rDy5jB.esm.js → runChildModule-3qH_hqiv.esm.js} +0 -0
- /package/dist/{signatureStateMachine-DWob8P45.esm.js → signatureStateMachine-CY41dCkX.esm.js} +0 -0
- /package/dist/{types-BcF-fii5.d.ts → types-CrjOPSFE.d.ts} +0 -0
- /package/dist/{types-BgjMAEXl.d.ts → types-cqeeFcNT.d.ts} +0 -0
- /package/dist/{warmup-CZ80odyW.d.ts → warmup-C4rQk0OB.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-Do3drRT5.esm.js → watchlistForBusinessStateMachine-KYgSsRXK.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-D6A4O5rK.esm.js → watchlistStateMachine-DsWQwmlW.esm.js} +0 -0
|
@@ -5,7 +5,7 @@ import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
|
5
5
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
6
6
|
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
7
7
|
import { t as OTP_CODE_LENGTH } from "./otp-nhnnp9FM.esm.js";
|
|
8
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
8
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CdU4oRYS.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
11
11
|
function createGovernmentValidationActor(options) {
|
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-CNPJD4wG.js";
|
|
2
|
+
import { t as Manager } from "./Manager-Cmz78C-6.js";
|
|
3
|
+
import "./camera-DLCbUdzy.js";
|
|
4
|
+
import "./types-H9ompebR.js";
|
|
5
|
+
import "./types-cqeeFcNT.js";
|
|
6
|
+
import "./canvas-lNFq1bim.js";
|
|
7
|
+
import "./createFaceAvatar-DFvWGUts.js";
|
|
8
|
+
import { t as EmptyConfig } from "./types-bWGcbd3_.js";
|
|
9
|
+
import * as xstate5 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: xstate5.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, xstate5.NonReducibleUnknown, xstate5.EventObject, xstate5.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): xstate5.ActorRefFromLogic<never>;
|
|
55
|
+
<TLogic extends xstate5.AnyActorLogic>(src: TLogic, ...[options]: xstate5.ConditionalRequired<[options?: ({
|
|
56
56
|
id?: never;
|
|
57
57
|
systemId?: string;
|
|
58
|
-
input?:
|
|
58
|
+
input?: xstate5.InputFrom<TLogic> | undefined;
|
|
59
59
|
syncSnapshot?: boolean;
|
|
60
|
-
} & { [K in
|
|
60
|
+
} & { [K in xstate5.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate5.IsNotNever<xstate5.RequiredLogicInput<TLogic>>>): xstate5.ActorRefFromLogic<TLogic>;
|
|
61
61
|
};
|
|
62
62
|
input: HomeInput;
|
|
63
|
-
self:
|
|
63
|
+
self: xstate5.ActorRef<xstate5.MachineSnapshot<HomeContext, {
|
|
64
64
|
type: "LOAD";
|
|
65
65
|
} | {
|
|
66
66
|
type: "COMPLETE";
|
|
67
67
|
} | {
|
|
68
68
|
type: "RESET";
|
|
69
|
-
}, Record<string,
|
|
69
|
+
}, Record<string, xstate5.AnyActorRef | undefined>, xstate5.StateValue, string, unknown, any, any>, {
|
|
70
70
|
type: "LOAD";
|
|
71
71
|
} | {
|
|
72
72
|
type: "COMPLETE";
|
|
73
73
|
} | {
|
|
74
74
|
type: "RESET";
|
|
75
|
-
},
|
|
75
|
+
}, xstate5.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 { c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, 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-CNPJD4wG.js";
|
|
2
|
+
import "./Manager-Cmz78C-6.js";
|
|
3
|
+
import "./Actor-BYmFPUr7.js";
|
|
4
|
+
import { c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-uUuQLtxQ.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
7
7
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import * as
|
|
1
|
+
import "./StateMachine-CNPJD4wG.js";
|
|
2
|
+
import { t as Manager } from "./Manager-Cmz78C-6.js";
|
|
3
|
+
import "./Actor-BYmFPUr7.js";
|
|
4
|
+
import * as xstate635 from "xstate";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id-verification/types.d.ts
|
|
7
7
|
type IdVerificationConfig = {
|
|
@@ -33,26 +33,26 @@ type IdVerificationContext = {
|
|
|
33
33
|
type IdVerificationInput = {
|
|
34
34
|
config: IdVerificationConfig;
|
|
35
35
|
};
|
|
36
|
-
declare const idVerificationMachine:
|
|
36
|
+
declare const idVerificationMachine: xstate635.StateMachine<IdVerificationContext, {
|
|
37
37
|
type: "LOAD";
|
|
38
38
|
} | {
|
|
39
39
|
type: "CONTINUE";
|
|
40
40
|
}, {
|
|
41
|
-
[x: string]:
|
|
41
|
+
[x: string]: xstate635.ActorRefFromLogic<xstate635.PromiseActorLogic<ProcessIdResponse, {
|
|
42
42
|
isSecondId: boolean;
|
|
43
43
|
queueName: string;
|
|
44
|
-
},
|
|
44
|
+
}, xstate635.EventObject>> | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
src: "processId";
|
|
47
|
-
logic:
|
|
47
|
+
logic: xstate635.PromiseActorLogic<ProcessIdResponse, {
|
|
48
48
|
isSecondId: boolean;
|
|
49
49
|
queueName: string;
|
|
50
|
-
},
|
|
50
|
+
}, xstate635.EventObject>;
|
|
51
51
|
id: string | undefined;
|
|
52
52
|
}, never, {
|
|
53
53
|
type: "isDocumentExpired";
|
|
54
54
|
params: unknown;
|
|
55
|
-
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput,
|
|
55
|
+
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput, xstate635.NonReducibleUnknown, xstate635.EventObject, xstate635.MetaObject, {
|
|
56
56
|
readonly id: "idVerification";
|
|
57
57
|
readonly initial: "idle";
|
|
58
58
|
readonly context: ({
|
|
@@ -61,50 +61,50 @@ declare const idVerificationMachine: xstate64.StateMachine<IdVerificationContext
|
|
|
61
61
|
spawn: {
|
|
62
62
|
<TSrc extends "processId">(logic: TSrc, ...[options]: {
|
|
63
63
|
src: "processId";
|
|
64
|
-
logic:
|
|
64
|
+
logic: xstate635.PromiseActorLogic<ProcessIdResponse, {
|
|
65
65
|
isSecondId: boolean;
|
|
66
66
|
queueName: string;
|
|
67
|
-
},
|
|
67
|
+
}, xstate635.EventObject>;
|
|
68
68
|
id: string | undefined;
|
|
69
69
|
} extends infer T ? T extends {
|
|
70
70
|
src: "processId";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate635.PromiseActorLogic<ProcessIdResponse, {
|
|
72
72
|
isSecondId: boolean;
|
|
73
73
|
queueName: string;
|
|
74
|
-
},
|
|
74
|
+
}, xstate635.EventObject>;
|
|
75
75
|
id: string | undefined;
|
|
76
76
|
} ? T extends {
|
|
77
77
|
src: TSrc;
|
|
78
|
-
} ?
|
|
78
|
+
} ? xstate635.ConditionalRequired<[options?: ({
|
|
79
79
|
id?: T["id"] | undefined;
|
|
80
80
|
systemId?: string;
|
|
81
|
-
input?:
|
|
81
|
+
input?: xstate635.InputFrom<T["logic"]> | undefined;
|
|
82
82
|
syncSnapshot?: boolean;
|
|
83
|
-
} & { [K in
|
|
83
|
+
} & { [K in xstate635.RequiredActorOptions<T>]: unknown }) | undefined], xstate635.IsNotNever<xstate635.RequiredActorOptions<T>>> : never : never : never): xstate635.ActorRefFromLogic<xstate635.GetConcreteByKey<{
|
|
84
84
|
src: "processId";
|
|
85
|
-
logic:
|
|
85
|
+
logic: xstate635.PromiseActorLogic<ProcessIdResponse, {
|
|
86
86
|
isSecondId: boolean;
|
|
87
87
|
queueName: string;
|
|
88
|
-
},
|
|
88
|
+
}, xstate635.EventObject>;
|
|
89
89
|
id: string | undefined;
|
|
90
90
|
}, "src", TSrc>["logic"]>;
|
|
91
|
-
<TLogic extends
|
|
91
|
+
<TLogic extends xstate635.AnyActorLogic>(src: TLogic, ...[options]: xstate635.ConditionalRequired<[options?: ({
|
|
92
92
|
id?: never;
|
|
93
93
|
systemId?: string;
|
|
94
|
-
input?:
|
|
94
|
+
input?: xstate635.InputFrom<TLogic> | undefined;
|
|
95
95
|
syncSnapshot?: boolean;
|
|
96
|
-
} & { [K in
|
|
96
|
+
} & { [K in xstate635.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate635.IsNotNever<xstate635.RequiredLogicInput<TLogic>>>): xstate635.ActorRefFromLogic<TLogic>;
|
|
97
97
|
};
|
|
98
98
|
input: IdVerificationInput;
|
|
99
|
-
self:
|
|
99
|
+
self: xstate635.ActorRef<xstate635.MachineSnapshot<IdVerificationContext, {
|
|
100
100
|
type: "LOAD";
|
|
101
101
|
} | {
|
|
102
102
|
type: "CONTINUE";
|
|
103
|
-
}, Record<string,
|
|
103
|
+
}, Record<string, xstate635.AnyActorRef | undefined>, xstate635.StateValue, string, unknown, any, any>, {
|
|
104
104
|
type: "LOAD";
|
|
105
105
|
} | {
|
|
106
106
|
type: "CONTINUE";
|
|
107
|
-
},
|
|
107
|
+
}, xstate635.AnyEventObject>;
|
|
108
108
|
}) => {
|
|
109
109
|
config: IdVerificationConfig;
|
|
110
110
|
isSecondId: boolean;
|
|
@@ -128,15 +128,15 @@ declare const idVerificationMachine: xstate64.StateMachine<IdVerificationContext
|
|
|
128
128
|
} | {
|
|
129
129
|
type: "CONTINUE";
|
|
130
130
|
};
|
|
131
|
-
self:
|
|
131
|
+
self: xstate635.ActorRef<xstate635.MachineSnapshot<IdVerificationContext, {
|
|
132
132
|
type: "LOAD";
|
|
133
133
|
} | {
|
|
134
134
|
type: "CONTINUE";
|
|
135
|
-
}, Record<string,
|
|
135
|
+
}, Record<string, xstate635.AnyActorRef>, xstate635.StateValue, string, unknown, any, any>, {
|
|
136
136
|
type: "LOAD";
|
|
137
137
|
} | {
|
|
138
138
|
type: "CONTINUE";
|
|
139
|
-
},
|
|
139
|
+
}, xstate635.AnyEventObject>;
|
|
140
140
|
}) => {
|
|
141
141
|
isSecondId: boolean;
|
|
142
142
|
queueName: string;
|
|
@@ -3,7 +3,7 @@ import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
5
|
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
6
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-QEZjjPPv.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
9
9
|
function createIdVerificationActor(options) {
|
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-C4rQk0OB.js";
|
|
2
|
+
import "./StateMachine-CNPJD4wG.js";
|
|
3
|
+
import "./Manager-Cmz78C-6.js";
|
|
4
|
+
import "./Actor-BYmFPUr7.js";
|
|
5
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-DaXAeadS.js";
|
|
6
|
+
import { t as CameraStream } from "./camera-DLCbUdzy.js";
|
|
7
|
+
import "./types-H9ompebR.js";
|
|
8
|
+
import "./types-cqeeFcNT.js";
|
|
9
|
+
import "./canvas-lNFq1bim.js";
|
|
10
|
+
import "./createFaceAvatar-DFvWGUts.js";
|
|
11
|
+
import "./types-bWGcbd3_.js";
|
|
12
|
+
import "./IWasmUtilCapability-DyiEO2jA.js";
|
|
13
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CrjOPSFE.js";
|
|
14
|
+
import "./StreamCanvasCapture-DXti432h.js";
|
|
15
|
+
import "./deepsightService-DhJ1iwXr.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-DEULKa4Q.js";
|
|
17
17
|
|
|
18
18
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
19
19
|
type IdCaptureOnlyManager = IdCaptureManager;
|
package/dist/id.esm.js
CHANGED
|
@@ -6,12 +6,12 @@ import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
|
6
6
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
7
7
|
import "./stats-CYcScXcO.esm.js";
|
|
8
8
|
import "./browserSimulation-TsSoavQv.esm.js";
|
|
9
|
-
import "./sessionInitializer-
|
|
9
|
+
import "./sessionInitializer-CoArFTzS.esm.js";
|
|
10
10
|
import "./getDeviceData-TrKM8NPh.esm.js";
|
|
11
11
|
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
12
12
|
import "./IpifyProvider-BRW14_uo.esm.js";
|
|
13
13
|
import "./platform-uIVQUnJP.esm.js";
|
|
14
|
-
import "./tri-
|
|
14
|
+
import "./tri-CtEMMAM6.esm.js";
|
|
15
15
|
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
16
16
|
import "./apiError-C7SFQTB2.esm.js";
|
|
17
17
|
import "./BrowserVisibilityObserverProvider-rim9Jrz-.esm.js";
|
|
@@ -19,7 +19,7 @@ import "./MotionSensorProvider-DCbId4De.esm.js";
|
|
|
19
19
|
import "./permissionServices-BJhGL13R.esm.js";
|
|
20
20
|
import "./camera-DUkgmYMo.esm.js";
|
|
21
21
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CrrN540a.esm.js";
|
|
22
|
-
import "./onDeviceFaceResults-
|
|
22
|
+
import "./onDeviceFaceResults-BiFX_-W5.esm.js";
|
|
23
23
|
import "./ITimerCapability-pltuG1E8.esm.js";
|
|
24
24
|
import "./canvas-_I95hkPg.esm.js";
|
|
25
25
|
import "./backCameraStream-ZyqrFyjO.esm.js";
|
|
@@ -30,13 +30,13 @@ import "./getDeviceClass-DGGzzfqm.esm.js";
|
|
|
30
30
|
import "./types-CMcxlSmH.esm.js";
|
|
31
31
|
import "./StreamCanvasCapture-Bz17q4FP.esm.js";
|
|
32
32
|
import "./permissionGuards-BR2oN573.esm.js";
|
|
33
|
-
import "./recordingService-
|
|
33
|
+
import "./recordingService-CkE5o82_.esm.js";
|
|
34
34
|
import "./mediaRecorderOptions-C3NAkVgK.esm.js";
|
|
35
35
|
import "./session-D4m9r-7U.esm.js";
|
|
36
|
-
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-
|
|
36
|
+
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-DO_8KmND.esm.js";
|
|
37
37
|
import "./idCaptureDefaults-GTCesE6K.esm.js";
|
|
38
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
39
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
38
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-G114Uunh.esm.js";
|
|
39
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-Byx0Y09k.esm.js";
|
|
40
40
|
|
|
41
41
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
42
42
|
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-CNPJD4wG.js";
|
|
2
|
+
import { t as Manager } from "./Manager-Cmz78C-6.js";
|
|
3
|
+
import { t as ActorRefFrom } from "./Actor-BYmFPUr7.js";
|
|
4
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-DaXAeadS.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-DLCbUdzy.js";
|
|
6
|
+
import { t as IncodeCanvas } from "./canvas-lNFq1bim.js";
|
|
7
|
+
import { _ as MLProviderConfig, g as IMLProviderCapability } from "./createFaceAvatar-DFvWGUts.js";
|
|
8
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-bWGcbd3_.js";
|
|
9
|
+
import { a as IRecordingCapability, i as IStorageCapability, o as RecordingConnection } from "./IWasmUtilCapability-DyiEO2jA.js";
|
|
10
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CrjOPSFE.js";
|
|
11
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-DXti432h.js";
|
|
12
|
+
import { t as DeepsightService } from "./deepsightService-DhJ1iwXr.js";
|
|
13
13
|
|
|
14
14
|
//#region ../infra/src/capabilities/IIdCaptureCapability.d.ts
|
|
15
15
|
/**
|
|
@@ -4,7 +4,7 @@ import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.
|
|
|
4
4
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-rim9Jrz-.esm.js";
|
|
5
5
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BJhGL13R.esm.js";
|
|
6
6
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CrrN540a.esm.js";
|
|
7
|
-
import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-
|
|
7
|
+
import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-DO_8KmND.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/internal/idCapture/idCaptureManagerFactory.ts
|
|
10
10
|
function getPermissionStatus(snapshot) {
|
package/dist/{idCaptureStateMachine-BWTVPXMt.esm.js → idCaptureStateMachine-DO_8KmND.esm.js}
RENAMED
|
@@ -3,18 +3,18 @@ import { r as getToken, t as api } from "./api-DsbUi7TO.esm.js";
|
|
|
3
3
|
import { v as revokeObjectURL } from "./events-CqGY1yMq.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-CYcScXcO.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-CoArFTzS.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-uIVQUnJP.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-Bomq1a0z.esm.js";
|
|
9
9
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BJhGL13R.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-BiFX_-W5.esm.js";
|
|
11
11
|
import { t as IncodeCanvas } from "./canvas-_I95hkPg.esm.js";
|
|
12
12
|
import { n as getBackCameraStream } from "./backCameraStream-ZyqrFyjO.esm.js";
|
|
13
13
|
import { n as getWindowDimensions } from "./getDeviceClass-DavNdcxh.esm.js";
|
|
14
14
|
import { t as getDeviceClass } from "./getDeviceClass-DGGzzfqm.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-Bz17q4FP.esm.js";
|
|
16
16
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BR2oN573.esm.js";
|
|
17
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
17
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-CkE5o82_.esm.js";
|
|
18
18
|
import { i as IdCaptureProvider, n as DEFAULT_ID_CAPTURE_MODEL_VERSION, r as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-GTCesE6K.esm.js";
|
|
19
19
|
|
|
20
20
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
@@ -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-1QSFdZVL.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-oH-UOgvy.esm.js");
|
|
1664
1664
|
return loadDeepsightSession({
|
|
1665
1665
|
ds: input.ds,
|
|
1666
1666
|
storage: input.dependencies.storage,
|