@incodetech/core 0.0.0-dev-20260527-e762b8ad → 0.0.0-dev-20260527-1113f768
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-Cu6iha-l.esm.js → OpenViduRecordingProvider-DIxtwgBG.esm.js} +1 -1
- package/dist/{addressSearch-CJtpPfHp.esm.js → addressSearch-CibChdCl.esm.js} +4 -4
- package/dist/{ae-signature-CDCW3z6k.esm.js → ae-signature-D7ly9LQj.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +7 -7
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +5 -5
- package/dist/{antifraudStateMachine-DG6ZVhgf.esm.js → antifraudStateMachine-DmhL7cti.esm.js} +3 -3
- package/dist/authentication.d.ts +12 -12
- package/dist/authentication.esm.js +23 -23
- package/dist/{authenticationManager-CXwDnFxJ.d.ts → authenticationManager-BCsIiOKP.d.ts} +2 -2
- package/dist/{authenticationManager-gRC1sCEb.esm.js → authenticationManager-D-GBF4AL.esm.js} +6 -6
- package/dist/{authenticationStateMachine-TIrvdOEV.esm.js → authenticationStateMachine-DQ5lhFHa.esm.js} +7 -7
- package/dist/{backCameraStream-5q1r2W2q.esm.js → backCameraStream-BX6CRqIA.esm.js} +3 -3
- package/dist/{browserSimulation-DoIsN6qC.esm.js → browserSimulation-DCzZRn_y.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +4 -4
- package/dist/consent.d.ts +49 -49
- package/dist/consent.esm.js +5 -5
- package/dist/{consentStateMachine-DoAMTUpJ.esm.js → consentStateMachine-O92z9rto.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +18 -18
- package/dist/cpf-ocr.esm.js +5 -5
- 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 +6 -6
- package/dist/curp-validation.esm.js +5 -5
- package/dist/{curpValidationStateMachine-DOxJlK7O.esm.js → curpValidationStateMachine-BuUxLtXm.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-C5qmtYkf.esm.js → customWatchlistStateMachine-B6lfBuUE.esm.js} +3 -3
- package/dist/{deepsightLoader-oQnIw3yy.esm.js → deepsightLoader-BoDdkLc0.esm.js} +12 -12
- package/dist/{deepsightService-CiNHvOj0.d.ts → deepsightService-C0keQ-h6.d.ts} +2 -2
- package/dist/{deepsightService-DgmtJnVh.esm.js → deepsightService-DY9BYuEQ.esm.js} +6 -6
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +74 -74
- package/dist/document-capture.esm.js +9 -9
- package/dist/document-upload.d.ts +50 -50
- package/dist/document-upload.esm.js +8 -8
- package/dist/{documentCaptureStateMachine-Ct2kC1XA.esm.js → documentCaptureStateMachine-BexpI_wB.esm.js} +5 -5
- 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-Dprv83b-.esm.js → ekybStateMachine-DSvsikRV.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +8 -8
- package/dist/{ekycStateMachine-CDOMcZGt.esm.js → ekycStateMachine-DNCCUEb5.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +6 -6
- package/dist/{electronicSignatureManager-DeXWxqNA.esm.js → electronicSignatureManager-pIu5whcV.esm.js} +5 -5
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +7 -7
- package/dist/{emailManager-DWX4Mm5F.d.ts → emailManager-B-E4rOjR.d.ts} +2 -2
- package/dist/{emailManager-CetA61j7.esm.js → emailManager-BMzZmJwd.esm.js} +3 -3
- package/dist/{emailStateMachine-B4Wtz_HA.esm.js → emailStateMachine-Bd8iLNfU.esm.js} +4 -4
- package/dist/{events-Dnh2PVAZ.esm.js → events-Bsw1l0pH.esm.js} +2 -1
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +16 -16
- package/dist/extensibility.esm.js +36 -36
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-BodYisaN.d.ts → faceCaptureManagerFactory-QYq_vNnX.d.ts} +8 -8
- package/dist/{faceCaptureManagerFactory-GCqj24xa.esm.js → faceCaptureManagerFactory-qY6w1odA.esm.js} +4 -4
- package/dist/{faceCaptureSetup-B9RFaTgo.esm.js → faceCaptureSetup-DVdxJdeK.esm.js} +4 -4
- package/dist/{faceMatchStateMachine-DDJuYnTn.esm.js → faceMatchStateMachine-Z_QDTsIx.esm.js} +3 -3
- package/dist/field-comparison.d.ts +61 -0
- package/dist/field-comparison.esm.js +149 -0
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +15 -15
- package/dist/{flowCompletionService-D3jTfJDC.esm.js → flowCompletionService-CWFG9510.esm.js} +3 -3
- package/dist/{flowServices-CVBVe9fh.esm.js → flowServices-Da4QGznW.esm.js} +4 -4
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +6 -6
- package/dist/{geolocationStateMachine-Bvj_QrZB.esm.js → geolocationStateMachine-q4Lqg2Uf.esm.js} +4 -4
- package/dist/{getDeviceClass-B6U_P2pO.esm.js → getDeviceClass-CQITWgsp.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +6 -6
- package/dist/{governmentValidationStateMachine-f0oCTSJG.esm.js → governmentValidationStateMachine-D27RmKD-.esm.js} +4 -4
- package/dist/home.d.ts +15 -15
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +1 -1
- 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 +11 -11
- package/dist/id.esm.js +27 -27
- package/dist/{idCaptureManager-BM3xxi1m.esm.js → idCaptureManager-BvNlh594.esm.js} +5 -5
- package/dist/{idCaptureManager-Bvw3NEhH.d.ts → idCaptureManager-DWS1KkOC.d.ts} +7 -7
- package/dist/{idCaptureStateMachine-DyPzyGnm.esm.js → idCaptureStateMachine-DfH6mQff.esm.js} +17 -17
- package/dist/{idOcrStateMachine-can5Er3s.esm.js → idOcrStateMachine-CkQ20i5m.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-K9JNlir9.esm.js → idVerificationStateMachine-CbthaJN7.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +36 -36
- package/dist/identity-reuse.esm.js +5 -5
- package/dist/{identityReuseStateMachine-BmzyRrev.esm.js → identityReuseStateMachine-DUCOpe0t.esm.js} +3 -3
- package/dist/{index-DZlhNAOR.d.ts → index-EwOt-Z6h.d.ts} +2 -2
- package/dist/{index-xu3NbUht.d.ts → index-OUzvN6hF.d.ts} +127 -127
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +12 -12
- package/dist/{invokeOnCaptureCallback-BxoTAyzA.esm.js → invokeOnCaptureCallback-D_EWxqSU.esm.js} +1 -1
- package/dist/{lib-CU2Xhl44.esm.js → lib-DtY8aw1R.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +53 -53
- package/dist/mandatory-consent.esm.js +5 -5
- package/dist/{mandatoryConsentStateMachine-WrlXxYoV.esm.js → mandatoryConsentStateMachine-9QVdu5y9.esm.js} +3 -3
- package/dist/{openviduLazy-CO59qUvG.esm.js → openviduLazy-DGTRNmgt.esm.js} +2 -2
- package/dist/openviduLazy-LuOtGg6Y.esm.js +3 -0
- package/dist/{permissionServices-4py90m2a.esm.js → permissionServices-W8BBXqr9.esm.js} +3 -3
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +7 -7
- package/dist/{phoneManager-0ec4qDAL.esm.js → phoneManager-BaD4_vew.esm.js} +3 -3
- package/dist/{phoneManager-BYkD5xRV.d.ts → phoneManager-DOqnuxiZ.d.ts} +2 -2
- package/dist/{phoneStateMachine-DpZMDLlL.esm.js → phoneStateMachine-BntOEKN1.esm.js} +4 -4
- package/dist/{qe-signature-DiXt5xMf.esm.js → qe-signature-9vz60fLv.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +7 -7
- package/dist/{recordingService-DJPyoT4J.esm.js → recordingService-BHgwOJ_m.esm.js} +15 -15
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +6 -6
- package/dist/{redirectToMobileStateMachine-BLf3Lf35.esm.js → redirectToMobileStateMachine-CWCq02ea.esm.js} +4 -4
- package/dist/{runChildModule-DQucWuaz.esm.js → runChildModule-DXnCvv9l.esm.js} +2 -2
- package/dist/selfie.d.ts +12 -12
- package/dist/selfie.esm.js +24 -24
- package/dist/{selfieManager-BG8fq_FT.d.ts → selfieManager-xGj-77Nm.d.ts} +2 -2
- package/dist/{selfieManager-CuwAFh3w.esm.js → selfieManager-xtGHqMAC.esm.js} +6 -6
- package/dist/{selfieStateMachine-BnRGtQ0j.esm.js → selfieStateMachine-8EcLSe0G.esm.js} +3 -3
- package/dist/{session-CCaOwDaZ.esm.js → session-U3dA33EZ.esm.js} +3 -3
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +12 -12
- package/dist/{sessionInitializer-GjxPhy6q.esm.js → sessionInitializer-B7MtxwKH.esm.js} +7 -7
- package/dist/{setup-BIc5kpKm.d.ts → setup-BxbaIs-k.d.ts} +1 -1
- package/dist/{setup-BFWg3ruS.esm.js → setup-Dz2r8Oly.esm.js} +7 -7
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +5 -5
- package/dist/{signatureStateMachine-D-xEAiA4.esm.js → signatureStateMachine-CCXjDQVG.esm.js} +4 -4
- package/dist/{stats-Dc1nW_Oc.esm.js → stats-AwLva7-C.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/trust-graph.d.ts +1 -1
- package/dist/trust-graph.esm.js +3 -3
- package/dist/{types-Bcj4sNA0.d.ts → types-CU1g8keq.d.ts} +1 -1
- package/dist/{types-EXVJmBuY.d.ts → types-Csl38fHI.d.ts} +1 -1
- package/dist/{types-cQjCrKJE.d.ts → types-DFW7rqck.d.ts} +2 -2
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +12 -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-DZFCU5-e.esm.js → watchlistForBusinessStateMachine-DnFUKl_E.esm.js} +3 -3
- package/dist/{watchlistStateMachine-Lme04iSM.esm.js → watchlistStateMachine-B1KRHF9x.esm.js} +3 -3
- package/dist/workflow.d.ts +132 -132
- package/dist/workflow.esm.js +55 -55
- package/package.json +8 -3
- package/dist/openviduLazy-DbNAreZz.esm.js +0 -3
- /package/dist/{Actor-CARlguSq.d.ts → Actor-C8MYPMPo.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-EtdbBJGr.esm.js → BrowserStorageProvider-Dgem4aW-.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-BZGH3sYJ.esm.js → BrowserTimerProvider-BESs49g_.esm.js} +0 -0
- /package/dist/{ITimerCapability-2pw-S97e.esm.js → ITimerCapability-Bs6czuIv.esm.js} +0 -0
- /package/dist/{IpifyProvider-Dt8MgLjg.esm.js → IpifyProvider-BQKB2PR-.esm.js} +0 -0
- /package/dist/{Manager-BeGOXZ8j.d.ts → Manager-1C7epU1z.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-BiZTqw83.esm.js → MotionSensorProvider-BBuuAwD1.esm.js} +0 -0
- /package/dist/{StateMachine-CDm3JH51.d.ts → StateMachine-DhTgreIF.d.ts} +0 -0
- /package/dist/{WasmUtilProvider-C3xYpVKR.esm.js → WasmUtilProvider-Va_i-eMT.esm.js} +0 -0
- /package/dist/{api-eqRXuVG-.esm.js → api-YxPMtty2.esm.js} +0 -0
- /package/dist/{apiError-CH9VyBh5.esm.js → apiError-76Dulrw9.esm.js} +0 -0
- /package/dist/{camera-CUAQ-q4e.esm.js → camera-CIJDNUuJ.esm.js} +0 -0
- /package/dist/{camera-BMF1a_t8.d.ts → camera-CNP8dDBl.d.ts} +0 -0
- /package/dist/{chunk-CRF6K_H_.esm.js → chunk-wtC55c3P.esm.js} +0 -0
- /package/dist/{cpf-C_GpPcp9.esm.js → cpf-Br2axAnk.esm.js} +0 -0
- /package/dist/{dateUtils-BGs-FxcI.esm.js → dateUtils-BMYnARx4.esm.js} +0 -0
- /package/dist/{endpoints-D4cNQqhS.esm.js → endpoints-BPHddOTi.esm.js} +0 -0
- /package/dist/{flowCompletionService-C4A-qYuH.d.ts → flowCompletionService-B3C-J9a1.d.ts} +0 -0
- /package/dist/{getBrowser-DHeJ7PSV.esm.js → getBrowser-CMJJeBF8.esm.js} +0 -0
- /package/dist/{getDeviceClass-CK6VGnUc.esm.js → getDeviceClass-DE2GMvvh.esm.js} +0 -0
- /package/dist/{platform-Ca6QEq2_.esm.js → platform-D871crJL.esm.js} +0 -0
- /package/dist/{types-CdzhDWOw.d.ts → types-BR5zXpWs.d.ts} +0 -0
- /package/dist/{types-CL7hCbCA.d.ts → types-CalxunYf.d.ts} +0 -0
- /package/dist/{warmup-5M9V24RH.d.ts → warmup-_dDHpp72.d.ts} +0 -0
- /package/dist/{xstate.esm-C_4CL5-u.esm.js → xstate.esm-CWoFJOio.esm.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { i as fromCallback } from "./xstate.esm-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BESs49g_.esm.js";
|
|
2
|
+
import { t as api } from "./api-YxPMtty2.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-BPHddOTi.esm.js";
|
|
4
|
+
import { i as fromCallback } from "./xstate.esm-CWoFJOio.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-pIu5whcV.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-1C7epU1z.js";
|
|
2
|
+
import "./Actor-C8MYPMPo.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-OUzvN6hF.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import "./apiError-
|
|
6
|
-
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
7
|
-
import { t as createAeSignatureManager } from "./ae-signature-
|
|
1
|
+
import "./api-YxPMtty2.esm.js";
|
|
2
|
+
import "./events-Bsw1l0pH.esm.js";
|
|
3
|
+
import "./endpoints-BPHddOTi.esm.js";
|
|
4
|
+
import "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
+
import "./apiError-76Dulrw9.esm.js";
|
|
6
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-pIu5whcV.esm.js";
|
|
7
|
+
import { t as createAeSignatureManager } from "./ae-signature-D7ly9LQj.esm.js";
|
|
8
8
|
|
|
9
9
|
export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
|
package/dist/antifraud.d.ts
CHANGED
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
1
|
+
import "./api-YxPMtty2.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bsw1l0pH.esm.js";
|
|
3
|
+
import "./endpoints-BPHddOTi.esm.js";
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-DmhL7cti.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
8
8
|
function createAntifraudActor() {
|
package/dist/{antifraudStateMachine-DG6ZVhgf.esm.js → antifraudStateMachine-DmhL7cti.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-YxPMtty2.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-BPHddOTi.esm.js";
|
|
3
|
+
import { a as fromPromise, t as setup } from "./xstate.esm-CWoFJOio.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,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-_dDHpp72.js";
|
|
2
|
+
import "./Manager-1C7epU1z.js";
|
|
3
|
+
import "./Actor-C8MYPMPo.js";
|
|
4
|
+
import "./StateMachine-DhTgreIF.js";
|
|
5
|
+
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-QYq_vNnX.js";
|
|
6
|
+
import "./camera-CNP8dDBl.js";
|
|
7
|
+
import "./types-Csl38fHI.js";
|
|
8
|
+
import "./types-BR5zXpWs.js";
|
|
9
|
+
import "./types-DFW7rqck.js";
|
|
10
|
+
import "./deepsightService-C0keQ-h6.js";
|
|
11
|
+
import "./types-CalxunYf.js";
|
|
12
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BCsIiOKP.js";
|
|
13
13
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "./WasmUtilProvider-
|
|
2
|
-
import "./api-
|
|
3
|
-
import "./events-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./stats-
|
|
6
|
-
import "./browserSimulation-
|
|
7
|
-
import "./platform-
|
|
8
|
-
import "./getBrowser-
|
|
9
|
-
import "./xstate.esm-
|
|
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-
|
|
1
|
+
import "./WasmUtilProvider-Va_i-eMT.esm.js";
|
|
2
|
+
import "./api-YxPMtty2.esm.js";
|
|
3
|
+
import "./events-Bsw1l0pH.esm.js";
|
|
4
|
+
import "./endpoints-BPHddOTi.esm.js";
|
|
5
|
+
import "./stats-AwLva7-C.esm.js";
|
|
6
|
+
import "./browserSimulation-DCzZRn_y.esm.js";
|
|
7
|
+
import "./platform-D871crJL.esm.js";
|
|
8
|
+
import "./getBrowser-CMJJeBF8.esm.js";
|
|
9
|
+
import "./xstate.esm-CWoFJOio.esm.js";
|
|
10
|
+
import "./BrowserStorageProvider-Dgem4aW-.esm.js";
|
|
11
|
+
import "./MotionSensorProvider-BBuuAwD1.esm.js";
|
|
12
|
+
import "./permissionServices-W8BBXqr9.esm.js";
|
|
13
|
+
import "./camera-CIJDNUuJ.esm.js";
|
|
14
|
+
import "./faceCaptureManagerFactory-qY6w1odA.esm.js";
|
|
15
|
+
import "./recordingService-BHgwOJ_m.esm.js";
|
|
16
|
+
import "./ITimerCapability-Bs6czuIv.esm.js";
|
|
17
|
+
import "./deepsightService-DY9BYuEQ.esm.js";
|
|
18
|
+
import "./backCameraStream-BX6CRqIA.esm.js";
|
|
19
|
+
import "./getDeviceClass-DE2GMvvh.esm.js";
|
|
20
|
+
import "./getDeviceClass-CQITWgsp.esm.js";
|
|
21
|
+
import "./faceCaptureSetup-DVdxJdeK.esm.js";
|
|
22
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DQ5lhFHa.esm.js";
|
|
23
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D-GBF4AL.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-1C7epU1z.js";
|
|
2
|
+
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-QYq_vNnX.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
package/dist/{authenticationManager-gRC1sCEb.esm.js → authenticationManager-D-GBF4AL.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
-
import { s as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-Va_i-eMT.esm.js";
|
|
2
|
+
import { n as eventModuleNames } from "./events-Bsw1l0pH.esm.js";
|
|
3
|
+
import { s as createActor } from "./xstate.esm-CWoFJOio.esm.js";
|
|
4
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-Dgem4aW-.esm.js";
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-qY6w1odA.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DQ5lhFHa.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { t as addDeviceStats } from "./stats-
|
|
4
|
-
import { a as fromPromise, r as assign } from "./xstate.esm-
|
|
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-
|
|
1
|
+
import { t as api } from "./api-YxPMtty2.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-BPHddOTi.esm.js";
|
|
3
|
+
import { t as addDeviceStats } from "./stats-AwLva7-C.esm.js";
|
|
4
|
+
import { a as fromPromise, r as assign } from "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
+
import { b as FACE_ERROR_CODES, d as postOnDeviceFaceResults, f as prepareOnDeviceFaceUpload, l as defaultPrepareFaceUpload, u as isOnDeviceMode } from "./recordingService-BHgwOJ_m.esm.js";
|
|
6
|
+
import { t as getDeviceClass } from "./getDeviceClass-CQITWgsp.esm.js";
|
|
7
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DVdxJdeK.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
10
10
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-
|
|
2
|
-
import { i as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-
|
|
3
|
-
import { t as sleep } from "./ITimerCapability-
|
|
1
|
+
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-D871crJL.esm.js";
|
|
2
|
+
import { i as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-CIJDNUuJ.esm.js";
|
|
3
|
+
import { t as sleep } from "./ITimerCapability-Bs6czuIv.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/camera/backCameraStream.ts
|
|
6
6
|
const BACK_CAMERA_KEYWORDS = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as isIOS } from "./platform-
|
|
2
|
-
import { t as getUserAgent } from "./getBrowser-
|
|
1
|
+
import { r as isIOS } from "./platform-D871crJL.esm.js";
|
|
2
|
+
import { t as getUserAgent } from "./getBrowser-CMJJeBF8.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../../node_modules/.pnpm/ua-parser-js@2.0.9/node_modules/ua-parser-js/src/main/ua-parser.mjs
|
|
5
5
|
var LIBVERSION = "2.0.9", UA_MAX_LENGTH = 500, USER_AGENT = "user-agent", EMPTY = "", UNKNOWN = "?", TYPEOF = {
|
package/dist/camera.d.ts
CHANGED
package/dist/camera.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./WasmUtilProvider-
|
|
2
|
-
import "./MotionSensorProvider-
|
|
3
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
4
|
-
import "./camera-
|
|
1
|
+
import "./WasmUtilProvider-Va_i-eMT.esm.js";
|
|
2
|
+
import "./MotionSensorProvider-BBuuAwD1.esm.js";
|
|
3
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-W8BBXqr9.esm.js";
|
|
4
|
+
import "./camera-CIJDNUuJ.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-1C7epU1z.js";
|
|
2
|
+
import "./Actor-C8MYPMPo.js";
|
|
3
|
+
import * as xstate743 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: xstate743.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate743.ActorRefFromLogic<xstate743.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate743.EventObject>> | xstate743.ActorRefFromLogic<xstate743.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate743.EventObject>> | undefined;
|
|
57
|
+
}, xstate743.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate743.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate743.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate743.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate743.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
73
|
+
}>, xstate743.Values<{
|
|
74
74
|
setError: {
|
|
75
75
|
type: "setError";
|
|
76
|
-
params:
|
|
76
|
+
params: xstate743.NonReducibleUnknown;
|
|
77
77
|
};
|
|
78
78
|
clearError: {
|
|
79
79
|
type: "clearError";
|
|
80
|
-
params:
|
|
80
|
+
params: xstate743.NonReducibleUnknown;
|
|
81
81
|
};
|
|
82
82
|
resetContext: {
|
|
83
83
|
type: "resetContext";
|
|
84
|
-
params:
|
|
84
|
+
params: xstate743.NonReducibleUnknown;
|
|
85
85
|
};
|
|
86
86
|
setConsentData: {
|
|
87
87
|
type: "setConsentData";
|
|
88
|
-
params:
|
|
88
|
+
params: xstate743.NonReducibleUnknown;
|
|
89
89
|
};
|
|
90
90
|
toggleCheckbox: {
|
|
91
91
|
type: "toggleCheckbox";
|
|
92
|
-
params:
|
|
92
|
+
params: xstate743.NonReducibleUnknown;
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
95
|
type: "canSubmit";
|
|
96
96
|
params: unknown;
|
|
97
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
97
|
+
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate743.NonReducibleUnknown, xstate743.EventObject, xstate743.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate743.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate743.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate743.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate743.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate743.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate743.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate743.RequiredActorOptions<T>]: unknown }) | undefined], xstate743.IsNotNever<xstate743.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate743.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate743.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate743.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate743.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate743.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate743.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate743.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate743.IsNotNever<xstate743.RequiredActorOptions<T_1>>> : never : never : never)): xstate743.ActorRefFromLogic<xstate743.GetConcreteByKey<xstate743.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate743.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate743.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate743.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate743.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate743.AnyActorLogic>(src: TLogic, ...[options]: xstate743.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate743.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate743.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate743.IsNotNever<xstate743.RequiredLogicInput<TLogic>>>): xstate743.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate743.ActorRef<xstate743.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate743.AnyActorRef | undefined>, xstate743.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate743.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate743.ActorRef<xstate743.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate743.AnyActorRef>, xstate743.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate743.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate743.ActorRef<xstate743.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate743.AnyActorRef>, xstate743.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate593.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate743.AnyEventObject>;
|
|
323
323
|
}) => {
|
|
324
324
|
languageConsentId: string;
|
|
325
325
|
checkboxes: ConsentCheckbox[];
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
1
|
+
import "./api-YxPMtty2.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bsw1l0pH.esm.js";
|
|
3
|
+
import "./endpoints-BPHddOTi.esm.js";
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
+
import { t as consentMachine } from "./consentStateMachine-O92z9rto.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/consent/consentActor.ts
|
|
8
8
|
function createConsentActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-YxPMtty2.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-BPHddOTi.esm.js";
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-CWoFJOio.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-1C7epU1z.js";
|
|
2
|
+
import * as xstate718 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: xstate718.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate568.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate718.ActorRefFromLogic<xstate718.PromiseActorLogic<CpfOcrDataResponse, void, xstate718.EventObject>> | xstate718.ActorRefFromLogic<xstate718.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate718.EventObject>> | undefined;
|
|
63
|
+
}, xstate718.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate718.PromiseActorLogic<CpfOcrDataResponse, void, xstate718.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate718.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate718.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate718.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate718.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate718.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate718.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate718.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
type: "isValid";
|
|
95
95
|
params: unknown;
|
|
96
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput,
|
|
96
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, xstate718.NonReducibleUnknown, xstate718.EventObject, xstate718.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate568.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate718.ActorRef<xstate718.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate568.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate718.AnyActorRef>, xstate718.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate568.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate718.AnyEventObject>;
|
|
170
170
|
}) => {
|
|
171
171
|
cpf: string;
|
|
172
172
|
};
|