@incodetech/core 0.0.0-dev-20260613-66946835 → 0.0.0-dev-20260616-e026f0c8
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-DtCkxhaa.esm.js → OpenViduRecordingProvider-BDIlX9Cq.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-CPTcu6u6.esm.js → StreamCanvasCapture-Dr5n_iK1.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DFBEzBLB.d.ts → StreamCanvasCapture-uQFmjDCE.d.ts} +1 -1
- package/dist/{addressSearch-BQCvIe1E.esm.js → addressSearch-4xxBiFtH.esm.js} +4 -4
- package/dist/{ae-signature-DxX99lOP.esm.js → ae-signature-C8mNUYSC.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +9 -9
- package/dist/antifraud.d.ts +3 -3
- package/dist/antifraud.esm.js +6 -6
- package/dist/{antifraudManager-DI9S7XTK.esm.js → antifraudManager-By70WUpS.esm.js} +3 -3
- package/dist/{antifraudManager-CMzQ05Gx.d.ts → antifraudManager-vkuogwAe.d.ts} +2 -2
- package/dist/{antifraudStateMachine-ZzjAr546.esm.js → antifraudStateMachine-DPs0Knyq.esm.js} +3 -3
- package/dist/authentication.d.ts +13 -13
- package/dist/authentication.esm.js +27 -27
- package/dist/{authenticationManager-bKzA0gLB.d.ts → authenticationManager-CDxVMHF1.d.ts} +2 -2
- package/dist/{authenticationManager-CwcMuMzK.esm.js → authenticationManager-Dz4IJIrK.esm.js} +6 -6
- package/dist/{authenticationStateMachine-D7BUqBCb.esm.js → authenticationStateMachine-ZqIWl4M4.esm.js} +8 -8
- package/dist/{backCameraStream-lMXrbEpC.esm.js → backCameraStream-iftkf3rd.esm.js} +3 -3
- package/dist/browser-8Za96B1X-CUY3snMa.esm.js +1425 -0
- package/dist/{browserSimulation-DJfvkbAE.esm.js → browserSimulation-CGjpdNA1.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +4 -4
- package/dist/certificate-issuance.d.ts +30 -30
- package/dist/certificate-issuance.esm.js +7 -7
- package/dist/{certificateIssuanceStateMachine-DpPZoGT3.esm.js → certificateIssuanceStateMachine-DB2r-cpB.esm.js} +4 -4
- package/dist/consent.d.ts +3 -3
- package/dist/consent.esm.js +6 -6
- package/dist/{consentManager-BIoVcRI-.esm.js → consentManager-ChvHt6T_.esm.js} +3 -3
- package/dist/{consentManager-DnLUS1W3.d.ts → consentManager-DWB0fOnC.d.ts} +52 -52
- package/dist/{consentStateMachine-DbaAIypS.esm.js → consentStateMachine-CWypW8J8.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/cpf-ocr.esm.js +6 -6
- package/dist/{cpfOcrManager-qoIZene3.esm.js → cpfOcrManager-B52QLxQV.esm.js} +5 -5
- package/dist/{cpfOcrManager-aJ4f8mX0.d.ts → cpfOcrManager-DZudorH5.d.ts} +25 -25
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +5 -5
- package/dist/curp-validation.d.ts +7 -7
- package/dist/curp-validation.esm.js +6 -6
- package/dist/{curpValidationManager-BYxOLnL5.d.ts → curpValidationManager-CeXO_2dN.d.ts} +3 -3
- package/dist/{curpValidationManager-Bzxw5FVS.esm.js → curpValidationManager-De6xoNE4.esm.js} +3 -3
- package/dist/{curpValidationStateMachine-HGNg1cZZ.esm.js → curpValidationStateMachine-Cx2u6xYU.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +5 -5
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +5 -5
- package/dist/{customWatchlistStateMachine-DOv0pHd_.esm.js → customWatchlistStateMachine-EkXjc819.esm.js} +3 -3
- package/dist/{deepsightLoader-Cm_PBWfU.esm.js → deepsightLoader-cR0EgL9O.esm.js} +13 -13
- package/dist/{deepsightService-C5vSOVue.esm.js → deepsightService-40p8oygL.esm.js} +7 -7
- package/dist/{deepsightService-DmCqRh9-.d.ts → deepsightService-BpVpDm2O.d.ts} +1 -1
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +248 -248
- package/dist/document-capture.esm.js +13 -13
- package/dist/document-upload.d.ts +50 -50
- package/dist/document-upload.esm.js +8 -8
- package/dist/{documentCaptureStateMachine-D6ZC_Ty0.esm.js → documentCaptureStateMachine-BBEoBbLb.esm.js} +7 -7
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +5 -5
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +16 -16
- package/dist/{ekybStateMachine-B0r8yOSu.esm.js → ekybStateMachine-iBJaSAJs.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +8 -8
- package/dist/{ekycStateMachine-IqmWlBh8.esm.js → ekycStateMachine-dXnYshTa.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +8 -8
- package/dist/{electronicSignatureManager-D2WzDJUK.esm.js → electronicSignatureManager-Db9SeoGj.esm.js} +6 -6
- package/dist/email.d.ts +4 -4
- package/dist/email.esm.js +8 -8
- package/dist/{emailManager-DnID6SGV.d.ts → emailManager-DLFWfHIl.d.ts} +3 -3
- package/dist/{emailManager-BbI08-We.esm.js → emailManager-DQJIAsix.esm.js} +4 -4
- package/dist/{emailStateMachine-CgLix5Wg.esm.js → emailStateMachine-C1DabizS.esm.js} +5 -5
- package/dist/{events-BAfXOOYZ.esm.js → events-CmarQoum.esm.js} +1 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +26 -26
- package/dist/extensibility.esm.js +57 -57
- package/dist/{externalFetch-h7WAdNPQ.esm.js → externalFetch-crimxkN9.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-C2o4b80r.d.ts → faceCaptureManagerFactory-BQg4HVQ0.d.ts} +9 -9
- package/dist/{faceCaptureManagerFactory-BIG0X_6p.esm.js → faceCaptureManagerFactory-ByC4Qa8y.esm.js} +4 -4
- package/dist/{faceCaptureSetup-CWZnwDLg.esm.js → faceCaptureSetup-B2H2mNGa.esm.js} +7 -7
- package/dist/{faceMatchStateMachine-dCBdFrmq.esm.js → faceMatchStateMachine-eQOGyK1R.esm.js} +3 -3
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +5 -5
- package/dist/{fieldComparisonManager-BOIJSYPj.d.ts → fieldComparisonManager-CgJctoEw.d.ts} +2 -2
- package/dist/{fieldComparisonManager-Ce8rDT_m.esm.js → fieldComparisonManager-IaJfvmEt.esm.js} +4 -4
- package/dist/fiscal-qr.d.ts +3 -3
- package/dist/fiscal-qr.esm.js +12 -12
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +16 -16
- package/dist/{flowCompletionService-D8OXFjRA.esm.js → flowCompletionService-D9l6fDFY.esm.js} +3 -3
- package/dist/{flowServices-D2O1zeDp.esm.js → flowServices-BRfa1_9p.esm.js} +4 -4
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +6 -6
- package/dist/{geolocationStateMachine-CiwWx_j9.esm.js → geolocationStateMachine-CB4yyRz1.esm.js} +4 -4
- package/dist/{getDeviceClass-BnkJjTVR.esm.js → getDeviceClass-rXKlXywy.esm.js} +1 -1
- package/dist/government-validation.d.ts +3 -3
- package/dist/government-validation.esm.js +7 -7
- package/dist/{governmentValidationStateMachine-Kvfdljb6.esm.js → governmentValidationStateMachine-DXqbvuKL.esm.js} +5 -5
- package/dist/home.d.ts +15 -15
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +2 -2
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +6 -6
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +5 -5
- package/dist/id.d.ts +12 -12
- package/dist/id.esm.js +31 -31
- package/dist/{idCaptureManager-MCG6QtGK.esm.js → idCaptureManager-Cm-IXB70.esm.js} +5 -5
- package/dist/{idCaptureManager-CLOK998H.d.ts → idCaptureManager-Wn84cPTa.d.ts} +8 -8
- package/dist/{idCaptureStateMachine-vkppQGiI.esm.js → idCaptureStateMachine-CU3F89Pn.esm.js} +19 -19
- package/dist/{idOcrStateMachine-Dmqb6Lay.esm.js → idOcrStateMachine-BwksZ-bt.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-DoxfID_7.esm.js → idVerificationStateMachine-BMzgkkbQ.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +6 -6
- package/dist/{identityReuseManager-DcBFqi3g.esm.js → identityReuseManager-Bew667Pj.esm.js} +3 -3
- package/dist/{identityReuseManager-DvE8_LEf.d.ts → identityReuseManager-mEnl2R8N.d.ts} +33 -33
- package/dist/{identityReuseStateMachine-BYee6d-o.esm.js → identityReuseStateMachine-CbR5itoo.esm.js} +3 -3
- package/dist/{index-D6hZs1C6.d.ts → index-B1r8U5de.d.ts} +169 -169
- package/dist/index-Dn9cDS6f.d.ts +99 -0
- package/dist/{index-BbKckxUr.d.ts → index-cIuvyWMa.d.ts} +2 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.esm.js +13 -12
- package/dist/{invokeOnCaptureCallback-DW53sNuV.esm.js → invokeOnCaptureCallback-DyJrH089.esm.js} +1 -1
- package/dist/{lib-BCAntT8H.esm.js → lib-DOI53AqI.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +7 -7
- package/dist/mandatory-consent.esm.js +6 -6
- package/dist/{mandatoryConsentManager-BjX0zGkL.d.ts → mandatoryConsentManager-HAXD0YGt.d.ts} +50 -50
- package/dist/{mandatoryConsentManager-CaZap2vM.esm.js → mandatoryConsentManager-kbO0Dr65.esm.js} +3 -3
- package/dist/{mandatoryConsentStateMachine-DebtfjHH.esm.js → mandatoryConsentStateMachine-DtjGqH2e.esm.js} +3 -3
- package/dist/openviduLazy--VDjpeVq.esm.js +3 -0
- package/dist/{openviduLazy-D7RY-Wk1.esm.js → openviduLazy-BapX8Ljx.esm.js} +2 -2
- package/dist/{permissionGuards-D-u5o-ZS.esm.js → permissionGuards-MDEdZAXO.esm.js} +1 -1
- package/dist/{permissionServices-DOMAS5FL.esm.js → permissionServices-BApXq7a0.esm.js} +3 -3
- package/dist/phone.d.ts +4 -4
- package/dist/phone.esm.js +8 -8
- package/dist/{phoneManager-C0NWX3dt.esm.js → phoneManager-CZA4CST1.esm.js} +4 -4
- package/dist/{phoneManager-BjqCfWeD.d.ts → phoneManager-CkEiuAuM.d.ts} +3 -3
- package/dist/{phoneStateMachine-BGhYP8mx.esm.js → phoneStateMachine-BQNuJGjq.esm.js} +5 -5
- package/dist/{qe-signature-D10dlZ0x.esm.js → qe-signature-BVUV3TE_.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +9 -9
- package/dist/{recordingService-CBkqroyl.esm.js → recordingService-Cw3hJgT2.esm.js} +15 -15
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +8 -8
- package/dist/{redirectToMobileManager-DK7C4-jS.esm.js → redirectToMobileManager-B4PTmB3H.esm.js} +4 -4
- package/dist/{redirectToMobileManager-BzdVum0z.d.ts → redirectToMobileManager-DYQsXMqo.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-POVmJ2pQ.esm.js → redirectToMobileStateMachine-BWrpS_sN.esm.js} +5 -5
- package/dist/{runChildModule-D1kJKuZp.esm.js → runChildModule-DaOsL9FE.esm.js} +3 -3
- package/dist/selfie.d.ts +13 -13
- package/dist/selfie.esm.js +28 -28
- package/dist/{selfieManager-CEO1DECO.d.ts → selfieManager-CxktnRiy.d.ts} +2 -2
- package/dist/{selfieManager-CQwbCfx1.esm.js → selfieManager-MGv9xxlB.esm.js} +6 -6
- package/dist/{selfieStateMachine-D0azn4SB.esm.js → selfieStateMachine-DIep8sRA.esm.js} +4 -4
- package/dist/{session-Bdskj4-a.esm.js → session-C_G3d7av.esm.js} +3 -3
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +12 -12
- package/dist/{sessionInitializer-Dx4LN7nF.esm.js → sessionInitializer-Qlg7EwTl.esm.js} +7 -7
- package/dist/{setup-Xw_UwsPu.d.ts → setup-CPD1Cb_d.d.ts} +47 -1
- package/dist/{setup-ldc4smxh.esm.js → setup-wZGxwi9m.esm.js} +36 -7
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +5 -5
- package/dist/{signatureStateMachine-B8MOqm3t.esm.js → signatureStateMachine-B7hxdXio.esm.js} +3 -3
- package/dist/{stats-DYtpAi8r.esm.js → stats-32mOt6D8.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/tri-Bn_ESCop.esm.js +326 -0
- package/dist/tri.d.ts +2 -0
- package/dist/tri.esm-Drm5tKql.esm.js +2590 -0
- package/dist/tri.esm.js +4 -0
- package/dist/trust-graph.d.ts +3 -3
- package/dist/trust-graph.esm.js +3 -3
- package/dist/{types-CMtiO-70.d.ts → types-CNiMvUpA.d.ts} +1 -1
- package/dist/{types-DVP3cl71.d.ts → types-D8y52YD5.d.ts} +2 -2
- package/dist/{types-GHZBxVAa.d.ts → types-DR2YKE_o.d.ts} +1 -1
- package/dist/wasm.d.ts +3 -2
- package/dist/wasm.esm.js +13 -12
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +5 -5
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +5 -5
- package/dist/{watchlistForBusinessStateMachine-C_w0OJjF.esm.js → watchlistForBusinessStateMachine-D3W0_TEt.esm.js} +3 -3
- package/dist/{watchlistStateMachine-C6vF9Zrp.esm.js → watchlistStateMachine-D8EXhr5W.esm.js} +3 -3
- package/dist/workflow.d.ts +145 -145
- package/dist/workflow.esm.js +63 -63
- package/package.json +8 -3
- package/dist/openviduLazy-Cen9OnxA.esm.js +0 -3
- /package/dist/{Actor-VPMjMiQi.d.ts → Actor-CeqUTqL9.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-r6RSzdfq.esm.js → BrowserStorageProvider-CGCKial0.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-CswUX7jZ.esm.js → BrowserTimerProvider-BVgutW_b.esm.js} +0 -0
- /package/dist/{ITimerCapability-BAVwUNw-.esm.js → ITimerCapability-BvH0pDwp.esm.js} +0 -0
- /package/dist/{IpifyProvider-WAAszwtP.esm.js → IpifyProvider-oZf7Ke1O.esm.js} +0 -0
- /package/dist/{Manager-TNEsbB6B.d.ts → Manager-CHiHBvMT.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-CnpzpFUv.esm.js → MotionSensorProvider-C9fPAJdS.esm.js} +0 -0
- /package/dist/{StateMachine-D1N4vDv3.d.ts → StateMachine-HpHVxl3G.d.ts} +0 -0
- /package/dist/{WasmUtilProvider-DrWyN0yi.esm.js → WasmUtilProvider-CAZ4AD98.esm.js} +0 -0
- /package/dist/{api-D5AupVUC.esm.js → api-DUZwyz0o.esm.js} +0 -0
- /package/dist/{apiError-DNxc6p50.esm.js → apiError-D-GTvFrH.esm.js} +0 -0
- /package/dist/{camera-q1KoKNR1.d.ts → camera-D0c7ez3w.d.ts} +0 -0
- /package/dist/{camera-CBMl39hO.esm.js → camera-x4LjGTjZ.esm.js} +0 -0
- /package/dist/{canvas-Q8Scx3Gn.esm.js → canvas-7uX2izHb.esm.js} +0 -0
- /package/dist/{chunk-DHPE1s-n.esm.js → chunk-BK1xu56N.esm.js} +0 -0
- /package/dist/{cpf-BSpGHuIr.esm.js → cpf-xBg-DFNn.esm.js} +0 -0
- /package/dist/{dateUtils-D-YO9_Hp.esm.js → dateUtils-8dCcuArE.esm.js} +0 -0
- /package/dist/{endpoints-BUiak39U.esm.js → endpoints-B2t80MAM.esm.js} +0 -0
- /package/dist/{flowCompletionService-CamSPuV-.d.ts → flowCompletionService-DSPt5J5M.d.ts} +0 -0
- /package/dist/{getBrowser-CNCEFWPH.esm.js → getBrowser-Dv8LZyHE.esm.js} +0 -0
- /package/dist/{getDeviceClass-C3N2KaOI.esm.js → getDeviceClass-C0zrM97a.esm.js} +0 -0
- /package/dist/{http-CkcES084.esm.js → http-B2UWIXGr.esm.js} +0 -0
- /package/dist/{otp-Buh7Tv8k.d.ts → otp-BHJnjEEc.d.ts} +0 -0
- /package/dist/{otp-BiWjw9ZQ.esm.js → otp-BcSa5nTM.esm.js} +0 -0
- /package/dist/{platform-DctkySJU.esm.js → platform-BfoqeM61.esm.js} +0 -0
- /package/dist/{types-CruqHl68.d.ts → types-C1ixFPzO.d.ts} +0 -0
- /package/dist/{types-rL_0z8ZR.esm.js → types-C3Yf5jrM.esm.js} +0 -0
- /package/dist/{types-BBaEWy5n.d.ts → types-F0IXbaCB.d.ts} +0 -0
- /package/dist/{urlUtils-C9o6zrp8.esm.js → urlUtils-8RNHyW3x.esm.js} +0 -0
- /package/dist/{warmup-bRMrjEVP.d.ts → warmup-CdT_pVcp.d.ts} +0 -0
- /package/dist/{xstate.esm-BMAePvR6.esm.js → xstate.esm-CbU9dpcC.esm.js} +0 -0
package/dist/home.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./camera-
|
|
3
|
-
import "./types-
|
|
4
|
-
import "./types-
|
|
5
|
-
import { t as EmptyConfig } from "./types-
|
|
6
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-CHiHBvMT.js";
|
|
2
|
+
import "./camera-D0c7ez3w.js";
|
|
3
|
+
import "./types-DR2YKE_o.js";
|
|
4
|
+
import "./types-C1ixFPzO.js";
|
|
5
|
+
import { t as EmptyConfig } from "./types-D8y52YD5.js";
|
|
6
|
+
import * as xstate1273 from "xstate";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/home/types.d.ts
|
|
9
9
|
type HomeConfig = EmptyConfig;
|
|
@@ -35,41 +35,41 @@ type HomeContext = {
|
|
|
35
35
|
type HomeInput = {
|
|
36
36
|
config: EmptyConfig;
|
|
37
37
|
};
|
|
38
|
-
declare const homeMachine:
|
|
38
|
+
declare const homeMachine: xstate1273.StateMachine<HomeContext, {
|
|
39
39
|
type: "LOAD";
|
|
40
40
|
} | {
|
|
41
41
|
type: "COMPLETE";
|
|
42
42
|
} | {
|
|
43
43
|
type: "RESET";
|
|
44
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
44
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate1273.NonReducibleUnknown, xstate1273.EventObject, xstate1273.MetaObject, {
|
|
45
45
|
readonly id: "home";
|
|
46
46
|
readonly initial: "idle";
|
|
47
47
|
readonly context: ({
|
|
48
48
|
input
|
|
49
49
|
}: {
|
|
50
50
|
spawn: {
|
|
51
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
52
|
-
<TLogic extends
|
|
51
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate1273.ActorRefFromLogic<never>;
|
|
52
|
+
<TLogic extends xstate1273.AnyActorLogic>(src: TLogic, ...[options]: xstate1273.ConditionalRequired<[options?: ({
|
|
53
53
|
id?: never;
|
|
54
54
|
systemId?: string;
|
|
55
|
-
input?:
|
|
55
|
+
input?: xstate1273.InputFrom<TLogic> | undefined;
|
|
56
56
|
syncSnapshot?: boolean;
|
|
57
|
-
} & { [K in
|
|
57
|
+
} & { [K in xstate1273.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1273.IsNotNever<xstate1273.RequiredLogicInput<TLogic>>>): xstate1273.ActorRefFromLogic<TLogic>;
|
|
58
58
|
};
|
|
59
59
|
input: HomeInput;
|
|
60
|
-
self:
|
|
60
|
+
self: xstate1273.ActorRef<xstate1273.MachineSnapshot<HomeContext, {
|
|
61
61
|
type: "LOAD";
|
|
62
62
|
} | {
|
|
63
63
|
type: "COMPLETE";
|
|
64
64
|
} | {
|
|
65
65
|
type: "RESET";
|
|
66
|
-
}, Record<string,
|
|
66
|
+
}, Record<string, xstate1273.AnyActorRef | undefined>, xstate1273.StateValue, string, unknown, any, any>, {
|
|
67
67
|
type: "LOAD";
|
|
68
68
|
} | {
|
|
69
69
|
type: "COMPLETE";
|
|
70
70
|
} | {
|
|
71
71
|
type: "RESET";
|
|
72
|
-
},
|
|
72
|
+
}, xstate1273.AnyEventObject>;
|
|
73
73
|
}) => {
|
|
74
74
|
config: EmptyConfig;
|
|
75
75
|
};
|
package/dist/home.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { c as createManager, s as createActor, t as setup } from "./xstate.esm-
|
|
1
|
+
import "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
|
|
3
|
+
import { c as createManager, s as createActor, t as setup } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/home/homeStateMachine.ts
|
|
6
6
|
const homeMachine = setup({ types: {
|
package/dist/http.esm.js
CHANGED
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-CHiHBvMT.js";
|
|
2
|
+
import "./Actor-CeqUTqL9.js";
|
|
3
|
+
import * as xstate433 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: xstate433.StateMachine<IdOcrContext, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "DATA_CHANGED";
|
|
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
191
191
|
} | {
|
|
192
192
|
type: "RETRY";
|
|
193
193
|
}, {
|
|
194
|
-
[x: string]:
|
|
194
|
+
[x: string]: xstate433.ActorRefFromLogic<xstate433.PromiseActorLogic<OcrData, {
|
|
195
195
|
isSecondId: boolean;
|
|
196
|
-
},
|
|
196
|
+
}, xstate433.EventObject>> | xstate433.ActorRefFromLogic<xstate433.PromiseActorLogic<UpdateOcrResponse, {
|
|
197
197
|
params: UpdateOcrDataParams;
|
|
198
198
|
isSecondId: boolean;
|
|
199
|
-
},
|
|
200
|
-
},
|
|
199
|
+
}, xstate433.EventObject>> | undefined;
|
|
200
|
+
}, xstate433.Values<{
|
|
201
201
|
getOcrData: {
|
|
202
202
|
src: "getOcrData";
|
|
203
|
-
logic:
|
|
203
|
+
logic: xstate433.PromiseActorLogic<OcrData, {
|
|
204
204
|
isSecondId: boolean;
|
|
205
|
-
},
|
|
205
|
+
}, xstate433.EventObject>;
|
|
206
206
|
id: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
updateOcrData: {
|
|
209
209
|
src: "updateOcrData";
|
|
210
|
-
logic:
|
|
210
|
+
logic: xstate433.PromiseActorLogic<UpdateOcrResponse, {
|
|
211
211
|
params: UpdateOcrDataParams;
|
|
212
212
|
isSecondId: boolean;
|
|
213
|
-
},
|
|
213
|
+
}, xstate433.EventObject>;
|
|
214
214
|
id: string | undefined;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
216
|
+
}>, xstate433.Values<{
|
|
217
217
|
setError: {
|
|
218
218
|
type: "setError";
|
|
219
|
-
params:
|
|
219
|
+
params: xstate433.NonReducibleUnknown;
|
|
220
220
|
};
|
|
221
221
|
setInitialData: {
|
|
222
222
|
type: "setInitialData";
|
|
223
|
-
params:
|
|
223
|
+
params: xstate433.NonReducibleUnknown;
|
|
224
224
|
};
|
|
225
225
|
updateField: {
|
|
226
226
|
type: "updateField";
|
|
227
|
-
params:
|
|
227
|
+
params: xstate433.NonReducibleUnknown;
|
|
228
228
|
};
|
|
229
229
|
clearFieldValidationError: {
|
|
230
230
|
type: "clearFieldValidationError";
|
|
231
|
-
params:
|
|
231
|
+
params: xstate433.NonReducibleUnknown;
|
|
232
232
|
};
|
|
233
233
|
setOcrValidationErrors: {
|
|
234
234
|
type: "setOcrValidationErrors";
|
|
235
|
-
params:
|
|
235
|
+
params: xstate433.NonReducibleUnknown;
|
|
236
236
|
};
|
|
237
237
|
validateFormField: {
|
|
238
238
|
type: "validateFormField";
|
|
239
|
-
params:
|
|
239
|
+
params: xstate433.NonReducibleUnknown;
|
|
240
240
|
};
|
|
241
241
|
beginSecondIdOcrPhase: {
|
|
242
242
|
type: "beginSecondIdOcrPhase";
|
|
243
|
-
params:
|
|
243
|
+
params: xstate433.NonReducibleUnknown;
|
|
244
244
|
};
|
|
245
245
|
resetForRetry: {
|
|
246
246
|
type: "resetForRetry";
|
|
247
|
-
params:
|
|
247
|
+
params: xstate433.NonReducibleUnknown;
|
|
248
248
|
};
|
|
249
249
|
computeValidationResult: {
|
|
250
250
|
type: "computeValidationResult";
|
|
251
|
-
params:
|
|
251
|
+
params: xstate433.NonReducibleUnknown;
|
|
252
252
|
};
|
|
253
|
-
}>,
|
|
253
|
+
}>, xstate433.Values<{
|
|
254
254
|
isOcrEditable: {
|
|
255
255
|
type: "isOcrEditable";
|
|
256
256
|
params: unknown;
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "submitting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate433.NonReducibleUnknown, xstate433.EventObject, xstate433.MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({
|
|
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
280
280
|
spawn: {
|
|
281
281
|
<TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
|
|
282
282
|
src: "getOcrData";
|
|
283
|
-
logic:
|
|
283
|
+
logic: xstate433.PromiseActorLogic<OcrData, {
|
|
284
284
|
isSecondId: boolean;
|
|
285
|
-
},
|
|
285
|
+
}, xstate433.EventObject>;
|
|
286
286
|
id: string | undefined;
|
|
287
287
|
} extends infer T ? T extends {
|
|
288
288
|
src: "getOcrData";
|
|
289
|
-
logic:
|
|
289
|
+
logic: xstate433.PromiseActorLogic<OcrData, {
|
|
290
290
|
isSecondId: boolean;
|
|
291
|
-
},
|
|
291
|
+
}, xstate433.EventObject>;
|
|
292
292
|
id: string | undefined;
|
|
293
293
|
} ? T extends {
|
|
294
294
|
src: TSrc;
|
|
295
|
-
} ?
|
|
295
|
+
} ? xstate433.ConditionalRequired<[options?: ({
|
|
296
296
|
id?: T["id"] | undefined;
|
|
297
297
|
systemId?: string;
|
|
298
|
-
input?:
|
|
298
|
+
input?: xstate433.InputFrom<T["logic"]> | undefined;
|
|
299
299
|
syncSnapshot?: boolean;
|
|
300
|
-
} & { [K in
|
|
300
|
+
} & { [K in xstate433.RequiredActorOptions<T>]: unknown }) | undefined], xstate433.IsNotNever<xstate433.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
301
301
|
src: "updateOcrData";
|
|
302
|
-
logic:
|
|
302
|
+
logic: xstate433.PromiseActorLogic<UpdateOcrResponse, {
|
|
303
303
|
params: UpdateOcrDataParams;
|
|
304
304
|
isSecondId: boolean;
|
|
305
|
-
},
|
|
305
|
+
}, xstate433.EventObject>;
|
|
306
306
|
id: string | undefined;
|
|
307
307
|
} extends infer T_1 ? T_1 extends {
|
|
308
308
|
src: "updateOcrData";
|
|
309
|
-
logic:
|
|
309
|
+
logic: xstate433.PromiseActorLogic<UpdateOcrResponse, {
|
|
310
310
|
params: UpdateOcrDataParams;
|
|
311
311
|
isSecondId: boolean;
|
|
312
|
-
},
|
|
312
|
+
}, xstate433.EventObject>;
|
|
313
313
|
id: string | undefined;
|
|
314
314
|
} ? T_1 extends {
|
|
315
315
|
src: TSrc;
|
|
316
|
-
} ?
|
|
316
|
+
} ? xstate433.ConditionalRequired<[options?: ({
|
|
317
317
|
id?: T_1["id"] | undefined;
|
|
318
318
|
systemId?: string;
|
|
319
|
-
input?:
|
|
319
|
+
input?: xstate433.InputFrom<T_1["logic"]> | undefined;
|
|
320
320
|
syncSnapshot?: boolean;
|
|
321
|
-
} & { [K_1 in
|
|
321
|
+
} & { [K_1 in xstate433.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate433.IsNotNever<xstate433.RequiredActorOptions<T_1>>> : never : never : never)): xstate433.ActorRefFromLogic<xstate433.GetConcreteByKey<xstate433.Values<{
|
|
322
322
|
getOcrData: {
|
|
323
323
|
src: "getOcrData";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate433.PromiseActorLogic<OcrData, {
|
|
325
325
|
isSecondId: boolean;
|
|
326
|
-
},
|
|
326
|
+
}, xstate433.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
updateOcrData: {
|
|
330
330
|
src: "updateOcrData";
|
|
331
|
-
logic:
|
|
331
|
+
logic: xstate433.PromiseActorLogic<UpdateOcrResponse, {
|
|
332
332
|
params: UpdateOcrDataParams;
|
|
333
333
|
isSecondId: boolean;
|
|
334
|
-
},
|
|
334
|
+
}, xstate433.EventObject>;
|
|
335
335
|
id: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}>, "src", TSrc>["logic"]>;
|
|
338
|
-
<TLogic extends
|
|
338
|
+
<TLogic extends xstate433.AnyActorLogic>(src: TLogic, ...[options]: xstate433.ConditionalRequired<[options?: ({
|
|
339
339
|
id?: never;
|
|
340
340
|
systemId?: string;
|
|
341
|
-
input?:
|
|
341
|
+
input?: xstate433.InputFrom<TLogic> | undefined;
|
|
342
342
|
syncSnapshot?: boolean;
|
|
343
|
-
} & { [K in
|
|
343
|
+
} & { [K in xstate433.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate433.IsNotNever<xstate433.RequiredLogicInput<TLogic>>>): xstate433.ActorRefFromLogic<TLogic>;
|
|
344
344
|
};
|
|
345
345
|
input: IdOcrInput;
|
|
346
|
-
self:
|
|
346
|
+
self: xstate433.ActorRef<xstate433.MachineSnapshot<IdOcrContext, {
|
|
347
347
|
type: "LOAD";
|
|
348
348
|
} | {
|
|
349
349
|
type: "DATA_CHANGED";
|
|
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
356
356
|
type: "CONTINUE";
|
|
357
357
|
} | {
|
|
358
358
|
type: "RETRY";
|
|
359
|
-
}, Record<string,
|
|
359
|
+
}, Record<string, xstate433.AnyActorRef | undefined>, xstate433.StateValue, string, unknown, any, any>, {
|
|
360
360
|
type: "LOAD";
|
|
361
361
|
} | {
|
|
362
362
|
type: "DATA_CHANGED";
|
|
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
369
369
|
type: "CONTINUE";
|
|
370
370
|
} | {
|
|
371
371
|
type: "RETRY";
|
|
372
|
-
},
|
|
372
|
+
}, xstate433.AnyEventObject>;
|
|
373
373
|
}) => {
|
|
374
374
|
config: IdOcrConfig;
|
|
375
375
|
formData: UpdateOcrDataParams;
|
|
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
405
405
|
} | {
|
|
406
406
|
type: "RETRY";
|
|
407
407
|
};
|
|
408
|
-
self:
|
|
408
|
+
self: xstate433.ActorRef<xstate433.MachineSnapshot<IdOcrContext, {
|
|
409
409
|
type: "LOAD";
|
|
410
410
|
} | {
|
|
411
411
|
type: "DATA_CHANGED";
|
|
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
418
418
|
type: "CONTINUE";
|
|
419
419
|
} | {
|
|
420
420
|
type: "RETRY";
|
|
421
|
-
}, Record<string,
|
|
421
|
+
}, Record<string, xstate433.AnyActorRef>, xstate433.StateValue, string, unknown, any, any>, {
|
|
422
422
|
type: "LOAD";
|
|
423
423
|
} | {
|
|
424
424
|
type: "DATA_CHANGED";
|
|
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
431
431
|
type: "CONTINUE";
|
|
432
432
|
} | {
|
|
433
433
|
type: "RETRY";
|
|
434
|
-
},
|
|
434
|
+
}, xstate433.AnyEventObject>;
|
|
435
435
|
}) => {
|
|
436
436
|
isSecondId: boolean;
|
|
437
437
|
};
|
|
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
510
510
|
} | {
|
|
511
511
|
type: "RETRY";
|
|
512
512
|
};
|
|
513
|
-
self:
|
|
513
|
+
self: xstate433.ActorRef<xstate433.MachineSnapshot<IdOcrContext, {
|
|
514
514
|
type: "LOAD";
|
|
515
515
|
} | {
|
|
516
516
|
type: "DATA_CHANGED";
|
|
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
523
523
|
type: "CONTINUE";
|
|
524
524
|
} | {
|
|
525
525
|
type: "RETRY";
|
|
526
|
-
}, Record<string,
|
|
526
|
+
}, Record<string, xstate433.AnyActorRef>, xstate433.StateValue, string, unknown, any, any>, {
|
|
527
527
|
type: "LOAD";
|
|
528
528
|
} | {
|
|
529
529
|
type: "DATA_CHANGED";
|
|
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate845.StateMachine<IdOcrContext, {
|
|
|
536
536
|
type: "CONTINUE";
|
|
537
537
|
} | {
|
|
538
538
|
type: "RETRY";
|
|
539
|
-
},
|
|
539
|
+
}, xstate433.AnyEventObject>;
|
|
540
540
|
}) => {
|
|
541
541
|
params: UpdateOcrDataParams;
|
|
542
542
|
isSecondId: boolean;
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import "./cpf-
|
|
6
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
1
|
+
import "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
|
|
3
|
+
import "./endpoints-B2t80MAM.esm.js";
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
5
|
+
import "./cpf-xBg-DFNn.esm.js";
|
|
6
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-BwksZ-bt.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
9
9
|
function createIdOcrActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-CHiHBvMT.js";
|
|
2
|
+
import "./Actor-CeqUTqL9.js";
|
|
3
|
+
import * as xstate394 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: xstate394.StateMachine<IdVerificationContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "CONTINUE";
|
|
39
39
|
}, {
|
|
40
|
-
[x: string]:
|
|
40
|
+
[x: string]: xstate394.ActorRefFromLogic<xstate394.PromiseActorLogic<ProcessIdResponse, {
|
|
41
41
|
isSecondId: boolean;
|
|
42
42
|
queueName: string;
|
|
43
|
-
},
|
|
43
|
+
}, xstate394.EventObject>> | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
src: "processId";
|
|
46
|
-
logic:
|
|
46
|
+
logic: xstate394.PromiseActorLogic<ProcessIdResponse, {
|
|
47
47
|
isSecondId: boolean;
|
|
48
48
|
queueName: string;
|
|
49
|
-
},
|
|
49
|
+
}, xstate394.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, xstate394.NonReducibleUnknown, xstate394.EventObject, xstate394.MetaObject, {
|
|
55
55
|
readonly id: "idVerification";
|
|
56
56
|
readonly initial: "idle";
|
|
57
57
|
readonly context: ({
|
|
@@ -60,50 +60,50 @@ declare const idVerificationMachine: xstate307.StateMachine<IdVerificationContex
|
|
|
60
60
|
spawn: {
|
|
61
61
|
<TSrc extends "processId">(logic: TSrc, ...[options]: {
|
|
62
62
|
src: "processId";
|
|
63
|
-
logic:
|
|
63
|
+
logic: xstate394.PromiseActorLogic<ProcessIdResponse, {
|
|
64
64
|
isSecondId: boolean;
|
|
65
65
|
queueName: string;
|
|
66
|
-
},
|
|
66
|
+
}, xstate394.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
} extends infer T ? T extends {
|
|
69
69
|
src: "processId";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate394.PromiseActorLogic<ProcessIdResponse, {
|
|
71
71
|
isSecondId: boolean;
|
|
72
72
|
queueName: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate394.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
} ? T extends {
|
|
76
76
|
src: TSrc;
|
|
77
|
-
} ?
|
|
77
|
+
} ? xstate394.ConditionalRequired<[options?: ({
|
|
78
78
|
id?: T["id"] | undefined;
|
|
79
79
|
systemId?: string;
|
|
80
|
-
input?:
|
|
80
|
+
input?: xstate394.InputFrom<T["logic"]> | undefined;
|
|
81
81
|
syncSnapshot?: boolean;
|
|
82
|
-
} & { [K in
|
|
82
|
+
} & { [K in xstate394.RequiredActorOptions<T>]: unknown }) | undefined], xstate394.IsNotNever<xstate394.RequiredActorOptions<T>>> : never : never : never): xstate394.ActorRefFromLogic<xstate394.GetConcreteByKey<{
|
|
83
83
|
src: "processId";
|
|
84
|
-
logic:
|
|
84
|
+
logic: xstate394.PromiseActorLogic<ProcessIdResponse, {
|
|
85
85
|
isSecondId: boolean;
|
|
86
86
|
queueName: string;
|
|
87
|
-
},
|
|
87
|
+
}, xstate394.EventObject>;
|
|
88
88
|
id: string | undefined;
|
|
89
89
|
}, "src", TSrc>["logic"]>;
|
|
90
|
-
<TLogic extends
|
|
90
|
+
<TLogic extends xstate394.AnyActorLogic>(src: TLogic, ...[options]: xstate394.ConditionalRequired<[options?: ({
|
|
91
91
|
id?: never;
|
|
92
92
|
systemId?: string;
|
|
93
|
-
input?:
|
|
93
|
+
input?: xstate394.InputFrom<TLogic> | undefined;
|
|
94
94
|
syncSnapshot?: boolean;
|
|
95
|
-
} & { [K in
|
|
95
|
+
} & { [K in xstate394.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate394.IsNotNever<xstate394.RequiredLogicInput<TLogic>>>): xstate394.ActorRefFromLogic<TLogic>;
|
|
96
96
|
};
|
|
97
97
|
input: IdVerificationInput;
|
|
98
|
-
self:
|
|
98
|
+
self: xstate394.ActorRef<xstate394.MachineSnapshot<IdVerificationContext, {
|
|
99
99
|
type: "LOAD";
|
|
100
100
|
} | {
|
|
101
101
|
type: "CONTINUE";
|
|
102
|
-
}, Record<string,
|
|
102
|
+
}, Record<string, xstate394.AnyActorRef | undefined>, xstate394.StateValue, string, unknown, any, any>, {
|
|
103
103
|
type: "LOAD";
|
|
104
104
|
} | {
|
|
105
105
|
type: "CONTINUE";
|
|
106
|
-
},
|
|
106
|
+
}, xstate394.AnyEventObject>;
|
|
107
107
|
}) => {
|
|
108
108
|
config: IdVerificationConfig;
|
|
109
109
|
isSecondId: boolean;
|
|
@@ -127,15 +127,15 @@ declare const idVerificationMachine: xstate307.StateMachine<IdVerificationContex
|
|
|
127
127
|
} | {
|
|
128
128
|
type: "CONTINUE";
|
|
129
129
|
};
|
|
130
|
-
self:
|
|
130
|
+
self: xstate394.ActorRef<xstate394.MachineSnapshot<IdVerificationContext, {
|
|
131
131
|
type: "LOAD";
|
|
132
132
|
} | {
|
|
133
133
|
type: "CONTINUE";
|
|
134
|
-
}, Record<string,
|
|
134
|
+
}, Record<string, xstate394.AnyActorRef>, xstate394.StateValue, string, unknown, any, any>, {
|
|
135
135
|
type: "LOAD";
|
|
136
136
|
} | {
|
|
137
137
|
type: "CONTINUE";
|
|
138
|
-
},
|
|
138
|
+
}, xstate394.AnyEventObject>;
|
|
139
139
|
}) => {
|
|
140
140
|
isSecondId: boolean;
|
|
141
141
|
queueName: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { s as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
1
|
+
import "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import { s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
|
|
3
|
+
import "./endpoints-B2t80MAM.esm.js";
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
5
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-BMzgkkbQ.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,15 +1,15 @@
|
|
|
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 "./StreamCanvasCapture-
|
|
12
|
-
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-CdT_pVcp.js";
|
|
2
|
+
import "./Manager-CHiHBvMT.js";
|
|
3
|
+
import "./Actor-CeqUTqL9.js";
|
|
4
|
+
import "./StateMachine-HpHVxl3G.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-D0c7ez3w.js";
|
|
6
|
+
import "./types-DR2YKE_o.js";
|
|
7
|
+
import "./types-C1ixFPzO.js";
|
|
8
|
+
import "./types-D8y52YD5.js";
|
|
9
|
+
import "./deepsightService-BpVpDm2O.js";
|
|
10
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-F0IXbaCB.js";
|
|
11
|
+
import "./StreamCanvasCapture-uQFmjDCE.js";
|
|
12
|
+
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-Wn84cPTa.js";
|
|
13
13
|
|
|
14
14
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
15
15
|
type IdCaptureOnlyManager = IdCaptureManager;
|
package/dist/id.esm.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import "./WasmUtilProvider-
|
|
2
|
-
import "./BrowserTimerProvider-
|
|
3
|
-
import "./api-
|
|
4
|
-
import { n as eventModuleNames } from "./events-
|
|
5
|
-
import "./endpoints-
|
|
6
|
-
import "./stats-
|
|
7
|
-
import "./IpifyProvider-
|
|
8
|
-
import "./browserSimulation-
|
|
9
|
-
import "./sessionInitializer-
|
|
10
|
-
import "./platform-
|
|
11
|
-
import "./getBrowser-
|
|
12
|
-
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-
|
|
13
|
-
import "./apiError-
|
|
14
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
15
|
-
import "./MotionSensorProvider-
|
|
16
|
-
import "./permissionServices-
|
|
17
|
-
import "./camera-
|
|
18
|
-
import "./recordingService-
|
|
19
|
-
import "./ITimerCapability-
|
|
20
|
-
import "./canvas-
|
|
21
|
-
import "./backCameraStream-
|
|
22
|
-
import "./deepsightService-
|
|
23
|
-
import "./getDeviceClass-
|
|
24
|
-
import "./getDeviceClass-
|
|
25
|
-
import "./types-
|
|
26
|
-
import "./StreamCanvasCapture-
|
|
27
|
-
import "./permissionGuards-
|
|
28
|
-
import "./session-
|
|
29
|
-
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-
|
|
30
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
31
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
1
|
+
import "./WasmUtilProvider-CAZ4AD98.esm.js";
|
|
2
|
+
import "./BrowserTimerProvider-BVgutW_b.esm.js";
|
|
3
|
+
import "./api-DUZwyz0o.esm.js";
|
|
4
|
+
import { n as eventModuleNames } from "./events-CmarQoum.esm.js";
|
|
5
|
+
import "./endpoints-B2t80MAM.esm.js";
|
|
6
|
+
import "./stats-32mOt6D8.esm.js";
|
|
7
|
+
import "./IpifyProvider-oZf7Ke1O.esm.js";
|
|
8
|
+
import "./browserSimulation-CGjpdNA1.esm.js";
|
|
9
|
+
import "./sessionInitializer-Qlg7EwTl.esm.js";
|
|
10
|
+
import "./platform-BfoqeM61.esm.js";
|
|
11
|
+
import "./getBrowser-Dv8LZyHE.esm.js";
|
|
12
|
+
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
13
|
+
import "./apiError-D-GTvFrH.esm.js";
|
|
14
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CGCKial0.esm.js";
|
|
15
|
+
import "./MotionSensorProvider-C9fPAJdS.esm.js";
|
|
16
|
+
import "./permissionServices-BApXq7a0.esm.js";
|
|
17
|
+
import "./camera-x4LjGTjZ.esm.js";
|
|
18
|
+
import "./recordingService-Cw3hJgT2.esm.js";
|
|
19
|
+
import "./ITimerCapability-BvH0pDwp.esm.js";
|
|
20
|
+
import "./canvas-7uX2izHb.esm.js";
|
|
21
|
+
import "./backCameraStream-iftkf3rd.esm.js";
|
|
22
|
+
import "./deepsightService-40p8oygL.esm.js";
|
|
23
|
+
import "./getDeviceClass-C0zrM97a.esm.js";
|
|
24
|
+
import "./getDeviceClass-rXKlXywy.esm.js";
|
|
25
|
+
import "./types-C3Yf5jrM.esm.js";
|
|
26
|
+
import "./StreamCanvasCapture-Dr5n_iK1.esm.js";
|
|
27
|
+
import "./permissionGuards-MDEdZAXO.esm.js";
|
|
28
|
+
import "./session-C_G3d7av.esm.js";
|
|
29
|
+
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-CU3F89Pn.esm.js";
|
|
30
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Cm-IXB70.esm.js";
|
|
31
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DyJrH089.esm.js";
|
|
32
32
|
|
|
33
33
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
34
34
|
function buildSubImage(canvas) {
|