@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,4 +1,4 @@
|
|
|
1
|
-
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-DeXWxqNA.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/ae-signature/index.ts
|
|
4
4
|
function createAeSignatureManager(options) {
|
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
1
|
+
import { t as Manager } from "./Manager-BeGOXZ8j.js";
|
|
2
|
+
import "./Actor-CARlguSq.js";
|
|
3
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-xu3NbUht.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -2,7 +2,8 @@ import "./api-eqRXuVG-.esm.js";
|
|
|
2
2
|
import "./events-Dnh2PVAZ.esm.js";
|
|
3
3
|
import "./endpoints-D4cNQqhS.esm.js";
|
|
4
4
|
import "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
5
|
+
import "./apiError-CH9VyBh5.esm.js";
|
|
6
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-DeXWxqNA.esm.js";
|
|
7
|
+
import { t as createAeSignatureManager } from "./ae-signature-CDCW3z6k.esm.js";
|
|
7
8
|
|
|
8
9
|
export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
|
package/dist/antifraud.d.ts
CHANGED
package/dist/antifraud.esm.js
CHANGED
|
@@ -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 { t as antifraudMachine } from "./antifraudStateMachine-
|
|
5
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-DG6ZVhgf.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
8
8
|
function createAntifraudActor() {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//#region src/internal/http/apiError.ts
|
|
2
|
+
/**
|
|
3
|
+
* Incode API error.
|
|
4
|
+
*
|
|
5
|
+
* Wraps an HTTP failure so callers can branch on the Incode-specific status
|
|
6
|
+
* code (e.g. `4028` for "Flow is not activated") and surface the server's
|
|
7
|
+
* human-readable message to the user. The Incode backend returns these on
|
|
8
|
+
* HTTP `400` responses with a body shaped:
|
|
9
|
+
*
|
|
10
|
+
* ```json
|
|
11
|
+
* { "status": 4028, "error": "Flow is not activated.", "message": "...", "path": "/0/omni/start" }
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* - `status` — prefers the body's Incode status code, falls back to the HTTP
|
|
15
|
+
* status when the body doesn't carry one.
|
|
16
|
+
* - `httpStatus` — always the underlying HTTP status.
|
|
17
|
+
* - `cause` — the original `HttpError` (typically `FetchHttpError`) is
|
|
18
|
+
* preserved on the standard ES `Error.cause` slot, so core consumers that
|
|
19
|
+
* need `url` / `method` / `headers` / raw `data` can read them via
|
|
20
|
+
* `err.cause`.
|
|
21
|
+
*/
|
|
22
|
+
var IncodeApiError = class extends Error {
|
|
23
|
+
constructor(endpoint, status, httpStatus, message, cause) {
|
|
24
|
+
super(message);
|
|
25
|
+
this.name = "IncodeApiError";
|
|
26
|
+
this.endpoint = endpoint;
|
|
27
|
+
this.status = status;
|
|
28
|
+
this.httpStatus = httpStatus;
|
|
29
|
+
if (cause !== void 0) this.cause = cause;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
function isHttpError(err) {
|
|
33
|
+
return typeof err === "object" && err !== null && "status" in err && "statusText" in err && "data" in err;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Convert an unknown error caught from `api.{get,post,...}` into an
|
|
37
|
+
* `IncodeApiError`, extracting the Incode-specific status and message from
|
|
38
|
+
* the response body when present. The original error is preserved on
|
|
39
|
+
* `IncodeApiError.cause`. Non-HTTP errors (including `AbortError`) and any
|
|
40
|
+
* other shape are re-thrown unchanged.
|
|
41
|
+
*/
|
|
42
|
+
function toIncodeApiError(endpoint, err) {
|
|
43
|
+
if (!isHttpError(err)) throw err;
|
|
44
|
+
const body = err.data ?? {};
|
|
45
|
+
const status = typeof body.status === "number" ? body.status : err.status;
|
|
46
|
+
const message = body.error ?? body.message ?? err.statusText ?? `HTTP ${err.status}`;
|
|
47
|
+
throw new IncodeApiError(endpoint, status, err.status, message, err);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
//#endregion
|
|
51
|
+
export { toIncodeApiError as n, IncodeApiError as t };
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./StateMachine-
|
|
5
|
-
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./types-
|
|
10
|
-
import "./deepsightService-
|
|
11
|
-
import "./types-
|
|
12
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import "./warmup-5M9V24RH.js";
|
|
2
|
+
import "./Manager-BeGOXZ8j.js";
|
|
3
|
+
import "./Actor-CARlguSq.js";
|
|
4
|
+
import "./StateMachine-CDm3JH51.js";
|
|
5
|
+
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-BodYisaN.js";
|
|
6
|
+
import "./camera-BMF1a_t8.js";
|
|
7
|
+
import "./types-EXVJmBuY.js";
|
|
8
|
+
import "./types-CdzhDWOw.js";
|
|
9
|
+
import "./types-cQjCrKJE.js";
|
|
10
|
+
import "./deepsightService-CiNHvOj0.js";
|
|
11
|
+
import "./types-CL7hCbCA.js";
|
|
12
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CXwDnFxJ.js";
|
|
13
13
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -7,19 +7,19 @@ import "./browserSimulation-DoIsN6qC.esm.js";
|
|
|
7
7
|
import "./platform-Ca6QEq2_.esm.js";
|
|
8
8
|
import "./getBrowser-DHeJ7PSV.esm.js";
|
|
9
9
|
import "./xstate.esm-C_4CL5-u.esm.js";
|
|
10
|
-
import "./BrowserStorageProvider-
|
|
11
|
-
import "./MotionSensorProvider-
|
|
12
|
-
import "./permissionServices-
|
|
13
|
-
import "./camera-
|
|
14
|
-
import "./faceCaptureManagerFactory-
|
|
15
|
-
import "./recordingService-
|
|
16
|
-
import "./ITimerCapability-
|
|
17
|
-
import "./deepsightService-
|
|
18
|
-
import "./backCameraStream-
|
|
19
|
-
import "./getDeviceClass-
|
|
20
|
-
import "./getDeviceClass-
|
|
21
|
-
import "./faceCaptureSetup-
|
|
22
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
23
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
10
|
+
import "./BrowserStorageProvider-EtdbBJGr.esm.js";
|
|
11
|
+
import "./MotionSensorProvider-BiZTqw83.esm.js";
|
|
12
|
+
import "./permissionServices-4py90m2a.esm.js";
|
|
13
|
+
import "./camera-CUAQ-q4e.esm.js";
|
|
14
|
+
import "./faceCaptureManagerFactory-GCqj24xa.esm.js";
|
|
15
|
+
import "./recordingService-DJPyoT4J.esm.js";
|
|
16
|
+
import "./ITimerCapability-2pw-S97e.esm.js";
|
|
17
|
+
import "./deepsightService-DgmtJnVh.esm.js";
|
|
18
|
+
import "./backCameraStream-5q1r2W2q.esm.js";
|
|
19
|
+
import "./getDeviceClass-CK6VGnUc.esm.js";
|
|
20
|
+
import "./getDeviceClass-B6U_P2pO.esm.js";
|
|
21
|
+
import "./faceCaptureSetup-B9RFaTgo.esm.js";
|
|
22
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-TIrvdOEV.esm.js";
|
|
23
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-gRC1sCEb.esm.js";
|
|
24
24
|
|
|
25
25
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { t as Manager } from "./Manager-BeGOXZ8j.js";
|
|
2
|
+
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-BodYisaN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
package/dist/{authenticationManager-BXYtdLzK.esm.js → authenticationManager-gRC1sCEb.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-C3xYpVKR.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dnh2PVAZ.esm.js";
|
|
3
3
|
import { s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
4
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
4
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-EtdbBJGr.esm.js";
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-GCqj24xa.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-TIrvdOEV.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -2,9 +2,9 @@ import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-D4cNQqhS.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-Dc1nW_Oc.esm.js";
|
|
4
4
|
import { a as fromPromise, r as assign } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
-
import { b as FACE_ERROR_CODES, d as postOnDeviceFaceResults, f as prepareOnDeviceFaceUpload, l as defaultPrepareFaceUpload, u as isOnDeviceMode } from "./recordingService-
|
|
6
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
7
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
5
|
+
import { b as FACE_ERROR_CODES, d as postOnDeviceFaceResults, f as prepareOnDeviceFaceUpload, l as defaultPrepareFaceUpload, u as isOnDeviceMode } from "./recordingService-DJPyoT4J.esm.js";
|
|
6
|
+
import { t as getDeviceClass } from "./getDeviceClass-B6U_P2pO.esm.js";
|
|
7
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-B9RFaTgo.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
10
10
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-Ca6QEq2_.esm.js";
|
|
2
|
-
import { i as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-
|
|
3
|
-
import { t as sleep } from "./ITimerCapability-
|
|
2
|
+
import { i as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-CUAQ-q4e.esm.js";
|
|
3
|
+
import { t as sleep } from "./ITimerCapability-2pw-S97e.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/camera/backCameraStream.ts
|
|
6
6
|
const BACK_CAMERA_KEYWORDS = [
|
package/dist/camera.d.ts
CHANGED
package/dist/camera.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./WasmUtilProvider-C3xYpVKR.esm.js";
|
|
2
|
-
import "./MotionSensorProvider-
|
|
3
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
4
|
-
import "./camera-
|
|
2
|
+
import "./MotionSensorProvider-BiZTqw83.esm.js";
|
|
3
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-4py90m2a.esm.js";
|
|
4
|
+
import "./camera-CUAQ-q4e.esm.js";
|
|
5
5
|
|
|
6
6
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
package/dist/consent.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-BeGOXZ8j.js";
|
|
2
|
+
import "./Actor-CARlguSq.js";
|
|
3
|
+
import * as xstate593 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/types.d.ts
|
|
6
6
|
type ConsentConfig = {
|
|
@@ -36,7 +36,7 @@ type ConsentContext = {
|
|
|
36
36
|
type ConsentInput = {
|
|
37
37
|
config: ConsentConfig;
|
|
38
38
|
};
|
|
39
|
-
declare const consentMachine:
|
|
39
|
+
declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate1221.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate593.ActorRefFromLogic<xstate593.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate593.EventObject>> | xstate593.ActorRefFromLogic<xstate593.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate593.EventObject>> | undefined;
|
|
57
|
+
}, xstate593.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate593.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate593.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate593.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate593.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
73
|
+
}>, xstate593.Values<{
|
|
74
74
|
setError: {
|
|
75
75
|
type: "setError";
|
|
76
|
-
params:
|
|
76
|
+
params: xstate593.NonReducibleUnknown;
|
|
77
77
|
};
|
|
78
78
|
clearError: {
|
|
79
79
|
type: "clearError";
|
|
80
|
-
params:
|
|
80
|
+
params: xstate593.NonReducibleUnknown;
|
|
81
81
|
};
|
|
82
82
|
resetContext: {
|
|
83
83
|
type: "resetContext";
|
|
84
|
-
params:
|
|
84
|
+
params: xstate593.NonReducibleUnknown;
|
|
85
85
|
};
|
|
86
86
|
setConsentData: {
|
|
87
87
|
type: "setConsentData";
|
|
88
|
-
params:
|
|
88
|
+
params: xstate593.NonReducibleUnknown;
|
|
89
89
|
};
|
|
90
90
|
toggleCheckbox: {
|
|
91
91
|
type: "toggleCheckbox";
|
|
92
|
-
params:
|
|
92
|
+
params: xstate593.NonReducibleUnknown;
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
95
|
type: "canSubmit";
|
|
96
96
|
params: unknown;
|
|
97
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput,
|
|
97
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate593.NonReducibleUnknown, xstate593.EventObject, xstate593.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate1221.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate593.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate593.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate593.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate593.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate593.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate593.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate593.RequiredActorOptions<T>]: unknown }) | undefined], xstate593.IsNotNever<xstate593.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate593.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate593.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate593.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate593.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate593.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate593.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate593.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate593.IsNotNever<xstate593.RequiredActorOptions<T_1>>> : never : never : never)): xstate593.ActorRefFromLogic<xstate593.GetConcreteByKey<xstate593.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate593.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate593.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate593.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate593.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate593.AnyActorLogic>(src: TLogic, ...[options]: xstate593.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate593.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate593.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate593.IsNotNever<xstate593.RequiredLogicInput<TLogic>>>): xstate593.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate593.ActorRef<xstate593.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate1221.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate593.AnyActorRef | undefined>, xstate593.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate1221.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate593.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate1221.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate593.ActorRef<xstate593.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate1221.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate593.AnyActorRef>, xstate593.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate1221.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate593.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate1221.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate593.ActorRef<xstate593.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate1221.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate593.AnyActorRef>, xstate593.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate1221.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate593.AnyEventObject>;
|
|
323
323
|
}) => {
|
|
324
324
|
languageConsentId: string;
|
|
325
325
|
checkboxes: ConsentCheckbox[];
|
package/dist/consent.esm.js
CHANGED
|
@@ -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 { t as consentMachine } from "./consentStateMachine-
|
|
5
|
+
import { t as consentMachine } from "./consentStateMachine-DoAMTUpJ.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/consent/consentActor.ts
|
|
8
8
|
function createConsentActor(options) {
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BeGOXZ8j.js";
|
|
2
|
+
import * as xstate568 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/cpf-ocr/cpfOcrManager.d.ts
|
|
5
5
|
type CpfOcrIdleState = {
|
|
@@ -47,7 +47,7 @@ type CpfOcrContext = {
|
|
|
47
47
|
error: string | undefined;
|
|
48
48
|
};
|
|
49
49
|
type CpfOcrInput = Record<string, never>;
|
|
50
|
-
declare const cpfOcrMachine:
|
|
50
|
+
declare const cpfOcrMachine: xstate568.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate529.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate568.ActorRefFromLogic<xstate568.PromiseActorLogic<CpfOcrDataResponse, void, xstate568.EventObject>> | xstate568.ActorRefFromLogic<xstate568.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate568.EventObject>> | undefined;
|
|
63
|
+
}, xstate568.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate568.PromiseActorLogic<CpfOcrDataResponse, void, xstate568.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate568.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate568.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate568.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate568.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate568.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate568.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate568.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
type: "isValid";
|
|
95
95
|
params: unknown;
|
|
96
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
96
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, xstate568.NonReducibleUnknown, xstate568.EventObject, xstate568.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate529.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate568.ActorRef<xstate568.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate529.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate568.AnyActorRef>, xstate568.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate529.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate568.AnyEventObject>;
|
|
170
170
|
}) => {
|
|
171
171
|
cpf: string;
|
|
172
172
|
};
|
package/dist/cpf-ocr.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dnh2PVAZ.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-D4cNQqhS.esm.js";
|
|
4
4
|
import { a as fromPromise, c as createManager, r as assign, s as createActor, 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 src/modules/cpf-ocr/cpfOcrServices.ts
|
|
8
8
|
async function fetchCpfOcrData(signal) {
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dnh2PVAZ.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-D4cNQqhS.esm.js";
|
|
4
4
|
import { a as fromPromise, c as createManager, s as createActor, t as setup } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
-
import { t as sleep } from "./ITimerCapability-
|
|
5
|
+
import { t as sleep } from "./ITimerCapability-2pw-S97e.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
|
|
8
8
|
/** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
|