@incodetech/core 0.0.0-dev-20260728-dcd649b0 → 0.0.0-dev-20260728-ee28c8bd
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/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DqyCzK3H.d.ts → authenticationManager-B2KZQ9zw.d.ts} +1 -1
- package/dist/{authenticationManager-CXhA0lc5.esm.js → authenticationManager-DhKmbcZh.esm.js} +2 -2
- package/dist/{authenticationStateMachine-CwH4siI_.esm.js → authenticationStateMachine-DrOepYhJ.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{curpValidationManager-DRQrbEhj.d.ts → curpValidationManager-BEWD-Lvo.d.ts} +1 -1
- package/dist/{deepsightLoader-CXK44MVG.esm.js → deepsightLoader-ChJdVAcM.esm.js} +1 -1
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-kWGFMAN5.esm.js → ekybManager-x5RT5Hit.esm.js} +1 -1
- package/dist/{ekybStateMachine-DmwnW772.esm.js → ekybStateMachine-D9KpHlgz.esm.js} +1 -1
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-DRrG5I6e.esm.js → ekycManager-Cl2e4Knv.esm.js} +1 -1
- package/dist/extensibility.d.ts +10 -11
- package/dist/extensibility.esm.js +9 -10
- package/dist/{faceCaptureManagerFactory-BpVpExwX.d.ts → faceCaptureManagerFactory-B2TUje5s.d.ts} +3 -3
- package/dist/{faceCaptureManagerFactory-DjcsAq8u.esm.js → faceCaptureManagerFactory-ysDDYfpc.esm.js} +1 -1
- package/dist/{faceCaptureSetup-8qt4c6tR.esm.js → faceCaptureSetup-BRMhr-XT.esm.js} +2 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -6
- package/dist/flow.esm.js +1 -1
- package/dist/{flowServices-BcWQgzDl.esm.js → flowServices-DyZkh-5Q.esm.js} +13 -10
- package/dist/home.d.ts +1 -1
- package/dist/id-ocr.d.ts +8 -4
- package/dist/id-ocr.esm.js +20 -3
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-Cb7aXt7D.esm.js → idCaptureManager-DrmMKLDi.esm.js} +1 -1
- package/dist/{idCaptureManager-DmVmaxd9.d.ts → idCaptureManager-Dxv7cHUT.d.ts} +2 -2
- package/dist/{idCaptureStateMachine-DuQgO4_L.esm.js → idCaptureStateMachine-CtqVhBjq.esm.js} +5 -5
- package/dist/{idOcrManager-5vi0uwLZ.d.ts → idOcrManager-BF_cXZq8.d.ts} +1 -1
- package/dist/{idOcrManager-gscmFPxD.esm.js → idOcrManager-CnIWzuqU.esm.js} +1 -1
- package/dist/{idOcrStateMachine-jfAyK4Bb.esm.js → idOcrStateMachine-Cqi8173Y.esm.js} +2 -2
- package/dist/{index-Ci9wEPiD.d.ts → index-X9serOZT.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-Ck2e2W4o.d.ts → mandatoryConsentManager-M6QI0nB0.d.ts} +1 -1
- package/dist/{onDeviceFaceResults-B7udIDIL.esm.js → onDeviceFaceResults-BbjULJyT.esm.js} +1 -1
- package/dist/personhood.d.ts +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/{recordingService-DXircQgK.esm.js → recordingService-CqKPwPvN.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-5iJjQHdZ.esm.js → selfieManager-5QzVKTV3.esm.js} +2 -2
- package/dist/{selfieManager-DR-EIsRb.d.ts → selfieManager-BT7dmOHi.d.ts} +1 -1
- package/dist/{selfieStateMachine-DyoAe6Uh.esm.js → selfieStateMachine-6SSh-uFp.esm.js} +2 -2
- package/dist/session-BO17OfFa.esm.js +1 -0
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-oAi9ICPo.esm.js → sessionInitializer-DuZWsy2u.esm.js} +1 -1
- package/dist/{setup-BpjU9IYU.esm.js → setup-ItZ5fsL_.esm.js} +2 -2
- package/dist/{types-DMMk51Ec.d.ts → types-BK-v1UYb.d.ts} +1 -1
- package/dist/{types-CBJI9n6h2.d.ts → types-CJ7Yl9K-.d.ts} +1 -0
- package/dist/{types-DByREvr1.d.ts → types-CfwPB1PL.d.ts} +1 -1
- package/dist/{types-BQgIv5p8.d.ts → types-DjHL5Wa9.d.ts} +1 -1
- package/dist/{types-BjTTkLmd.d.ts → types-NSJbROLr.d.ts} +1 -1
- package/dist/types-sK-eGomM.d.ts +6 -0
- package/dist/video-selfie.d.ts +2 -2
- package/dist/video-selfie.esm.js +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +8 -8
- package/package.json +3 -8
- package/dist/cpf-ocr.d.ts +0 -6
- package/dist/cpf-ocr.esm.js +0 -2
- package/dist/cpfOcrManager-Bu32le9u.esm.js +0 -185
- package/dist/cpfOcrManager-C-3PWS2h.d.ts +0 -214
- package/dist/session-BzSGKQL2.esm.js +0 -1
- package/dist/types-BAvkiv6L.d.ts +0 -6
- package/dist/{ekycStateMachine-DRbbavZy.esm.js → ekycStateMachine-9Mm7LBea.esm.js} +1 -1
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as createAuthenticationActor, v as AuthenticationActor, x as authenticationMachine, y 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 { b as createAuthenticationActor, v as AuthenticationActor, x as authenticationMachine, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-B2TUje5s.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-sK-eGomM.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-B2KZQ9zw.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-DrOepYhJ.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DhKmbcZh.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-B2TUje5s.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-CXhA0lc5.esm.js → authenticationManager-DhKmbcZh.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ysDDYfpc.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DrOepYhJ.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-CfRg7iAr.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.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-BRMhr-XT.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BbjULJyT.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,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-BEWD-Lvo.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-CQQ99QOI.js";
|
|
3
3
|
import "./Actor-iTq7YY48.js";
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-NSJbROLr.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,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
4
|
-
import { g as getThumbmarkId, m as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
4
|
+
import { g as getThumbmarkId, m as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-DuZWsy2u.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
|
7
7
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./StateMachine-EDpYWy0i.js";
|
|
2
2
|
import { c as AddressSuggestion } from "./types-Bk_6dmDa.js";
|
|
3
|
-
import { i as FlowModuleConfig } from "./types-
|
|
3
|
+
import { i as FlowModuleConfig } from "./types-NSJbROLr.js";
|
|
4
4
|
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BfHiko5D.js";
|
|
5
5
|
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybServices.d.ts
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-DyZkh-5Q.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-D9KpHlgz.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-x5RT5Hit.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-Dy8PyVO5.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 { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-D9KpHlgz.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-
|
|
3
|
+
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-DyZkh-5Q.esm.js";
|
|
4
4
|
import { 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 getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DEYnZoez.esm.js";
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
2
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
2
|
+
import { t as ekycMachine } from "./ekycStateMachine-9Mm7LBea.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-Cl2e4Knv.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.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 { t as ekycMachine } from "./ekycStateMachine-
|
|
4
|
+
import { t as ekycMachine } from "./ekycStateMachine-9Mm7LBea.esm.js";
|
|
5
5
|
//#region src/modules/ekyc/ekycActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYC actor.
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -3,28 +3,27 @@ import { n as fromCallback } from "./callback-645_omgz.js";
|
|
|
3
3
|
import "./StateMachine-EDpYWy0i.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
5
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
|
|
6
|
-
import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-B2TUje5s.js";
|
|
7
7
|
import { n as BaseWasmProvider } from "./FaceDetectionProvider-BHweGBEM.js";
|
|
8
8
|
import { t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
|
|
9
|
-
import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-
|
|
10
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
11
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
9
|
+
import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-BK-v1UYb.js";
|
|
10
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BT7dmOHi.js";
|
|
11
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-B2KZQ9zw.js";
|
|
12
12
|
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
13
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-C-3PWS2h.js";
|
|
14
13
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
15
|
-
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-
|
|
14
|
+
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-BEWD-Lvo.js";
|
|
16
15
|
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-pEqMY_Oo.js";
|
|
17
16
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-BYac2uEY.js";
|
|
18
17
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
19
18
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
20
19
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
21
|
-
import { n as CaptureIdResponse } from "./types-
|
|
22
|
-
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
20
|
+
import { n as CaptureIdResponse } from "./types-CfwPB1PL.js";
|
|
21
|
+
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-Dxv7cHUT.js";
|
|
23
22
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
24
23
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
25
24
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
26
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
27
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
25
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-M6QI0nB0.js";
|
|
26
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
|
|
28
27
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BiVH2Ymm.js";
|
|
29
28
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js";
|
|
30
29
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
|
|
@@ -152,4 +151,4 @@ declare function getDeviceFingerprintInfo(): Promise<DeviceFingerprintInfo>;
|
|
|
152
151
|
//#region src/internal/fingerprint/fingerprintApi.d.ts
|
|
153
152
|
declare function getFingerprint(disableIpify?: boolean): Promise<FingerprintResult>;
|
|
154
153
|
//#endregion
|
|
155
|
-
export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type
|
|
154
|
+
export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
|
-
import { _ as getDeviceFingerprintInfo, h as FingerprintProvider, m as IpifyProvider, t as getDisableIpify } from "./sessionInitializer-
|
|
2
|
+
import { _ as getDeviceFingerprintInfo, h as FingerprintProvider, m as IpifyProvider, t as getDisableIpify } from "./sessionInitializer-DuZWsy2u.esm.js";
|
|
3
3
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-CFsD4BgV.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BRMhr-XT.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DhKmbcZh.esm.js";
|
|
9
9
|
import { n as createConsentManagerFromActor } from "./consentManager-0EiBXYtL.esm.js";
|
|
10
|
-
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Bu32le9u.esm.js";
|
|
11
10
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Dw7euiiZ.esm.js";
|
|
12
11
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BGj9U3E0.esm.js";
|
|
13
12
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DBRQX16v.esm.js";
|
|
14
13
|
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DI0sCyVB.esm.js";
|
|
15
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
16
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
14
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-x5RT5Hit.esm.js";
|
|
15
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-Cl2e4Knv.esm.js";
|
|
17
16
|
import { n as createEmailManagerFromActor } from "./emailManager-Dmt1YrtS.esm.js";
|
|
18
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
19
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
17
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-5QzVKTV3.esm.js";
|
|
18
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DrmMKLDi.esm.js";
|
|
20
19
|
import { n as createPhoneManagerFromActor } from "./phoneManager-C3aqq6jS.esm.js";
|
|
21
20
|
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-BjMJHKLP.esm.js";
|
|
22
21
|
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-USUE9qDr.esm.js";
|
|
23
22
|
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-BOOjm7SU.esm.js";
|
|
24
|
-
import { n as createIdOcrManagerFromActor } from "./idOcrManager-
|
|
23
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-CnIWzuqU.esm.js";
|
|
25
24
|
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-BO0BVfgM.esm.js";
|
|
26
25
|
import { n as createGeolocationManagerFromActor } from "./geolocationManager-zeqAcVHC.esm.js";
|
|
27
26
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BTsyXjv6.esm.js";
|
|
@@ -32,4 +31,4 @@ async function getFingerprint(disableIpify) {
|
|
|
32
31
|
return new FingerprintProvider(new IpifyProvider()).getFingerprint(shouldDisableIpify);
|
|
33
32
|
}
|
|
34
33
|
//#endregion
|
|
35
|
-
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor,
|
|
34
|
+
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/{faceCaptureManagerFactory-BpVpExwX.d.ts → faceCaptureManagerFactory-B2TUje5s.d.ts}
RENAMED
|
@@ -8,10 +8,10 @@ import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
|
8
8
|
import { n as StreamCanvasCapture, r as IncodeCanvas, t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
9
9
|
import { i as FaceData, r as FaceCoordinates, t as FaceDetectionProvider } from "./FaceDetectionProvider-BHweGBEM.js";
|
|
10
10
|
import { t as AvatarId } from "./createFaceAvatar-BEj18KXi.js";
|
|
11
|
-
import { i as FlowModuleConfig } from "./types-
|
|
12
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-
|
|
11
|
+
import { i as FlowModuleConfig } from "./types-NSJbROLr.js";
|
|
12
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-BK-v1UYb.js";
|
|
13
13
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
14
|
-
import { t as AuthenticationConfig } from "./types-
|
|
14
|
+
import { t as AuthenticationConfig } from "./types-sK-eGomM.js";
|
|
15
15
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
16
16
|
declare const _authenticationMachine: AnyStateMachine;
|
|
17
17
|
type AuthenticationMachine = typeof _authenticationMachine;
|
package/dist/{faceCaptureManagerFactory-DjcsAq8u.esm.js → faceCaptureManagerFactory-ysDDYfpc.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-BRMhr-XT.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
6
6
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
|
|
7
7
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
@@ -2,12 +2,12 @@ import { r as getToken } from "./api-BDTZNnca.esm.js";
|
|
|
2
2
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
4
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
5
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
5
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-BbjULJyT.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { t as createFaceAvatar } from "./createFaceAvatar-x5aaJwVM.esm.js";
|
|
8
8
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
9
9
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
|
|
10
|
-
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-
|
|
10
|
+
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-CqKPwPvN.esm.js";
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
|
13
13
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
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-X9serOZT.js";
|
|
2
2
|
export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -4,17 +4,17 @@ import "./StateMachine-EDpYWy0i.js";
|
|
|
4
4
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
5
5
|
import { a as ElectronicSignatureConfig } from "./types-DWaEoU0I.js";
|
|
6
6
|
import { t as EkycConfig } from "./types-Bk_6dmDa.js";
|
|
7
|
-
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-
|
|
8
|
-
import { t as AuthenticationConfig } from "./types-
|
|
7
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-NSJbROLr.js";
|
|
8
|
+
import { t as AuthenticationConfig } from "./types-sK-eGomM.js";
|
|
9
9
|
import { r as DocumentCaptureConfig } from "./types-B4BObr_7.js";
|
|
10
10
|
import { t as DynamicFormsConfig } from "./types-xIEGXWk8.js";
|
|
11
11
|
import { t as EkybConfig } from "./types-BfHiko5D.js";
|
|
12
|
-
import { c as IdCaptureConfig } from "./types-
|
|
13
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
14
|
-
import { t as IdOcrConfig } from "./types-
|
|
12
|
+
import { c as IdCaptureConfig } from "./types-CfwPB1PL.js";
|
|
13
|
+
import { r as MandatoryConsentConfig } from "./types-DjHL5Wa9.js";
|
|
14
|
+
import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
|
|
15
15
|
import { t as RedirectToMobileConfig } from "./types-DPIDuhut2.js";
|
|
16
16
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
|
|
17
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
17
|
+
import { o as FlowEventSubscribable } from "./index-X9serOZT.js";
|
|
18
18
|
import { n as ModuleRegistry } from "./types-BfgmV7s7.js";
|
|
19
19
|
//#region src/modules/flow/flowUtils.d.ts
|
|
20
20
|
type NormalizeFlowModulesOptions = {
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as addEvent } from "./events-Dy8PyVO5.esm.js";
|
|
2
|
-
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
2
|
+
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-DyZkh-5Q.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor, 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
5
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-D5oIlcza.esm.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
4
|
+
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DuZWsy2u.esm.js";
|
|
5
5
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
6
|
-
import "./session-
|
|
6
|
+
import "./session-BO17OfFa.esm.js";
|
|
7
7
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
8
8
|
//#region src/modules/flow/dashboardConfig.ts
|
|
9
9
|
function isPlainObject(value) {
|
|
@@ -410,10 +410,16 @@ function normalizeIdModules(modules) {
|
|
|
410
410
|
}
|
|
411
411
|
function normalizeCpfModules(modules, options) {
|
|
412
412
|
if (options.useCPF !== true) return modules;
|
|
413
|
-
return modules.map((module) =>
|
|
414
|
-
key
|
|
415
|
-
|
|
416
|
-
|
|
413
|
+
return modules.map((module) => {
|
|
414
|
+
if (module.key !== "ID_OCR") return module;
|
|
415
|
+
return {
|
|
416
|
+
key: "ID_OCR",
|
|
417
|
+
configuration: {
|
|
418
|
+
...module.configuration,
|
|
419
|
+
cpfOnly: true
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
});
|
|
417
423
|
}
|
|
418
424
|
function shouldInjectRedirect(flow, modules, options) {
|
|
419
425
|
return options.isDesktop === true && flow.redirectDesktopToMobile === true && !hasModule(modules, "REDIRECT_TO_MOBILE");
|
|
@@ -594,10 +600,7 @@ async function resolveDashboardModuleConfig(options) {
|
|
|
594
600
|
throwIfAborted(options.signal);
|
|
595
601
|
const rawFlow = await preloadDashboardFlow(options.signal);
|
|
596
602
|
throwIfAborted(options.signal);
|
|
597
|
-
flow = await normalizeDashboardFlow(rawFlow, {
|
|
598
|
-
isDesktop: options.moduleKey === "REDIRECT_TO_MOBILE",
|
|
599
|
-
useCPF: options.moduleKey === "CPF_OCR"
|
|
600
|
-
}, options.signal);
|
|
603
|
+
flow = await normalizeDashboardFlow(rawFlow, { isDesktop: options.moduleKey === "REDIRECT_TO_MOBILE" }, options.signal);
|
|
601
604
|
throwIfAborted(options.signal);
|
|
602
605
|
} catch (error) {
|
|
603
606
|
if (error instanceof Error && error.name === "AbortError") throw error;
|
package/dist/home.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as StateMachine, C as StateValue, a as ActorRefFromLogic, c as AnyEventObject, g as IsNotNever, h as InputFrom, k as MachineSnapshot, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
|
-
import { t as EmptyConfig } from "./types-
|
|
4
|
+
import { t as EmptyConfig } from "./types-NSJbROLr.js";
|
|
5
5
|
//#region src/modules/home/types.d.ts
|
|
6
6
|
type HomeConfig = EmptyConfig;
|
|
7
7
|
//#endregion
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-
|
|
2
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-
|
|
1
|
+
import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
|
|
2
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
|
|
3
3
|
//#region src/modules/id-ocr/idOcrFields.d.ts
|
|
4
4
|
declare const OCR_FIELDS: OcrFieldConfig[];
|
|
5
|
-
declare const getOcrFields: (config: Pick<IdOcrConfig, "flowId">) => OcrFieldConfig[];
|
|
5
|
+
declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/modules/id-ocr/idOcrCpfUtils.d.ts
|
|
8
|
+
declare function formatCPF(value: string): string;
|
|
9
|
+
declare function isValidCPF(value: string): boolean;
|
|
6
10
|
//#endregion
|
|
7
11
|
//#region src/modules/id-ocr/idOcrConsts.d.ts
|
|
8
12
|
declare const MIN_AGE = 18;
|
|
9
13
|
declare const CPFFlowIds: string[];
|
|
10
14
|
//#endregion
|
|
11
|
-
export { CPFFlowIds, type IdOcrActor, type IdOcrConfig, type IdOcrManager, type IdOcrOcrDocument, type IdOcrState, MIN_AGE, OCR_FIELDS, type OcrData, type OcrFieldConfig, type UpdateOcrDataParams, type ValidationRule, createIdOcrManager, createIdOcrManagerFromActor, getOcrFields, idOcrStateMachine };
|
|
15
|
+
export { CPFFlowIds, type IdOcrActor, type IdOcrConfig, type IdOcrManager, type IdOcrOcrDocument, type IdOcrState, MIN_AGE, OCR_FIELDS, type OcrData, type OcrFieldConfig, type UpdateOcrDataParams, type ValidationRule, createIdOcrManager, createIdOcrManagerFromActor, formatCPF, getOcrFields, idOcrStateMachine, isValidCPF };
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
1
|
+
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
2
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-Cqi8173Y.esm.js";
|
|
3
|
+
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-CnIWzuqU.esm.js";
|
|
4
|
+
//#region src/modules/id-ocr/idOcrCpfUtils.ts
|
|
5
|
+
function formatCPF(value) {
|
|
6
|
+
const digits = value.replace(/\D/g, "").slice(0, 11);
|
|
7
|
+
const first = digits.slice(0, 3);
|
|
8
|
+
const second = digits.slice(3, 6);
|
|
9
|
+
const third = digits.slice(6, 9);
|
|
10
|
+
const verifier = digits.slice(9, 11);
|
|
11
|
+
if (digits.length > 9) return `${first}.${second}.${third}-${verifier}`;
|
|
12
|
+
if (digits.length > 6) return `${first}.${second}.${third}`;
|
|
13
|
+
if (digits.length > 3) return `${first}.${second}`;
|
|
14
|
+
return first;
|
|
15
|
+
}
|
|
16
|
+
function isValidCPF(value) {
|
|
17
|
+
return validateCPF(value);
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
export { CPFFlowIds, MIN_AGE, OCR_FIELDS, createIdOcrManager, createIdOcrManagerFromActor, formatCPF, getOcrFields, idOcrStateMachine, isValidCPF };
|
package/dist/id.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
2
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
4
|
-
import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, M as DetectionOrientation, O as MANUAL_UPLOAD_MAX_RETRIES, P as IdCaptureSettings, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-
|
|
5
|
-
import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-
|
|
4
|
+
import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, M as DetectionOrientation, O as MANUAL_UPLOAD_MAX_RETRIES, P as IdCaptureSettings, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-CfwPB1PL.js";
|
|
5
|
+
import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-Dxv7cHUT.js";
|
|
6
6
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
7
7
|
type IdCaptureOnlyManager = IdCaptureManager;
|
|
8
8
|
/**
|
package/dist/id.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
|
2
2
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
4
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
5
|
-
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
5
|
+
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-CtqVhBjq.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DrmMKLDi.esm.js";
|
|
7
7
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
|
|
8
8
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
9
9
|
function buildSubImage(canvas) {
|
|
@@ -4,7 +4,7 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
|
|
|
4
4
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
5
5
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
|
|
6
6
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
7
|
-
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
7
|
+
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CtqVhBjq.esm.js";
|
|
8
8
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
9
9
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
10
10
|
function isHoldingState(value) {
|
|
@@ -6,9 +6,9 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
|
|
|
6
6
|
import "./index-B8weJxmL.js";
|
|
7
7
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
8
8
|
import { t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
9
|
-
import { a as RegulationTypes } from "./types-
|
|
9
|
+
import { a as RegulationTypes } from "./types-NSJbROLr.js";
|
|
10
10
|
import { n as PermissionStatus } from "./types-BT-aiBYV.js";
|
|
11
|
-
import { A as ManualUploadSide, C as RecordingSession, F as Pdf417DecodeResult, M as DetectionOrientation, N as IIdCaptureCapability, T as IAnalyticsCapability, a as DetectionArea, c as IdCaptureConfig, d as IdCaptureEvent, g as IdCaptureOutput, h as IdCaptureOnlyConfig, j as ManualUploadTab, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, t as AddBarcodeV3Response, u as IdCaptureDependencies, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-
|
|
11
|
+
import { A as ManualUploadSide, C as RecordingSession, F as Pdf417DecodeResult, M as DetectionOrientation, N as IIdCaptureCapability, T as IAnalyticsCapability, a as DetectionArea, c as IdCaptureConfig, d as IdCaptureEvent, g as IdCaptureOutput, h as IdCaptureOnlyConfig, j as ManualUploadTab, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, t as AddBarcodeV3Response, u as IdCaptureDependencies, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-CfwPB1PL.js";
|
|
12
12
|
//#region src/modules/id/idCaptureStateMachine.d.ts
|
|
13
13
|
declare const idCaptureMachine: AnyStateMachine;
|
|
14
14
|
type IdCaptureMachine = StateMachine<IdCaptureContext, IdCaptureEvent, any, any, any, any, any, any, any, IdCaptureInput, any, any, any, any>;
|
package/dist/{idCaptureStateMachine-DuQgO4_L.esm.js → idCaptureStateMachine-CtqVhBjq.esm.js}
RENAMED
|
@@ -3,20 +3,20 @@ import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
|
|
|
3
3
|
import { x as revokeObjectURL } from "./events-Dy8PyVO5.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-DuZWsy2u.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
|
|
8
|
-
import "./session-
|
|
8
|
+
import "./session-BO17OfFa.esm.js";
|
|
9
9
|
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
11
11
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
12
|
-
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
12
|
+
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-BbjULJyT.esm.js";
|
|
13
13
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
14
14
|
import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
|
|
15
15
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
16
16
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
17
17
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
18
18
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
|
|
19
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
19
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-CqKPwPvN.esm.js";
|
|
20
20
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-DCrjeNl5.esm.js";
|
|
21
21
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
22
22
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1614,7 +1614,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1614
1614
|
});
|
|
1615
1615
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1616
1616
|
if (!input.dependencies) return;
|
|
1617
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1617
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-ChJdVAcM.esm.js");
|
|
1618
1618
|
return loadDeepsightSession({
|
|
1619
1619
|
ds: input.ds,
|
|
1620
1620
|
storage: input.dependencies.storage,
|
|
@@ -2,7 +2,7 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
|
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
-
import { a as UpdateOcrResponse, i as UpdateOcrDataParams, n as OcrData, t as IdOcrConfig } from "./types-
|
|
5
|
+
import { a as UpdateOcrResponse, i as UpdateOcrDataParams, n as OcrData, t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
|
|
6
6
|
//#region src/modules/id-ocr/idOcrStateMachine.d.ts
|
|
7
7
|
type IdOcrOcrDocument = 'first' | 'second';
|
|
8
8
|
type IdOcrContext = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
3
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-Cqi8173Y.esm.js";
|
|
4
4
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
5
5
|
function createIdOcrActor(options) {
|
|
6
6
|
return createActor(idOcrStateMachine, { input: { config: options.config } }).start();
|
|
@@ -175,8 +175,8 @@ const OCR_FIELDS = [
|
|
|
175
175
|
}
|
|
176
176
|
];
|
|
177
177
|
const getOcrFields = (config) => {
|
|
178
|
-
const { flowId } = config;
|
|
179
|
-
if (flowId && CPFFlowIds.includes(flowId)) return CPF_ONLY_OCR_FIELDS;
|
|
178
|
+
const { cpfOnly, flowId } = config;
|
|
179
|
+
if (cpfOnly === true || flowId && CPFFlowIds.includes(flowId)) return CPF_ONLY_OCR_FIELDS;
|
|
180
180
|
return OCR_FIELDS;
|
|
181
181
|
};
|
|
182
182
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./Manager-CQQ99QOI.js";
|
|
2
|
-
import { n as Flow } from "./types-
|
|
2
|
+
import { n as Flow } from "./types-NSJbROLr.js";
|
|
3
3
|
import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
|
|
4
4
|
//#region src/internal/flow-events/flowEvents.d.ts
|
|
5
5
|
type FlowStartedEvent = {
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, o as setup, r as isConfigured } from "./setup-
|
|
1
|
+
import { i as reset, o as setup, r as isConfigured } from "./setup-ItZ5fsL_.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as MandatoryConsentConfig } from "./types-
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { r as MandatoryConsentConfig } from "./types-DjHL5Wa9.js";
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-M6QI0nB0.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|