@incodetech/core 0.0.0-dev-20261029-54b5d90b → 0.0.0-dev-20261029-ab9a031d
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-vuQyxdgw.esm.js → FaceDetectionProvider-BPw6Sztf.esm.js} +5 -5
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-yEoFN7nS.esm.js → apiError-DT3rvcZJ.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CC67pNoL.d.ts → authenticationManager-BPpSImsv.d.ts} +1 -1
- package/dist/{authenticationManager-OL-xHluZ.esm.js → authenticationManager-SVrl1zgN.esm.js} +3 -3
- package/dist/{authenticationStateMachine-CrUWYp0B.esm.js → authenticationStateMachine-BS1iPaFn.esm.js} +2 -2
- package/dist/cnpj-Co1ottYN.esm.js +77 -0
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-ybzeu6sI.d.ts → consentManager-Cegv5Kth.d.ts} +9 -9
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-HRSYsugw.d.ts → curpValidationManager-CpmlWHkv.d.ts} +1 -1
- package/dist/{deepsightLoader-BCRRvq1r.esm.js → deepsightLoader-Dvcd1yov.esm.js} +4 -4
- package/dist/{deepsightService-DsaXB5-6.esm.js → deepsightService-CXrhNb9c.esm.js} +1 -1
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-9kwY8Bf5.d.ts} +1 -1
- package/dist/{dynamicFormsManager-BG0ro9jL.esm.js → dynamicFormsManager-CuxtO7jB.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-CxKKFx8B.esm.js → dynamicFormsStateMachine-C4yVGxpH.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-CriO4ylY.esm.js → ekybManager-DZ0ksIav.esm.js} +1 -1
- package/dist/{ekybStateMachine-DfEjemtn.esm.js → ekybStateMachine-L7ZHcHvF.esm.js} +2 -30
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CUMYwKaP.esm.js → electronicSignatureManager-ROM4Plhh.esm.js} +1 -1
- package/dist/extensibility.d.ts +12 -12
- package/dist/extensibility.esm.js +11 -11
- package/dist/{faceCaptureManagerFactory-DmaAHq73.esm.js → faceCaptureManagerFactory-CUBuV__c.esm.js} +1 -1
- package/dist/{faceCaptureManagerFactory-vchnR2CA.d.ts → faceCaptureManagerFactory-DER3G7QA.d.ts} +3 -3
- package/dist/{faceCaptureSetup-DzN8sMtf.esm.js → faceCaptureSetup-BrkJNhcx.esm.js} +3 -3
- package/dist/{feature-management-fLC-ZOgN.esm.js → feature-management-BqM3DDh5.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -6
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CV7AJ5t5.esm.js → flowCompletionService-CCnpKFwV.esm.js} +1 -1
- package/dist/{flowServices-Ck5Ykktg.esm.js → flowServices-Bc07mt2O.esm.js} +5 -47
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-D_X-F8D_.esm.js → geolocationManager-BApTeGjv.esm.js} +1 -1
- package/dist/{geolocationStateMachine-VEb33y34.esm.js → geolocationStateMachine-BvJqeBfE.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-BPnz8K_b.esm.js → idCaptureManager-C05md8rp.esm.js} +3 -3
- package/dist/{idCaptureManager-C0TIc4jT.d.ts → idCaptureManager-C74EPLTw.d.ts} +2 -2
- package/dist/{idCaptureServices-C4zXFzgb.esm.js → idCaptureServices-CBLzfhvC.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-DwNURJ0q.esm.js → idCaptureStateMachine-BWjnqb5C.esm.js} +9 -9
- package/dist/{idOcrManager-BTdHlJ9D.d.ts → idOcrManager-DT3kPIB3.d.ts} +1 -1
- package/dist/{index-tLPVy1zj.d.ts → index-BSf46iwq.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-BivN-7vc.d.ts → mandatoryConsentManager-CEOyGn4H.d.ts} +6 -6
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-CpdllAv0.esm.js → runChildModule-BntL2Brs.esm.js} +1 -1
- package/dist/{sdkVersion-DyRg1wpo.esm.js → sdkVersion-BruWW52r.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-C8wM5TSf.esm.js → selfieErrorUtils-FzSnBvLY.esm.js} +1 -1
- package/dist/{selfieManager-BdQ7Cfu5.esm.js → selfieManager-DuOwQuxL.esm.js} +3 -3
- package/dist/{selfieManager-ClCgI2fn.d.ts → selfieManager-vEXd5SHA.d.ts} +1 -1
- package/dist/{selfieStateMachine-DhLcBWh0.esm.js → selfieStateMachine-3s-ydjDp.esm.js} +3 -3
- package/dist/{session-CbT-tprx.esm.js → session-CHr7fZVV.esm.js} +3 -3
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-B5OuCAfv.esm.js → sessionInitializer-1QwlJLQ3.esm.js} +3 -3
- package/dist/{setup-Ck3OJbjx.esm.js → setup-DAOCrvRl.esm.js} +4 -4
- package/dist/{trueSightService-qeFOITec.esm.js → trueSightService-D7F7hn4q.esm.js} +1 -1
- package/dist/types-B9C8W01q.d.ts +34 -0
- package/dist/{types-DJBn6wVV.d.ts → types-Bqj4SDHk.d.ts} +1 -1
- package/dist/{types-ClQspDyT.d.ts → types-BzuFtfjm.d.ts} +1 -1
- package/dist/{types-GbGmnFsh.d.ts → types-CEuM1Qph.d.ts} +1 -1
- package/dist/{types-tsXa6u2J.d.ts → types-CK0dj_Vu.d.ts} +2 -1
- package/dist/{types-BDYrxX_V.d.ts → types-iF96ENvX.d.ts} +1 -1
- package/dist/types-qs9PgHtG.d.ts +6 -0
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-D4BDHWtA.esm.js → videoSelfieCameraWarmer-D4exP4rK.esm.js} +3 -3
- package/dist/{videoSelfieStepDetector-NTgtiQJp.d.ts → videoSelfieStepDetector-B2bakrqI.d.ts} +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.d.ts +2 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-DX2AyM4Y.d.ts} +54 -18
- package/dist/{watchlistForBusinessManager-UD1i94xo.esm.js → watchlistForBusinessManager-PKTQ09-2.esm.js} +36 -6
- package/dist/watchlistForBusinessStateMachine-CBgJuLJC.esm.js +166 -0
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +15 -15
- package/package.json +1 -1
- package/dist/types-Cp_84WIM.d.ts +0 -6
- package/dist/watchlistForBusinessStateMachine-CQXOjGhS.esm.js +0 -78
- /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
package/dist/{FaceDetectionProvider-vuQyxdgw.esm.js → FaceDetectionProvider-BPw6Sztf.esm.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-D-Y2iAoP.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-DAOCrvRl.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-DqtPEKsY.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-BG98lkot.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-D7F7hn4q.esm.js";
|
|
6
|
+
import "./sessionInitializer-1QwlJLQ3.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-D3Cxg6PL.esm.js";
|
|
8
8
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
9
9
|
import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
10
10
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
11
11
|
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-YhlbyjI4.esm.js";
|
|
12
12
|
import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
13
|
-
import "./deepsightService-
|
|
13
|
+
import "./deepsightService-CXrhNb9c.esm.js";
|
|
14
14
|
import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
|
|
15
15
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
16
16
|
/**
|
|
@@ -271,7 +271,7 @@ function startDetection(params) {
|
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
273
|
async function initializeDeepsightSession(options) {
|
|
274
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
274
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Dvcd1yov.esm.js");
|
|
275
275
|
return loadDeepsightSession({
|
|
276
276
|
ds: options.ds,
|
|
277
277
|
storage: options.storage
|
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-ROM4Plhh.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { t as AuthenticationConfig } from "./types-
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DER3G7QA.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-qs9PgHtG.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BPpSImsv.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -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-BS1iPaFn.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-SVrl1zgN.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-DER3G7QA.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-OL-xHluZ.esm.js → authenticationManager-SVrl1zgN.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DAOCrvRl.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DqtPEKsY.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-Dh1gMk0J.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CUBuV__c.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BS1iPaFn.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BrkJNhcx.esm.js";
|
|
4
|
+
import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-BPw6Sztf.esm.js";
|
|
5
5
|
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-c3noNWxH.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
//#region src/shared/validators/cnpj.ts
|
|
2
|
+
/** Countries whose tax ID is a CNPJ and must pass {@link validateCNPJ}. */
|
|
3
|
+
const COUNTRIES_WITH_CNPJ_VALIDATION = ["BR"];
|
|
4
|
+
const CNPJ_FORMATTED_LENGTH = 18;
|
|
5
|
+
const CNPJ_CLEAN_LENGTH = 14;
|
|
6
|
+
const INVALID_CNPJ_PATTERNS = [
|
|
7
|
+
"00000000000000",
|
|
8
|
+
"11111111111111",
|
|
9
|
+
"22222222222222",
|
|
10
|
+
"33333333333333",
|
|
11
|
+
"44444444444444",
|
|
12
|
+
"55555555555555",
|
|
13
|
+
"66666666666666",
|
|
14
|
+
"77777777777777",
|
|
15
|
+
"88888888888888",
|
|
16
|
+
"99999999999999"
|
|
17
|
+
];
|
|
18
|
+
const CNPJ_FIRST_DIGIT_FACTORS = [
|
|
19
|
+
5,
|
|
20
|
+
4,
|
|
21
|
+
3,
|
|
22
|
+
2,
|
|
23
|
+
9,
|
|
24
|
+
8,
|
|
25
|
+
7,
|
|
26
|
+
6,
|
|
27
|
+
5,
|
|
28
|
+
4,
|
|
29
|
+
3,
|
|
30
|
+
2
|
|
31
|
+
];
|
|
32
|
+
const CNPJ_SECOND_DIGIT_FACTORS = [
|
|
33
|
+
6,
|
|
34
|
+
5,
|
|
35
|
+
4,
|
|
36
|
+
3,
|
|
37
|
+
2,
|
|
38
|
+
9,
|
|
39
|
+
8,
|
|
40
|
+
7,
|
|
41
|
+
6,
|
|
42
|
+
5,
|
|
43
|
+
4,
|
|
44
|
+
3,
|
|
45
|
+
2
|
|
46
|
+
];
|
|
47
|
+
function cleanCnpjString(cnpj) {
|
|
48
|
+
return cnpj.replace(/\./g, "").replace(/\//g, "").replace(/-/g, "");
|
|
49
|
+
}
|
|
50
|
+
function calculateVerificationDigit(cnpjString, factors) {
|
|
51
|
+
let digit = 11 - factors.reduce((acc, factor, index) => acc + Number.parseInt(cnpjString.charAt(index), 10) * factor, 0) % 11;
|
|
52
|
+
if (digit >= 10) digit = 0;
|
|
53
|
+
return digit.toString();
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Validates a Brazilian CNPJ number (14-digit checksum).
|
|
57
|
+
* Accepts formatted (00.000.000/0000-00) or unformatted input.
|
|
58
|
+
*/
|
|
59
|
+
function validateCNPJ(cnpjInput) {
|
|
60
|
+
if (!cnpjInput || typeof cnpjInput !== "string") return false;
|
|
61
|
+
let cnpj = cnpjInput.trim();
|
|
62
|
+
if (cnpj.length === CNPJ_FORMATTED_LENGTH) cnpj = cleanCnpjString(cnpj);
|
|
63
|
+
if (cnpj.length !== CNPJ_CLEAN_LENGTH) return false;
|
|
64
|
+
if (!/^\d+$/.test(cnpj)) return false;
|
|
65
|
+
if (INVALID_CNPJ_PATTERNS.includes(cnpj)) return false;
|
|
66
|
+
const first = calculateVerificationDigit(cnpj, CNPJ_FIRST_DIGIT_FACTORS);
|
|
67
|
+
if (cnpj.charAt(12) !== first) return false;
|
|
68
|
+
const second = calculateVerificationDigit(cnpj, CNPJ_SECOND_DIGIT_FACTORS);
|
|
69
|
+
if (cnpj.charAt(13) !== second) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
/** Returns true when CNPJ validation applies for the given country. */
|
|
73
|
+
function requiresCnpjValidation(country) {
|
|
74
|
+
return COUNTRIES_WITH_CNPJ_VALIDATION.includes(country);
|
|
75
|
+
}
|
|
76
|
+
//#endregion
|
|
77
|
+
export { requiresCnpjValidation as n, validateCNPJ as r, COUNTRIES_WITH_CNPJ_VALIDATION as t };
|
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-Cegv5Kth.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -82,14 +82,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
82
82
|
type: "setLoadError";
|
|
83
83
|
params: NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
|
-
setConsentData: {
|
|
86
|
-
type: "setConsentData";
|
|
87
|
-
params: NonReducibleUnknown;
|
|
88
|
-
};
|
|
89
|
-
toggleCheckbox: {
|
|
90
|
-
type: "toggleCheckbox";
|
|
91
|
-
params: NonReducibleUnknown;
|
|
92
|
-
};
|
|
93
85
|
clearError: {
|
|
94
86
|
type: "clearError";
|
|
95
87
|
params: NonReducibleUnknown;
|
|
@@ -98,10 +90,18 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
98
90
|
type: "resetContext";
|
|
99
91
|
params: NonReducibleUnknown;
|
|
100
92
|
};
|
|
93
|
+
setConsentData: {
|
|
94
|
+
type: "setConsentData";
|
|
95
|
+
params: NonReducibleUnknown;
|
|
96
|
+
};
|
|
97
|
+
toggleCheckbox: {
|
|
98
|
+
type: "toggleCheckbox";
|
|
99
|
+
params: NonReducibleUnknown;
|
|
100
|
+
};
|
|
101
101
|
}>, {
|
|
102
102
|
type: "canSubmit";
|
|
103
103
|
params: unknown;
|
|
104
|
-
}, never, "error" | "idle" | "finished" | "
|
|
104
|
+
}, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
105
105
|
readonly id: "consent";
|
|
106
106
|
readonly initial: "idle";
|
|
107
107
|
readonly context: ({ input }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-
|
|
1
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-CpmlWHkv.js";
|
|
2
2
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
3
3
|
type MexicanState = {
|
|
4
4
|
value: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-CK0dj_Vu.js";
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
7
7
|
/** Maximum validation retries before auto-advancing. @default 1 */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DqtPEKsY.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import { S as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify, x as IpifyProvider } from "./sessionInitializer-
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-D7F7hn4q.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-BruWW52r.esm.js";
|
|
4
|
+
import { S as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify, x as IpifyProvider } from "./sessionInitializer-1QwlJLQ3.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CWvvmM2E.esm.js";
|
|
6
6
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
|
|
7
|
-
import { t as createDeepsightService } from "./deepsightService-
|
|
7
|
+
import { t as createDeepsightService } from "./deepsightService-CXrhNb9c.esm.js";
|
|
8
8
|
//#region ../infra/src/providers/browser/VisibilityProvider.ts
|
|
9
9
|
var VisibilityProvider = class {
|
|
10
10
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-BG98lkot.esm.js";
|
|
2
|
-
import { C as fingerprintSignalsReporter, _ as isBrowserSimulation, y as getThumbmarkId } from "./sessionInitializer-
|
|
2
|
+
import { C as fingerprintSignalsReporter, _ as isBrowserSimulation, y as getThumbmarkId } from "./sessionInitializer-1QwlJLQ3.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-D3Cxg6PL.esm.js";
|
|
4
4
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
5
5
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
package/dist/dynamic-forms.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-
|
|
2
|
-
import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
2
|
+
import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
|
|
3
3
|
export { type DynamicFormsConfig, type DynamicFormsManager, type DynamicFormsResult, type DynamicFormsState, type DynamicFormsValidationErrors, type InputType, type Question, type Screen, createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -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-C4yVGxpH.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-CuxtO7jB.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
|
-
import { i as Screen, t as DynamicFormsConfig } from "./types-
|
|
4
|
+
import { i as Screen, t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsFields.d.ts
|
|
6
6
|
/** Map of `questionId` → currently-displayed i18n error key. */
|
|
7
7
|
type DynamicFormsValidationErrors = Partial<Record<string, string>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dh1gMk0J.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C4yVGxpH.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-CxKKFx8B.esm.js → dynamicFormsStateMachine-C4yVGxpH.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BG98lkot.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DT3rvcZJ.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./Manager-C9T5amUN.js";
|
|
2
2
|
import { c as AddressSuggestion } from "./types-D-cdiQD8.js";
|
|
3
|
-
import { i as FlowModuleConfig } from "./types-
|
|
3
|
+
import { i as FlowModuleConfig } from "./types-CK0dj_Vu.js";
|
|
4
4
|
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-CjUSw9yM.js";
|
|
5
5
|
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-lZOHO33y.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybServices.d.ts
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { E as isSupportedCountry, b as ALL_COUNTRIES, v as toEkybConfig, w as SUPPORTED_COUNTRIES, x as DEV_ONLY_COUNTRIES } from "./flowServices-Bc07mt2O.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-L7ZHcHvF.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-DZ0ksIav.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dh1gMk0J.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-L7ZHcHvF.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,34 +1,10 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BG98lkot.esm.js";
|
|
2
|
-
import {
|
|
2
|
+
import { C as FIELD_ORDER, E as isSupportedCountry, S as FIELD_NAME_MAPPING, T as UBO_FIELD_LABELS, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, y as ADDRESS_FIELDS } from "./flowServices-Bc07mt2O.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
import { a as checkSupport, c as getPostalCodeErrorKey, d as DYNAMIC_REQUIRED_KEY, f as STREET_LEVEL_REQUIRED_ERROR, h as usStateOptions, i as createBundledDefinitionSource, l as getPostalCodeMaxLength, m as getStreetLevelErrorForSuggestion, n as isFormDefinitionsEnabled, o as FIXED_DIGIT_POSTAL_CODE_LENGTH, p as fillFromSuggestion, r as resolveForm, s as formatPostalCode, t as debounceSearchActor, u as validatePostalCode } from "./addressSearch-CBw55d_y.esm.js";
|
|
6
|
+
import { n as requiresCnpjValidation, r as validateCNPJ } from "./cnpj-Co1ottYN.esm.js";
|
|
6
7
|
//#region src/modules/ekyb/ekybValidators.ts
|
|
7
|
-
function cleanCnpjString(cnpj) {
|
|
8
|
-
return cnpj.replace(/\./g, "").replace(/\//g, "").replace(/-/g, "");
|
|
9
|
-
}
|
|
10
|
-
function calculateVerificationDigit(cnpjString, factors) {
|
|
11
|
-
let digit = 11 - factors.reduce((acc, factor, index) => acc + Number.parseInt(cnpjString.charAt(index), 10) * factor, 0) % 11;
|
|
12
|
-
if (digit >= 10) digit = 0;
|
|
13
|
-
return digit.toString();
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Validates a Brazilian CNPJ number (14-digit checksum).
|
|
17
|
-
* Accepts formatted (00.000.000/0000-00) or unformatted input.
|
|
18
|
-
*/
|
|
19
|
-
function validateCNPJ(cnpjInput) {
|
|
20
|
-
if (!cnpjInput || typeof cnpjInput !== "string") return false;
|
|
21
|
-
let cnpj = cnpjInput.trim();
|
|
22
|
-
if (cnpj.length === 18) cnpj = cleanCnpjString(cnpj);
|
|
23
|
-
if (cnpj.length !== 14) return false;
|
|
24
|
-
if (!/^\d+$/.test(cnpj)) return false;
|
|
25
|
-
if (INVALID_CNPJ_PATTERNS.includes(cnpj)) return false;
|
|
26
|
-
const first = calculateVerificationDigit(cnpj, CNPJ_FIRST_DIGIT_FACTORS);
|
|
27
|
-
if (cnpj.charAt(12) !== first) return false;
|
|
28
|
-
const second = calculateVerificationDigit(cnpj, CNPJ_SECOND_DIGIT_FACTORS);
|
|
29
|
-
if (cnpj.charAt(13) !== second) return false;
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
8
|
const buildPostalCodeParams = (country) => {
|
|
33
9
|
const fixedLen = FIXED_DIGIT_POSTAL_CODE_LENGTH[country];
|
|
34
10
|
if (fixedLen !== void 0) return { length: fixedLen };
|
|
@@ -169,10 +145,6 @@ function validateEkybUboField(ubos, fieldKey) {
|
|
|
169
145
|
params: { fieldName: UBO_FIELD_LABELS[field] }
|
|
170
146
|
};
|
|
171
147
|
}
|
|
172
|
-
/** Returns true when CNPJ validation applies for the given country. */
|
|
173
|
-
function requiresCnpjValidation(country) {
|
|
174
|
-
return COUNTRIES_WITH_CNPJ_VALIDATION.includes(country);
|
|
175
|
-
}
|
|
176
148
|
//#endregion
|
|
177
149
|
//#region ../form-definitions/generated/ekyb.ts
|
|
178
150
|
const EKYB_DEFINITIONS = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-ROM4Plhh.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dh1gMk0J.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-BG98lkot.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DT3rvcZJ.esm.js";
|
|
5
5
|
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
7
7
|
import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -5,32 +5,32 @@ import "./Actor-DpTj5PFb.js";
|
|
|
5
5
|
import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
|
|
6
6
|
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-DTSLOvKR.js";
|
|
7
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-DbGCvlJs.js";
|
|
8
|
-
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-
|
|
8
|
+
import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-DER3G7QA.js";
|
|
9
9
|
import "./createFaceAvatar-lYX0VTYs.js";
|
|
10
10
|
import { a as IStorageCapability } from "./IWasmUtilCapability-GF2n7sfm.js";
|
|
11
11
|
import "./StreamCanvasCapture-7JRf-2ck.js";
|
|
12
|
-
import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-
|
|
13
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
12
|
+
import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-C74EPLTw.js";
|
|
13
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BPpSImsv.js";
|
|
14
14
|
import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
|
|
15
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
15
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Cegv5Kth.js";
|
|
16
16
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
|
|
17
|
-
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-
|
|
17
|
+
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-CpmlWHkv.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
|
|
19
19
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
|
|
20
20
|
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-6tnnDkMX.js";
|
|
21
|
-
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-
|
|
21
|
+
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
|
|
22
22
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-lZOHO33y.js";
|
|
23
23
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-Ci7zQBP1.js";
|
|
24
24
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-Dy6omJVp.js";
|
|
25
|
-
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
26
|
-
import { i as CaptureIdResponse } from "./types-
|
|
25
|
+
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-vEXd5SHA.js";
|
|
26
|
+
import { i as CaptureIdResponse } from "./types-iF96ENvX.js";
|
|
27
27
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-6nrJkvkG.js";
|
|
28
28
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DJQOd8Pw.js";
|
|
29
|
-
import { i as WatchlistForBusinessState,
|
|
29
|
+
import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-DX2AyM4Y.js";
|
|
30
30
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-ooAbp6Kc.js";
|
|
31
31
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CUX4gza2.js";
|
|
32
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
33
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
32
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CEOyGn4H.js";
|
|
33
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DT3kPIB3.js";
|
|
34
34
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Dm9ctRCC.js";
|
|
35
35
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
|
|
36
36
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-CpIjrPEG.js";
|
|
@@ -38,7 +38,7 @@ import { a as GovernmentValidationActor, i as createGovernmentValidationManagerF
|
|
|
38
38
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BJapZfpy.js";
|
|
39
39
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-DIgG-UFS.js";
|
|
40
40
|
import { a as FiscalQrActor, i as createFiscalQrManagerFromActor, n as FiscalQrState, t as FiscalQrManager } from "./fiscalQrManager-D0Iy7EKR.js";
|
|
41
|
-
import "./types-
|
|
41
|
+
import "./types-CEuM1Qph.js";
|
|
42
42
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
43
43
|
type AuthenticationUploadResponse = {
|
|
44
44
|
overallStatus: 'PASS' | 'FAIL';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-DAOCrvRl.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DqtPEKsY.esm.js";
|
|
3
|
-
import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-
|
|
3
|
+
import { b as getDeviceFingerprintInfo, v as getFingerprint } from "./sessionInitializer-1QwlJLQ3.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-ROM4Plhh.esm.js";
|
|
7
7
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-Bcv2EsSL.esm.js";
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BrkJNhcx.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-SVrl1zgN.esm.js";
|
|
10
10
|
import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-BQP6WIJ9.esm.js";
|
|
11
11
|
import { n as createConsentManagerFromActor } from "./consentManager-D8TzUU2I.esm.js";
|
|
12
12
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BN35sW3g.esm.js";
|
|
@@ -14,22 +14,22 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
|
|
|
14
14
|
import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BJlPFi1I.esm.js";
|
|
15
15
|
import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-Dqzf_LJ3.esm.js";
|
|
16
16
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DuITDiyf.esm.js";
|
|
17
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
18
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
17
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CuxtO7jB.esm.js";
|
|
18
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-DZ0ksIav.esm.js";
|
|
19
19
|
import { n as createEkycManagerFromActor } from "./ekycManager-DbF76iGU.esm.js";
|
|
20
20
|
import { n as createEmailManagerFromActor } from "./emailManager-Csi-HAvd.esm.js";
|
|
21
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
22
|
-
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
21
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-DuOwQuxL.esm.js";
|
|
22
|
+
import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-C05md8rp.esm.js";
|
|
23
23
|
import { n as createPhoneManagerFromActor } from "./phoneManager-Dcj-iewA.esm.js";
|
|
24
24
|
import { n as createWatchlistManagerFromActor } from "./watchlistManager-G9pWQPfr.esm.js";
|
|
25
|
-
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-
|
|
25
|
+
import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-PKTQ09-2.esm.js";
|
|
26
26
|
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-MQMMPAs3.esm.js";
|
|
27
27
|
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager--56VbIeN.esm.js";
|
|
28
28
|
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-BRlzM19u.esm.js";
|
|
29
29
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-D80xAPDt.esm.js";
|
|
30
30
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DQsYcUcF.esm.js";
|
|
31
31
|
import { n as createSignatureManagerFromActor } from "./signatureManager-DWOZ-uMN.esm.js";
|
|
32
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
32
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-BApTeGjv.esm.js";
|
|
33
33
|
import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-BF5jvOkb.esm.js";
|
|
34
34
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-C82KSWQl.esm.js";
|
|
35
35
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-4Hh6X-G6.esm.js";
|
package/dist/{faceCaptureManagerFactory-DmaAHq73.esm.js → faceCaptureManagerFactory-CUBuV__c.esm.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScr
|
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
|
|
5
|
-
import { r as concealmentToAvatar } from "./faceCaptureSetup-
|
|
5
|
+
import { r as concealmentToAvatar } from "./faceCaptureSetup-BrkJNhcx.esm.js";
|
|
6
6
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CWvvmM2E.esm.js";
|
|
7
7
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
8
8
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DJyei2yK.esm.js";
|
package/dist/{faceCaptureManagerFactory-vchnR2CA.d.ts → faceCaptureManagerFactory-DER3G7QA.d.ts}
RENAMED
|
@@ -4,11 +4,11 @@ import "./Actor-DpTj5PFb.js";
|
|
|
4
4
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
5
5
|
import "./index-DpTj5PFb.js";
|
|
6
6
|
import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, s as FaceFeed, t as AvatarId, u as FaceCoordinates, v as WebApiHostRequestConfig, y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
|
|
7
|
-
import { i as FlowModuleConfig } from "./types-
|
|
7
|
+
import { i as FlowModuleConfig } from "./types-CK0dj_Vu.js";
|
|
8
8
|
import "./IWasmUtilCapability-GF2n7sfm.js";
|
|
9
9
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
10
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
11
|
-
import { t as AuthenticationConfig } from "./types-
|
|
10
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-BzuFtfjm.js";
|
|
11
|
+
import { t as AuthenticationConfig } from "./types-qs9PgHtG.js";
|
|
12
12
|
import { t as BaseWasmProvider } from "./BaseWasmProvider-Bq3OHo7P.js";
|
|
13
13
|
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-7JRf-2ck.js";
|
|
14
14
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { r as getToken, t as api, u as endpoints } from "./api-BG98lkot.esm.js";
|
|
3
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-
|
|
4
|
-
import "./sessionInitializer-
|
|
3
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-D7F7hn4q.esm.js";
|
|
4
|
+
import "./sessionInitializer-1QwlJLQ3.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-D3Cxg6PL.esm.js";
|
|
6
6
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
7
7
|
import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
9
9
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DJyei2yK.esm.js";
|
|
10
|
-
import { a as sendLabelInspectionEvent, d as FACE_ERROR_CODES, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider, u as getFaceUploadErrorCode } from "./FaceDetectionProvider-
|
|
10
|
+
import { a as sendLabelInspectionEvent, d as FACE_ERROR_CODES, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider, u as getFaceUploadErrorCode } from "./FaceDetectionProvider-BPw6Sztf.esm.js";
|
|
11
11
|
import { i as flagFaceManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-c3noNWxH.esm.js";
|
|
12
12
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
|
|
13
13
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-BruWW52r.esm.js";
|
|
3
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
4
4
|
let currentEnvironment;
|
|
5
5
|
/** Effective tier: the explicitly-set value, else the default (see note above). */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-BqM3DDh5.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
package/dist/flow-events.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-
|
|
1
|
+
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-BSf46iwq.js";
|
|
2
2
|
export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|