@incodetech/core 0.0.0-dev-20260318-ce9c1ed → 0.0.0-dev-20260320-96b0018
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/{authenticationManager-BWtUIJXV.d.ts → authenticationManager-CsDKpKla.d.ts} +1 -1
- package/dist/curp-validation.d.ts +1 -1
- package/dist/document-upload.d.ts +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-Dm3dO_r0.d.ts → faceCaptureManagerFactory-COWObGBr.d.ts} +1 -1
- package/dist/flow.d.ts +1 -1
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +1 -1
- package/dist/{idCaptureManager-BdlS0WrG.esm.js → idCaptureManager-7mOidZiv.esm.js} +31 -2
- package/dist/{idCaptureManager-dTZ7KTot.d.ts → idCaptureManager-UIUJISQP.d.ts} +8 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/{selfieManager-BgSkTLJj.d.ts → selfieManager-B3CAoqXl.d.ts} +1 -1
- package/dist/{types-seztsdvN.d.ts → types-BZcBRlI8.d.ts} +1 -0
- package/package.json +1 -1
package/dist/authentication.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./deepsightService-CP5OM4Fc.js";
|
|
2
|
-
import { g as AuthenticationConfig, h as createAuthenticationActor, m as CreateAuthenticationActorOptions, p as AuthenticationActor, y as authenticationMachine } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { g as AuthenticationConfig, h as createAuthenticationActor, m as CreateAuthenticationActorOptions, p as AuthenticationActor, y as authenticationMachine } from "./faceCaptureManagerFactory-COWObGBr.js";
|
|
3
3
|
import "./warmup-4e5k___O.js";
|
|
4
4
|
import "./Manager-DsNvecSe.js";
|
|
5
5
|
import "./camera-Bzi6CMAW.js";
|
|
6
6
|
import "./Actor-D3GOC38V.js";
|
|
7
7
|
import "./StateMachine-BFurBmbZ.js";
|
|
8
8
|
import "./types-BHnsBsl_.js";
|
|
9
|
-
import "./types-
|
|
10
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
9
|
+
import "./types-BZcBRlI8.js";
|
|
10
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CsDKpKla.js";
|
|
11
11
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, p as AuthenticationActor, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { m as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, p as AuthenticationActor, t as FaceCaptureManager } from "./faceCaptureManagerFactory-COWObGBr.js";
|
|
2
2
|
import { t as Manager } from "./Manager-DsNvecSe.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DsNvecSe.js";
|
|
2
2
|
import "./camera-Bzi6CMAW.js";
|
|
3
3
|
import "./types-BHnsBsl_.js";
|
|
4
|
-
import { r as FlowModuleConfig } from "./types-
|
|
4
|
+
import { r as FlowModuleConfig } from "./types-BZcBRlI8.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/curp-validation/types.d.ts
|
|
7
7
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
@@ -62,7 +62,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
|
|
|
62
62
|
type: "stopStream";
|
|
63
63
|
params: xstate0.NonReducibleUnknown;
|
|
64
64
|
};
|
|
65
|
-
}>, never, never, "
|
|
65
|
+
}>, never, never, "initCamera" | "error" | "idle" | "capturing" | "closed" | "uploading" | "finished", string, DocumentUploadInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
|
|
66
66
|
readonly id: "documentUpload";
|
|
67
67
|
readonly initial: "idle";
|
|
68
68
|
readonly context: ({
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { S as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-
|
|
1
|
+
import { S as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-UIUJISQP.js";
|
|
2
2
|
import { a as IStorageCapability } from "./deepsightService-CP5OM4Fc.js";
|
|
3
|
-
import { C as WasmUtilConfig, S as VirtualCameraCheckOutput, b as BaseWasmProvider, c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine, x as IWasmUtilCapability } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { C as WasmUtilConfig, S as VirtualCameraCheckOutput, b as BaseWasmProvider, c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine, x as IWasmUtilCapability } from "./faceCaptureManagerFactory-COWObGBr.js";
|
|
4
4
|
import "./warmup-4e5k___O.js";
|
|
5
5
|
import "./Manager-DsNvecSe.js";
|
|
6
6
|
import "./camera-Bzi6CMAW.js";
|
|
7
7
|
import { n as createActor } from "./Actor-D3GOC38V.js";
|
|
8
8
|
import { r as fromPromise } from "./StateMachine-BFurBmbZ.js";
|
|
9
9
|
import "./types-BHnsBsl_.js";
|
|
10
|
-
import "./types-
|
|
11
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
12
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
10
|
+
import "./types-BZcBRlI8.js";
|
|
11
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-B3CAoqXl.js";
|
|
12
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CsDKpKla.js";
|
|
13
13
|
import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-DcYzBeT-.js";
|
|
14
14
|
import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BwJpxm-D.js";
|
|
15
15
|
|
|
@@ -6,7 +6,7 @@ import "./streamingEvents-BjxVqrJP.esm.js";
|
|
|
6
6
|
import "./deepsightService-Ca85OHZ-.esm.js";
|
|
7
7
|
import "./api-C2uzxrpN.esm.js";
|
|
8
8
|
import "./endpoints-IAlXA1zN.esm.js";
|
|
9
|
-
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
9
|
+
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-7mOidZiv.esm.js";
|
|
10
10
|
import "./stats-kLtQIgsA.esm.js";
|
|
11
11
|
import { n as faceCaptureMachine } from "./faceCaptureSetup-I9wFuT1d.esm.js";
|
|
12
12
|
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-IChdnUM9.esm.js";
|
package/dist/{faceCaptureManagerFactory-Dm3dO_r0.d.ts → faceCaptureManagerFactory-COWObGBr.d.ts}
RENAMED
|
@@ -4,7 +4,7 @@ import { t as Manager } from "./Manager-DsNvecSe.js";
|
|
|
4
4
|
import { t as CameraStream } from "./camera-Bzi6CMAW.js";
|
|
5
5
|
import { t as ActorRefFrom } from "./Actor-D3GOC38V.js";
|
|
6
6
|
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BFurBmbZ.js";
|
|
7
|
-
import { r as FlowModuleConfig, t as Flow } from "./types-
|
|
7
|
+
import { r as FlowModuleConfig, t as Flow } from "./types-BZcBRlI8.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/capabilities/IFaceDetectionCapability.d.ts
|
|
10
10
|
/**
|
package/dist/flow.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { t as Manager } from "./Manager-DsNvecSe.js";
|
|
|
3
3
|
import "./camera-Bzi6CMAW.js";
|
|
4
4
|
import { t as AnyStateMachine } from "./StateMachine-BFurBmbZ.js";
|
|
5
5
|
import "./types-BHnsBsl_.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-BZcBRlI8.js";
|
|
7
7
|
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-BiICW3B-.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/flow/flowUtils.d.ts
|
package/dist/id.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-
|
|
1
|
+
import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-UIUJISQP.js";
|
|
2
2
|
import { n as PermissionResult, r as PermissionStatus } from "./deepsightService-CP5OM4Fc.js";
|
|
3
3
|
import "./Manager-DsNvecSe.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-Bzi6CMAW.js";
|
|
5
5
|
import "./Actor-D3GOC38V.js";
|
|
6
6
|
import "./StateMachine-BFurBmbZ.js";
|
|
7
7
|
import "./types-BHnsBsl_.js";
|
|
8
|
-
import "./types-
|
|
8
|
+
import "./types-BZcBRlI8.js";
|
|
9
9
|
import "./index-Km_6UPBI.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 };
|
package/dist/id.esm.js
CHANGED
|
@@ -6,7 +6,7 @@ import "./streamingEvents-BjxVqrJP.esm.js";
|
|
|
6
6
|
import "./deepsightService-Ca85OHZ-.esm.js";
|
|
7
7
|
import "./api-C2uzxrpN.esm.js";
|
|
8
8
|
import "./endpoints-IAlXA1zN.esm.js";
|
|
9
|
-
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-
|
|
9
|
+
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-7mOidZiv.esm.js";
|
|
10
10
|
import "./stats-kLtQIgsA.esm.js";
|
|
11
11
|
import "./id-A_upgNRR.esm.js";
|
|
12
12
|
|
|
@@ -223,6 +223,31 @@ function resetSessionInit() {
|
|
|
223
223
|
resetFeatureConfigCache();
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
+
//#endregion
|
|
227
|
+
//#region src/modules/id/idCaptureHelpers.ts
|
|
228
|
+
/**
|
|
229
|
+
* Map of config properties received from the backend to adjusted, internal document types.
|
|
230
|
+
*/
|
|
231
|
+
const DOCUMENT_TYPES_CONFIG_TO_ADJUSTED_MAP = [
|
|
232
|
+
["enableId", "id"],
|
|
233
|
+
["enablePassport", "passport"],
|
|
234
|
+
["manualUploadIdCapture", "manualIdUpload"],
|
|
235
|
+
["digitalIdsUpload", "digitalIdUpload"],
|
|
236
|
+
["deviceWallet", "digitalId"]
|
|
237
|
+
];
|
|
238
|
+
/**
|
|
239
|
+
* Returns the list of document types enabled by config for the chooser screen, in display order.
|
|
240
|
+
* Used to populate chooser state so UI and headless consumers can render the correct options.
|
|
241
|
+
*
|
|
242
|
+
* @param config - ID capture configuration (from flow or init)
|
|
243
|
+
* @returns Array of IdDocumentType values that should be shown in the document type chooser
|
|
244
|
+
*/
|
|
245
|
+
function getAvailableDocumentTypes(config) {
|
|
246
|
+
const adjustedDocumentTypes = [];
|
|
247
|
+
for (const [configProperty, adjustedType] of DOCUMENT_TYPES_CONFIG_TO_ADJUSTED_MAP) if (config[configProperty]) adjustedDocumentTypes.push(adjustedType);
|
|
248
|
+
return adjustedDocumentTypes;
|
|
249
|
+
}
|
|
250
|
+
|
|
226
251
|
//#endregion
|
|
227
252
|
//#region src/modules/id/types.ts
|
|
228
253
|
const ID_ERROR_CODES = {
|
|
@@ -1408,7 +1433,8 @@ const _idCaptureMachine = setup({
|
|
|
1408
1433
|
analyticsProvider: input.analyticsProvider,
|
|
1409
1434
|
dependencies: input.dependencies,
|
|
1410
1435
|
disableIpify: getDisableIpify(),
|
|
1411
|
-
deepsightInitAttempted: false
|
|
1436
|
+
deepsightInitAttempted: false,
|
|
1437
|
+
availableDocumentTypes: getAvailableDocumentTypes(input.config)
|
|
1412
1438
|
};
|
|
1413
1439
|
},
|
|
1414
1440
|
on: {
|
|
@@ -2119,7 +2145,10 @@ function getErrorDescription(errorCode, uploadResponse) {
|
|
|
2119
2145
|
function mapState(snapshot) {
|
|
2120
2146
|
const { context } = snapshot;
|
|
2121
2147
|
if (snapshot.matches("idle")) return { status: "idle" };
|
|
2122
|
-
if (snapshot.matches("chooser")) return {
|
|
2148
|
+
if (snapshot.matches("chooser")) return {
|
|
2149
|
+
status: "chooser",
|
|
2150
|
+
availableDocumentTypes: context.availableDocumentTypes
|
|
2151
|
+
};
|
|
2123
2152
|
if (snapshot.matches("loading")) return { status: "loading" };
|
|
2124
2153
|
if (snapshot.matches("tutorial")) return {
|
|
2125
2154
|
status: "tutorial",
|
|
@@ -3,7 +3,7 @@ import { t as Manager } from "./Manager-DsNvecSe.js";
|
|
|
3
3
|
import { t as CameraStream } from "./camera-Bzi6CMAW.js";
|
|
4
4
|
import { t as ActorRefFrom } from "./Actor-D3GOC38V.js";
|
|
5
5
|
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BFurBmbZ.js";
|
|
6
|
-
import { i as TutorialIdConfig, t as Flow } from "./types-
|
|
6
|
+
import { i as TutorialIdConfig, t as Flow } from "./types-BZcBRlI8.js";
|
|
7
7
|
|
|
8
8
|
//#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
|
|
9
9
|
interface IAnalyticsCapability {
|
|
@@ -165,7 +165,11 @@ interface IIdCaptureCapability extends IMLProviderCapability<IdCaptureConfig$1>
|
|
|
165
165
|
//#endregion
|
|
166
166
|
//#region src/modules/id/types.d.ts
|
|
167
167
|
type IdCaptureMode = 'front' | 'back' | 'passport';
|
|
168
|
-
|
|
168
|
+
/**
|
|
169
|
+
* Document type options for the ID capture chooser (ID, passport, manual ID upload, digital ID upload, digital ID from device wallet).
|
|
170
|
+
* Used for selection and for the list of available options derived from config.
|
|
171
|
+
*/
|
|
172
|
+
type IdDocumentType = 'id' | 'passport' | 'manualIdUpload' | 'digitalIdUpload' | 'digitalId';
|
|
169
173
|
type IdFlowStep = 'chooser' | 'tutorial' | 'permissions' | 'capture' | 'frontFinished' | 'backFinished' | 'success' | 'processing' | 'expired' | 'finished' | 'error' | 'closed' | 'manualIdUpload' | 'digitalIdUpload';
|
|
170
174
|
type DetectionStatus = 'idle' | 'detecting' | 'farAway' | 'blur' | 'glare' | 'wrongSide' | 'capturing' | 'manualCapture' | 'idNotDetected' | 'offline';
|
|
171
175
|
/**
|
|
@@ -331,6 +335,7 @@ type IdCaptureContext = {
|
|
|
331
335
|
dependencies: IdCaptureDependencies | undefined;
|
|
332
336
|
disableIpify: boolean;
|
|
333
337
|
deepsightInitAttempted: boolean;
|
|
338
|
+
availableDocumentTypes: IdDocumentType[];
|
|
334
339
|
};
|
|
335
340
|
type IdCaptureEvent = {
|
|
336
341
|
type: 'LOAD';
|
|
@@ -504,6 +509,7 @@ type IdCaptureIdleState = {
|
|
|
504
509
|
};
|
|
505
510
|
type IdCaptureChooserState = {
|
|
506
511
|
status: 'chooser';
|
|
512
|
+
availableDocumentTypes: IdDocumentType[];
|
|
507
513
|
};
|
|
508
514
|
type IdCaptureLoadingState = {
|
|
509
515
|
status: 'loading';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-
|
|
1
|
+
import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-UIUJISQP.js";
|
|
2
2
|
import { n as PermissionResult, r as PermissionStatus } from "./deepsightService-CP5OM4Fc.js";
|
|
3
3
|
import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-4e5k___O.js";
|
|
4
4
|
import "./Manager-DsNvecSe.js";
|
|
@@ -6,7 +6,7 @@ import { t as CameraStream } from "./camera-Bzi6CMAW.js";
|
|
|
6
6
|
import "./Actor-D3GOC38V.js";
|
|
7
7
|
import "./StateMachine-BFurBmbZ.js";
|
|
8
8
|
import "./types-BHnsBsl_.js";
|
|
9
|
-
import "./types-
|
|
9
|
+
import "./types-BZcBRlI8.js";
|
|
10
10
|
import "./index-Km_6UPBI.js";
|
|
11
11
|
|
|
12
12
|
//#region ../infra/src/capabilities/IScreenOrientationCapability.d.ts
|
package/dist/index.esm.js
CHANGED
|
@@ -6,7 +6,7 @@ import { c as createScreenOrientationObserver, l as getDeviceClass, o as checkPe
|
|
|
6
6
|
import "./deepsightService-Ca85OHZ-.esm.js";
|
|
7
7
|
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-C2uzxrpN.esm.js";
|
|
8
8
|
import "./endpoints-IAlXA1zN.esm.js";
|
|
9
|
-
import { _ as resetSessionInit, a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, g as isSessionInitialized, h as initializeSession, i as idCaptureMachine, l as stopStream, m as getSessionFeatures, o as processId, p as getDisableIpify, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage, v as createSession } from "./idCaptureManager-
|
|
9
|
+
import { _ as resetSessionInit, a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, g as isSessionInitialized, h as initializeSession, i as idCaptureMachine, l as stopStream, m as getSessionFeatures, o as processId, p as getDisableIpify, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage, v as createSession } from "./idCaptureManager-7mOidZiv.esm.js";
|
|
10
10
|
import "./stats-kLtQIgsA.esm.js";
|
|
11
11
|
import "./id-A_upgNRR.esm.js";
|
|
12
12
|
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as PermissionResult, r as PermissionStatus, t as DeepsightService } from "./deepsightService-CP5OM4Fc.js";
|
|
2
|
-
import { _ as DetectionStatus, a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as FaceErrorCode } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { _ as DetectionStatus, a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as FaceErrorCode } from "./faceCaptureManagerFactory-COWObGBr.js";
|
|
3
3
|
import "./warmup-4e5k___O.js";
|
|
4
4
|
import "./Manager-DsNvecSe.js";
|
|
5
5
|
import { t as CameraStream } from "./camera-Bzi6CMAW.js";
|
|
6
6
|
import "./Actor-D3GOC38V.js";
|
|
7
7
|
import "./StateMachine-BFurBmbZ.js";
|
|
8
8
|
import "./types-BHnsBsl_.js";
|
|
9
|
-
import "./types-
|
|
10
|
-
import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
9
|
+
import "./types-BZcBRlI8.js";
|
|
10
|
+
import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-B3CAoqXl.js";
|
|
11
11
|
export { type CameraStream, type DeepsightService, type DetectionStatus, type FaceErrorCode, type PermissionResult, type PermissionStatus, type ProcessFaceResponse, type SelfieConfig, type SelfieMachine, type SelfieManager, type SelfieState, createSelfieManager, processFace, selfieMachine };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as SelfieActor, n as FaceCaptureManagerState, r as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { i as SelfieActor, n as FaceCaptureManagerState, r as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-COWObGBr.js";
|
|
2
2
|
import { t as Manager } from "./Manager-DsNvecSe.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/selfie/selfieUploadService.d.ts
|