@incodetech/core 0.0.0-dev-20260729-e2dda0b0 → 0.0.0-dev-20260729-9e7b030a
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/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +1 -1
- package/dist/{antifraudManager-COYh4O_y.esm.js → antifraudManager-Cj_80kXY.esm.js} +1 -1
- package/dist/{apiError-GA6MbJpI.esm.js → apiError-CzR7Y6Ua.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-B7v0Jy-x.esm.js → authenticationManager-CmkHvt7_.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DAh9ziFC.esm.js → authenticationStateMachine-O3acuOqq.esm.js} +2 -2
- package/dist/{backCameraStream-6XQp9RxG.esm.js → backCameraStream-BqiXcU28.esm.js} +11 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +1 -1
- package/dist/{consentManager-CWEAhAJ5.esm.js → consentManager-CbYlnsM-.esm.js} +1 -1
- package/dist/{consentManager-BhYFeKiG.d.ts → consentManager-uhDPdU6i.d.ts} +8 -8
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-Bk4W2TDJ.esm.js → crossDocumentDataMatchManager-D4w4_crz.esm.js} +1 -1
- package/dist/curp-validation.esm.js +1 -1
- package/dist/{curpValidationManager-B6gYKygj.esm.js → curpValidationManager-KjzGK3MT.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +1 -1
- package/dist/{deepsightLoader-CHG26pOB.esm.js → deepsightLoader-CaUpu0Dy.esm.js} +3 -3
- package/dist/device.esm.js +1 -15
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +4 -4
- package/dist/document-upload.esm.js +2 -2
- package/dist/{documentCaptureManager-FvcNYpkS.esm.js → documentCaptureManager-DiZWStP_.esm.js} +2 -2
- package/dist/{documentCaptureManager-BK_4RbHt.d.ts → documentCaptureManager-pEqMY_Oo.d.ts} +69 -69
- package/dist/{documentCaptureStateMachine-BlzN0-mU.esm.js → documentCaptureStateMachine-DAR7pkTk.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CfJixpOW.esm.js → dynamicFormsManager-BxUgij0L.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-DrPO1i45.esm.js → dynamicFormsStateMachine-D0cEsDMH.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DVCqaSzz.esm.js → ekybManager-LicVPYug.esm.js} +2 -2
- package/dist/{ekybStateMachine-C3y-Qx1a.esm.js → ekybStateMachine-IgLa1nXx.esm.js} +1 -1
- package/dist/ekyc.esm.js +1 -1
- package/dist/{ekycManager-dimNksoE.esm.js → ekycManager-JibqQLH-.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-D0X7P-de.esm.js → electronicSignatureManager-DqPJCXMG.esm.js} +2 -2
- package/dist/email.esm.js +1 -1
- package/dist/{emailManager-BqJMritP.esm.js → emailManager-DRBVGjai.esm.js} +1 -1
- package/dist/{events-CMFCCu1H.esm.js → events-ethtfu2b.esm.js} +36 -1
- package/dist/events.d.ts +27 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +24 -24
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-D2pR3ZnX.esm.js → faceCaptureManagerFactory-2W_XduCs.esm.js} +3 -3
- package/dist/{faceCaptureSetup-DbhDPMjb.esm.js → faceCaptureSetup-D-9s0vUS.esm.js} +4 -4
- package/dist/{faceMatchManager-XxTEAj9C.esm.js → faceMatchManager-ZlPuKqfF.esm.js} +1 -1
- package/dist/{feature-management-Dw96qEMs.esm.js → feature-management-CFRmD8Nr.esm.js} +14 -1
- package/dist/feature-management.d.ts +14 -1
- package/dist/feature-management.esm.js +2 -2
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BzaX4TvX.esm.js → fieldComparisonManager-C4eefgNT.esm.js} +1 -1
- package/dist/fiscal-qr.esm.js +2 -2
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +4 -4
- package/dist/{flowCompletionService-BdZR6HyE.esm.js → flowCompletionService-D_DJ1dNA.esm.js} +1 -1
- package/dist/{flowServices-CPti9am-.esm.js → flowServices-ZgW3UGcz.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DW27-LTL.esm.js → geolocationManager-oLdeMbdy.esm.js} +2 -2
- package/dist/{geolocationStateMachine-Cz3Q6az0.esm.js → geolocationStateMachine-CSDKlrHE.esm.js} +1 -1
- package/dist/getBrowser-DNrQeL4T.esm.js +16 -0
- package/dist/government-validation.esm.js +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/id-ocr.esm.js +1 -1
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureManager-C-WjmsN4.d.ts → idCaptureManager-B2w2CGuV.d.ts} +12 -3
- package/dist/{idCaptureManager-CPzgzVu8.esm.js → idCaptureManager-DAsfVDWq.esm.js} +15 -5
- package/dist/{idCaptureStateMachine-CAKztWBq.esm.js → idCaptureStateMachine-BMZCf9M7.esm.js} +90 -28
- package/dist/{idOcrManager-Drs6frVO.esm.js → idOcrManager-HuMeVQrh.esm.js} +1 -1
- package/dist/{idVerificationManager-Df97Bf0n.esm.js → idVerificationManager-6R_G7Y-3.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +1 -1
- package/dist/{identityReuseManager-0ZHGWr9T.esm.js → identityReuseManager-CNbGch_H.esm.js} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-Cgl54qED.esm.js → invokeOnCaptureCallback-DVtdZdpI.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +1 -1
- package/dist/{mandatoryConsentManager-DaKK7S4q.esm.js → mandatoryConsentManager-D7C9v5sI.esm.js} +1 -1
- package/dist/{mandatoryConsentManager-CzsVFG33.d.ts → mandatoryConsentManager-DOZSFZA2.d.ts} +4 -4
- package/dist/{onDeviceFaceResults-CVhk1BWp.esm.js → onDeviceFaceResults-D8FzOXsM.esm.js} +4 -4
- package/dist/{permissionGuards-UMiLlPfq.esm.js → permissionGuards-D0cdQjk6.esm.js} +1 -1
- package/dist/{permissionServices-C4qKxOl4.esm.js → permissionServices-GFikEK6S.esm.js} +2 -17
- package/dist/personhood.esm.js +5 -5
- package/dist/phone.esm.js +1 -1
- package/dist/{phoneManager-WImoAp4i.esm.js → phoneManager-Dus4Ddb9.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BGPq5vGr.esm.js → recordingService-D6Hbc408.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/{redirectToMobileManager-CxEu6KnV.esm.js → redirectToMobileManager-D1WymLy1.esm.js} +1 -1
- package/dist/{runChildModule-fagPe5Ct.esm.js → runChildModule-CVKUUVl2.esm.js} +2 -2
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-DTiBsQNn.esm.js → selfieManager-Cnw55Hp_.esm.js} +3 -3
- package/dist/{selfieStateMachine-CxabK5_3.esm.js → selfieStateMachine-D-wolitw.esm.js} +2 -2
- package/dist/{session-Ccob4IUP.esm.js → session-XugVyrIq.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DEd0CQ74.esm.js → sessionInitializer-B3g2uAsl.esm.js} +4 -4
- package/dist/{setup-BR4G3NHV.esm.js → setup-BVuwm-QH.esm.js} +7 -6
- package/dist/signature.esm.js +1 -1
- package/dist/trueSight-DWfPmAL_.esm.js +1 -0
- package/dist/{trueSightService-DKC-gmQC.esm.js → trueSightService-DGkNMx-E.esm.js} +2 -2
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-C2n-6lCx.d.ts → types-4-pU2Nhm.d.ts} +7 -0
- package/dist/video-selfie.esm.js +5 -5
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.esm.js +1 -1
- package/dist/{watchlistManager-DnVfNc1v.esm.js → watchlistManager-BLf37wLN.esm.js} +1 -1
- package/dist/workflow.esm.js +17 -17
- package/package.json +1 -1
- package/dist/trueSight-4L5GCqKy.esm.js +0 -1
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DqPJCXMG.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as antifraudMachine } from "./antifraudStateMachine-NuzlVVte.esm.js";
|
|
2
|
-
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-
|
|
2
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-Cj_80kXY.esm.js";
|
|
3
3
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { t as antifraudMachine } from "./antifraudStateMachine-NuzlVVte.esm.js";
|
|
@@ -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-O3acuOqq.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CmkHvt7_.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-B7v0Jy-x.esm.js → authenticationManager-CmkHvt7_.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
3
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
+
import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-2W_XduCs.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-O3acuOqq.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-6sK3f5pc.esm.js";
|
|
4
4
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-D-9s0vUS.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D8FzOXsM.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
2
2
|
import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-BmFEyPP_.esm.js";
|
|
3
3
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
4
|
+
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
4
5
|
//#region src/internal/camera/backCameraStream.ts
|
|
5
6
|
const BACK_CAMERA_KEYWORDS = [
|
|
6
7
|
"rear",
|
|
@@ -221,6 +222,12 @@ async function getAndroidBackCameraStream(fallbackLevel = 0) {
|
|
|
221
222
|
return getAndroidBackCameraStream(nextLevel);
|
|
222
223
|
}
|
|
223
224
|
}
|
|
225
|
+
async function getFirefoxAndroidBackCameraStream() {
|
|
226
|
+
return {
|
|
227
|
+
stream: await requestCameraAccess(getDesktopConstraints({ facingMode: "environment" })),
|
|
228
|
+
fallbackLevel: 0
|
|
229
|
+
};
|
|
230
|
+
}
|
|
224
231
|
async function applyFocusHint(stream) {
|
|
225
232
|
const videoTrack = stream.getVideoTracks()[0];
|
|
226
233
|
try {
|
|
@@ -420,7 +427,10 @@ async function ensureFrontCameraStream(open) {
|
|
|
420
427
|
}
|
|
421
428
|
async function getBackCameraStream(deviceId) {
|
|
422
429
|
if (isIOS()) return { stream: await getIOSCameraStream() };
|
|
423
|
-
if (isAndroid())
|
|
430
|
+
if (isAndroid()) {
|
|
431
|
+
if (getBrowser() === "firefox") return getFirefoxAndroidBackCameraStream();
|
|
432
|
+
return getAndroidBackCameraStream(0);
|
|
433
|
+
}
|
|
424
434
|
return { stream: await getDesktopBackCameraStream(deviceId) };
|
|
425
435
|
}
|
|
426
436
|
//#endregion
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
1
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
|
|
2
2
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-N__sTAgu.esm.js";
|
|
4
4
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
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-uhDPdU6i.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
1
|
import { t as consentMachine } from "./consentStateMachine-DWL-X0Jb.esm.js";
|
|
2
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-CbYlnsM-.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { t as consentMachine } from "./consentStateMachine-DWL-X0Jb.esm.js";
|
|
@@ -78,14 +78,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
78
78
|
type: "setError";
|
|
79
79
|
params: NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
|
-
setConsentData: {
|
|
82
|
-
type: "setConsentData";
|
|
83
|
-
params: NonReducibleUnknown;
|
|
84
|
-
};
|
|
85
|
-
toggleCheckbox: {
|
|
86
|
-
type: "toggleCheckbox";
|
|
87
|
-
params: NonReducibleUnknown;
|
|
88
|
-
};
|
|
89
81
|
clearError: {
|
|
90
82
|
type: "clearError";
|
|
91
83
|
params: NonReducibleUnknown;
|
|
@@ -94,6 +86,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
94
86
|
type: "resetContext";
|
|
95
87
|
params: NonReducibleUnknown;
|
|
96
88
|
};
|
|
89
|
+
setConsentData: {
|
|
90
|
+
type: "setConsentData";
|
|
91
|
+
params: NonReducibleUnknown;
|
|
92
|
+
};
|
|
93
|
+
toggleCheckbox: {
|
|
94
|
+
type: "toggleCheckbox";
|
|
95
|
+
params: NonReducibleUnknown;
|
|
96
|
+
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
@@ -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-D4w4_crz.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
4
4
|
import { c as createManager, o as createActor, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-42RbYcam.esm.js";
|
|
2
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-KjzGK3MT.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
package/dist/{curpValidationManager-B6gYKygj.esm.js → curpValidationManager-KjzGK3MT.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-42RbYcam.esm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
5
5
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BbDtH5kk.esm.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
4
|
-
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
5
|
-
import "./trueSight-
|
|
3
|
+
import { l as trueSightLog } from "./trueSightService-DGkNMx-E.esm.js";
|
|
4
|
+
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-B3g2uAsl.esm.js";
|
|
5
|
+
import "./trueSight-DWfPmAL_.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-6sK3f5pc.esm.js";
|
|
7
7
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
8
8
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
package/dist/device.esm.js
CHANGED
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
import { i as isIPad, s as isTabletWithoutAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
2
|
-
import { t as
|
|
2
|
+
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
3
3
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
4
4
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
5
|
-
//#region src/internal/device/getBrowser.ts
|
|
6
|
-
function getBrowser() {
|
|
7
|
-
const userAgent = getUserAgent();
|
|
8
|
-
if (!userAgent) return "other";
|
|
9
|
-
const ua = userAgent.toLowerCase();
|
|
10
|
-
if (ua.includes("edg/") || ua.includes("edgios/")) return "edge";
|
|
11
|
-
if (ua.includes("samsungbrowser/")) return "samsung_browser";
|
|
12
|
-
if (ua.includes("opr/") || ua.includes("opera") || ua.includes("opios/") || ua.includes("opt/")) return "opera";
|
|
13
|
-
if (ua.includes("chrome") || ua.includes("crios")) return "chrome";
|
|
14
|
-
if (ua.includes("firefox") || ua.includes("fxios")) return "firefox";
|
|
15
|
-
if (ua.includes("safari")) return "safari";
|
|
16
|
-
return "other";
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
5
|
//#region src/internal/device/redirectDeviceClassification.ts
|
|
20
6
|
/**
|
|
21
7
|
* Conservative redirect-specific check. A mobile identity must also expose an
|
|
@@ -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 } from "./types-B4BObr_7.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-pEqMY_Oo.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
2
|
-
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DAR7pkTk.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-DiZWStP_.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -42,10 +42,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
42
42
|
type: "setError";
|
|
43
43
|
params: NonReducibleUnknown;
|
|
44
44
|
};
|
|
45
|
-
clearError: {
|
|
46
|
-
type: "clearError";
|
|
47
|
-
params: NonReducibleUnknown;
|
|
48
|
-
};
|
|
49
45
|
setStream: {
|
|
50
46
|
type: "setStream";
|
|
51
47
|
params: NonReducibleUnknown;
|
|
@@ -58,6 +54,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
58
54
|
type: "setProgress";
|
|
59
55
|
params: NonReducibleUnknown;
|
|
60
56
|
};
|
|
57
|
+
clearError: {
|
|
58
|
+
type: "clearError";
|
|
59
|
+
params: NonReducibleUnknown;
|
|
60
|
+
};
|
|
61
61
|
stopStream: {
|
|
62
62
|
type: "stopStream";
|
|
63
63
|
params: NonReducibleUnknown;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
4
4
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
|
|
7
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
7
|
+
import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
|
|
8
8
|
//#region src/modules/document-upload/documentUploadServices.ts
|
|
9
9
|
async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
|
|
10
10
|
const url = `${endpoints.addDocument}?type=${encodeURIComponent(documentType)}`;
|
package/dist/{documentCaptureManager-FvcNYpkS.esm.js → documentCaptureManager-DiZWStP_.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
4
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DAR7pkTk.esm.js";
|
|
5
5
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
6
6
|
function createDocumentCaptureActor(options) {
|
|
7
7
|
return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
|
|
@@ -72,6 +72,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
72
72
|
}, EventObject>;
|
|
73
73
|
id: string | undefined;
|
|
74
74
|
};
|
|
75
|
+
initCamera: {
|
|
76
|
+
src: "initCamera";
|
|
77
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
78
|
+
id: string | undefined;
|
|
79
|
+
};
|
|
75
80
|
requestPermission: {
|
|
76
81
|
src: "requestPermission";
|
|
77
82
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -80,11 +85,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
80
85
|
}, EventObject>;
|
|
81
86
|
id: string | undefined;
|
|
82
87
|
};
|
|
83
|
-
initCamera: {
|
|
84
|
-
src: "initCamera";
|
|
85
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
86
|
-
id: string | undefined;
|
|
87
|
-
};
|
|
88
88
|
checkPermission: {
|
|
89
89
|
src: "checkPermission";
|
|
90
90
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -102,10 +102,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
102
102
|
type: "decrementAttemptsRemaining";
|
|
103
103
|
params: NonReducibleUnknown;
|
|
104
104
|
};
|
|
105
|
-
clearError: {
|
|
106
|
-
type: "clearError";
|
|
107
|
-
params: NonReducibleUnknown;
|
|
108
|
-
};
|
|
109
105
|
setStream: {
|
|
110
106
|
type: "setStream";
|
|
111
107
|
params: NonReducibleUnknown;
|
|
@@ -114,6 +110,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
114
110
|
type: "setProgress";
|
|
115
111
|
params: NonReducibleUnknown;
|
|
116
112
|
};
|
|
113
|
+
clearError: {
|
|
114
|
+
type: "clearError";
|
|
115
|
+
params: NonReducibleUnknown;
|
|
116
|
+
};
|
|
117
117
|
stopStream: {
|
|
118
118
|
type: "stopStream";
|
|
119
119
|
params: NonReducibleUnknown;
|
|
@@ -258,7 +258,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
258
258
|
readonly initial: "tutorial";
|
|
259
259
|
readonly context: ({ input }: {
|
|
260
260
|
spawn: {
|
|
261
|
-
<TSrc extends "uploadDocument" | "
|
|
261
|
+
<TSrc extends "uploadDocument" | "initCamera" | "requestPermission" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
262
262
|
src: "uploadDocument";
|
|
263
263
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
264
264
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
@@ -282,18 +282,12 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
282
282
|
input?: InputFrom<T["logic"]> | undefined;
|
|
283
283
|
syncSnapshot?: boolean;
|
|
284
284
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
285
|
-
src: "
|
|
286
|
-
logic: PromiseActorLogic<
|
|
287
|
-
permissionResult?: PermissionResult;
|
|
288
|
-
requestMotionPermission: boolean;
|
|
289
|
-
}, EventObject>;
|
|
285
|
+
src: "initCamera";
|
|
286
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
290
287
|
id: string | undefined;
|
|
291
288
|
} extends (infer T_1) ? T_1 extends {
|
|
292
|
-
src: "
|
|
293
|
-
logic: PromiseActorLogic<
|
|
294
|
-
permissionResult?: PermissionResult;
|
|
295
|
-
requestMotionPermission: boolean;
|
|
296
|
-
}, EventObject>;
|
|
289
|
+
src: "initCamera";
|
|
290
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
297
291
|
id: string | undefined;
|
|
298
292
|
} ? T_1 extends {
|
|
299
293
|
src: TSrc;
|
|
@@ -303,12 +297,18 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
303
297
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
304
298
|
syncSnapshot?: boolean;
|
|
305
299
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
306
|
-
src: "
|
|
307
|
-
logic: PromiseActorLogic<
|
|
300
|
+
src: "requestPermission";
|
|
301
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
302
|
+
permissionResult?: PermissionResult;
|
|
303
|
+
requestMotionPermission: boolean;
|
|
304
|
+
}, EventObject>;
|
|
308
305
|
id: string | undefined;
|
|
309
306
|
} extends (infer T_2) ? T_2 extends {
|
|
310
|
-
src: "
|
|
311
|
-
logic: PromiseActorLogic<
|
|
307
|
+
src: "requestPermission";
|
|
308
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
309
|
+
permissionResult?: PermissionResult;
|
|
310
|
+
requestMotionPermission: boolean;
|
|
311
|
+
}, EventObject>;
|
|
312
312
|
id: string | undefined;
|
|
313
313
|
} ? T_2 extends {
|
|
314
314
|
src: TSrc;
|
|
@@ -361,6 +361,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
361
361
|
}, EventObject>;
|
|
362
362
|
id: string | undefined;
|
|
363
363
|
};
|
|
364
|
+
initCamera: {
|
|
365
|
+
src: "initCamera";
|
|
366
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
367
|
+
id: string | undefined;
|
|
368
|
+
};
|
|
364
369
|
requestPermission: {
|
|
365
370
|
src: "requestPermission";
|
|
366
371
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -369,11 +374,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
369
374
|
}, EventObject>;
|
|
370
375
|
id: string | undefined;
|
|
371
376
|
};
|
|
372
|
-
initCamera: {
|
|
373
|
-
src: "initCamera";
|
|
374
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
375
|
-
id: string | undefined;
|
|
376
|
-
};
|
|
377
377
|
checkPermission: {
|
|
378
378
|
src: "checkPermission";
|
|
379
379
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -621,6 +621,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
621
621
|
}, EventObject>;
|
|
622
622
|
id: string | undefined;
|
|
623
623
|
};
|
|
624
|
+
initCamera: {
|
|
625
|
+
src: "initCamera";
|
|
626
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
627
|
+
id: string | undefined;
|
|
628
|
+
};
|
|
624
629
|
requestPermission: {
|
|
625
630
|
src: "requestPermission";
|
|
626
631
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -629,11 +634,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
629
634
|
}, EventObject>;
|
|
630
635
|
id: string | undefined;
|
|
631
636
|
};
|
|
632
|
-
initCamera: {
|
|
633
|
-
src: "initCamera";
|
|
634
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
635
|
-
id: string | undefined;
|
|
636
|
-
};
|
|
637
637
|
checkPermission: {
|
|
638
638
|
src: "checkPermission";
|
|
639
639
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -706,6 +706,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
706
706
|
}, EventObject>;
|
|
707
707
|
id: string | undefined;
|
|
708
708
|
};
|
|
709
|
+
initCamera: {
|
|
710
|
+
src: "initCamera";
|
|
711
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
712
|
+
id: string | undefined;
|
|
713
|
+
};
|
|
709
714
|
requestPermission: {
|
|
710
715
|
src: "requestPermission";
|
|
711
716
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -714,11 +719,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
714
719
|
}, EventObject>;
|
|
715
720
|
id: string | undefined;
|
|
716
721
|
};
|
|
717
|
-
initCamera: {
|
|
718
|
-
src: "initCamera";
|
|
719
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
720
|
-
id: string | undefined;
|
|
721
|
-
};
|
|
722
722
|
checkPermission: {
|
|
723
723
|
src: "checkPermission";
|
|
724
724
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -790,6 +790,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
790
790
|
}, EventObject>;
|
|
791
791
|
id: string | undefined;
|
|
792
792
|
};
|
|
793
|
+
initCamera: {
|
|
794
|
+
src: "initCamera";
|
|
795
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
796
|
+
id: string | undefined;
|
|
797
|
+
};
|
|
793
798
|
requestPermission: {
|
|
794
799
|
src: "requestPermission";
|
|
795
800
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -798,11 +803,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
798
803
|
}, EventObject>;
|
|
799
804
|
id: string | undefined;
|
|
800
805
|
};
|
|
801
|
-
initCamera: {
|
|
802
|
-
src: "initCamera";
|
|
803
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
804
|
-
id: string | undefined;
|
|
805
|
-
};
|
|
806
806
|
checkPermission: {
|
|
807
807
|
src: "checkPermission";
|
|
808
808
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -875,6 +875,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
875
875
|
}, EventObject>;
|
|
876
876
|
id: string | undefined;
|
|
877
877
|
};
|
|
878
|
+
initCamera: {
|
|
879
|
+
src: "initCamera";
|
|
880
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
881
|
+
id: string | undefined;
|
|
882
|
+
};
|
|
878
883
|
requestPermission: {
|
|
879
884
|
src: "requestPermission";
|
|
880
885
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -883,11 +888,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
883
888
|
}, EventObject>;
|
|
884
889
|
id: string | undefined;
|
|
885
890
|
};
|
|
886
|
-
initCamera: {
|
|
887
|
-
src: "initCamera";
|
|
888
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
889
|
-
id: string | undefined;
|
|
890
|
-
};
|
|
891
891
|
checkPermission: {
|
|
892
892
|
src: "checkPermission";
|
|
893
893
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1129,6 +1129,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1129
1129
|
}, EventObject>;
|
|
1130
1130
|
id: string | undefined;
|
|
1131
1131
|
};
|
|
1132
|
+
initCamera: {
|
|
1133
|
+
src: "initCamera";
|
|
1134
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1135
|
+
id: string | undefined;
|
|
1136
|
+
};
|
|
1132
1137
|
requestPermission: {
|
|
1133
1138
|
src: "requestPermission";
|
|
1134
1139
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1137,11 +1142,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1137
1142
|
}, EventObject>;
|
|
1138
1143
|
id: string | undefined;
|
|
1139
1144
|
};
|
|
1140
|
-
initCamera: {
|
|
1141
|
-
src: "initCamera";
|
|
1142
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1143
|
-
id: string | undefined;
|
|
1144
|
-
};
|
|
1145
1145
|
checkPermission: {
|
|
1146
1146
|
src: "checkPermission";
|
|
1147
1147
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1214,6 +1214,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1214
1214
|
}, EventObject>;
|
|
1215
1215
|
id: string | undefined;
|
|
1216
1216
|
};
|
|
1217
|
+
initCamera: {
|
|
1218
|
+
src: "initCamera";
|
|
1219
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1220
|
+
id: string | undefined;
|
|
1221
|
+
};
|
|
1217
1222
|
requestPermission: {
|
|
1218
1223
|
src: "requestPermission";
|
|
1219
1224
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1222,11 +1227,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1222
1227
|
}, EventObject>;
|
|
1223
1228
|
id: string | undefined;
|
|
1224
1229
|
};
|
|
1225
|
-
initCamera: {
|
|
1226
|
-
src: "initCamera";
|
|
1227
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1228
|
-
id: string | undefined;
|
|
1229
|
-
};
|
|
1230
1230
|
checkPermission: {
|
|
1231
1231
|
src: "checkPermission";
|
|
1232
1232
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1298,6 +1298,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1298
1298
|
}, EventObject>;
|
|
1299
1299
|
id: string | undefined;
|
|
1300
1300
|
};
|
|
1301
|
+
initCamera: {
|
|
1302
|
+
src: "initCamera";
|
|
1303
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1304
|
+
id: string | undefined;
|
|
1305
|
+
};
|
|
1301
1306
|
requestPermission: {
|
|
1302
1307
|
src: "requestPermission";
|
|
1303
1308
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1306,11 +1311,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1306
1311
|
}, EventObject>;
|
|
1307
1312
|
id: string | undefined;
|
|
1308
1313
|
};
|
|
1309
|
-
initCamera: {
|
|
1310
|
-
src: "initCamera";
|
|
1311
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1312
|
-
id: string | undefined;
|
|
1313
|
-
};
|
|
1314
1314
|
checkPermission: {
|
|
1315
1315
|
src: "checkPermission";
|
|
1316
1316
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1433,6 +1433,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1433
1433
|
}, EventObject>;
|
|
1434
1434
|
id: string | undefined;
|
|
1435
1435
|
};
|
|
1436
|
+
initCamera: {
|
|
1437
|
+
src: "initCamera";
|
|
1438
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1439
|
+
id: string | undefined;
|
|
1440
|
+
};
|
|
1436
1441
|
requestPermission: {
|
|
1437
1442
|
src: "requestPermission";
|
|
1438
1443
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1441,11 +1446,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1441
1446
|
}, EventObject>;
|
|
1442
1447
|
id: string | undefined;
|
|
1443
1448
|
};
|
|
1444
|
-
initCamera: {
|
|
1445
|
-
src: "initCamera";
|
|
1446
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1447
|
-
id: string | undefined;
|
|
1448
|
-
};
|
|
1449
1449
|
checkPermission: {
|
|
1450
1450
|
src: "checkPermission";
|
|
1451
1451
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -2,10 +2,10 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
3
3
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
5
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
|
|
6
6
|
import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
|
|
7
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
-
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
7
|
+
import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
|
|
8
|
+
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0cdQjk6.esm.js";
|
|
9
9
|
//#region src/modules/document-capture/types.ts
|
|
10
10
|
const PROCESSING_TYPE_MAP = {
|
|
11
11
|
processV5CLogbook: "v5cMultiPageLogbook",
|
|
@@ -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-D0cEsDMH.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-BxUgij0L.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|