@incodetech/core 0.0.0-dev-20261124-bcd99b1e → 0.0.0-dev-20261125-a91bf928
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-D4ncumfe.esm.js → FaceDetectionProvider-D-1rS3WB.esm.js} +4 -4
- package/dist/{definitionSource-B-Z2EgJJ.esm.js → addressSearch-DKdOJ_e-.esm.js} +67 -8
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{phoneFormat-C3q0Ukh4.esm.js → allowedCharacters-Bnir--CN.esm.js} +1 -11
- package/dist/{apiError-a7tezk_O.esm.js → apiError-CxKf45Ky.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Cp64l__H.d.ts → authenticationManager-BManpfgb.d.ts} +1 -1
- package/dist/{authenticationManager-IpVKgxPn.esm.js → authenticationManager-CThxh6EJ.esm.js} +3 -3
- package/dist/{authenticationStateMachine-B4CuMBgC.esm.js → authenticationStateMachine-DN122Cii.esm.js} +3 -3
- package/dist/{calendarDate-DcqGuEht.esm.js → calendarDate-D2zWfUlA.esm.js} +1 -1
- package/dist/{cnpj-Bl_olpdX.esm.js → cnpj-CVq3vL39.esm.js} +1 -9
- package/dist/cnpj-D5cxwIe-.esm.js +9 -0
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-C6WmQToS.esm.js → curpValidationManager-4v5qMUXm.esm.js} +1 -1
- package/dist/{curpValidationManager-Dynwqu2z.d.ts → curpValidationManager-9U7zMZt8.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-BbJ4YAzE.esm.js → curpValidationStateMachine-BPkEZtmd.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/{customFieldsManager-BBy6X9nh.esm.js → customFieldsManager-BX3u8VPe.esm.js} +1 -1
- package/dist/{deepsightCaptureConfig-D0PCzVcM.esm.js → deepsightCaptureConfig-B7HX2BKP.esm.js} +2 -2
- package/dist/{deepsightLoader-nbl5Dhvf.esm.js → deepsightLoader-C_fdJi9H.esm.js} +4 -4
- package/dist/definitionSource-C_pmsYIx.esm.js +12 -0
- package/dist/{desktopCameraElection-C2jhy2Fd.esm.js → desktopCameraElection-A7IPW-RU.esm.js} +4 -4
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-DOgJTJ4F.d.ts → documentCaptureManager-sJWgqtUy.d.ts} +4 -4
- package/dist/{documentSignatureStateMachine-DoeIrTmr.esm.js → documentSignatureStateMachine-ClNEf1FQ.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-D_QpTKfT.esm.js → dynamicFormsManager-nl9-642J.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-D_KmQwDZ.esm.js → dynamicFormsStateMachine-DwjwenOE.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-BG7eju18.esm.js → ekybManager-B-tbtSFb.esm.js} +1 -1
- package/dist/{ekybManager-BflWuTe4.d.ts → ekybManager-DZdSXQMK.d.ts} +2 -2
- package/dist/{ekybStateMachine-Bc-m_PHQ.esm.js → ekybStateMachine-BC4eZWrb.esm.js} +5 -4
- package/dist/ekyc-prefill.d.ts +3 -4
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-BPUHoUHy.esm.js → ekycManager-CDxoP5gL.esm.js} +1 -1
- package/dist/{ekycManager-BldDiWTJ.d.ts → ekycManager-DusmB-4j.d.ts} +2 -2
- package/dist/{ekycPrefillManager-qgG_uUKA.d.ts → ekycPrefillManager-BwmPXfhY.d.ts} +17 -17
- package/dist/{ekycPrefillManager-BaX95xIW.esm.js → ekycPrefillManager-Cu5EAnkQ.esm.js} +6 -7
- package/dist/{ekycPrefillStateMachine-C8FEAHbH.esm.js → ekycPrefillStateMachine-DdHdgSaW.esm.js} +567 -165
- package/dist/{ekycStateMachine-Cq94FpIm.esm.js → ekycStateMachine-CM1YRW27.esm.js} +483 -155
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-bgoE6nL8.esm.js → electronicSignatureManager-knl_X2jh.esm.js} +1 -1
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +17 -17
- package/dist/{faceCaptureManagerFactory-DvH9-zIi.esm.js → faceCaptureManagerFactory-D0eN82qj.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-BZ2XHhkj.d.ts → faceCaptureManagerFactory-Dm7p3T_t.d.ts} +3 -3
- package/dist/{faceCaptureSetup-DuFiwK9F.esm.js → faceCaptureSetup-BfedgErd.esm.js} +7 -7
- package/dist/{feature-management-DiL2uBlX.esm.js → feature-management-BD2hrfZ3.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 +7 -7
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-Bs4oWd_W.esm.js → flowCompletionService-DlXzGwgu.esm.js} +1 -1
- package/dist/{flowServices-KLGZ3eWm.esm.js → flowServices-CxTdN-OL.esm.js} +4 -4
- package/dist/formErrors-lSfh7Y8J.esm.js +512 -0
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Del2ddmt.d.ts → geolocationManager-CENrvxpK.d.ts} +1 -1
- package/dist/{geolocationManager-el4FUmYy.esm.js → geolocationManager-Ch5lOvYH.esm.js} +1 -1
- package/dist/{geolocationStateMachine-BnM-qTe3.esm.js → geolocationStateMachine-EN7it_FF.esm.js} +1 -1
- package/dist/home.d.ts +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- 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-UnWwLa3I.esm.js → idCaptureManager-CH2bkanx.esm.js} +4 -4
- package/dist/{idCaptureManager-Co4ZZ-pd.d.ts → idCaptureManager-jjNknNiP.d.ts} +2 -2
- package/dist/{idCaptureServices-DFUdwccM.esm.js → idCaptureServices-BN57-oba.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-DGWGB0Tz.esm.js → idCaptureStateMachine-DIM0ZxBY.esm.js} +11 -11
- package/dist/{idOcrManager-C3BHGgSb.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
- package/dist/{idOcrManager-XTbpfHoF.esm.js → idOcrManager-Dl9eNhT8.esm.js} +1 -1
- package/dist/{idOcrStateMachine-B-00PgPh.esm.js → idOcrStateMachine-CEkUWxGy.esm.js} +1 -1
- package/dist/{index-RghgiJVx.d.ts → index-B-K_tV2Q.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.d.ts +3 -3
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CbkCctw0.esm.js → kybChecksManager-Bh-oiXei.esm.js} +2 -2
- package/dist/{kybChecksManager-B7Di9auB.d.ts → kybChecksManager-CKDy1mel.d.ts} +1 -1
- package/dist/{kybChecksStateMachine-BeB_cgk4.esm.js → kybChecksStateMachine-WIdi80Sq.esm.js} +175 -178
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/{mandatoryConsentManager-B_eFZmo-.d.ts → mandatoryConsentManager-Bwl0YPwg.d.ts} +1 -1
- package/dist/numericRange-zDZFvRb8.esm.js +274 -0
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-PUU8CObN.esm.js → recordingService-5o50qJ9A.esm.js} +1 -1
- package/dist/{runChildModule-BOvtfM8r.esm.js → runChildModule-vqgSWeEF.esm.js} +1 -1
- package/dist/{sdkVersion-thMGaHAC.esm.js → sdkVersion-C3x7ZDSE.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-CqudCvHN.esm.js → selfieErrorUtils-BB-nxdeJ.esm.js} +1 -1
- package/dist/{selfieManager-DWRVOhOE.esm.js → selfieManager-CpV6Lw0q.esm.js} +3 -3
- package/dist/{selfieManager-CKm034l4.d.ts → selfieManager-DOwu6Ukf.d.ts} +1 -1
- package/dist/{selfieStateMachine-CNELgWFK.esm.js → selfieStateMachine-Bxi31PsA.esm.js} +3 -3
- package/dist/{session-pNSU6n3-.esm.js → session-syFGvfFW.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BzvYgZCQ.esm.js → sessionInitializer-C4cinkbs.esm.js} +4 -4
- package/dist/{setup-BQVlJnC0.esm.js → setup-cZWqRr7-.esm.js} +5 -5
- package/dist/trueSight-DK2Q1w9z.esm.js +1 -0
- package/dist/{trueSightService-DjwNQ37t.esm.js → trueSightService-Bm5K21-R.esm.js} +1 -1
- package/dist/types-BTJWXYHA.d.ts +6 -0
- package/dist/{types-BgRHw-dR.d.ts → types-BaA0Qscz.d.ts} +1 -1
- package/dist/{types-_rJ2GjgK.d.ts → types-BqDc7tER.d.ts} +1 -1
- package/dist/{types-DFgJ26nw.d.ts → types-CH9u9ikn.d.ts} +1 -1
- package/dist/{types-Dy4XI7jR.d.ts → types-CRzImo5V.d.ts} +1 -1
- package/dist/{types-BiUMy0Vp.d.ts → types-CoXJsu1W.d.ts} +1 -1
- package/dist/{textRules-D4NRinKY.d.ts → types-D6Q1D1kx.d.ts} +1 -9
- package/dist/{types-CTaL0XJz.d.ts → types-DWqO7owj.d.ts} +2 -24
- package/dist/{types-mK4qyHxM.d.ts → types-g3NuVCT9.d.ts} +16 -29
- package/dist/{types-aKXf9SVN.d.ts → types-ia31g4VQ.d.ts} +3 -3
- package/dist/{types-Bdes6iC1.d.ts → types-tOSLpcSa.d.ts} +10 -2
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-M25qqewS.esm.js → videoSelfieCameraWarmer-B5atbHuu.esm.js} +3 -3
- package/dist/{videoSelfieStepDetector-BBXE3DnI.d.ts → videoSelfieStepDetector-Dfj7UUF3.d.ts} +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-DxeSH80T.esm.js → watchlistForBusinessManager-CiSWk1Lh.esm.js} +1 -1
- package/dist/{watchlistForBusinessStateMachine-BC9UWLuZ.esm.js → watchlistForBusinessStateMachine-DiQW42sd.esm.js} +3 -2
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +21 -21
- package/package.json +1 -1
- package/dist/addressSearch-BKlynuBr.esm.js +0 -71
- package/dist/ekycRules-B7kUzSgu.esm.js +0 -598
- package/dist/trueSight-CiveOb7r.esm.js +0 -1
- package/dist/types-J7D0pbWH.d.ts +0 -6
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as EkycFormValues, c as EkycValidationErrors, l as EkycValidationRule } from "./types-Bdes6iC1.js";
|
|
1
|
+
import { n as FieldDef } from "./types-D6Q1D1kx.js";
|
|
3
2
|
//#region src/modules/ekyc-prefill/types.d.ts
|
|
3
|
+
/** The form's values by field name. */
|
|
4
|
+
type EkycPrefillValues = Record<string, string | undefined>;
|
|
5
|
+
/** A field's error: a message key and its params. */
|
|
6
|
+
type EkycPrefillFieldError = {
|
|
7
|
+
key: string;
|
|
8
|
+
/** A list param is shown as a list in the user's language ("8 or 10"). */
|
|
9
|
+
params?: Readonly<Record<string, string | number | readonly number[]>>;
|
|
10
|
+
};
|
|
11
|
+
/** Each field's first error, by field name. */
|
|
12
|
+
type EkycPrefillFieldErrors = Readonly<Record<string, EkycPrefillFieldError>>;
|
|
4
13
|
/** One input of the served configuration. */
|
|
5
14
|
type EkycPrefillServedField = {
|
|
6
15
|
/** The request key, e.g. `phone`, `dateOfBirth`, `ssn`, `surName`, `taxIdNumber`. */
|
|
@@ -65,8 +74,6 @@ type EkycPrefillConfig = {
|
|
|
65
74
|
autoExecution: boolean;
|
|
66
75
|
};
|
|
67
76
|
type EkycPrefillFieldDef = FieldDef & {
|
|
68
|
-
/** Validation run by `validateEkycField`, in order; the first failing rule wins. */
|
|
69
|
-
validation: EkycValidationRule[];
|
|
70
77
|
/** Show the value masked, with a show/hide toggle (the SSN). */
|
|
71
78
|
masked?: boolean;
|
|
72
79
|
/** Ask for the numeric keyboard. */
|
|
@@ -74,31 +81,16 @@ type EkycPrefillFieldDef = FieldDef & {
|
|
|
74
81
|
/** The `autocomplete` token. */
|
|
75
82
|
autoComplete?: string;
|
|
76
83
|
};
|
|
77
|
-
/** Fields of which at least one must be filled, with the message
|
|
84
|
+
/** Fields of which at least one must be filled, with the message each empty one shows. */
|
|
78
85
|
type EkycPrefillAnyOfGroup = {
|
|
79
86
|
fields: string[];
|
|
80
87
|
message: string;
|
|
81
88
|
};
|
|
82
|
-
/**
|
|
83
|
-
type EkycPrefillSubmitField = {
|
|
84
|
-
name: string;
|
|
85
|
-
key: string;
|
|
86
|
-
transforms: {
|
|
87
|
-
id: string;
|
|
88
|
-
chars?: string;
|
|
89
|
-
}[];
|
|
90
|
-
};
|
|
91
|
-
type EkycPrefillSubmitPlan = {
|
|
92
|
-
static: Record<string, unknown>;
|
|
93
|
-
fields: EkycPrefillSubmitField[];
|
|
94
|
-
country: string;
|
|
95
|
-
};
|
|
96
|
-
/** The served configuration on the forms kernel: what the form renders and sends. */
|
|
89
|
+
/** The served configuration on the forms kernel: what the form renders. */
|
|
97
90
|
type EkycPrefillPreparedForm = {
|
|
98
91
|
country: string;
|
|
99
92
|
fields: EkycPrefillFieldDef[];
|
|
100
93
|
anyOf: EkycPrefillAnyOfGroup | undefined;
|
|
101
|
-
submit: EkycPrefillSubmitPlan;
|
|
102
94
|
};
|
|
103
95
|
/** `POST /omni/externalVerification/ekyc-prefill` response. Not read: the result is reviewed in the dashboard. */
|
|
104
96
|
type EkycPrefillSubmitResponse = Record<string, unknown>;
|
|
@@ -106,15 +98,10 @@ type EkycPrefillErrorKind = 'unavailable' | 'busy';
|
|
|
106
98
|
type EkycPrefillContext = {
|
|
107
99
|
config: EkycPrefillConfig;
|
|
108
100
|
prepared: EkycPrefillPreparedForm | undefined;
|
|
109
|
-
values:
|
|
110
|
-
errors:
|
|
101
|
+
values: EkycPrefillValues;
|
|
102
|
+
errors: EkycPrefillFieldErrors;
|
|
111
103
|
/** Fields whose input reports an invalid format (the phone). */
|
|
112
104
|
invalidFormats: Record<string, true>;
|
|
113
|
-
/**
|
|
114
|
-
* The any-of group's message shows as an error rather than a hint: a member
|
|
115
|
-
* lost focus, or a submit was tried, while every member was empty.
|
|
116
|
-
*/
|
|
117
|
-
anyOfError: boolean;
|
|
118
105
|
/** The phone rules finished loading, so phones validate. */
|
|
119
106
|
phoneRulesLoaded: boolean;
|
|
120
107
|
/** The phone rules failed to load; a retry reloads them before the form. */
|
|
@@ -128,4 +115,4 @@ type EkycPrefillInput = {
|
|
|
128
115
|
config?: EkycPrefillModuleConfig | EkycPrefillConfig;
|
|
129
116
|
};
|
|
130
117
|
//#endregion
|
|
131
|
-
export { EkycPrefillFieldDef as a,
|
|
118
|
+
export { EkycPrefillFieldDef as a, EkycPrefillInput as c, EkycPrefillSubmitResponse as d, EkycPrefillValues as f, EkycPrefillErrorKind as i, EkycPrefillModuleConfig as l, EkycPrefillConfigField as n, EkycPrefillFieldError as o, EkycPrefillContext as r, EkycPrefillFieldErrors as s, EkycPrefillConfig as t, EkycPrefillServedField as u };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as DocumentSignatureConfig } from "./types-BNkzXOXE.js";
|
|
2
|
-
import {
|
|
2
|
+
import { l as RiskAddon } from "./types-tOSLpcSa.js";
|
|
3
3
|
import "./createFaceAvatar-Ct9QrQ66.js";
|
|
4
4
|
import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
5
|
-
import { n as KybChecksConfig } from "./types-
|
|
6
|
-
import {
|
|
5
|
+
import { n as KybChecksConfig } from "./types-DWqO7owj.js";
|
|
6
|
+
import { l as EkycPrefillModuleConfig } from "./types-g3NuVCT9.js";
|
|
7
7
|
import { t as TrustGraphConfig } from "./types-CXTDuzUJ.js";
|
|
8
8
|
//#region src/internal/avatar/concealment.d.ts
|
|
9
9
|
/**
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as FieldDef } from "./types-D6Q1D1kx.js";
|
|
2
|
+
//#region src/shared/validators/textRules.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* The general-purpose form-definition rules from `vocabulary.json`, as pure
|
|
5
|
+
* checks on a non-empty value. Callers skip empty values: requiredness is its
|
|
6
|
+
* own rule.
|
|
7
|
+
*/
|
|
8
|
+
type CharacterClass = 'letter' | 'digit' | 'space';
|
|
9
|
+
//#endregion
|
|
2
10
|
//#region src/modules/ekyc/types.d.ts
|
|
3
11
|
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
|
4
12
|
type EkycVerificationFields = {
|
|
@@ -220,4 +228,4 @@ type EkycFieldDef = FieldDef & {
|
|
|
220
228
|
type EkycInputFormat = 'uppercase' | 'stripSeparators';
|
|
221
229
|
type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
|
|
222
230
|
//#endregion
|
|
223
|
-
export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i,
|
|
231
|
+
export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t };
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import "./Actor-DqjOqDfU.js";
|
|
|
6
6
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
7
7
|
import { n as FacingMode, t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
8
8
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
|
|
9
|
-
import { a as VideoSelfieConfig, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieSpeechResult, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-
|
|
9
|
+
import { a as VideoSelfieConfig, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieSpeechResult, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-Dfj7UUF3.js";
|
|
10
10
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
11
11
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
12
12
|
type ITimerCapability = {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-cZWqRr7-.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-CxTdN-OL.esm.js";
|
|
7
7
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
8
8
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
10
10
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
11
11
|
import { t as carryAttempts } from "./attemptCarry-DWM8lV9V.esm.js";
|
|
12
12
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
13
|
-
import { c as VIDEO_SELFIE_MICROPHONE_UNAVAILABLE_CODE, l as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, s as MicrophoneUnavailableError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
13
|
+
import { c as VIDEO_SELFIE_MICROPHONE_UNAVAILABLE_CODE, l as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, s as MicrophoneUnavailableError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-B5atbHuu.esm.js";
|
|
14
14
|
import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
|
|
15
15
|
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
|
|
16
16
|
import { t as MultipartRecordingService } from "./multipartRecordingService-Cz-cWrpV.esm.js";
|
package/dist/{videoSelfieCameraWarmer-M25qqewS.esm.js → videoSelfieCameraWarmer-B5atbHuu.esm.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-CxTdN-OL.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-CJKApt0x.esm.js";
|
|
5
5
|
import { t as checkPermission } from "./permissionServices-Csq_7Cbg.esm.js";
|
|
6
6
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
7
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
7
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-D-1rS3WB.esm.js";
|
|
8
8
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
9
9
|
import { n as getBackCameraStream } from "./backCameraStream-6qVHvj76.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-BB-nxdeJ.esm.js";
|
|
11
11
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CFyXIRuM.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
package/dist/{videoSelfieStepDetector-BBXE3DnI.d.ts → videoSelfieStepDetector-Dfj7UUF3.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-ia31g4VQ.js";
|
|
2
2
|
import "./IWasmUtilCapability-CLWIYHB4.js";
|
|
3
|
-
import { n as DetectionStatus } from "./types-
|
|
3
|
+
import { n as DetectionStatus } from "./types-BqDc7tER.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9yYDUOsO.js";
|
|
5
5
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as WASM_PIPELINE_LAZY_MODEL_NAMES, E as WASM_MODEL_FILES, S as buildWasmConfigFromBasePath, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, k as WASM_PIPELINE_MODEL_NAMES, x as buildDefaultWasmConfig } from "./wasmWebClient-BIML49JC.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./warmup-O3rAoe1-.esm.js";
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-cZWqRr7-.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
2
|
-
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-
|
|
1
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DiQW42sd.esm.js";
|
|
2
|
+
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-CiSWk1Lh.esm.js";
|
|
3
3
|
export { createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-
|
|
6
|
+
import { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-DiQW42sd.esm.js";
|
|
7
7
|
//#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
|
|
8
8
|
function createWatchlistForBusinessActor(options = {}) {
|
|
9
9
|
return createActor(watchlistForBusinessMachine, { input: { config: options.config ?? {} } }).start();
|
|
@@ -2,8 +2,9 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
|
|
|
2
2
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
|
-
import { n as calendarDateError } from "./calendarDate-
|
|
6
|
-
import {
|
|
5
|
+
import { n as calendarDateError } from "./calendarDate-D2zWfUlA.esm.js";
|
|
6
|
+
import { t as validateCNPJ } from "./cnpj-CVq3vL39.esm.js";
|
|
7
|
+
import { t as COUNTRIES_WITH_CNPJ_VALIDATION } from "./cnpj-D5cxwIe-.esm.js";
|
|
7
8
|
//#region ../infra/src/time/epochMsToLocalIsoDate.ts
|
|
8
9
|
/**
|
|
9
10
|
* Converts an epoch-milliseconds timestamp to the user's local calendar date
|
package/dist/workflow.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { t as CallbackActorLogic } from "./callback-BmjJ1G-5.js";
|
|
|
3
3
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
4
4
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
5
5
|
import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
|
|
6
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
6
|
+
import { o as FlowEventSubscribable } from "./index-B-K_tV2Q.js";
|
|
7
7
|
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-C3rfDzgE.js";
|
|
8
8
|
//#region src/modules/workflow/types.d.ts
|
|
9
9
|
/** Possible node types returned by the workflow server. */
|
package/dist/workflow.esm.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
3
3
|
import { t as createManagerInstrumentation } from "./events-ChMS-UzR.esm.js";
|
|
4
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
5
|
-
import "./trueSight-
|
|
6
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
7
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
4
|
+
import { u as trueSightLog } from "./trueSightService-Bm5K21-R.esm.js";
|
|
5
|
+
import "./trueSight-DK2Q1w9z.esm.js";
|
|
6
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-C4cinkbs.esm.js";
|
|
7
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BD2hrfZ3.esm.js";
|
|
8
8
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
9
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
9
|
+
import { i as toIncodeApiError } from "./apiError-CxKf45Ky.esm.js";
|
|
10
10
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
11
11
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
12
12
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
13
|
-
import { r as electronicSignatureMachine } from "./electronicSignatureManager-
|
|
13
|
+
import { r as electronicSignatureMachine } from "./electronicSignatureManager-knl_X2jh.esm.js";
|
|
14
14
|
import "./ae-signature.esm.js";
|
|
15
15
|
import { t as antifraudMachine } from "./antifraudStateMachine-TWUu8wLN.esm.js";
|
|
16
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
16
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DN122Cii.esm.js";
|
|
17
17
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Bfywhz7X.esm.js";
|
|
18
18
|
import { t as consentMachine } from "./consentStateMachine-CLK8PfM4.esm.js";
|
|
19
|
-
import { t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
19
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-BPkEZtmd.esm.js";
|
|
20
20
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-SS2ssNCg.esm.js";
|
|
21
21
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-DR6_Mk5G.esm.js";
|
|
22
|
-
import { r as documentSignatureMachine } from "./documentSignatureStateMachine-
|
|
23
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
22
|
+
import { r as documentSignatureMachine } from "./documentSignatureStateMachine-ClNEf1FQ.esm.js";
|
|
23
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DwjwenOE.esm.js";
|
|
24
24
|
import { s as toEkybConfig } from "./ekybUtils-Z9MhFAer.esm.js";
|
|
25
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
26
|
-
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
25
|
+
import { t as ekybMachine } from "./ekybStateMachine-BC4eZWrb.esm.js";
|
|
26
|
+
import { t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DdHdgSaW.esm.js";
|
|
27
27
|
import { d as toEkycConfig } from "./ekycUtils-C6HZB46m.esm.js";
|
|
28
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
28
|
+
import { t as ekycMachine } from "./ekycStateMachine-CM1YRW27.esm.js";
|
|
29
29
|
import { t as emailMachine } from "./emailStateMachine--T9PHflK.esm.js";
|
|
30
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
31
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
30
|
+
import { t as selfieMachine } from "./selfieStateMachine-Bxi31PsA.esm.js";
|
|
31
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-DIM0ZxBY.esm.js";
|
|
32
32
|
import { t as phoneMachine } from "./phoneStateMachine-CxCPxTIy.esm.js";
|
|
33
33
|
import { t as watchlistMachine } from "./watchlistStateMachine-Bxzn16iJ.esm.js";
|
|
34
|
-
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
34
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DiQW42sd.esm.js";
|
|
35
35
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-Ckf39qFu.esm.js";
|
|
36
36
|
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-D1J2NQSI.esm.js";
|
|
37
|
-
import { t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
37
|
+
import { t as idOcrStateMachine } from "./idOcrStateMachine-CEkUWxGy.esm.js";
|
|
38
38
|
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-Cg3GXsFr.esm.js";
|
|
39
39
|
import { t as signatureMachine } from "./signatureStateMachine-B-QG7fk0.esm.js";
|
|
40
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
40
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-EN7it_FF.esm.js";
|
|
41
41
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DeHHhlcf.esm.js";
|
|
42
42
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-B48Ikl-7.esm.js";
|
|
43
43
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-DagrRdo2.esm.js";
|
|
44
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
45
|
-
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-
|
|
46
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
44
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-WIdi80Sq.esm.js";
|
|
45
|
+
import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-DlXzGwgu.esm.js";
|
|
46
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-vqgSWeEF.esm.js";
|
|
47
47
|
import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
|
|
48
48
|
import "./qe-signature.esm.js";
|
|
49
49
|
import { t as trustGraphMachine } from "./trustGraphStateMachine-BxvReuo1.esm.js";
|
package/package.json
CHANGED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
|
|
2
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
4
|
-
//#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
|
|
5
|
-
/**
|
|
6
|
-
* The rollout switch for form definitions (ENG-59781): one all-or-nothing
|
|
7
|
-
* answer to "do eKYC and eKYB build their forms from catalog definitions, or
|
|
8
|
-
* with today's builders?". The eKYC and eKYB machines read it once, when
|
|
9
|
-
* they're created, and pass the answer to the module adapters
|
|
10
|
-
* (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
|
|
11
|
-
* (`internal/forms`) knows nothing about it.
|
|
12
|
-
*
|
|
13
|
-
* Off by default, so every source and country keeps today's builder. A
|
|
14
|
-
* catalog-only eKYC source, one today's builder never knew, uses its
|
|
15
|
-
* definition either way, since it has no old path to fall back to.
|
|
16
|
-
*
|
|
17
|
-
* This is Incode's rollout decision, not the integrator's: it is not a
|
|
18
|
-
* `setup()` option. It stays a constant: customers move to definitions only
|
|
19
|
-
* once the migration is done, so it is turned on in code at that point.
|
|
20
|
-
*/
|
|
21
|
-
const ENABLED_BY_DEFAULT = false;
|
|
22
|
-
/** Whether sources and countries with a form definition use it. */
|
|
23
|
-
function isFormDefinitionsEnabled() {
|
|
24
|
-
return ENABLED_BY_DEFAULT;
|
|
25
|
-
}
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region src/shared/addressSearch.ts
|
|
28
|
-
/** Searches for address suggestions via the address autocomplete API. */
|
|
29
|
-
async function searchAddress(query, signal) {
|
|
30
|
-
return { apiResponse: { items: ((await api.post(endpoints.addressAutocomplete, { search: query }, { signal })).data.apiResponse?.items ?? []).map((item, i) => {
|
|
31
|
-
const addr = item.address ?? item;
|
|
32
|
-
return {
|
|
33
|
-
id: item.id ?? i,
|
|
34
|
-
label: addr.label ?? item.title ?? "",
|
|
35
|
-
street: addr.street,
|
|
36
|
-
city: addr.city,
|
|
37
|
-
stateCode: addr.stateCode ?? addr.state,
|
|
38
|
-
postalCode: addr.postalCode,
|
|
39
|
-
houseNumber: addr.houseNumber,
|
|
40
|
-
countryCode: addr.countryCode
|
|
41
|
-
};
|
|
42
|
-
}) } };
|
|
43
|
-
}
|
|
44
|
-
const DEBOUNCE_MS = 300;
|
|
45
|
-
/**
|
|
46
|
-
* XState callback actor that debounces address search requests.
|
|
47
|
-
* Cancels in-flight HTTP requests when the actor is stopped.
|
|
48
|
-
*/
|
|
49
|
-
const debounceSearchActor = fromCallback(({ input, sendBack }) => {
|
|
50
|
-
const timerProvider = BrowserTimerProvider.getInstance();
|
|
51
|
-
const controller = new AbortController();
|
|
52
|
-
const handle = timerProvider.setTimeout(async () => {
|
|
53
|
-
try {
|
|
54
|
-
sendBack({
|
|
55
|
-
type: "RESULTS",
|
|
56
|
-
suggestions: (await searchAddress(input.query, controller.signal)).apiResponse?.items ?? []
|
|
57
|
-
});
|
|
58
|
-
} catch {
|
|
59
|
-
if (!controller.signal.aborted) sendBack({
|
|
60
|
-
type: "RESULTS",
|
|
61
|
-
suggestions: []
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
}, DEBOUNCE_MS);
|
|
65
|
-
return () => {
|
|
66
|
-
timerProvider.clearTimeout(handle);
|
|
67
|
-
controller.abort();
|
|
68
|
-
};
|
|
69
|
-
});
|
|
70
|
-
//#endregion
|
|
71
|
-
export { searchAddress as n, isFormDefinitionsEnabled as r, debounceSearchActor as t };
|