@incodetech/core 0.0.0-dev-20261117-62848c5a → 0.0.0-dev-20261117-395fe99a
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/{FaceDetectionProvider-D998-9ts.esm.js → FaceDetectionProvider-BSkXba1l.esm.js} +4 -4
- package/dist/{addressSearch-B0dFbagf.esm.js → addressSearch-BzAy6lhp.esm.js} +1 -3
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-CWTtG9CT.esm.js → apiError-M34LvK-d.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Bb1JILe6.esm.js → authenticationManager-dR3dWsdy.esm.js} +3 -3
- package/dist/{authenticationStateMachine-Dqk1RLkZ.esm.js → authenticationStateMachine-A1P-Emgy.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-DlvhoJYc.d.ts → consentManager-B0YKqYtZ.d.ts} +1 -1
- package/dist/{consentManager-BryqWuTX.esm.js → consentManager-DRMJ3O4r.esm.js} +1 -1
- package/dist/{consentStateMachine-BKxCX8RR.esm.js → consentStateMachine-Br0JbW7k.esm.js} +3 -6
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-JpvG0LfN.esm.js → crossDocumentDataMatchManager-BIQ-SYcR.esm.js} +0 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-zB-WC9ff.esm.js → curpValidationManager-BKUDQ55W.esm.js} +1 -1
- package/dist/{curpValidationStateMachine-qhl8i8Wt.esm.js → curpValidationStateMachine-BwUBkyyi.esm.js} +3 -9
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-CJGIvO_Y.esm.js → customFieldsManager-CPhONu5i.esm.js} +1 -3
- package/dist/{customWatchlistManager-D6_6diPl.esm.js → customWatchlistManager-cN57usIW.esm.js} +1 -1
- package/dist/{customWatchlistStateMachine-DomGDHJG.esm.js → customWatchlistStateMachine-C1Xq1ugl.esm.js} +1 -3
- package/dist/{deepsightLoader-DBQlwooa.esm.js → deepsightLoader-BZakKeSL.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-MuH2qnbZ.d.ts → documentCaptureManager-BkaPpoKy.d.ts} +67 -67
- package/dist/{documentSignatureStateMachine-C3BtZ53u.esm.js → documentSignatureStateMachine-CEg1t1sO.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DZjlhOLg.esm.js → dynamicFormsManager-Dke3cU7u.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Ds9O0eWJ.esm.js → dynamicFormsStateMachine-9XkYah_p.esm.js} +3 -7
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-CT1ig9Uy.esm.js → ekybManager-BPX6kwtl.esm.js} +1 -1
- package/dist/{ekybStateMachine-CTr5R1Zo.esm.js → ekybStateMachine-bIuKQL3e.esm.js} +3 -5
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-9Go6sWaP.esm.js → ekycManager-DWCL912J.esm.js} +1 -1
- package/dist/{ekycPrefillManager-bfDZGhbE.esm.js → ekycPrefillManager-ByOP0G7m.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-BbY3FM8S.esm.js → ekycPrefillStateMachine-BJe3WBmC.esm.js} +2 -4
- package/dist/{ekycStateMachine-BgjkwEXb.esm.js → ekycStateMachine-DjiGyQtm.esm.js} +4 -10
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-B_Bx5wZB.esm.js → electronicSignatureManager-CA2HUJ7A.esm.js} +5 -13
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-BDjoEB76.esm.js → emailManager-CfvR6pQN.esm.js} +1 -1
- package/dist/{emailStateMachine-BvY9LBq3.esm.js → emailStateMachine-C4FouMzc.esm.js} +1 -3
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +26 -26
- package/dist/{faceCaptureManagerFactory-BgskWh6z.esm.js → faceCaptureManagerFactory-DWF2yS6c.esm.js} +1 -1
- package/dist/{faceCaptureSetup-BArTqHNC.esm.js → faceCaptureSetup-uh-Lyqak.esm.js} +3 -3
- package/dist/{feature-management-DpjwvVdp.esm.js → feature-management-B8gWa7c5.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CFDm0Pk8.esm.js → fieldComparisonManager-Chn80m_n.esm.js} +1 -3
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-T6BFzsdg.esm.js → flowCompletionService-DI71bT0n.esm.js} +1 -1
- package/dist/{flowServices-bVtkcAHY.esm.js → flowServices-CNF9cq0f.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-ZBz_HLQX.esm.js → geolocationManager-Cl7v-hww.esm.js} +1 -1
- package/dist/{geolocationStateMachine-DvvsD1vt.esm.js → geolocationStateMachine-DDO3d8Yw.esm.js} +3 -5
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-yqB7WYMq.esm.js → governmentValidationManager-D2KGYDws.esm.js} +1 -1
- package/dist/{governmentValidationStateMachine-E5D3cJsW.esm.js → governmentValidationStateMachine-DRG-5jwQ.esm.js} +1 -3
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-BtsBynaU.esm.js → idCaptureManager-BM9MSfVA.esm.js} +3 -3
- package/dist/{idCaptureServices-BnOsjDt2.esm.js → idCaptureServices-CQRPU56O.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-D6OxeKRi.esm.js → idCaptureStateMachine-DNbc01nE.esm.js} +8 -8
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-D-K-kQRi.esm.js → kybChecksManager-7w28Ivis.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-0oh5sPqs.esm.js → kybChecksStateMachine-DBF3lbec.esm.js} +4 -8
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-f2PQQ4NW.esm.js → mandatoryConsentManager-CKzzbbRe.esm.js} +1 -1
- package/dist/{mandatoryConsentManager-BGGbTEwN.d.ts → mandatoryConsentManager-D6tBmPDy.d.ts} +1 -1
- package/dist/{mandatoryConsentStateMachine-B1YRihU8.esm.js → mandatoryConsentStateMachine-DpK7fg3E.esm.js} +3 -6
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-B4QkZ77c.esm.js → phoneManager-D8-l6-0y.esm.js} +1 -1
- package/dist/{phoneServices-rooti109.esm.js → phoneServices-C9lFIuCM.esm.js} +2 -6
- package/dist/{phoneStateMachine-BXveIzDc.esm.js → phoneStateMachine-CGLBgJJR.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-D4xoPDti.esm.js → runChildModule-BVvpZJPd.esm.js} +1 -1
- package/dist/{sdkVersion-xO5uNZX8.esm.js → sdkVersion-rcDNM4ka.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-BXDbbLa1.esm.js → selfieErrorUtils-CZ6MoYr2.esm.js} +1 -1
- package/dist/{selfieManager-D4EIrwK1.esm.js → selfieManager-hzS-6aU6.esm.js} +3 -3
- package/dist/{selfieStateMachine-Cf1Flb0E.esm.js → selfieStateMachine-CJZkcEv1.esm.js} +3 -3
- package/dist/{session-s-SY6BNs.esm.js → session-C9BUyJVO.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-B_Ahe66e.esm.js → sessionInitializer-8Lq0xwL2.esm.js} +3 -3
- package/dist/{setup-DVb6umjT.esm.js → setup-DHKrdvrS.esm.js} +4 -4
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-CSvT7oe0.esm.js → signatureManager-B6dRieBV.esm.js} +1 -1
- package/dist/{signatureStateMachine-D37V__5_.esm.js → signatureStateMachine-DSW5-ZO0.esm.js} +2 -4
- package/dist/{trueSightService-f-WG7eL9.esm.js → trueSightService-C5f1OAMF.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-BbhQh6yR.esm.js → videoSelfieCameraWarmer-RUxKqiu3.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CmjwV--u.esm.js → watchlistForBusinessManager-CfLnsL8p.esm.js} +1 -1
- package/dist/{watchlistForBusinessStateMachine-BYig8gg5.esm.js → watchlistForBusinessStateMachine-EzlC_4I4.esm.js} +1 -3
- package/dist/{watchlistManager-Ct8XSwNb.esm.js → watchlistManager-CGXbemnp.esm.js} +1 -1
- package/dist/{watchlistStateMachine-BC9qoUVd.esm.js → watchlistStateMachine-CsNEmiXL.esm.js} +1 -3
- package/dist/workflow.esm.js +27 -27
- package/package.json +3 -3
package/dist/{FaceDetectionProvider-D998-9ts.esm.js → FaceDetectionProvider-BSkXba1l.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-DHKrdvrS.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./sessionInitializer-
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-C5f1OAMF.esm.js";
|
|
6
|
+
import "./sessionInitializer-8Lq0xwL2.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-VqHbD5rn.esm.js";
|
|
8
8
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
9
9
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
@@ -235,7 +235,7 @@ function startDetection(params) {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
async function initializeDeepsightSession(options) {
|
|
238
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
238
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BZakKeSL.esm.js");
|
|
239
239
|
return loadDeepsightSession({
|
|
240
240
|
ds: options.ds,
|
|
241
241
|
storage: options.storage
|
|
@@ -27,9 +27,7 @@ function isFormDefinitionsEnabled() {
|
|
|
27
27
|
//#region src/shared/addressSearch.ts
|
|
28
28
|
/** Searches for address suggestions via the address autocomplete API. */
|
|
29
29
|
async function searchAddress(query, signal) {
|
|
30
|
-
|
|
31
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addressAutocomplete} failed: ${res.status} ${res.statusText}`);
|
|
32
|
-
return { apiResponse: { items: (res.data.apiResponse?.items ?? []).map((item, i) => {
|
|
30
|
+
return { apiResponse: { items: ((await api.post(endpoints.addressAutocomplete, { search: query }, { signal })).data.apiResponse?.items ?? []).map((item, i) => {
|
|
33
31
|
const addr = item.address ?? item;
|
|
34
32
|
return {
|
|
35
33
|
id: item.id ?? i,
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CA2HUJ7A.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-A1P-Emgy.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-dR3dWsdy.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-Bb1JILe6.esm.js → authenticationManager-dR3dWsdy.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DHKrdvrS.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
4
4
|
import "./events-CsPmTidH.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
7
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DWF2yS6c.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-A1P-Emgy.esm.js";
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-uh-Lyqak.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BSkXba1l.esm.js";
|
|
5
5
|
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-C_taHjXy.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-B0YKqYtZ.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
2
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
1
|
+
import { t as consentMachine } from "./consentStateMachine-Br0JbW7k.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-DRMJ3O4r.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -102,7 +102,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
102
102
|
}>, {
|
|
103
103
|
type: "canSubmit";
|
|
104
104
|
params: unknown;
|
|
105
|
-
}, never, "error" | "idle" | "finished" | "
|
|
105
|
+
}, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
106
106
|
readonly id: "consent";
|
|
107
107
|
readonly initial: "idle";
|
|
108
108
|
readonly context: ({ input }: {
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
6
|
+
import { t as consentMachine } from "./consentStateMachine-Br0JbW7k.esm.js";
|
|
7
7
|
//#region src/modules/consent/consentActor.ts
|
|
8
8
|
function createConsentActor(options) {
|
|
9
9
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -4,19 +4,16 @@ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
|
4
4
|
//#region src/modules/consent/consentServices.ts
|
|
5
5
|
async function fetchCombinedConsent(consentId, language, signal) {
|
|
6
6
|
if (!consentId) throw new Error("Combined consent id is required");
|
|
7
|
-
|
|
7
|
+
return (await api.get(endpoints.getCombinedConsent, {
|
|
8
8
|
signal,
|
|
9
9
|
query: {
|
|
10
10
|
id: consentId,
|
|
11
11
|
language: language ?? "en"
|
|
12
12
|
}
|
|
13
|
-
});
|
|
14
|
-
if (!res.ok) throw new Error(`GET ${endpoints.getCombinedConsent} failed: ${res.status} ${res.statusText}`);
|
|
15
|
-
return res.data;
|
|
13
|
+
})).data;
|
|
16
14
|
}
|
|
17
15
|
async function submitCombinedConsent(params, signal) {
|
|
18
|
-
|
|
19
|
-
if (!res.ok) throw new Error(`POST ${endpoints.signCombinedConsent} failed: ${res.status} ${res.statusText}`);
|
|
16
|
+
await api.post(endpoints.signCombinedConsent, params, { signal });
|
|
20
17
|
}
|
|
21
18
|
//#endregion
|
|
22
19
|
//#region src/modules/consent/consentStateMachine.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-BIQ-SYcR.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -10,7 +10,6 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
|
10
10
|
const MIN_DISPLAY_MS = 3e3;
|
|
11
11
|
async function processCrossDocumentDataMatch(signal) {
|
|
12
12
|
const [res] = await Promise.all([api.post(endpoints.processCrossDocumentDataMatch, {}, { signal }), sleep(MIN_DISPLAY_MS)]);
|
|
13
|
-
if (!res.ok) throw new Error(`POST ${endpoints.processCrossDocumentDataMatch} failed: ${res.status} ${res.statusText}`);
|
|
14
13
|
return res.data;
|
|
15
14
|
}
|
|
16
15
|
//#endregion
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
2
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-
|
|
1
|
+
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BwUBkyyi.esm.js";
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-BKUDQ55W.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
package/dist/{curpValidationManager-zB-WC9ff.esm.js → curpValidationManager-BKUDQ55W.esm.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
|
|
7
|
-
import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
7
|
+
import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BwUBkyyi.esm.js";
|
|
8
8
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
9
9
|
function createCurpValidationActor(options) {
|
|
10
10
|
return createActor(curpValidationMachine, { input: { config: options.config } }).start();
|
|
@@ -148,14 +148,10 @@ const mexicanStates = [
|
|
|
148
148
|
//#endregion
|
|
149
149
|
//#region src/modules/curp-validation/curpValidationServices.ts
|
|
150
150
|
async function fetchOcrData(signal) {
|
|
151
|
-
|
|
152
|
-
if (!res.ok) throw new Error(`GET ${endpoints.ocrData} failed: ${res.status} ${res.statusText}`);
|
|
153
|
-
return res.data;
|
|
151
|
+
return (await api.get(endpoints.ocrData, { signal })).data;
|
|
154
152
|
}
|
|
155
153
|
async function addCurp(curp, signal) {
|
|
156
|
-
|
|
157
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addCurp} failed: ${res.status} ${res.statusText}`);
|
|
158
|
-
return res.data;
|
|
154
|
+
return (await api.post(endpoints.addCurp, { curp }, { signal })).data;
|
|
159
155
|
}
|
|
160
156
|
async function addCurpV2(form, signal) {
|
|
161
157
|
const payload = {
|
|
@@ -166,9 +162,7 @@ async function addCurpV2(form, signal) {
|
|
|
166
162
|
birthDate: formatDateForApi(form.birthDate),
|
|
167
163
|
state: form.birthState
|
|
168
164
|
};
|
|
169
|
-
|
|
170
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addCurpV2} failed: ${res.status} ${res.statusText}`);
|
|
171
|
-
return res.data;
|
|
165
|
+
return (await api.post(endpoints.addCurpV2, payload, { signal })).data;
|
|
172
166
|
}
|
|
173
167
|
//#endregion
|
|
174
168
|
//#region src/modules/curp-validation/curpFields.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-
|
|
1
|
+
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-CPhONu5i.esm.js";
|
|
2
2
|
export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
2
|
-
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-
|
|
1
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-C1Xq1ugl.esm.js";
|
|
2
|
+
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-cN57usIW.esm.js";
|
|
3
3
|
export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
|
|
@@ -9,9 +9,7 @@ import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
|
|
|
9
9
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
|
10
10
|
//#region src/modules/custom-fields/customFieldsServices.ts
|
|
11
11
|
async function submitCustomFields(params, signal) {
|
|
12
|
-
|
|
13
|
-
if (!res.ok) throw new Error(`POST ${endpoints.addCustomFields} failed: ${res.status} ${res.statusText}`);
|
|
14
|
-
return res.data;
|
|
12
|
+
return (await api.post(endpoints.addCustomFields, params.fields, { signal })).data;
|
|
15
13
|
}
|
|
16
14
|
//#endregion
|
|
17
15
|
//#region src/modules/custom-fields/customFieldsStateMachine.ts
|
package/dist/{customWatchlistManager-D6_6diPl.esm.js → customWatchlistManager-cN57usIW.esm.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
6
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-C1Xq1ugl.esm.js";
|
|
7
7
|
//#region src/modules/custom-watchlist/customWatchlistActor.ts
|
|
8
8
|
function createCustomWatchlistActor() {
|
|
9
9
|
return createActor(customWatchlistMachine).start();
|
|
@@ -3,9 +3,7 @@ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
4
|
//#region src/modules/custom-watchlist/customWatchlistServices.ts
|
|
5
5
|
async function processWatchlist(signal) {
|
|
6
|
-
|
|
7
|
-
if (!res.ok) throw new Error(`POST ${endpoints.processWatchlist} failed: ${res.status} ${res.statusText}`);
|
|
8
|
-
return res.data;
|
|
6
|
+
return (await api.post(endpoints.processWatchlist, {}, { signal })).data;
|
|
9
7
|
}
|
|
10
8
|
//#endregion
|
|
11
9
|
//#region src/modules/custom-watchlist/customWatchlistStateMachine.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BW_4YKrg.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-C5f1OAMF.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-rcDNM4ka.esm.js";
|
|
4
|
+
import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-8Lq0xwL2.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
7
7
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BHm1d2gA.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-CaVUb1DL.js";
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-BkaPpoKy.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-
|
|
5
|
+
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-CEg1t1sO.esm.js";
|
|
6
6
|
//#region src/modules/document-signature/documentSignatureActor.ts
|
|
7
7
|
function createDocumentSignatureActor(options) {
|
|
8
8
|
return createActor(documentSignatureMachine, { input: { config: options.config } }).start();
|
|
@@ -58,10 +58,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
58
58
|
sendBase64: boolean;
|
|
59
59
|
title: string | undefined;
|
|
60
60
|
onProgress: (progress: number) => void;
|
|
61
|
-
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<PermissionResult,
|
|
61
|
+
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<PermissionResult, {
|
|
62
62
|
permissionResult?: PermissionResult;
|
|
63
63
|
requestMotionPermission: boolean;
|
|
64
|
-
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<MediaStream, void, EventObject>> | ActorRefFromLogic<PromiseActorLogic<FinalizeDocumentResponse, {
|
|
64
|
+
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<PermissionResult, void, EventObject>> | ActorRefFromLogic<PromiseActorLogic<MediaStream, void, EventObject>> | ActorRefFromLogic<PromiseActorLogic<FinalizeDocumentResponse, {
|
|
65
65
|
processingType: string;
|
|
66
66
|
}, EventObject>> | undefined;
|
|
67
67
|
}, Values<{
|
|
@@ -76,11 +76,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
76
76
|
}, EventObject>;
|
|
77
77
|
id: string | undefined;
|
|
78
78
|
};
|
|
79
|
-
checkPermission: {
|
|
80
|
-
src: "checkPermission";
|
|
81
|
-
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
82
|
-
id: string | undefined;
|
|
83
|
-
};
|
|
84
79
|
requestPermission: {
|
|
85
80
|
src: "requestPermission";
|
|
86
81
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -89,6 +84,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
89
84
|
}, EventObject>;
|
|
90
85
|
id: string | undefined;
|
|
91
86
|
};
|
|
87
|
+
checkPermission: {
|
|
88
|
+
src: "checkPermission";
|
|
89
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
90
|
+
id: string | undefined;
|
|
91
|
+
};
|
|
92
92
|
initCamera: {
|
|
93
93
|
src: "initCamera";
|
|
94
94
|
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
@@ -273,7 +273,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
273
273
|
};
|
|
274
274
|
readonly context: ({ input, self }: {
|
|
275
275
|
spawn: {
|
|
276
|
-
<TSrc extends "uploadDocument" | "
|
|
276
|
+
<TSrc extends "uploadDocument" | "requestPermission" | "checkPermission" | "initCamera" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
277
277
|
src: "uploadDocument";
|
|
278
278
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
279
279
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
@@ -301,12 +301,18 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
301
301
|
input?: InputFrom<T["logic"]> | undefined;
|
|
302
302
|
syncSnapshot?: boolean;
|
|
303
303
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
304
|
-
src: "
|
|
305
|
-
logic: PromiseActorLogic<PermissionResult,
|
|
304
|
+
src: "requestPermission";
|
|
305
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
306
|
+
permissionResult?: PermissionResult;
|
|
307
|
+
requestMotionPermission: boolean;
|
|
308
|
+
}, EventObject>;
|
|
306
309
|
id: string | undefined;
|
|
307
310
|
} extends (infer T_1) ? T_1 extends {
|
|
308
|
-
src: "
|
|
309
|
-
logic: PromiseActorLogic<PermissionResult,
|
|
311
|
+
src: "requestPermission";
|
|
312
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
313
|
+
permissionResult?: PermissionResult;
|
|
314
|
+
requestMotionPermission: boolean;
|
|
315
|
+
}, EventObject>;
|
|
310
316
|
id: string | undefined;
|
|
311
317
|
} ? T_1 extends {
|
|
312
318
|
src: TSrc;
|
|
@@ -316,18 +322,12 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
316
322
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
317
323
|
syncSnapshot?: boolean;
|
|
318
324
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
319
|
-
src: "
|
|
320
|
-
logic: PromiseActorLogic<PermissionResult,
|
|
321
|
-
permissionResult?: PermissionResult;
|
|
322
|
-
requestMotionPermission: boolean;
|
|
323
|
-
}, EventObject>;
|
|
325
|
+
src: "checkPermission";
|
|
326
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
324
327
|
id: string | undefined;
|
|
325
328
|
} extends (infer T_2) ? T_2 extends {
|
|
326
|
-
src: "
|
|
327
|
-
logic: PromiseActorLogic<PermissionResult,
|
|
328
|
-
permissionResult?: PermissionResult;
|
|
329
|
-
requestMotionPermission: boolean;
|
|
330
|
-
}, EventObject>;
|
|
329
|
+
src: "checkPermission";
|
|
330
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
331
331
|
id: string | undefined;
|
|
332
332
|
} ? T_2 extends {
|
|
333
333
|
src: TSrc;
|
|
@@ -382,11 +382,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
382
382
|
}, EventObject>;
|
|
383
383
|
id: string | undefined;
|
|
384
384
|
};
|
|
385
|
-
checkPermission: {
|
|
386
|
-
src: "checkPermission";
|
|
387
|
-
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
388
|
-
id: string | undefined;
|
|
389
|
-
};
|
|
390
385
|
requestPermission: {
|
|
391
386
|
src: "requestPermission";
|
|
392
387
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -395,6 +390,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
395
390
|
}, EventObject>;
|
|
396
391
|
id: string | undefined;
|
|
397
392
|
};
|
|
393
|
+
checkPermission: {
|
|
394
|
+
src: "checkPermission";
|
|
395
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
396
|
+
id: string | undefined;
|
|
397
|
+
};
|
|
398
398
|
initCamera: {
|
|
399
399
|
src: "initCamera";
|
|
400
400
|
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
@@ -646,11 +646,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
646
646
|
}, EventObject>;
|
|
647
647
|
id: string | undefined;
|
|
648
648
|
};
|
|
649
|
-
checkPermission: {
|
|
650
|
-
src: "checkPermission";
|
|
651
|
-
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
652
|
-
id: string | undefined;
|
|
653
|
-
};
|
|
654
649
|
requestPermission: {
|
|
655
650
|
src: "requestPermission";
|
|
656
651
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -659,6 +654,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
659
654
|
}, EventObject>;
|
|
660
655
|
id: string | undefined;
|
|
661
656
|
};
|
|
657
|
+
checkPermission: {
|
|
658
|
+
src: "checkPermission";
|
|
659
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
660
|
+
id: string | undefined;
|
|
661
|
+
};
|
|
662
662
|
initCamera: {
|
|
663
663
|
src: "initCamera";
|
|
664
664
|
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
@@ -733,11 +733,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
733
733
|
}, EventObject>;
|
|
734
734
|
id: string | undefined;
|
|
735
735
|
};
|
|
736
|
-
checkPermission: {
|
|
737
|
-
src: "checkPermission";
|
|
738
|
-
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
739
|
-
id: string | undefined;
|
|
740
|
-
};
|
|
741
736
|
requestPermission: {
|
|
742
737
|
src: "requestPermission";
|
|
743
738
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -746,6 +741,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
746
741
|
}, EventObject>;
|
|
747
742
|
id: string | undefined;
|
|
748
743
|
};
|
|
744
|
+
checkPermission: {
|
|
745
|
+
src: "checkPermission";
|
|
746
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
747
|
+
id: string | undefined;
|
|
748
|
+
};
|
|
749
749
|
initCamera: {
|
|
750
750
|
src: "initCamera";
|
|
751
751
|
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
@@ -819,11 +819,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
819
819
|
}, EventObject>;
|
|
820
820
|
id: string | undefined;
|
|
821
821
|
};
|
|
822
|
-
checkPermission: {
|
|
823
|
-
src: "checkPermission";
|
|
824
|
-
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
825
|
-
id: string | undefined;
|
|
826
|
-
};
|
|
827
822
|
requestPermission: {
|
|
828
823
|
src: "requestPermission";
|
|
829
824
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -832,6 +827,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
832
827
|
}, EventObject>;
|
|
833
828
|
id: string | undefined;
|
|
834
829
|
};
|
|
830
|
+
checkPermission: {
|
|
831
|
+
src: "checkPermission";
|
|
832
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
833
|
+
id: string | undefined;
|
|
834
|
+
};
|
|
835
835
|
initCamera: {
|
|
836
836
|
src: "initCamera";
|
|
837
837
|
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
@@ -906,11 +906,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
906
906
|
}, EventObject>;
|
|
907
907
|
id: string | undefined;
|
|
908
908
|
};
|
|
909
|
-
checkPermission: {
|
|
910
|
-
src: "checkPermission";
|
|
911
|
-
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
912
|
-
id: string | undefined;
|
|
913
|
-
};
|
|
914
909
|
requestPermission: {
|
|
915
910
|
src: "requestPermission";
|
|
916
911
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -919,6 +914,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
919
914
|
}, EventObject>;
|
|
920
915
|
id: string | undefined;
|
|
921
916
|
};
|
|
917
|
+
checkPermission: {
|
|
918
|
+
src: "checkPermission";
|
|
919
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
920
|
+
id: string | undefined;
|
|
921
|
+
};
|
|
922
922
|
initCamera: {
|
|
923
923
|
src: "initCamera";
|
|
924
924
|
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
@@ -1162,11 +1162,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1162
1162
|
}, EventObject>;
|
|
1163
1163
|
id: string | undefined;
|
|
1164
1164
|
};
|
|
1165
|
-
checkPermission: {
|
|
1166
|
-
src: "checkPermission";
|
|
1167
|
-
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1168
|
-
id: string | undefined;
|
|
1169
|
-
};
|
|
1170
1165
|
requestPermission: {
|
|
1171
1166
|
src: "requestPermission";
|
|
1172
1167
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1175,6 +1170,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1175
1170
|
}, EventObject>;
|
|
1176
1171
|
id: string | undefined;
|
|
1177
1172
|
};
|
|
1173
|
+
checkPermission: {
|
|
1174
|
+
src: "checkPermission";
|
|
1175
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1176
|
+
id: string | undefined;
|
|
1177
|
+
};
|
|
1178
1178
|
initCamera: {
|
|
1179
1179
|
src: "initCamera";
|
|
1180
1180
|
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
@@ -1249,11 +1249,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1249
1249
|
}, EventObject>;
|
|
1250
1250
|
id: string | undefined;
|
|
1251
1251
|
};
|
|
1252
|
-
checkPermission: {
|
|
1253
|
-
src: "checkPermission";
|
|
1254
|
-
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1255
|
-
id: string | undefined;
|
|
1256
|
-
};
|
|
1257
1252
|
requestPermission: {
|
|
1258
1253
|
src: "requestPermission";
|
|
1259
1254
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1262,6 +1257,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1262
1257
|
}, EventObject>;
|
|
1263
1258
|
id: string | undefined;
|
|
1264
1259
|
};
|
|
1260
|
+
checkPermission: {
|
|
1261
|
+
src: "checkPermission";
|
|
1262
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1263
|
+
id: string | undefined;
|
|
1264
|
+
};
|
|
1265
1265
|
initCamera: {
|
|
1266
1266
|
src: "initCamera";
|
|
1267
1267
|
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
@@ -1335,11 +1335,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1335
1335
|
}, EventObject>;
|
|
1336
1336
|
id: string | undefined;
|
|
1337
1337
|
};
|
|
1338
|
-
checkPermission: {
|
|
1339
|
-
src: "checkPermission";
|
|
1340
|
-
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1341
|
-
id: string | undefined;
|
|
1342
|
-
};
|
|
1343
1338
|
requestPermission: {
|
|
1344
1339
|
src: "requestPermission";
|
|
1345
1340
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1348,6 +1343,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1348
1343
|
}, EventObject>;
|
|
1349
1344
|
id: string | undefined;
|
|
1350
1345
|
};
|
|
1346
|
+
checkPermission: {
|
|
1347
|
+
src: "checkPermission";
|
|
1348
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1349
|
+
id: string | undefined;
|
|
1350
|
+
};
|
|
1351
1351
|
initCamera: {
|
|
1352
1352
|
src: "initCamera";
|
|
1353
1353
|
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
@@ -1472,11 +1472,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1472
1472
|
}, EventObject>;
|
|
1473
1473
|
id: string | undefined;
|
|
1474
1474
|
};
|
|
1475
|
-
checkPermission: {
|
|
1476
|
-
src: "checkPermission";
|
|
1477
|
-
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1478
|
-
id: string | undefined;
|
|
1479
|
-
};
|
|
1480
1475
|
requestPermission: {
|
|
1481
1476
|
src: "requestPermission";
|
|
1482
1477
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1485,6 +1480,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1485
1480
|
}, EventObject>;
|
|
1486
1481
|
id: string | undefined;
|
|
1487
1482
|
};
|
|
1483
|
+
checkPermission: {
|
|
1484
|
+
src: "checkPermission";
|
|
1485
|
+
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
1486
|
+
id: string | undefined;
|
|
1487
|
+
};
|
|
1488
1488
|
initCamera: {
|
|
1489
1489
|
src: "initCamera";
|
|
1490
1490
|
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-DSZSaaWr.esm.js";
|
|
3
3
|
import "./events-CsPmTidH.esm.js";
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-M34LvK-d.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
7
|
//#region src/modules/document-signature/documentSignatureServices.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-9XkYah_p.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-Dke3cU7u.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CsPmTidH.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
6
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-9XkYah_p.esm.js";
|
|
7
7
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
8
8
|
function createDynamicFormsActor(options) {
|
|
9
9
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|