@incodetech/core 0.0.0-dev-20260311-b46342c → 0.0.0-dev-20260311-e7ef89b
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 +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/{faceCaptureManagerFactory-CftLkmnH.d.ts → faceCaptureManagerFactory-FEuTMK4j.d.ts} +1 -1
- package/dist/flow.d.ts +3 -3
- package/dist/flow.esm.js +2 -6
- package/dist/id.d.ts +2 -2
- package/dist/{index-_guGVj8K.d.ts → index-C_QjKcTy.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/selfie.d.ts +2 -2
- package/dist/{types-BcGRS3lW.d.ts → types-DrdrHHxZ.d.ts} +2 -0
- package/package.json +1 -1
package/dist/authentication.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./types-dSdX5z-n.js";
|
|
2
2
|
import "./warmup-CO10kO5G.js";
|
|
3
|
-
import { a as FaceCaptureDependencies, n as FaceCaptureManagerState, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { a as FaceCaptureDependencies, n as FaceCaptureManagerState, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-FEuTMK4j.js";
|
|
4
4
|
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
5
5
|
import "./camera-HI2fNiV5.js";
|
|
6
6
|
import { t as ActorRefFrom } from "./Actor-SKZvDOCc.js";
|
|
7
7
|
import { t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
8
8
|
import "./types-B_l5fu_D.js";
|
|
9
|
-
import { r as FlowModuleConfig } from "./types-
|
|
9
|
+
import { r as FlowModuleConfig } from "./types-DrdrHHxZ.js";
|
|
10
10
|
|
|
11
11
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
12
12
|
declare const _authenticationMachine: AnyStateMachine;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
2
2
|
import "./camera-HI2fNiV5.js";
|
|
3
3
|
import "./types-B_l5fu_D.js";
|
|
4
|
-
import { r as FlowModuleConfig } from "./types-
|
|
4
|
+
import { r as FlowModuleConfig } from "./types-DrdrHHxZ.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/curp-validation/types.d.ts
|
|
7
7
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
package/dist/{faceCaptureManagerFactory-CftLkmnH.d.ts → faceCaptureManagerFactory-FEuTMK4j.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapabili
|
|
|
2
2
|
import { t as WasmPipeline } from "./warmup-CO10kO5G.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
5
|
-
import { t as Flow } from "./types-
|
|
5
|
+
import { t as Flow } from "./types-DrdrHHxZ.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/capabilities/IWasmUtilCapability.d.ts
|
|
8
8
|
type WasmUtilConfig = MLProviderConfig & {
|
package/dist/flow.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { t as Manager } from "./Manager-CVog-etk.js";
|
|
|
3
3
|
import "./camera-HI2fNiV5.js";
|
|
4
4
|
import { t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
5
5
|
import "./types-B_l5fu_D.js";
|
|
6
|
-
import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-
|
|
6
|
+
import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-DrdrHHxZ.js";
|
|
7
7
|
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-DtL1jOz4.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/flow/flowUtils.d.ts
|
|
@@ -25,12 +25,12 @@ import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionServi
|
|
|
25
25
|
*/
|
|
26
26
|
declare function getRequiredWasmPipelines(flow: Flow): WasmPipeline[];
|
|
27
27
|
/**
|
|
28
|
-
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID
|
|
28
|
+
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID
|
|
29
29
|
* based on configuration flags. Matches legacy flowService behavior.
|
|
30
30
|
*
|
|
31
31
|
* - TUTORIAL_ID becomes ID (with same config)
|
|
32
32
|
* - If secondId: true, adds SECOND_ID module with isSecondId: true
|
|
33
|
-
* -
|
|
33
|
+
* - thirdId is deprecated and ignored; the flow continues to the next step
|
|
34
34
|
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
35
35
|
*/
|
|
36
36
|
declare function normalizeFlowModules(modules: FlowModule[]): FlowModule[];
|
package/dist/flow.esm.js
CHANGED
|
@@ -38,12 +38,12 @@ function getRequiredWasmPipelines(flow) {
|
|
|
38
38
|
return [...pipelines];
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID
|
|
41
|
+
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID
|
|
42
42
|
* based on configuration flags. Matches legacy flowService behavior.
|
|
43
43
|
*
|
|
44
44
|
* - TUTORIAL_ID becomes ID (with same config)
|
|
45
45
|
* - If secondId: true, adds SECOND_ID module with isSecondId: true
|
|
46
|
-
* -
|
|
46
|
+
* - thirdId is deprecated and ignored; the flow continues to the next step
|
|
47
47
|
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
48
48
|
*/
|
|
49
49
|
function normalizeFlowModules(modules) {
|
|
@@ -61,10 +61,6 @@ function normalizeFlowModules(modules) {
|
|
|
61
61
|
isSecondId: true
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
if (idConfig.thirdId) result.push({
|
|
65
|
-
key: "THIRD_ID",
|
|
66
|
-
configuration: { documentType: "thirdId" }
|
|
67
|
-
});
|
|
68
64
|
return result;
|
|
69
65
|
}
|
|
70
66
|
const prev = arr[idx - 1];
|
package/dist/id.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-
|
|
1
|
+
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-C_QjKcTy.js";
|
|
2
2
|
import "./deepsightService-Dv1ILk27.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-dSdX5z-n.js";
|
|
4
4
|
import "./Manager-CVog-etk.js";
|
|
@@ -6,5 +6,5 @@ import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
|
6
6
|
import "./Actor-SKZvDOCc.js";
|
|
7
7
|
import "./StateMachine-Coiuk0UD.js";
|
|
8
8
|
import "./types-B_l5fu_D.js";
|
|
9
|
-
import "./types-
|
|
9
|
+
import "./types-DrdrHHxZ.js";
|
|
10
10
|
export { CameraStream, CaptureIdResponse, CapturedImage, CreateIdCaptureActorOptions, DetectionArea, DetectionOrientation, DetectionStatus, ID_ERROR_CODES, IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, IdCaptureMachine, IdCaptureManager, IdCaptureMode, IdCaptureSettings, IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, PermissionResult, PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -4,7 +4,7 @@ import { t as Manager } from "./Manager-CVog-etk.js";
|
|
|
4
4
|
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
5
5
|
import { t as ActorRefFrom } from "./Actor-SKZvDOCc.js";
|
|
6
6
|
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
7
|
-
import { i as TutorialIdConfig, t as Flow } from "./types-
|
|
7
|
+
import { i as TutorialIdConfig, t as Flow } from "./types-DrdrHHxZ.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
|
|
10
10
|
interface IAnalyticsCapability {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-
|
|
1
|
+
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-C_QjKcTy.js";
|
|
2
2
|
import "./deepsightService-Dv1ILk27.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-dSdX5z-n.js";
|
|
4
4
|
import { n as warmupWasm, t as WasmPipeline } from "./warmup-CO10kO5G.js";
|
|
@@ -7,7 +7,7 @@ import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
|
7
7
|
import "./Actor-SKZvDOCc.js";
|
|
8
8
|
import "./StateMachine-Coiuk0UD.js";
|
|
9
9
|
import "./types-B_l5fu_D.js";
|
|
10
|
-
import "./types-
|
|
10
|
+
import "./types-DrdrHHxZ.js";
|
|
11
11
|
|
|
12
12
|
//#region ../infra/src/capabilities/IScreenOrientationCapability.d.ts
|
|
13
13
|
type ScreenOrientationState = 'portrait' | 'landscape';
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-Dv1ILk27.js";
|
|
2
2
|
import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-dSdX5z-n.js";
|
|
3
3
|
import { t as WasmPipeline } from "./warmup-CO10kO5G.js";
|
|
4
|
-
import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-FEuTMK4j.js";
|
|
5
5
|
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
7
7
|
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
8
8
|
import "./types-B_l5fu_D.js";
|
|
9
|
-
import { r as FlowModuleConfig } from "./types-
|
|
9
|
+
import { r as FlowModuleConfig } from "./types-DrdrHHxZ.js";
|
|
10
10
|
|
|
11
11
|
//#region ../infra/src/capabilities/IFaceDetectionCapability.d.ts
|
|
12
12
|
/**
|
|
@@ -12,6 +12,7 @@ type TutorialIdConfig = {
|
|
|
12
12
|
barcodeCapture: boolean;
|
|
13
13
|
fetchAdditionalPage: boolean;
|
|
14
14
|
secondId: boolean;
|
|
15
|
+
/** @deprecated Third ID capture is deprecated; config is ignored and flow continues to next step */
|
|
15
16
|
thirdId: boolean;
|
|
16
17
|
autoCaptureTimeout: number;
|
|
17
18
|
deviceIdleTimeout: number;
|
|
@@ -153,6 +154,7 @@ type FlowModuleConfig = {
|
|
|
153
154
|
TUTORIAL_ID: TutorialIdConfig;
|
|
154
155
|
ID: TutorialIdConfig;
|
|
155
156
|
SECOND_ID: TutorialIdConfig;
|
|
157
|
+
/** @deprecated Third ID step is deprecated; SDK skips this step and continues flow */
|
|
156
158
|
THIRD_ID: DocumentUploadConfig;
|
|
157
159
|
ID_OCR: {
|
|
158
160
|
editableOcr: boolean;
|