@incodetech/core 0.0.0-dev-20260701-bdeaa221 → 0.0.0-dev-20260701-b6fc71dc
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/{addressSearch-BGuQejtl.esm.js → addressSearch-C6cEsEqK.esm.js} +1 -1
- package/dist/{ae-signature-G5MZoOKy.esm.js → ae-signature-hbFTJkGk.esm.js} +1 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/ae-signature.esm.js +3 -3
- package/dist/antifraud.esm.js +3 -3
- package/dist/{antifraudManager-BwWxvE5A.esm.js → antifraudManager-BKdQoMFf.esm.js} +2 -2
- package/dist/{antifraudStateMachine-DLKtOiwd.esm.js → antifraudStateMachine-C0NGnP9W.esm.js} +1 -1
- package/dist/authentication.esm.js +5 -5
- package/dist/{authenticationManager-Mk-k_cwG.esm.js → authenticationManager-BVM5Czih.esm.js} +3 -3
- package/dist/{authenticationStateMachine-BMnMVLy-.esm.js → authenticationStateMachine-BUb8hzFa.esm.js} +2 -2
- package/dist/certificate-issuance.d.ts +28 -28
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceStateMachine-x9HFaxKK.esm.js → certificateIssuanceStateMachine-BGtRVDgj.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +3 -3
- package/dist/{consentManager-Cj83yok8.esm.js → consentManager-BtnPZUW4.esm.js} +2 -2
- package/dist/{consentManager-B--Uv8aw.d.ts → consentManager-DTzlkzyY.d.ts} +52 -52
- package/dist/{consentStateMachine-YtU_4jUt.esm.js → consentStateMachine-DO2JqoZW.esm.js} +1 -1
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/cpf-ocr.esm.js +2 -2
- package/dist/{cpfOcrManager-D8H0HGKj.esm.js → cpfOcrManager-C4rLgKsu.esm.js} +1 -1
- package/dist/{cpfOcrManager-C0BUpDyT.d.ts → cpfOcrManager-DvYfmJuu.d.ts} +20 -20
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/curp-validation.esm.js +3 -3
- package/dist/{curpValidationManager-DRHOME_q.esm.js → curpValidationManager-BafobPXC.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-B68HEUSO.esm.js → curpValidationStateMachine-DXTPK6vI.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customWatchlistStateMachine-ji778XCE.esm.js → customWatchlistStateMachine-B4G3Chkx.esm.js} +1 -1
- package/dist/document-capture.d.ts +173 -173
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureStateMachine-BKXzGfAp.esm.js → documentCaptureStateMachine-DSOX2epf.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsStateMachine-BZSn4t1z.esm.js → dynamicFormsStateMachine-BXHcaocI.esm.js} +1 -1
- package/dist/ekyb.esm.js +6 -6
- package/dist/{ekybStateMachine-DiyeD-bn.esm.js → ekybStateMachine-CTf3nb0j.esm.js} +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-C9681Yzd.esm.js → ekycStateMachine-Bytm3LyZ.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +2 -2
- package/dist/{electronicSignatureManager-DTX6Pccb.esm.js → electronicSignatureManager-BNglIp7-.esm.js} +1 -1
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-CyJ3OwB0.esm.js → emailManager-CH6GlUSk.esm.js} +2 -2
- package/dist/{emailStateMachine-DlZr3jep.esm.js → emailStateMachine-CajoaJk-.esm.js} +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +29 -29
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-C6K2AbsU.esm.js → faceCaptureManagerFactory-BbFl762r.esm.js} +2 -2
- package/dist/{faceCaptureSetup-Bq_wPGhK.esm.js → faceCaptureSetup-CIkrBLYz.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-v8z7PvvD.esm.js → faceMatchStateMachine-CDx5ZRhv.esm.js} +1 -1
- package/dist/field-comparison.esm.js +2 -2
- package/dist/{fieldComparisonManager-D0RJA6Qx.esm.js → fieldComparisonManager-Bf42dczM.esm.js} +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +5 -5
- package/dist/{flowServices-nx81re-L.esm.js → flowServices-B0ai-ANo.esm.js} +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationStateMachine-5NOAiXiW.esm.js → geolocationStateMachine-BYfOOOG0.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-DK1YeRDr.esm.js → governmentValidationStateMachine-yCQaD7zl.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/home.esm.js +1 -1
- package/dist/id-ocr.d.ts +55 -55
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.d.ts +25 -25
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +1 -1
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-CeaNK-Ve.esm.js → idCaptureManager-FXTdeOsf.esm.js} +4 -3
- package/dist/{idCaptureManager-DDkfMlsm.d.ts → idCaptureManager-fvEYwU_l.d.ts} +16 -9
- package/dist/{idCaptureStateMachine-DdlLGjwa.esm.js → idCaptureStateMachine-BlLvve6M.esm.js} +193 -141
- package/dist/{idOcrStateMachine-Tr48722s.esm.js → idOcrStateMachine-6vUdYjRV.esm.js} +1 -1
- package/dist/{idVerificationStateMachine-DwjJiKun.esm.js → idVerificationStateMachine-cT7LtSYe.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/{identityReuseManager-piMy-REi.d.ts → identityReuseManager-BOnaxwJI.d.ts} +35 -35
- package/dist/{identityReuseManager-DjhuypVV.esm.js → identityReuseManager-BeyKVX1g.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-CE7CiLs9.esm.js → identityReuseStateMachine-BYYzDw-l.esm.js} +1 -1
- package/dist/{index-B75DQgX_.d.ts → index-E3D7OvnG.d.ts} +168 -168
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +3 -3
- package/dist/{mandatoryConsentManager-CwQSmcyl.esm.js → mandatoryConsentManager-CNbs9cub.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-BT8eEhPZ.d.ts → mandatoryConsentManager-CyoaXoEe.d.ts} +52 -52
- package/dist/{mandatoryConsentStateMachine-DMHuQ9p6.esm.js → mandatoryConsentStateMachine-DgAXyMs4.esm.js} +1 -1
- package/dist/personhood.esm.js +1 -1
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-DoREHm5q.esm.js → phoneManager-CiiQOE21.esm.js} +2 -2
- package/dist/{phoneStateMachine-DBCFyMqD.esm.js → phoneStateMachine-sn2Nt44W.esm.js} +1 -1
- package/dist/{qe-signature-CvRT6Nr8.esm.js → qe-signature-D5gwX-fY.esm.js} +1 -1
- package/dist/qe-signature.d.ts +1 -1
- package/dist/qe-signature.esm.js +3 -3
- package/dist/redirect-to-mobile.esm.js +3 -3
- package/dist/{redirectToMobileManager-BlK4U22c.esm.js → redirectToMobileManager-DIc_xDDn.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-DbHl-Hnq.esm.js → redirectToMobileStateMachine-H-iEztA6.esm.js} +1 -1
- package/dist/{runChildModule-Cm4q5mtc.esm.js → runChildModule-Wr_2wB1m.esm.js} +1 -1
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-mMYgwONo.esm.js → selfieManager-CjFFQTKK.esm.js} +3 -3
- package/dist/{selfieStateMachine-j8QNgRSM.esm.js → selfieStateMachine-2UJDOv3d.esm.js} +2 -2
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-BPoQYSR2.esm.js → sessionInitializer-Dfc__RkA.esm.js} +2 -2
- package/dist/{setup-DttzrMgn.esm.js → setup-f4ttZO62.esm.js} +2 -2
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureStateMachine-Ds7LOonk.esm.js → signatureStateMachine-c-HlL0-y.esm.js} +1 -1
- package/dist/{tri-RHgg98ap.esm.js → tri-D6YWLiyE.esm.js} +10 -0
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +2 -2
- package/dist/trust-graph.esm.js +1 -1
- package/dist/video-selfie.d.ts +2 -2
- package/dist/video-selfie.esm.js +4 -4
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessStateMachine-DXpbE4Sx.esm.js → watchlistForBusinessStateMachine-DNaxGviI.esm.js} +1 -1
- package/dist/{watchlistStateMachine-ByxT83kR.esm.js → watchlistStateMachine-DPLVxv_x.esm.js} +1 -1
- package/dist/workflow.d.ts +156 -156
- package/dist/workflow.esm.js +35 -35
- package/dist/{xstate.esm-r0zHjE2E.esm.js → xstate.esm-Bomq1a0z.esm.js} +41 -1
- package/package.json +1 -1
package/dist/flow.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-BoOrY
|
|
|
9
9
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-CY9Cb5V1.js";
|
|
10
10
|
import { o as FlowEventSubscribable } from "./index-CpQYJA2K.js";
|
|
11
11
|
import { n as ModuleRegistry } from "./types-DHIl-AtE.js";
|
|
12
|
-
import * as
|
|
12
|
+
import * as xstate1067 from "xstate";
|
|
13
13
|
|
|
14
14
|
//#region src/modules/flow/flowUtils.d.ts
|
|
15
15
|
type NormalizeFlowModulesOptions = {
|
|
@@ -61,7 +61,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
|
61
61
|
declare const getFlow: GetFlow;
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/modules/flow/noOpFlowModuleMachine.d.ts
|
|
64
|
-
declare const noOpFlowModuleMachine:
|
|
64
|
+
declare const noOpFlowModuleMachine: xstate1067.StateMachine<xstate1067.MachineContext, xstate1067.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1067.NonReducibleUnknown, xstate1067.NonReducibleUnknown, xstate1067.EventObject, xstate1067.MetaObject, {
|
|
65
65
|
readonly id: "noOpFlowModule";
|
|
66
66
|
readonly initial: "finished";
|
|
67
67
|
readonly states: {
|
package/dist/flow.esm.js
CHANGED
|
@@ -5,20 +5,20 @@ import "./types-ElOJAGaM.esm.js";
|
|
|
5
5
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
6
6
|
import "./stats-CYcScXcO.esm.js";
|
|
7
7
|
import "./browserSimulation-TsSoavQv.esm.js";
|
|
8
|
-
import "./sessionInitializer-
|
|
8
|
+
import "./sessionInitializer-Dfc__RkA.esm.js";
|
|
9
9
|
import "./getDeviceData-TrKM8NPh.esm.js";
|
|
10
10
|
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
11
11
|
import "./IpifyProvider-BRW14_uo.esm.js";
|
|
12
12
|
import "./platform-uIVQUnJP.esm.js";
|
|
13
|
-
import "./tri-
|
|
14
|
-
import { a as fromPromise,
|
|
13
|
+
import "./tri-D6YWLiyE.esm.js";
|
|
14
|
+
import { a as fromPromise, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
15
15
|
import "./apiError-C7SFQTB2.esm.js";
|
|
16
16
|
import "./types-CMcxlSmH.esm.js";
|
|
17
17
|
import "./session-D4m9r-7U.esm.js";
|
|
18
18
|
import "./videoSelfieSteps-DAky5sq5.esm.js";
|
|
19
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
19
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-B0ai-ANo.esm.js";
|
|
20
20
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BqDrPtNh.esm.js";
|
|
21
|
-
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
21
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Wr_2wB1m.esm.js";
|
|
22
22
|
|
|
23
23
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
24
24
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
|
-
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-Dfc__RkA.esm.js";
|
|
4
4
|
import { n as toIncodeApiError } from "./apiError-C7SFQTB2.esm.js";
|
|
5
5
|
import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DAky5sq5.esm.js";
|
|
6
6
|
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -3,8 +3,8 @@ import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
|
3
3
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
5
|
import "./platform-uIVQUnJP.esm.js";
|
|
6
|
-
import {
|
|
7
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
6
|
+
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
7
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BYfOOOG0.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
10
10
|
var BrowserGeolocationProvider = class {
|
package/dist/{geolocationStateMachine-5NOAiXiW.esm.js → geolocationStateMachine-BYfOOOG0.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
3
3
|
import { r as isIOS, t as isAndroid } from "./platform-uIVQUnJP.esm.js";
|
|
4
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
4
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
7
7
|
async function addGeolocation(params, signal) {
|
|
@@ -3,9 +3,9 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
3
3
|
import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
|
|
4
4
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
5
5
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
6
|
-
import {
|
|
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-yCQaD7zl.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
11
11
|
function createGovernmentValidationActor(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
2
2
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
4
|
-
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-
|
|
4
|
+
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
5
5
|
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-nhnnp9FM.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
package/dist/home.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import "./types-BXkFotpx.js";
|
|
|
5
5
|
import "./canvas-Dcq7XIdx.js";
|
|
6
6
|
import "./createFaceAvatar-tloe__L_.js";
|
|
7
7
|
import { t as EmptyConfig } from "./types-BoOrY6Kj.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as xstate72 from "xstate";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/home/types.d.ts
|
|
11
11
|
type HomeConfig = EmptyConfig;
|
|
@@ -37,41 +37,41 @@ type HomeContext = {
|
|
|
37
37
|
type HomeInput = {
|
|
38
38
|
config: EmptyConfig;
|
|
39
39
|
};
|
|
40
|
-
declare const homeMachine:
|
|
40
|
+
declare const homeMachine: xstate72.StateMachine<HomeContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "COMPLETE";
|
|
44
44
|
} | {
|
|
45
45
|
type: "RESET";
|
|
46
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
46
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate72.NonReducibleUnknown, xstate72.EventObject, xstate72.MetaObject, {
|
|
47
47
|
readonly id: "home";
|
|
48
48
|
readonly initial: "idle";
|
|
49
49
|
readonly context: ({
|
|
50
50
|
input
|
|
51
51
|
}: {
|
|
52
52
|
spawn: {
|
|
53
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
54
|
-
<TLogic extends
|
|
53
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate72.ActorRefFromLogic<never>;
|
|
54
|
+
<TLogic extends xstate72.AnyActorLogic>(src: TLogic, ...[options]: xstate72.ConditionalRequired<[options?: ({
|
|
55
55
|
id?: never;
|
|
56
56
|
systemId?: string;
|
|
57
|
-
input?:
|
|
57
|
+
input?: xstate72.InputFrom<TLogic> | undefined;
|
|
58
58
|
syncSnapshot?: boolean;
|
|
59
|
-
} & { [K in
|
|
59
|
+
} & { [K in xstate72.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate72.IsNotNever<xstate72.RequiredLogicInput<TLogic>>>): xstate72.ActorRefFromLogic<TLogic>;
|
|
60
60
|
};
|
|
61
61
|
input: HomeInput;
|
|
62
|
-
self:
|
|
62
|
+
self: xstate72.ActorRef<xstate72.MachineSnapshot<HomeContext, {
|
|
63
63
|
type: "LOAD";
|
|
64
64
|
} | {
|
|
65
65
|
type: "COMPLETE";
|
|
66
66
|
} | {
|
|
67
67
|
type: "RESET";
|
|
68
|
-
}, Record<string,
|
|
68
|
+
}, Record<string, xstate72.AnyActorRef | undefined>, xstate72.StateValue, string, unknown, any, any>, {
|
|
69
69
|
type: "LOAD";
|
|
70
70
|
} | {
|
|
71
71
|
type: "COMPLETE";
|
|
72
72
|
} | {
|
|
73
73
|
type: "RESET";
|
|
74
|
-
},
|
|
74
|
+
}, xstate72.AnyEventObject>;
|
|
75
75
|
}) => {
|
|
76
76
|
config: EmptyConfig;
|
|
77
77
|
};
|
package/dist/home.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
|
-
import {
|
|
4
|
+
import { l as createManager, s as createActor, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/home/homeStateMachine.ts
|
|
7
7
|
const homeMachine = setup({ types: {
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-BUc6OqO5.js";
|
|
2
2
|
import "./Actor-Du_LU0S4.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate0 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: xstate0.StateMachine<IdOcrContext, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "DATA_CHANGED";
|
|
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
191
191
|
} | {
|
|
192
192
|
type: "RETRY";
|
|
193
193
|
}, {
|
|
194
|
-
[x: string]:
|
|
194
|
+
[x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<OcrData, {
|
|
195
195
|
isSecondId: boolean;
|
|
196
|
-
},
|
|
196
|
+
}, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<UpdateOcrResponse, {
|
|
197
197
|
params: UpdateOcrDataParams;
|
|
198
198
|
isSecondId: boolean;
|
|
199
|
-
},
|
|
200
|
-
},
|
|
199
|
+
}, xstate0.EventObject>> | undefined;
|
|
200
|
+
}, xstate0.Values<{
|
|
201
201
|
getOcrData: {
|
|
202
202
|
src: "getOcrData";
|
|
203
|
-
logic:
|
|
203
|
+
logic: xstate0.PromiseActorLogic<OcrData, {
|
|
204
204
|
isSecondId: boolean;
|
|
205
|
-
},
|
|
205
|
+
}, xstate0.EventObject>;
|
|
206
206
|
id: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
updateOcrData: {
|
|
209
209
|
src: "updateOcrData";
|
|
210
|
-
logic:
|
|
210
|
+
logic: xstate0.PromiseActorLogic<UpdateOcrResponse, {
|
|
211
211
|
params: UpdateOcrDataParams;
|
|
212
212
|
isSecondId: boolean;
|
|
213
|
-
},
|
|
213
|
+
}, xstate0.EventObject>;
|
|
214
214
|
id: string | undefined;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
217
|
-
setError: {
|
|
218
|
-
type: "setError";
|
|
219
|
-
params: xstate822.NonReducibleUnknown;
|
|
220
|
-
};
|
|
216
|
+
}>, xstate0.Values<{
|
|
221
217
|
setInitialData: {
|
|
222
218
|
type: "setInitialData";
|
|
223
|
-
params:
|
|
219
|
+
params: xstate0.NonReducibleUnknown;
|
|
224
220
|
};
|
|
225
221
|
updateField: {
|
|
226
222
|
type: "updateField";
|
|
227
|
-
params:
|
|
223
|
+
params: xstate0.NonReducibleUnknown;
|
|
228
224
|
};
|
|
229
225
|
clearFieldValidationError: {
|
|
230
226
|
type: "clearFieldValidationError";
|
|
231
|
-
params:
|
|
227
|
+
params: xstate0.NonReducibleUnknown;
|
|
232
228
|
};
|
|
233
229
|
setOcrValidationErrors: {
|
|
234
230
|
type: "setOcrValidationErrors";
|
|
235
|
-
params:
|
|
231
|
+
params: xstate0.NonReducibleUnknown;
|
|
236
232
|
};
|
|
237
233
|
validateFormField: {
|
|
238
234
|
type: "validateFormField";
|
|
239
|
-
params:
|
|
235
|
+
params: xstate0.NonReducibleUnknown;
|
|
236
|
+
};
|
|
237
|
+
setError: {
|
|
238
|
+
type: "setError";
|
|
239
|
+
params: xstate0.NonReducibleUnknown;
|
|
240
240
|
};
|
|
241
241
|
beginSecondIdOcrPhase: {
|
|
242
242
|
type: "beginSecondIdOcrPhase";
|
|
243
|
-
params:
|
|
243
|
+
params: xstate0.NonReducibleUnknown;
|
|
244
244
|
};
|
|
245
245
|
resetForRetry: {
|
|
246
246
|
type: "resetForRetry";
|
|
247
|
-
params:
|
|
247
|
+
params: xstate0.NonReducibleUnknown;
|
|
248
248
|
};
|
|
249
249
|
computeValidationResult: {
|
|
250
250
|
type: "computeValidationResult";
|
|
251
|
-
params:
|
|
251
|
+
params: xstate0.NonReducibleUnknown;
|
|
252
252
|
};
|
|
253
|
-
}>,
|
|
253
|
+
}>, xstate0.Values<{
|
|
254
254
|
isOcrEditable: {
|
|
255
255
|
type: "isOcrEditable";
|
|
256
256
|
params: unknown;
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "readonly" | "validatingContinue" | "submitting", string, IdOcrInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({
|
|
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
280
280
|
spawn: {
|
|
281
281
|
<TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
|
|
282
282
|
src: "getOcrData";
|
|
283
|
-
logic:
|
|
283
|
+
logic: xstate0.PromiseActorLogic<OcrData, {
|
|
284
284
|
isSecondId: boolean;
|
|
285
|
-
},
|
|
285
|
+
}, xstate0.EventObject>;
|
|
286
286
|
id: string | undefined;
|
|
287
287
|
} extends infer T ? T extends {
|
|
288
288
|
src: "getOcrData";
|
|
289
|
-
logic:
|
|
289
|
+
logic: xstate0.PromiseActorLogic<OcrData, {
|
|
290
290
|
isSecondId: boolean;
|
|
291
|
-
},
|
|
291
|
+
}, xstate0.EventObject>;
|
|
292
292
|
id: string | undefined;
|
|
293
293
|
} ? T extends {
|
|
294
294
|
src: TSrc;
|
|
295
|
-
} ?
|
|
295
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
296
296
|
id?: T["id"] | undefined;
|
|
297
297
|
systemId?: string;
|
|
298
|
-
input?:
|
|
298
|
+
input?: xstate0.InputFrom<T["logic"]> | undefined;
|
|
299
299
|
syncSnapshot?: boolean;
|
|
300
|
-
} & { [K in
|
|
300
|
+
} & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
301
301
|
src: "updateOcrData";
|
|
302
|
-
logic:
|
|
302
|
+
logic: xstate0.PromiseActorLogic<UpdateOcrResponse, {
|
|
303
303
|
params: UpdateOcrDataParams;
|
|
304
304
|
isSecondId: boolean;
|
|
305
|
-
},
|
|
305
|
+
}, xstate0.EventObject>;
|
|
306
306
|
id: string | undefined;
|
|
307
307
|
} extends infer T_1 ? T_1 extends {
|
|
308
308
|
src: "updateOcrData";
|
|
309
|
-
logic:
|
|
309
|
+
logic: xstate0.PromiseActorLogic<UpdateOcrResponse, {
|
|
310
310
|
params: UpdateOcrDataParams;
|
|
311
311
|
isSecondId: boolean;
|
|
312
|
-
},
|
|
312
|
+
}, xstate0.EventObject>;
|
|
313
313
|
id: string | undefined;
|
|
314
314
|
} ? T_1 extends {
|
|
315
315
|
src: TSrc;
|
|
316
|
-
} ?
|
|
316
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
317
317
|
id?: T_1["id"] | undefined;
|
|
318
318
|
systemId?: string;
|
|
319
|
-
input?:
|
|
319
|
+
input?: xstate0.InputFrom<T_1["logic"]> | undefined;
|
|
320
320
|
syncSnapshot?: boolean;
|
|
321
|
-
} & { [K_1 in
|
|
321
|
+
} & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
|
|
322
322
|
getOcrData: {
|
|
323
323
|
src: "getOcrData";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate0.PromiseActorLogic<OcrData, {
|
|
325
325
|
isSecondId: boolean;
|
|
326
|
-
},
|
|
326
|
+
}, xstate0.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
updateOcrData: {
|
|
330
330
|
src: "updateOcrData";
|
|
331
|
-
logic:
|
|
331
|
+
logic: xstate0.PromiseActorLogic<UpdateOcrResponse, {
|
|
332
332
|
params: UpdateOcrDataParams;
|
|
333
333
|
isSecondId: boolean;
|
|
334
|
-
},
|
|
334
|
+
}, xstate0.EventObject>;
|
|
335
335
|
id: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}>, "src", TSrc>["logic"]>;
|
|
338
|
-
<TLogic extends
|
|
338
|
+
<TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
|
|
339
339
|
id?: never;
|
|
340
340
|
systemId?: string;
|
|
341
|
-
input?:
|
|
341
|
+
input?: xstate0.InputFrom<TLogic> | undefined;
|
|
342
342
|
syncSnapshot?: boolean;
|
|
343
|
-
} & { [K in
|
|
343
|
+
} & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
|
|
344
344
|
};
|
|
345
345
|
input: IdOcrInput;
|
|
346
|
-
self:
|
|
346
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<IdOcrContext, {
|
|
347
347
|
type: "LOAD";
|
|
348
348
|
} | {
|
|
349
349
|
type: "DATA_CHANGED";
|
|
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
356
356
|
type: "CONTINUE";
|
|
357
357
|
} | {
|
|
358
358
|
type: "RETRY";
|
|
359
|
-
}, Record<string,
|
|
359
|
+
}, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
|
|
360
360
|
type: "LOAD";
|
|
361
361
|
} | {
|
|
362
362
|
type: "DATA_CHANGED";
|
|
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
369
369
|
type: "CONTINUE";
|
|
370
370
|
} | {
|
|
371
371
|
type: "RETRY";
|
|
372
|
-
},
|
|
372
|
+
}, xstate0.AnyEventObject>;
|
|
373
373
|
}) => {
|
|
374
374
|
config: IdOcrConfig;
|
|
375
375
|
formData: UpdateOcrDataParams;
|
|
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
405
405
|
} | {
|
|
406
406
|
type: "RETRY";
|
|
407
407
|
};
|
|
408
|
-
self:
|
|
408
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<IdOcrContext, {
|
|
409
409
|
type: "LOAD";
|
|
410
410
|
} | {
|
|
411
411
|
type: "DATA_CHANGED";
|
|
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
418
418
|
type: "CONTINUE";
|
|
419
419
|
} | {
|
|
420
420
|
type: "RETRY";
|
|
421
|
-
}, Record<string,
|
|
421
|
+
}, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
|
|
422
422
|
type: "LOAD";
|
|
423
423
|
} | {
|
|
424
424
|
type: "DATA_CHANGED";
|
|
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
431
431
|
type: "CONTINUE";
|
|
432
432
|
} | {
|
|
433
433
|
type: "RETRY";
|
|
434
|
-
},
|
|
434
|
+
}, xstate0.AnyEventObject>;
|
|
435
435
|
}) => {
|
|
436
436
|
isSecondId: boolean;
|
|
437
437
|
};
|
|
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
510
510
|
} | {
|
|
511
511
|
type: "RETRY";
|
|
512
512
|
};
|
|
513
|
-
self:
|
|
513
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<IdOcrContext, {
|
|
514
514
|
type: "LOAD";
|
|
515
515
|
} | {
|
|
516
516
|
type: "DATA_CHANGED";
|
|
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
523
523
|
type: "CONTINUE";
|
|
524
524
|
} | {
|
|
525
525
|
type: "RETRY";
|
|
526
|
-
}, Record<string,
|
|
526
|
+
}, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
|
|
527
527
|
type: "LOAD";
|
|
528
528
|
} | {
|
|
529
529
|
type: "DATA_CHANGED";
|
|
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate822.StateMachine<IdOcrContext, {
|
|
|
536
536
|
type: "CONTINUE";
|
|
537
537
|
} | {
|
|
538
538
|
type: "RETRY";
|
|
539
|
-
},
|
|
539
|
+
}, xstate0.AnyEventObject>;
|
|
540
540
|
}) => {
|
|
541
541
|
params: UpdateOcrDataParams;
|
|
542
542
|
isSecondId: boolean;
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -2,9 +2,9 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import {
|
|
5
|
+
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
6
|
import "./cpf-BKaho0j_.esm.js";
|
|
7
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
7
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-6vUdYjRV.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
10
10
|
function createIdOcrActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-BUc6OqO5.js";
|
|
2
2
|
import "./Actor-Du_LU0S4.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate697 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: xstate697.StateMachine<IdVerificationContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "CONTINUE";
|
|
39
39
|
}, {
|
|
40
|
-
[x: string]:
|
|
40
|
+
[x: string]: xstate697.ActorRefFromLogic<xstate697.PromiseActorLogic<ProcessIdResponse, {
|
|
41
41
|
isSecondId: boolean;
|
|
42
42
|
queueName: string;
|
|
43
|
-
},
|
|
43
|
+
}, xstate697.EventObject>> | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
src: "processId";
|
|
46
|
-
logic:
|
|
46
|
+
logic: xstate697.PromiseActorLogic<ProcessIdResponse, {
|
|
47
47
|
isSecondId: boolean;
|
|
48
48
|
queueName: string;
|
|
49
|
-
},
|
|
49
|
+
}, xstate697.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, xstate697.NonReducibleUnknown, xstate697.EventObject, xstate697.MetaObject, {
|
|
55
55
|
readonly id: "idVerification";
|
|
56
56
|
readonly initial: "idle";
|
|
57
57
|
readonly context: ({
|
|
@@ -60,50 +60,50 @@ declare const idVerificationMachine: xstate783.StateMachine<IdVerificationContex
|
|
|
60
60
|
spawn: {
|
|
61
61
|
<TSrc extends "processId">(logic: TSrc, ...[options]: {
|
|
62
62
|
src: "processId";
|
|
63
|
-
logic:
|
|
63
|
+
logic: xstate697.PromiseActorLogic<ProcessIdResponse, {
|
|
64
64
|
isSecondId: boolean;
|
|
65
65
|
queueName: string;
|
|
66
|
-
},
|
|
66
|
+
}, xstate697.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
} extends infer T ? T extends {
|
|
69
69
|
src: "processId";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate697.PromiseActorLogic<ProcessIdResponse, {
|
|
71
71
|
isSecondId: boolean;
|
|
72
72
|
queueName: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate697.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
} ? T extends {
|
|
76
76
|
src: TSrc;
|
|
77
|
-
} ?
|
|
77
|
+
} ? xstate697.ConditionalRequired<[options?: ({
|
|
78
78
|
id?: T["id"] | undefined;
|
|
79
79
|
systemId?: string;
|
|
80
|
-
input?:
|
|
80
|
+
input?: xstate697.InputFrom<T["logic"]> | undefined;
|
|
81
81
|
syncSnapshot?: boolean;
|
|
82
|
-
} & { [K in
|
|
82
|
+
} & { [K in xstate697.RequiredActorOptions<T>]: unknown }) | undefined], xstate697.IsNotNever<xstate697.RequiredActorOptions<T>>> : never : never : never): xstate697.ActorRefFromLogic<xstate697.GetConcreteByKey<{
|
|
83
83
|
src: "processId";
|
|
84
|
-
logic:
|
|
84
|
+
logic: xstate697.PromiseActorLogic<ProcessIdResponse, {
|
|
85
85
|
isSecondId: boolean;
|
|
86
86
|
queueName: string;
|
|
87
|
-
},
|
|
87
|
+
}, xstate697.EventObject>;
|
|
88
88
|
id: string | undefined;
|
|
89
89
|
}, "src", TSrc>["logic"]>;
|
|
90
|
-
<TLogic extends
|
|
90
|
+
<TLogic extends xstate697.AnyActorLogic>(src: TLogic, ...[options]: xstate697.ConditionalRequired<[options?: ({
|
|
91
91
|
id?: never;
|
|
92
92
|
systemId?: string;
|
|
93
|
-
input?:
|
|
93
|
+
input?: xstate697.InputFrom<TLogic> | undefined;
|
|
94
94
|
syncSnapshot?: boolean;
|
|
95
|
-
} & { [K in
|
|
95
|
+
} & { [K in xstate697.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate697.IsNotNever<xstate697.RequiredLogicInput<TLogic>>>): xstate697.ActorRefFromLogic<TLogic>;
|
|
96
96
|
};
|
|
97
97
|
input: IdVerificationInput;
|
|
98
|
-
self:
|
|
98
|
+
self: xstate697.ActorRef<xstate697.MachineSnapshot<IdVerificationContext, {
|
|
99
99
|
type: "LOAD";
|
|
100
100
|
} | {
|
|
101
101
|
type: "CONTINUE";
|
|
102
|
-
}, Record<string,
|
|
102
|
+
}, Record<string, xstate697.AnyActorRef | undefined>, xstate697.StateValue, string, unknown, any, any>, {
|
|
103
103
|
type: "LOAD";
|
|
104
104
|
} | {
|
|
105
105
|
type: "CONTINUE";
|
|
106
|
-
},
|
|
106
|
+
}, xstate697.AnyEventObject>;
|
|
107
107
|
}) => {
|
|
108
108
|
config: IdVerificationConfig;
|
|
109
109
|
isSecondId: boolean;
|
|
@@ -127,15 +127,15 @@ declare const idVerificationMachine: xstate783.StateMachine<IdVerificationContex
|
|
|
127
127
|
} | {
|
|
128
128
|
type: "CONTINUE";
|
|
129
129
|
};
|
|
130
|
-
self:
|
|
130
|
+
self: xstate697.ActorRef<xstate697.MachineSnapshot<IdVerificationContext, {
|
|
131
131
|
type: "LOAD";
|
|
132
132
|
} | {
|
|
133
133
|
type: "CONTINUE";
|
|
134
|
-
}, Record<string,
|
|
134
|
+
}, Record<string, xstate697.AnyActorRef>, xstate697.StateValue, string, unknown, any, any>, {
|
|
135
135
|
type: "LOAD";
|
|
136
136
|
} | {
|
|
137
137
|
type: "CONTINUE";
|
|
138
|
-
},
|
|
138
|
+
}, xstate697.AnyEventObject>;
|
|
139
139
|
}) => {
|
|
140
140
|
isSecondId: boolean;
|
|
141
141
|
queueName: string;
|
|
@@ -2,8 +2,8 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
-
import {
|
|
6
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
5
|
+
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-cT7LtSYe.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
9
9
|
function createIdVerificationActor(options) {
|
package/dist/id.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import "./IWasmUtilCapability-Dpg64Qr2.js";
|
|
|
12
12
|
import { n as PermissionStatus, t as PermissionResult } from "./types-CYK29a4w.js";
|
|
13
13
|
import "./StreamCanvasCapture-BqaiJxNa.js";
|
|
14
14
|
import "./deepsightService-DMGqYUMO.js";
|
|
15
|
-
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-
|
|
15
|
+
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-fvEYwU_l.js";
|
|
16
16
|
|
|
17
17
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
18
18
|
type IdCaptureOnlyManager = IdCaptureManager;
|