@incodetech/core 0.0.0-dev-20260506-d1f463c → 0.0.0-dev-20260506-02369cc
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-DWu7JVIv.esm.js → OpenViduRecordingProvider-uonkP2qT.esm.js} +1 -1
- package/dist/{addressSearch-B-gRk55b.esm.js → addressSearch-1EhIahE5.esm.js} +4 -4
- package/dist/{ae-signature-CD2xVkh6.esm.js → ae-signature-BPAhuail.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +6 -5
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +5 -4
- package/dist/{antifraudStateMachine-BpA9DsDL.esm.js → antifraudStateMachine-CaTkXzvS.esm.js} +3 -3
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +21 -20
- package/dist/{authenticationManager-D53H93OW.d.ts → authenticationManager-B8GvzIqz.d.ts} +2 -2
- package/dist/{authenticationManager-BlExOsgX.esm.js → authenticationManager-DoYYNtAB.esm.js} +5 -5
- package/dist/{authenticationStateMachine-B2KkS-0r.esm.js → authenticationStateMachine-DM9magHC.esm.js} +6 -6
- package/dist/{backCameraStream-BIzYKDy2.esm.js → backCameraStream-5ADnns4R.esm.js} +3 -3
- 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 +5 -4
- package/dist/{consentStateMachine-DSGt1SyM.esm.js → consentStateMachine-KnKYoONj.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +18 -18
- package/dist/cpf-ocr.esm.js +5 -4
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +5 -4
- package/dist/curp-validation.d.ts +5 -5
- package/dist/curp-validation.esm.js +5 -4
- package/dist/{curpValidationStateMachine-B_cFIz9T.esm.js → curpValidationStateMachine-DrPvk0JT.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +4 -3
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +5 -4
- package/dist/{deepsightLoader-nn8-Chjr.esm.js → deepsightLoader-CmYeKifo.esm.js} +8 -8
- package/dist/{deepsightService-CU4xtxzz.esm.js → deepsightService-Bcszplg_.esm.js} +5 -5
- package/dist/{deepsightService-Cxp-yJjr.d.ts → deepsightService-GnSzshni.d.ts} +2 -2
- package/dist/device.esm.js +3 -3
- package/dist/document-capture.d.ts +71 -71
- package/dist/document-capture.esm.js +9 -8
- package/dist/document-upload.d.ts +47 -47
- package/dist/document-upload.esm.js +8 -7
- package/dist/{documentCaptureStateMachine-DWZUY2Aw.esm.js → documentCaptureStateMachine-CCXTJumz.esm.js} +5 -5
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +11 -10
- package/dist/{ekybStateMachine-g06X84x1.esm.js → ekybStateMachine-DyBzB0i-.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +8 -7
- package/dist/{ekycStateMachine-02EweGtj.esm.js → ekycStateMachine-DBW6AZE4.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +5 -4
- package/dist/{electronicSignatureManager-BbRP-Oph.esm.js → electronicSignatureManager-CO2GTZLe.esm.js} +4 -3
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +7 -6
- package/dist/{emailManager-C2W-MJQ8.esm.js → emailManager-4RL2kin0.esm.js} +3 -3
- package/dist/{emailManager-D8T6_Ptr.d.ts → emailManager-_R1h46gY.d.ts} +2 -2
- package/dist/{emailStateMachine-Df_AcoGW.esm.js → emailStateMachine-D2rWFesQ.esm.js} +4 -4
- package/dist/endpoints-DNtRS0G7.esm.js +86 -0
- package/dist/{events-s0VL5FYh.esm.js → events-uIxiN9N7.esm.js} +171 -107
- package/dist/events.d.ts +14 -7
- package/dist/events.esm.js +3 -3
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +32 -31
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -4
- package/dist/{faceCaptureManagerFactory-Dix0LYX3.esm.js → faceCaptureManagerFactory-BmFLgwZH.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-Cf6AcIJI.d.ts → faceCaptureManagerFactory-Djy4IlDy.d.ts} +8 -8
- package/dist/{faceCaptureSetup-GGxPo8Cc.esm.js → faceCaptureSetup-BS_YbgPv.esm.js} +4 -4
- package/dist/{faceMatchStateMachine-Cjc-2700.esm.js → faceMatchStateMachine-hMwJymwg.esm.js} +3 -3
- package/dist/flow-events.d.ts +5 -5
- package/dist/flow.d.ts +11 -11
- package/dist/flow.esm.js +10 -9
- package/dist/{flowCompletionService-DhTdMWSB.esm.js → flowCompletionService-BWnQnePV.esm.js} +2 -2
- package/dist/{flowServices-vOlZ2du-.esm.js → flowServices-CfExGWKj.esm.js} +3 -3
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +6 -5
- package/dist/{geolocationStateMachine-BUp3qs8o.esm.js → geolocationStateMachine-Do1_kljB.esm.js} +4 -4
- package/dist/{getDeviceClass-AjL3Pr7R.esm.js → getDeviceClass-DheTn1ak.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +6 -5
- package/dist/{governmentValidationStateMachine-DBAuZdbq.esm.js → governmentValidationStateMachine-BssAqWED.esm.js} +4 -4
- package/dist/home.d.ts +14 -14
- package/dist/home.esm.js +3 -3
- package/dist/http.d.ts +2 -0
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +5 -4
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +22 -21
- package/dist/{idCaptureManager-DgGCk4er.esm.js → idCaptureManager-BpOQ90xZ.esm.js} +4 -4
- package/dist/{idCaptureManager--lWVPu7Z.d.ts → idCaptureManager-Bqg9zlPG.d.ts} +7 -7
- package/dist/{idCaptureStateMachine-Pdi-cHC2.esm.js → idCaptureStateMachine-BaPJUQZP.esm.js} +16 -15
- package/dist/identity-reuse.d.ts +42 -42
- package/dist/identity-reuse.esm.js +4 -3
- package/dist/{index-BIhqszMN.d.ts → index-CzOhiwDF.d.ts} +2 -2
- package/dist/{index-CJT4brJN.d.ts → index-DibBpAh_.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +8 -6
- package/dist/mandatory-consent.d.ts +52 -52
- package/dist/mandatory-consent.esm.js +5 -4
- package/dist/{mandatoryConsentStateMachine-BJF3K6w1.esm.js → mandatoryConsentStateMachine-BK246N9V.esm.js} +3 -3
- package/dist/{openviduLazy-4LxskPjj.esm.js → openviduLazy-aNR44E71.esm.js} +1 -1
- package/dist/openviduLazy-npBduPje.esm.js +3 -0
- package/dist/{permissionServices-DiAThhLg.esm.js → permissionServices-eL_s8LM6.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +7 -6
- package/dist/{phoneManager-DjTBO3bK.d.ts → phoneManager-Co_KRbXI.d.ts} +2 -2
- package/dist/{phoneManager-DskgpnGL.esm.js → phoneManager-DTsFubQ_.esm.js} +3 -3
- package/dist/{phoneStateMachine-CswpoAaH.esm.js → phoneStateMachine-QEx9QC81.esm.js} +4 -4
- package/dist/{qe-signature-Dy3nLSvu.esm.js → qe-signature-TspdCZZA.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +6 -5
- package/dist/{recordingService-Nn-BBO6j.esm.js → recordingService-Dfbz2eLt.esm.js} +12 -12
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +6 -5
- package/dist/{redirectToMobileStateMachine-DmY7A9iM.esm.js → redirectToMobileStateMachine-SEyTm9zV.esm.js} +4 -4
- package/dist/{runChildModule-DP-gEBHS.esm.js → runChildModule-DKpZakUb.esm.js} +2 -2
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +21 -20
- package/dist/{selfieManager-BI4smYEE.esm.js → selfieManager-DZAiQU3s.esm.js} +5 -5
- package/dist/{selfieManager-xZ0EHWY3.d.ts → selfieManager-nb4RVuY8.d.ts} +2 -2
- package/dist/{selfieStateMachine-B-stjSD5.esm.js → selfieStateMachine-DBEkKHvx.esm.js} +3 -3
- package/dist/{session-BCQvMndk.esm.js → session-BGI_USm9.esm.js} +8 -6
- package/dist/session.d.ts +3 -1
- package/dist/session.esm.js +7 -6
- package/dist/{setup-dQRYY-fo.d.ts → setup-Bj5ZkdOq.d.ts} +1 -1
- package/dist/{setup-B7MQWTT5.esm.js → setup-C3pEfRmV.esm.js} +42 -6
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +5 -4
- package/dist/{signatureStateMachine-CW8TVU_C.esm.js → signatureStateMachine-DbyKqwWg.esm.js} +4 -3
- package/dist/{stats-CwyqXTRr.esm.js → stats-B8cIMClD.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{types-DdYIMV6w.d.ts → types-BWX0ell9.d.ts} +1 -1
- package/dist/{types-DxQ9z4r7.d.ts → types-C7dI6ci8.d.ts} +1 -1
- package/dist/{types-DFwAuzk2.d.ts → types-DP2M29nE.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +8 -6
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +4 -3
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +5 -4
- package/dist/{watchlistServices-DuWR27Y8.esm.js → watchlistServices-CyOZaglV.esm.js} +2 -2
- package/dist/workflow.d.ts +93 -93
- package/dist/workflow.esm.js +58 -44
- package/package.json +3 -3
- package/dist/openviduLazy-CCXx0hZJ.esm.js +0 -3
- /package/dist/{Actor-CazhiaK7.d.ts → Actor-Bmv1bZHV.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-DeByegPK.esm.js → BrowserStorageProvider-DVqF8tnD.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-Bc6BRm6-.esm.js → BrowserTimerProvider-OUipjf3B.esm.js} +0 -0
- /package/dist/{ITimerCapability-r7XXQS6a.esm.js → ITimerCapability-CSQe9nqt.esm.js} +0 -0
- /package/dist/{IpifyProvider-CVIOst3c.esm.js → IpifyProvider-wp6qqO1v.esm.js} +0 -0
- /package/dist/{Manager-CcbnIt3T.d.ts → Manager-B29-VhX7.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-DSVh8igk.esm.js → MotionSensorProvider-CzLW8Zb8.esm.js} +0 -0
- /package/dist/{StateMachine-B3eh3sAE.d.ts → StateMachine-B69HEnJB.d.ts} +0 -0
- /package/dist/{api-3IquGyW5.esm.js → api-DZdHZLhE.esm.js} +0 -0
- /package/dist/{browserSimulation-DMJIC-23.esm.js → browserSimulation-B5_Amlr4.esm.js} +0 -0
- /package/dist/{camera-CSPAwp2o.esm.js → camera-3XOyIO-y.esm.js} +0 -0
- /package/dist/{camera-CS1twtEg.d.ts → camera-m4482v-4.d.ts} +0 -0
- /package/dist/{cpf-B42J7pld.esm.js → cpf-Dalbmi8t.esm.js} +0 -0
- /package/dist/{displayErrors-bVvL8TpL.d.ts → displayErrors-CbV0IBtb.d.ts} +0 -0
- /package/dist/{flowCompletionService-U6Ov6LFb.d.ts → flowCompletionService-BqSRUWAg.d.ts} +0 -0
- /package/dist/{getBrowser-bVw76elx.esm.js → getBrowser-FtGDQirD.esm.js} +0 -0
- /package/dist/{lib-B3QA5wNw.esm.js → lib-By_d_iUN.esm.js} +0 -0
- /package/dist/{platform-BtdVAeAg.esm.js → platform-C3jlX5mh.esm.js} +0 -0
- /package/dist/{types-D5fKjOcr.d.ts → types-CvEiKWkW.d.ts} +0 -0
- /package/dist/{warmup-DTtV1QCY.d.ts → warmup-CyH7UzFj.d.ts} +0 -0
- /package/dist/{xstate.esm-cL1KdW6d.esm.js → xstate.esm-COokXZK9.esm.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-OUipjf3B.esm.js";
|
|
2
|
+
import { t as api } from "./api-DZdHZLhE.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DNtRS0G7.esm.js";
|
|
4
|
+
import { r as fromCallback } from "./xstate.esm-COokXZK9.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/shared/usStates.ts
|
|
7
7
|
const usStates = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-CO2GTZLe.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-B29-VhX7.js";
|
|
2
|
+
import "./Actor-Bmv1bZHV.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-DibBpAh_.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import "./api-DZdHZLhE.esm.js";
|
|
2
|
+
import "./events-uIxiN9N7.esm.js";
|
|
3
|
+
import "./endpoints-DNtRS0G7.esm.js";
|
|
4
|
+
import "./xstate.esm-COokXZK9.esm.js";
|
|
5
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-CO2GTZLe.esm.js";
|
|
6
|
+
import { t as createAeSignatureManager } from "./ae-signature-BPAhuail.esm.js";
|
|
6
7
|
|
|
7
8
|
export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
|
package/dist/antifraud.d.ts
CHANGED
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import "./api-DZdHZLhE.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-uIxiN9N7.esm.js";
|
|
3
|
+
import "./endpoints-DNtRS0G7.esm.js";
|
|
4
|
+
import { a as createActor, o as createManager } from "./xstate.esm-COokXZK9.esm.js";
|
|
5
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-CaTkXzvS.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
7
8
|
function createAntifraudActor() {
|
package/dist/{antifraudStateMachine-BpA9DsDL.esm.js → antifraudStateMachine-CaTkXzvS.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import {
|
|
3
|
-
import { i as fromPromise, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-DZdHZLhE.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-DNtRS0G7.esm.js";
|
|
3
|
+
import { i as fromPromise, t as setup } from "./xstate.esm-COokXZK9.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
6
6
|
async function processAntifraud(signal) {
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./StateMachine-
|
|
5
|
-
import { _ as AuthenticationConfig, b as authenticationMachine, g as createAuthenticationActor, h as CreateAuthenticationActorOptions, m as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./deepsightService-
|
|
10
|
-
import "./types-
|
|
11
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import "./warmup-CyH7UzFj.js";
|
|
2
|
+
import "./Manager-B29-VhX7.js";
|
|
3
|
+
import "./Actor-Bmv1bZHV.js";
|
|
4
|
+
import "./StateMachine-B69HEnJB.js";
|
|
5
|
+
import { _ as AuthenticationConfig, b as authenticationMachine, g as createAuthenticationActor, h as CreateAuthenticationActorOptions, m as AuthenticationActor } from "./faceCaptureManagerFactory-Djy4IlDy.js";
|
|
6
|
+
import "./camera-m4482v-4.js";
|
|
7
|
+
import "./types-BWX0ell9.js";
|
|
8
|
+
import "./types-DP2M29nE.js";
|
|
9
|
+
import "./deepsightService-GnSzshni.js";
|
|
10
|
+
import "./types-CvEiKWkW.js";
|
|
11
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-B8GvzIqz.js";
|
|
12
12
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import "./BaseWasmProvider-CkIHbYdx.esm.js";
|
|
2
2
|
import "./WasmUtilProvider-DsAa3yqJ.esm.js";
|
|
3
|
-
import "./api-
|
|
4
|
-
import "./events-
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
3
|
+
import "./api-DZdHZLhE.esm.js";
|
|
4
|
+
import "./events-uIxiN9N7.esm.js";
|
|
5
|
+
import "./endpoints-DNtRS0G7.esm.js";
|
|
6
|
+
import "./browserSimulation-B5_Amlr4.esm.js";
|
|
7
|
+
import "./xstate.esm-COokXZK9.esm.js";
|
|
8
|
+
import "./faceCaptureManagerFactory-BmFLgwZH.esm.js";
|
|
9
|
+
import "./BrowserStorageProvider-DVqF8tnD.esm.js";
|
|
10
|
+
import "./recordingService-Dfbz2eLt.esm.js";
|
|
11
|
+
import "./deepsightService-Bcszplg_.esm.js";
|
|
12
|
+
import "./permissionServices-eL_s8LM6.esm.js";
|
|
13
|
+
import "./camera-3XOyIO-y.esm.js";
|
|
14
|
+
import "./getBrowser-FtGDQirD.esm.js";
|
|
15
|
+
import "./stats-B8cIMClD.esm.js";
|
|
16
|
+
import "./MotionSensorProvider-CzLW8Zb8.esm.js";
|
|
17
|
+
import "./platform-C3jlX5mh.esm.js";
|
|
18
|
+
import "./ITimerCapability-CSQe9nqt.esm.js";
|
|
19
|
+
import "./backCameraStream-5ADnns4R.esm.js";
|
|
20
|
+
import "./getDeviceClass-DheTn1ak.esm.js";
|
|
21
|
+
import "./faceCaptureSetup-BS_YbgPv.esm.js";
|
|
22
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DM9magHC.esm.js";
|
|
23
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DoYYNtAB.esm.js";
|
|
23
24
|
|
|
24
25
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { h as CreateAuthenticationActorOptions, m as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { t as Manager } from "./Manager-B29-VhX7.js";
|
|
2
|
+
import { h as CreateAuthenticationActorOptions, m as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager } from "./faceCaptureManagerFactory-Djy4IlDy.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
package/dist/{authenticationManager-BlExOsgX.esm.js → authenticationManager-DoYYNtAB.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DsAa3yqJ.esm.js";
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
-
import { a as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
5
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
+
import { n as eventModuleNames } from "./events-uIxiN9N7.esm.js";
|
|
3
|
+
import { a as createActor } from "./xstate.esm-COokXZK9.esm.js";
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BmFLgwZH.esm.js";
|
|
5
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DVqF8tnD.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DM9magHC.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import {
|
|
3
|
-
import { i as fromPromise, n as assign } from "./xstate.esm-
|
|
4
|
-
import { v as FACE_ERROR_CODES } from "./recordingService-
|
|
5
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
1
|
+
import { t as api } from "./api-DZdHZLhE.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-DNtRS0G7.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign } from "./xstate.esm-COokXZK9.esm.js";
|
|
4
|
+
import { v as FACE_ERROR_CODES } from "./recordingService-Dfbz2eLt.esm.js";
|
|
5
|
+
import { t as getDeviceClass } from "./getDeviceClass-DheTn1ak.esm.js";
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BS_YbgPv.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
9
9
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-
|
|
2
|
-
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-
|
|
3
|
-
import { t as sleep } from "./ITimerCapability-
|
|
1
|
+
import { i as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-3XOyIO-y.esm.js";
|
|
2
|
+
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-C3jlX5mh.esm.js";
|
|
3
|
+
import { t as sleep } from "./ITimerCapability-CSQe9nqt.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,5 +1,5 @@
|
|
|
1
|
-
import { n as requestPermission, t as checkPermission } from "./permissionServices-
|
|
2
|
-
import "./camera-
|
|
3
|
-
import "./MotionSensorProvider-
|
|
1
|
+
import { n as requestPermission, t as checkPermission } from "./permissionServices-eL_s8LM6.esm.js";
|
|
2
|
+
import "./camera-3XOyIO-y.esm.js";
|
|
3
|
+
import "./MotionSensorProvider-CzLW8Zb8.esm.js";
|
|
4
4
|
|
|
5
5
|
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-B29-VhX7.js";
|
|
2
|
+
import "./Actor-Bmv1bZHV.js";
|
|
3
|
+
import * as xstate336 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: xstate336.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate186.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate336.ActorRefFromLogic<xstate336.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate336.EventObject>> | xstate336.ActorRefFromLogic<xstate336.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate336.EventObject>> | undefined;
|
|
57
|
+
}, xstate336.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate336.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate336.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate336.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate336.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
73
|
+
}>, xstate336.Values<{
|
|
74
74
|
setError: {
|
|
75
75
|
type: "setError";
|
|
76
|
-
params:
|
|
76
|
+
params: xstate336.NonReducibleUnknown;
|
|
77
77
|
};
|
|
78
78
|
clearError: {
|
|
79
79
|
type: "clearError";
|
|
80
|
-
params:
|
|
80
|
+
params: xstate336.NonReducibleUnknown;
|
|
81
81
|
};
|
|
82
82
|
setConsentData: {
|
|
83
83
|
type: "setConsentData";
|
|
84
|
-
params:
|
|
84
|
+
params: xstate336.NonReducibleUnknown;
|
|
85
85
|
};
|
|
86
86
|
toggleCheckbox: {
|
|
87
87
|
type: "toggleCheckbox";
|
|
88
|
-
params:
|
|
88
|
+
params: xstate336.NonReducibleUnknown;
|
|
89
89
|
};
|
|
90
90
|
resetContext: {
|
|
91
91
|
type: "resetContext";
|
|
92
|
-
params:
|
|
92
|
+
params: xstate336.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, xstate336.NonReducibleUnknown, xstate336.EventObject, xstate336.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate186.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate336.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate336.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate336.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate336.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate336.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate336.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate336.RequiredActorOptions<T>]: unknown }) | undefined], xstate336.IsNotNever<xstate336.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate336.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate336.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate336.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate336.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate336.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate336.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate336.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate336.IsNotNever<xstate336.RequiredActorOptions<T_1>>> : never : never : never)): xstate336.ActorRefFromLogic<xstate336.GetConcreteByKey<xstate336.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate336.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate336.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate336.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate336.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate336.AnyActorLogic>(src: TLogic, ...[options]: xstate336.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate336.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate336.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate336.IsNotNever<xstate336.RequiredLogicInput<TLogic>>>): xstate336.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate336.ActorRef<xstate336.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate186.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate336.AnyActorRef | undefined>, xstate336.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate186.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate336.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate186.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate336.ActorRef<xstate336.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate186.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate336.AnyActorRef>, xstate336.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate186.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate336.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate186.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate336.ActorRef<xstate336.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate186.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate336.AnyActorRef>, xstate336.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate186.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate336.AnyEventObject>;
|
|
323
323
|
}) => {
|
|
324
324
|
languageConsentId: string;
|
|
325
325
|
checkboxes: ConsentCheckbox[];
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import "./api-DZdHZLhE.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-uIxiN9N7.esm.js";
|
|
3
|
+
import "./endpoints-DNtRS0G7.esm.js";
|
|
4
|
+
import { a as createActor, o as createManager } from "./xstate.esm-COokXZK9.esm.js";
|
|
5
|
+
import { t as consentMachine } from "./consentStateMachine-KnKYoONj.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/consent/consentActor.ts
|
|
7
8
|
function createConsentActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import {
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-DZdHZLhE.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-DNtRS0G7.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-COokXZK9.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
6
6
|
async function fetchCombinedConsent(consentId, signal) {
|
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-B29-VhX7.js";
|
|
2
|
+
import * as xstate311 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: xstate311.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate161.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate311.ActorRefFromLogic<xstate311.PromiseActorLogic<CpfOcrDataResponse, void, xstate311.EventObject>> | xstate311.ActorRefFromLogic<xstate311.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate311.EventObject>> | undefined;
|
|
63
|
+
}, xstate311.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate311.PromiseActorLogic<CpfOcrDataResponse, void, xstate311.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate311.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate311.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate311.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate311.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate311.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate311.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate311.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
type: "isValid";
|
|
95
95
|
params: unknown;
|
|
96
|
-
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput,
|
|
96
|
+
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput, xstate311.NonReducibleUnknown, xstate311.EventObject, xstate311.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate161.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate311.ActorRef<xstate311.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate161.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate311.AnyActorRef>, xstate311.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate161.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate311.AnyEventObject>;
|
|
170
170
|
}) => {
|
|
171
171
|
cpf: string;
|
|
172
172
|
};
|
package/dist/cpf-ocr.esm.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
1
|
+
import { t as api } from "./api-DZdHZLhE.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-uIxiN9N7.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DNtRS0G7.esm.js";
|
|
4
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-COokXZK9.esm.js";
|
|
5
|
+
import { t as validateCPF } from "./cpf-Dalbmi8t.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/cpf-ocr/cpfOcrServices.ts
|
|
7
8
|
async function fetchCpfOcrData(signal) {
|