@incodetech/core 0.0.0-dev-20260527-b7418cbd → 0.0.0-dev-20260527-e762b8ad
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/{OpenViduRecordingProvider-BW0alKwg.esm.js → OpenViduRecordingProvider-Cu6iha-l.esm.js} +1 -1
- package/dist/{ae-signature-D7lRwRzD.esm.js → ae-signature-CDCW3z6k.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +3 -2
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +1 -1
- package/dist/apiError-CH9VyBh5.esm.js +51 -0
- package/dist/authentication.d.ts +12 -12
- package/dist/authentication.esm.js +14 -14
- package/dist/{authenticationManager-CZz9Oc3h.d.ts → authenticationManager-CXwDnFxJ.d.ts} +2 -2
- package/dist/{authenticationManager-BXYtdLzK.esm.js → authenticationManager-gRC1sCEb.esm.js} +3 -3
- package/dist/{authenticationStateMachine-CYB8jFSq.esm.js → authenticationStateMachine-TIrvdOEV.esm.js} +3 -3
- package/dist/{backCameraStream-DWPmJ84R.esm.js → backCameraStream-5q1r2W2q.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +49 -49
- package/dist/consent.esm.js +1 -1
- package/dist/cpf-ocr.d.ts +18 -18
- package/dist/cpf-ocr.esm.js +1 -1
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/curp-validation.d.ts +6 -6
- package/dist/curp-validation.esm.js +1 -1
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +1 -1
- package/dist/{deepsightLoader-DBoIcGmB.esm.js → deepsightLoader-oQnIw3yy.esm.js} +4 -4
- package/dist/{deepsightService-DsDyoggy.d.ts → deepsightService-CiNHvOj0.d.ts} +2 -2
- package/dist/{deepsightService-CpuKvsN7.esm.js → deepsightService-DgmtJnVh.esm.js} +2 -2
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +71 -71
- package/dist/document-capture.esm.js +4 -4
- package/dist/document-upload.d.ts +44 -44
- package/dist/document-upload.esm.js +3 -3
- package/dist/{documentCaptureStateMachine-DZjFLB0M.esm.js → documentCaptureStateMachine-Ct2kC1XA.esm.js} +2 -2
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +1 -1
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +6 -5
- package/dist/{ekybStateMachine-B2ZeI55j.esm.js → ekybStateMachine-Dprv83b-.esm.js} +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-DTkjnDHv.esm.js → ekycStateMachine-CDOMcZGt.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +2 -1
- package/dist/{electronicSignatureManager-Bzx7cMGR.esm.js → electronicSignatureManager-DeXWxqNA.esm.js} +49 -11
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-Du60Gnqg.esm.js → emailManager-CetA61j7.esm.js} +1 -1
- package/dist/{emailManager-VSV3VG9_.d.ts → emailManager-DWX4Mm5F.d.ts} +2 -2
- package/dist/extensibility.d.ts +16 -16
- package/dist/extensibility.esm.js +25 -24
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-D-RCJEQy.d.ts → faceCaptureManagerFactory-BodYisaN.d.ts} +8 -8
- package/dist/{faceCaptureManagerFactory-B8nSvH2S.esm.js → faceCaptureManagerFactory-GCqj24xa.esm.js} +2 -2
- package/dist/{faceCaptureSetup-CsXtJXEY.esm.js → faceCaptureSetup-B9RFaTgo.esm.js} +2 -2
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +6 -5
- package/dist/{flowCompletionService-B3AdSk69.esm.js → flowCompletionService-D3jTfJDC.esm.js} +1 -1
- package/dist/{flowServices-IF8xohdN.esm.js → flowServices-CVBVe9fh.esm.js} +2 -2
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +1 -1
- package/dist/{getDeviceClass-Cth-3Wjt.esm.js → getDeviceClass-B6U_P2pO.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +1 -1
- package/dist/home.d.ts +15 -15
- package/dist/id-ocr.d.ts +57 -57
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +11 -11
- package/dist/id.esm.js +16 -15
- package/dist/{idCaptureManager-G4x8a9jr.esm.js → idCaptureManager-BM3xxi1m.esm.js} +3 -3
- package/dist/{idCaptureManager-DnkNEBOQ.d.ts → idCaptureManager-Bvw3NEhH.d.ts} +7 -7
- package/dist/{idCaptureStateMachine-B1SDR_su.esm.js → idCaptureStateMachine-DyPzyGnm.esm.js} +9 -9
- package/dist/{idOcrStateMachine-BOqQUm99.esm.js → idOcrStateMachine-can5Er3s.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +36 -36
- package/dist/identity-reuse.esm.js +1 -1
- package/dist/{index-W2B4aSBn.d.ts → index-DZlhNAOR.d.ts} +2 -2
- package/dist/{index-ab9woRUg.d.ts → index-xu3NbUht.d.ts} +183 -122
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +56 -56
- package/dist/mandatory-consent.esm.js +1 -1
- package/dist/{openviduLazy-BTRIs-RB.esm.js → openviduLazy-CO59qUvG.esm.js} +1 -1
- package/dist/openviduLazy-DbNAreZz.esm.js +3 -0
- package/dist/{permissionServices-D6OV8ebE.esm.js → permissionServices-4py90m2a.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-BGrHrvUi.esm.js → phoneManager-0ec4qDAL.esm.js} +1 -1
- package/dist/{phoneManager-CAxxveoW.d.ts → phoneManager-BYkD5xRV.d.ts} +2 -2
- package/dist/{qe-signature-DN2lfUZG.esm.js → qe-signature-DiXt5xMf.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +3 -2
- package/dist/{recordingService-C9siiy5u.esm.js → recordingService-DJPyoT4J.esm.js} +10 -10
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/selfie.d.ts +12 -12
- package/dist/selfie.esm.js +15 -15
- package/dist/{selfieManager-DqCKljQZ.d.ts → selfieManager-BG8fq_FT.d.ts} +2 -2
- package/dist/{selfieManager-Zp0Ij7yg.esm.js → selfieManager-CuwAFh3w.esm.js} +3 -3
- package/dist/{selfieStateMachine-CImppJ-8.esm.js → selfieStateMachine-BnRGtQ0j.esm.js} +2 -2
- package/dist/{session-CE2VlCwg.esm.js → session-CCaOwDaZ.esm.js} +2 -51
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +4 -3
- package/dist/{sessionInitializer-CK49Qp7F.esm.js → sessionInitializer-GjxPhy6q.esm.js} +1 -1
- package/dist/{setup-D7vAtBRF.esm.js → setup-BFWg3ruS.esm.js} +1 -1
- package/dist/{setup-GFry_Cwc.d.ts → setup-BIc5kpKm.d.ts} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +1 -1
- package/dist/trust-graph.d.ts +1 -1
- package/dist/{types-DIsQ9JUj.d.ts → types-Bcj4sNA0.d.ts} +1 -1
- package/dist/{types-ClLIGfX1.d.ts → types-EXVJmBuY.d.ts} +1 -1
- package/dist/{types-BNddPgzi.d.ts → types-cQjCrKJE.d.ts} +2 -2
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +2 -2
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +93 -93
- package/dist/workflow.esm.js +44 -43
- package/package.json +3 -3
- package/dist/openviduLazy-bBtOlBQQ.esm.js +0 -3
- /package/dist/{Actor-DhAnkIwf.d.ts → Actor-CARlguSq.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-D_nkDYje.esm.js → BrowserStorageProvider-EtdbBJGr.esm.js} +0 -0
- /package/dist/{ITimerCapability-BVO_DTWo.esm.js → ITimerCapability-2pw-S97e.esm.js} +0 -0
- /package/dist/{Manager-DCgvJ8qz.d.ts → Manager-BeGOXZ8j.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-DSvZr8IV.esm.js → MotionSensorProvider-BiZTqw83.esm.js} +0 -0
- /package/dist/{StateMachine-DOolktTn.d.ts → StateMachine-CDm3JH51.d.ts} +0 -0
- /package/dist/{addressSearch-C1KbBt1T.esm.js → addressSearch-CJtpPfHp.esm.js} +0 -0
- /package/dist/{antifraudStateMachine-BO4aULYl.esm.js → antifraudStateMachine-DG6ZVhgf.esm.js} +0 -0
- /package/dist/{camera-MPUbZOp5.d.ts → camera-BMF1a_t8.d.ts} +0 -0
- /package/dist/{camera-Dwo-NOc2.esm.js → camera-CUAQ-q4e.esm.js} +0 -0
- /package/dist/{consentStateMachine-BdABUcPQ.esm.js → consentStateMachine-DoAMTUpJ.esm.js} +0 -0
- /package/dist/{cpf-PPz2Njto.esm.js → cpf-C_GpPcp9.esm.js} +0 -0
- /package/dist/{curpValidationStateMachine-BQWCI1m5.esm.js → curpValidationStateMachine-DOxJlK7O.esm.js} +0 -0
- /package/dist/{customWatchlistStateMachine-qeE4R8cp.esm.js → customWatchlistStateMachine-C5qmtYkf.esm.js} +0 -0
- /package/dist/{dateUtils-UoN5xswP.esm.js → dateUtils-BGs-FxcI.esm.js} +0 -0
- /package/dist/{emailStateMachine-EDTq3JP9.esm.js → emailStateMachine-B4Wtz_HA.esm.js} +0 -0
- /package/dist/{faceMatchStateMachine-y_vo2fqO.esm.js → faceMatchStateMachine-DDJuYnTn.esm.js} +0 -0
- /package/dist/{flowCompletionService-B8sayu_Y.d.ts → flowCompletionService-C4A-qYuH.d.ts} +0 -0
- /package/dist/{geolocationStateMachine-CA8HXfNN.esm.js → geolocationStateMachine-Bvj_QrZB.esm.js} +0 -0
- /package/dist/{getDeviceClass-D_cBaNTv.esm.js → getDeviceClass-CK6VGnUc.esm.js} +0 -0
- /package/dist/{governmentValidationStateMachine-DoJ2opyH.esm.js → governmentValidationStateMachine-f0oCTSJG.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-BCKDmUlS.esm.js → idVerificationStateMachine-K9JNlir9.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-2jXys2zb.esm.js → identityReuseStateMachine-BmzyRrev.esm.js} +0 -0
- /package/dist/{invokeOnCaptureCallback-DZBjD4Oa.esm.js → invokeOnCaptureCallback-BxoTAyzA.esm.js} +0 -0
- /package/dist/{lib-DUMWi-8w.esm.js → lib-CU2Xhl44.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-BKxh2kVL.esm.js → mandatoryConsentStateMachine-WrlXxYoV.esm.js} +0 -0
- /package/dist/{phoneStateMachine-B_TIPRDd.esm.js → phoneStateMachine-DpZMDLlL.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-CHi0mV4L.esm.js → redirectToMobileStateMachine-BLf3Lf35.esm.js} +0 -0
- /package/dist/{runChildModule-CnI5vQ5k.esm.js → runChildModule-DQucWuaz.esm.js} +0 -0
- /package/dist/{signatureStateMachine-DKh5CVX5.esm.js → signatureStateMachine-D-xEAiA4.esm.js} +0 -0
- /package/dist/{types-Bdh04xu9.d.ts → types-CL7hCbCA.d.ts} +0 -0
- /package/dist/{types-BYqs4TiJ.d.ts → types-CdzhDWOw.d.ts} +0 -0
- /package/dist/{warmup-D7Ox_nhs.d.ts → warmup-5M9V24RH.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-DgyqzdxG.esm.js → watchlistForBusinessStateMachine-DZFCU5-e.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-DIHYm-er.esm.js → watchlistStateMachine-Lme04iSM.esm.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BeGOXZ8j.js";
|
|
2
|
+
import "./Actor-CARlguSq.js";
|
|
3
|
+
import * as xstate74 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-verification/types.d.ts
|
|
6
6
|
type IdVerificationConfig = {
|
|
@@ -32,26 +32,26 @@ type IdVerificationContext = {
|
|
|
32
32
|
type IdVerificationInput = {
|
|
33
33
|
config: IdVerificationConfig;
|
|
34
34
|
};
|
|
35
|
-
declare const idVerificationMachine:
|
|
35
|
+
declare const idVerificationMachine: xstate74.StateMachine<IdVerificationContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "CONTINUE";
|
|
39
39
|
}, {
|
|
40
|
-
[x: string]:
|
|
40
|
+
[x: string]: xstate74.ActorRefFromLogic<xstate74.PromiseActorLogic<ProcessIdResponse, {
|
|
41
41
|
isSecondId: boolean;
|
|
42
42
|
queueName: string;
|
|
43
|
-
},
|
|
43
|
+
}, xstate74.EventObject>> | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
src: "processId";
|
|
46
|
-
logic:
|
|
46
|
+
logic: xstate74.PromiseActorLogic<ProcessIdResponse, {
|
|
47
47
|
isSecondId: boolean;
|
|
48
48
|
queueName: string;
|
|
49
|
-
},
|
|
49
|
+
}, xstate74.EventObject>;
|
|
50
50
|
id: string | undefined;
|
|
51
51
|
}, never, {
|
|
52
52
|
type: "isDocumentExpired";
|
|
53
53
|
params: unknown;
|
|
54
|
-
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput,
|
|
54
|
+
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput, xstate74.NonReducibleUnknown, xstate74.EventObject, xstate74.MetaObject, {
|
|
55
55
|
readonly id: "idVerification";
|
|
56
56
|
readonly initial: "idle";
|
|
57
57
|
readonly context: ({
|
|
@@ -60,50 +60,50 @@ declare const idVerificationMachine: xstate880.StateMachine<IdVerificationContex
|
|
|
60
60
|
spawn: {
|
|
61
61
|
<TSrc extends "processId">(logic: TSrc, ...[options]: {
|
|
62
62
|
src: "processId";
|
|
63
|
-
logic:
|
|
63
|
+
logic: xstate74.PromiseActorLogic<ProcessIdResponse, {
|
|
64
64
|
isSecondId: boolean;
|
|
65
65
|
queueName: string;
|
|
66
|
-
},
|
|
66
|
+
}, xstate74.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
} extends infer T ? T extends {
|
|
69
69
|
src: "processId";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate74.PromiseActorLogic<ProcessIdResponse, {
|
|
71
71
|
isSecondId: boolean;
|
|
72
72
|
queueName: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate74.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
} ? T extends {
|
|
76
76
|
src: TSrc;
|
|
77
|
-
} ?
|
|
77
|
+
} ? xstate74.ConditionalRequired<[options?: ({
|
|
78
78
|
id?: T["id"] | undefined;
|
|
79
79
|
systemId?: string;
|
|
80
|
-
input?:
|
|
80
|
+
input?: xstate74.InputFrom<T["logic"]> | undefined;
|
|
81
81
|
syncSnapshot?: boolean;
|
|
82
|
-
} & { [K in
|
|
82
|
+
} & { [K in xstate74.RequiredActorOptions<T>]: unknown }) | undefined], xstate74.IsNotNever<xstate74.RequiredActorOptions<T>>> : never : never : never): xstate74.ActorRefFromLogic<xstate74.GetConcreteByKey<{
|
|
83
83
|
src: "processId";
|
|
84
|
-
logic:
|
|
84
|
+
logic: xstate74.PromiseActorLogic<ProcessIdResponse, {
|
|
85
85
|
isSecondId: boolean;
|
|
86
86
|
queueName: string;
|
|
87
|
-
},
|
|
87
|
+
}, xstate74.EventObject>;
|
|
88
88
|
id: string | undefined;
|
|
89
89
|
}, "src", TSrc>["logic"]>;
|
|
90
|
-
<TLogic extends
|
|
90
|
+
<TLogic extends xstate74.AnyActorLogic>(src: TLogic, ...[options]: xstate74.ConditionalRequired<[options?: ({
|
|
91
91
|
id?: never;
|
|
92
92
|
systemId?: string;
|
|
93
|
-
input?:
|
|
93
|
+
input?: xstate74.InputFrom<TLogic> | undefined;
|
|
94
94
|
syncSnapshot?: boolean;
|
|
95
|
-
} & { [K in
|
|
95
|
+
} & { [K in xstate74.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate74.IsNotNever<xstate74.RequiredLogicInput<TLogic>>>): xstate74.ActorRefFromLogic<TLogic>;
|
|
96
96
|
};
|
|
97
97
|
input: IdVerificationInput;
|
|
98
|
-
self:
|
|
98
|
+
self: xstate74.ActorRef<xstate74.MachineSnapshot<IdVerificationContext, {
|
|
99
99
|
type: "LOAD";
|
|
100
100
|
} | {
|
|
101
101
|
type: "CONTINUE";
|
|
102
|
-
}, Record<string,
|
|
102
|
+
}, Record<string, xstate74.AnyActorRef | undefined>, xstate74.StateValue, string, unknown, any, any>, {
|
|
103
103
|
type: "LOAD";
|
|
104
104
|
} | {
|
|
105
105
|
type: "CONTINUE";
|
|
106
|
-
},
|
|
106
|
+
}, xstate74.AnyEventObject>;
|
|
107
107
|
}) => {
|
|
108
108
|
config: IdVerificationConfig;
|
|
109
109
|
isSecondId: boolean;
|
|
@@ -127,15 +127,15 @@ declare const idVerificationMachine: xstate880.StateMachine<IdVerificationContex
|
|
|
127
127
|
} | {
|
|
128
128
|
type: "CONTINUE";
|
|
129
129
|
};
|
|
130
|
-
self:
|
|
130
|
+
self: xstate74.ActorRef<xstate74.MachineSnapshot<IdVerificationContext, {
|
|
131
131
|
type: "LOAD";
|
|
132
132
|
} | {
|
|
133
133
|
type: "CONTINUE";
|
|
134
|
-
}, Record<string,
|
|
134
|
+
}, Record<string, xstate74.AnyActorRef>, xstate74.StateValue, string, unknown, any, any>, {
|
|
135
135
|
type: "LOAD";
|
|
136
136
|
} | {
|
|
137
137
|
type: "CONTINUE";
|
|
138
|
-
},
|
|
138
|
+
}, xstate74.AnyEventObject>;
|
|
139
139
|
}) => {
|
|
140
140
|
isSecondId: boolean;
|
|
141
141
|
queueName: string;
|
|
@@ -2,7 +2,7 @@ import "./api-eqRXuVG-.esm.js";
|
|
|
2
2
|
import { o as createManagerInstrumentation } from "./events-Dnh2PVAZ.esm.js";
|
|
3
3
|
import "./endpoints-D4cNQqhS.esm.js";
|
|
4
4
|
import { c as createManager, s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
5
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-K9JNlir9.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
8
8
|
function createIdVerificationActor(options) {
|
package/dist/id.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./StateMachine-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./deepsightService-
|
|
10
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
11
|
-
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-5M9V24RH.js";
|
|
2
|
+
import "./Manager-BeGOXZ8j.js";
|
|
3
|
+
import "./Actor-CARlguSq.js";
|
|
4
|
+
import "./StateMachine-CDm3JH51.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-BMF1a_t8.js";
|
|
6
|
+
import "./types-EXVJmBuY.js";
|
|
7
|
+
import "./types-CdzhDWOw.js";
|
|
8
|
+
import "./types-cQjCrKJE.js";
|
|
9
|
+
import "./deepsightService-CiNHvOj0.js";
|
|
10
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CL7hCbCA.js";
|
|
11
|
+
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-Bvw3NEhH.js";
|
|
12
12
|
|
|
13
13
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
14
14
|
type IdCaptureOnlyManager = IdCaptureManager;
|
package/dist/id.esm.js
CHANGED
|
@@ -6,24 +6,25 @@ import "./endpoints-D4cNQqhS.esm.js";
|
|
|
6
6
|
import "./stats-Dc1nW_Oc.esm.js";
|
|
7
7
|
import "./IpifyProvider-Dt8MgLjg.esm.js";
|
|
8
8
|
import "./browserSimulation-DoIsN6qC.esm.js";
|
|
9
|
-
import "./sessionInitializer-
|
|
9
|
+
import "./sessionInitializer-GjxPhy6q.esm.js";
|
|
10
10
|
import "./platform-Ca6QEq2_.esm.js";
|
|
11
11
|
import "./getBrowser-DHeJ7PSV.esm.js";
|
|
12
12
|
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
13
|
-
import
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./getDeviceClass-
|
|
23
|
-
import "./
|
|
24
|
-
import
|
|
25
|
-
import { n as
|
|
26
|
-
import { t as
|
|
13
|
+
import "./apiError-CH9VyBh5.esm.js";
|
|
14
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-EtdbBJGr.esm.js";
|
|
15
|
+
import "./MotionSensorProvider-BiZTqw83.esm.js";
|
|
16
|
+
import "./permissionServices-4py90m2a.esm.js";
|
|
17
|
+
import "./camera-CUAQ-q4e.esm.js";
|
|
18
|
+
import "./recordingService-DJPyoT4J.esm.js";
|
|
19
|
+
import "./ITimerCapability-2pw-S97e.esm.js";
|
|
20
|
+
import "./deepsightService-DgmtJnVh.esm.js";
|
|
21
|
+
import "./backCameraStream-5q1r2W2q.esm.js";
|
|
22
|
+
import "./getDeviceClass-CK6VGnUc.esm.js";
|
|
23
|
+
import "./getDeviceClass-B6U_P2pO.esm.js";
|
|
24
|
+
import "./session-CCaOwDaZ.esm.js";
|
|
25
|
+
import { a as startRecordingSession, c as uploadIdImage, d as ID_ERROR_CODES, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as processId, l as uploadManualIdFile, m as MANUAL_UPLOAD_MAX_RETRIES, n as initializeIdCapture, o as stopRecording, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as validateUploadResponse } from "./idCaptureStateMachine-DyPzyGnm.esm.js";
|
|
26
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BM3xxi1m.esm.js";
|
|
27
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BxoTAyzA.esm.js";
|
|
27
28
|
|
|
28
29
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
29
30
|
function buildSubImage(canvas) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dnh2PVAZ.esm.js";
|
|
2
2
|
import { c as createManager, s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
3
|
-
import { n as setWasmDsFlagSync, t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
4
|
-
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
5
|
-
import { h as mapDigitalIdScreenName, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
3
|
+
import { n as setWasmDsFlagSync, t as BrowserStorageProvider } from "./BrowserStorageProvider-EtdbBJGr.esm.js";
|
|
4
|
+
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-4py90m2a.esm.js";
|
|
5
|
+
import { h as mapDigitalIdScreenName, t as idCaptureMachine } from "./idCaptureStateMachine-DyPzyGnm.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/internal/idCapture/idCaptureManagerFactory.ts
|
|
8
8
|
function getPermissionStatus(snapshot) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
4
|
-
import { t as CameraStream } from "./camera-
|
|
5
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
6
|
-
import { c as MLProviderConfig, d as RecordingConnection, l as IStorageCapability, n as StreamCanvasCapture, r as IncodeCanvas, s as IMLProviderCapability, t as DeepsightService, u as IRecordingCapability } from "./deepsightService-
|
|
7
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-BeGOXZ8j.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CARlguSq.js";
|
|
3
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-CDm3JH51.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-BMF1a_t8.js";
|
|
5
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-cQjCrKJE.js";
|
|
6
|
+
import { c as MLProviderConfig, d as RecordingConnection, l as IStorageCapability, n as StreamCanvasCapture, r as IncodeCanvas, s as IMLProviderCapability, t as DeepsightService, u as IRecordingCapability } from "./deepsightService-CiNHvOj0.js";
|
|
7
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CL7hCbCA.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/capabilities/IIdCaptureCapability.d.ts
|
|
10
10
|
/**
|
package/dist/{idCaptureStateMachine-B1SDR_su.esm.js → idCaptureStateMachine-DyPzyGnm.esm.js}
RENAMED
|
@@ -4,15 +4,15 @@ import { r as getToken, t as api } from "./api-eqRXuVG-.esm.js";
|
|
|
4
4
|
import { S as revokeObjectURL } from "./events-Dnh2PVAZ.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-D4cNQqhS.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-Dc1nW_Oc.esm.js";
|
|
7
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
7
|
+
import { t as getDisableIpify } from "./sessionInitializer-GjxPhy6q.esm.js";
|
|
8
8
|
import { n as isDesktop } from "./platform-Ca6QEq2_.esm.js";
|
|
9
9
|
import { a as fromPromise, i as fromCallback, n as sendTo, o as and, r as assign, t as setup } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
10
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
11
|
-
import { C as stopRecording$1, S as startRecording, a as isReadyForCaptureFromPermission, c as StreamCanvasCapture, i as flagIdManualReview, n as preloadOpenViduProvider, o as needsMotionPrimeOnlyFromPermission, s as resolveStoredPermissionResult, w as StreamCanvasProcessingSession, x as createRecordingSession } from "./recordingService-
|
|
12
|
-
import { n as IncodeCanvas } from "./deepsightService-
|
|
13
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
14
|
-
import { n as getWindowDimensions } from "./getDeviceClass-
|
|
15
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
10
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-4py90m2a.esm.js";
|
|
11
|
+
import { C as stopRecording$1, S as startRecording, a as isReadyForCaptureFromPermission, c as StreamCanvasCapture, i as flagIdManualReview, n as preloadOpenViduProvider, o as needsMotionPrimeOnlyFromPermission, s as resolveStoredPermissionResult, w as StreamCanvasProcessingSession, x as createRecordingSession } from "./recordingService-DJPyoT4J.esm.js";
|
|
12
|
+
import { n as IncodeCanvas } from "./deepsightService-DgmtJnVh.esm.js";
|
|
13
|
+
import { t as getBackCameraStream } from "./backCameraStream-5q1r2W2q.esm.js";
|
|
14
|
+
import { n as getWindowDimensions } from "./getDeviceClass-CK6VGnUc.esm.js";
|
|
15
|
+
import { t as getDeviceClass } from "./getDeviceClass-B6U_P2pO.esm.js";
|
|
16
16
|
|
|
17
17
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
18
18
|
const TERMINAL_FAIL_REASONS = new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -730,7 +730,7 @@ function preloadIdRecordingProvider(config) {
|
|
|
730
730
|
preloadOpenViduProvider();
|
|
731
731
|
}
|
|
732
732
|
async function createOpenViduRecordingProvider() {
|
|
733
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
733
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-Cu6iha-l.esm.js");
|
|
734
734
|
return new OpenViduRecordingProvider();
|
|
735
735
|
}
|
|
736
736
|
async function startRecordingSession(params) {
|
|
@@ -1501,7 +1501,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1501
1501
|
});
|
|
1502
1502
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1503
1503
|
if (!input.dependencies) return;
|
|
1504
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1504
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-oQnIw3yy.esm.js");
|
|
1505
1505
|
return loadDeepsightSession({
|
|
1506
1506
|
ds: input.ds,
|
|
1507
1507
|
storage: input.dependencies.storage,
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
|
2
2
|
import { x as getTimestamp } from "./events-Dnh2PVAZ.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-D4cNQqhS.esm.js";
|
|
4
4
|
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
-
import { t as validateCPF } from "./cpf-
|
|
5
|
+
import { t as validateCPF } from "./cpf-C_GpPcp9.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/providers/browser/DateFormattingProvider.ts
|
|
8
8
|
var DateFormattingProvider = class {
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -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-BeGOXZ8j.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CARlguSq.js";
|
|
3
|
+
import * as xstate16 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/identity-reuse/types.d.ts
|
|
6
6
|
|
|
@@ -76,7 +76,7 @@ type IdentityReuseContext = {
|
|
|
76
76
|
type IdentityReuseInput = {
|
|
77
77
|
config: IdentityReuseConfig;
|
|
78
78
|
};
|
|
79
|
-
declare const identityReuseMachine:
|
|
79
|
+
declare const identityReuseMachine: xstate16.StateMachine<IdentityReuseContext, {
|
|
80
80
|
type: "LOAD";
|
|
81
81
|
} | {
|
|
82
82
|
type: "DOCUMENT_CHOSEN";
|
|
@@ -88,36 +88,36 @@ declare const identityReuseMachine: xstate157.StateMachine<IdentityReuseContext,
|
|
|
88
88
|
} | {
|
|
89
89
|
type: "RETRY";
|
|
90
90
|
}, {
|
|
91
|
-
[x: string]:
|
|
92
|
-
},
|
|
91
|
+
[x: string]: xstate16.ActorRefFromLogic<xstate16.PromiseActorLogic<FetchDocumentsResponse, void, xstate16.EventObject>> | xstate16.ActorRefFromLogic<xstate16.PromiseActorLogic<SubmitResponse, SubmitParams, xstate16.EventObject>> | undefined;
|
|
92
|
+
}, xstate16.Values<{
|
|
93
93
|
fetchDocuments: {
|
|
94
94
|
src: "fetchDocuments";
|
|
95
|
-
logic:
|
|
95
|
+
logic: xstate16.PromiseActorLogic<FetchDocumentsResponse, void, xstate16.EventObject>;
|
|
96
96
|
id: string | undefined;
|
|
97
97
|
};
|
|
98
98
|
submitDocument: {
|
|
99
99
|
src: "submitDocument";
|
|
100
|
-
logic:
|
|
100
|
+
logic: xstate16.PromiseActorLogic<SubmitResponse, SubmitParams, xstate16.EventObject>;
|
|
101
101
|
id: string | undefined;
|
|
102
102
|
};
|
|
103
|
-
}>,
|
|
103
|
+
}>, xstate16.Values<{
|
|
104
104
|
setDocuments: {
|
|
105
105
|
type: "setDocuments";
|
|
106
|
-
params:
|
|
106
|
+
params: xstate16.NonReducibleUnknown;
|
|
107
|
+
};
|
|
108
|
+
setSelectedDocument: {
|
|
109
|
+
type: "setSelectedDocument";
|
|
110
|
+
params: xstate16.NonReducibleUnknown;
|
|
107
111
|
};
|
|
108
112
|
setError: {
|
|
109
113
|
type: "setError";
|
|
110
|
-
params:
|
|
114
|
+
params: xstate16.NonReducibleUnknown;
|
|
111
115
|
};
|
|
112
116
|
clearError: {
|
|
113
117
|
type: "clearError";
|
|
114
|
-
params:
|
|
115
|
-
};
|
|
116
|
-
setSelectedDocument: {
|
|
117
|
-
type: "setSelectedDocument";
|
|
118
|
-
params: xstate157.NonReducibleUnknown;
|
|
118
|
+
params: xstate16.NonReducibleUnknown;
|
|
119
119
|
};
|
|
120
|
-
}>,
|
|
120
|
+
}>, xstate16.Values<{
|
|
121
121
|
hasDocuments: {
|
|
122
122
|
type: "hasDocuments";
|
|
123
123
|
params: unknown;
|
|
@@ -126,7 +126,7 @@ declare const identityReuseMachine: xstate157.StateMachine<IdentityReuseContext,
|
|
|
126
126
|
type: "hasSelection";
|
|
127
127
|
params: unknown;
|
|
128
128
|
};
|
|
129
|
-
}>, never, "error" | "idle" | "finished" | "loading" | "
|
|
129
|
+
}>, never, "error" | "idle" | "finished" | "loading" | "documentsFound" | "submitting", string, IdentityReuseInput, xstate16.NonReducibleUnknown, xstate16.EventObject, xstate16.MetaObject, {
|
|
130
130
|
readonly id: "identityReuse";
|
|
131
131
|
readonly initial: "idle";
|
|
132
132
|
readonly context: ({
|
|
@@ -135,55 +135,55 @@ declare const identityReuseMachine: xstate157.StateMachine<IdentityReuseContext,
|
|
|
135
135
|
spawn: {
|
|
136
136
|
<TSrc extends "fetchDocuments" | "submitDocument">(logic: TSrc, ...[options]: ({
|
|
137
137
|
src: "fetchDocuments";
|
|
138
|
-
logic:
|
|
138
|
+
logic: xstate16.PromiseActorLogic<FetchDocumentsResponse, void, xstate16.EventObject>;
|
|
139
139
|
id: string | undefined;
|
|
140
140
|
} extends infer T ? T extends {
|
|
141
141
|
src: "fetchDocuments";
|
|
142
|
-
logic:
|
|
142
|
+
logic: xstate16.PromiseActorLogic<FetchDocumentsResponse, void, xstate16.EventObject>;
|
|
143
143
|
id: string | undefined;
|
|
144
144
|
} ? T extends {
|
|
145
145
|
src: TSrc;
|
|
146
|
-
} ?
|
|
146
|
+
} ? xstate16.ConditionalRequired<[options?: ({
|
|
147
147
|
id?: T["id"] | undefined;
|
|
148
148
|
systemId?: string;
|
|
149
|
-
input?:
|
|
149
|
+
input?: xstate16.InputFrom<T["logic"]> | undefined;
|
|
150
150
|
syncSnapshot?: boolean;
|
|
151
|
-
} & { [K in
|
|
151
|
+
} & { [K in xstate16.RequiredActorOptions<T>]: unknown }) | undefined], xstate16.IsNotNever<xstate16.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
152
152
|
src: "submitDocument";
|
|
153
|
-
logic:
|
|
153
|
+
logic: xstate16.PromiseActorLogic<SubmitResponse, SubmitParams, xstate16.EventObject>;
|
|
154
154
|
id: string | undefined;
|
|
155
155
|
} extends infer T_1 ? T_1 extends {
|
|
156
156
|
src: "submitDocument";
|
|
157
|
-
logic:
|
|
157
|
+
logic: xstate16.PromiseActorLogic<SubmitResponse, SubmitParams, xstate16.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
} ? T_1 extends {
|
|
160
160
|
src: TSrc;
|
|
161
|
-
} ?
|
|
161
|
+
} ? xstate16.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: T_1["id"] | undefined;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate16.InputFrom<T_1["logic"]> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K_1 in
|
|
166
|
+
} & { [K_1 in xstate16.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate16.IsNotNever<xstate16.RequiredActorOptions<T_1>>> : never : never : never)): xstate16.ActorRefFromLogic<xstate16.GetConcreteByKey<xstate16.Values<{
|
|
167
167
|
fetchDocuments: {
|
|
168
168
|
src: "fetchDocuments";
|
|
169
|
-
logic:
|
|
169
|
+
logic: xstate16.PromiseActorLogic<FetchDocumentsResponse, void, xstate16.EventObject>;
|
|
170
170
|
id: string | undefined;
|
|
171
171
|
};
|
|
172
172
|
submitDocument: {
|
|
173
173
|
src: "submitDocument";
|
|
174
|
-
logic:
|
|
174
|
+
logic: xstate16.PromiseActorLogic<SubmitResponse, SubmitParams, xstate16.EventObject>;
|
|
175
175
|
id: string | undefined;
|
|
176
176
|
};
|
|
177
177
|
}>, "src", TSrc>["logic"]>;
|
|
178
|
-
<TLogic extends
|
|
178
|
+
<TLogic extends xstate16.AnyActorLogic>(src: TLogic, ...[options]: xstate16.ConditionalRequired<[options?: ({
|
|
179
179
|
id?: never;
|
|
180
180
|
systemId?: string;
|
|
181
|
-
input?:
|
|
181
|
+
input?: xstate16.InputFrom<TLogic> | undefined;
|
|
182
182
|
syncSnapshot?: boolean;
|
|
183
|
-
} & { [K in
|
|
183
|
+
} & { [K in xstate16.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate16.IsNotNever<xstate16.RequiredLogicInput<TLogic>>>): xstate16.ActorRefFromLogic<TLogic>;
|
|
184
184
|
};
|
|
185
185
|
input: IdentityReuseInput;
|
|
186
|
-
self:
|
|
186
|
+
self: xstate16.ActorRef<xstate16.MachineSnapshot<IdentityReuseContext, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "DOCUMENT_CHOSEN";
|
|
@@ -194,7 +194,7 @@ declare const identityReuseMachine: xstate157.StateMachine<IdentityReuseContext,
|
|
|
194
194
|
type: "SKIP";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RETRY";
|
|
197
|
-
}, Record<string,
|
|
197
|
+
}, Record<string, xstate16.AnyActorRef | undefined>, xstate16.StateValue, string, unknown, any, any>, {
|
|
198
198
|
type: "LOAD";
|
|
199
199
|
} | {
|
|
200
200
|
type: "DOCUMENT_CHOSEN";
|
|
@@ -205,7 +205,7 @@ declare const identityReuseMachine: xstate157.StateMachine<IdentityReuseContext,
|
|
|
205
205
|
type: "SKIP";
|
|
206
206
|
} | {
|
|
207
207
|
type: "RETRY";
|
|
208
|
-
},
|
|
208
|
+
}, xstate16.AnyEventObject>;
|
|
209
209
|
}) => {
|
|
210
210
|
config: IdentityReuseConfig;
|
|
211
211
|
documents: never[];
|
|
@@ -2,7 +2,7 @@ import "./api-eqRXuVG-.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dnh2PVAZ.esm.js";
|
|
3
3
|
import "./endpoints-D4cNQqhS.esm.js";
|
|
4
4
|
import { c as createManager, s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
-
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-
|
|
5
|
+
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-BmzyRrev.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as Flow } from "./types-
|
|
2
|
-
import { t as FinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { n as Flow } from "./types-cQjCrKJE.js";
|
|
2
|
+
import { t as FinishStatus } from "./flowCompletionService-C4A-qYuH.js";
|
|
3
3
|
|
|
4
4
|
//#region src/internal/flow-events/flowEvents.d.ts
|
|
5
5
|
type FlowStartedEvent = {
|