@incodetech/core 2.0.0-alpha.8 → 2.0.0-rc.0
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/Actor-CI32dTbG.d.ts +2 -0
- package/dist/BaseWasmProvider-C_DLEI40.esm.js +1118 -0
- package/dist/BrowserStorageProvider-CuOW1Er2.esm.js +55 -0
- package/dist/BrowserTimerProvider-DhNc_x02.esm.js +22 -0
- package/dist/ITimerCapability-C67ZRskg.esm.js +7 -0
- package/dist/IpifyProvider-D7jx52AL.esm.js +139 -0
- package/dist/MotionSensorProvider-4v7xkqAp.esm.js +254 -0
- package/dist/OpenViduRecordingProvider-CMu6XVdc.esm.js +87 -0
- package/dist/StateMachine-BCQrZJhf.d.ts +2 -0
- package/dist/WasmUtilProvider-j98OJf-S.esm.js +114 -0
- package/dist/addressSearch-BpTbTWCa.esm.js +430 -0
- package/dist/ae-signature-DDDZmWXj.esm.js +12 -0
- package/dist/ae-signature.d.ts +25 -0
- package/dist/ae-signature.esm.js +8 -0
- package/dist/antifraud.d.ts +57 -0
- package/dist/antifraud.esm.js +45 -0
- package/dist/antifraudStateMachine-O0TMf6yc.esm.js +39 -0
- package/dist/api-CESGtpbH.esm.js +53 -0
- package/dist/authentication.d.ts +12 -0
- package/dist/authentication.esm.js +25 -0
- package/dist/authenticationManager-5M-fKzXx.esm.js +67 -0
- package/dist/authenticationManager-C83GNIhl.d.ts +66 -0
- package/dist/authenticationStateMachine-BMZqatiF.esm.js +139 -0
- package/dist/backCameraStream-DMdMeGk2.esm.js +346 -0
- package/dist/browserSimulation-gxD8cSpM.esm.js +20 -0
- package/dist/camera-DBSxa6ML.d.ts +4 -0
- package/dist/camera-PA2Ljri3.esm.js +22 -0
- package/dist/camera.d.ts +15 -0
- package/dist/camera.esm.js +5 -0
- package/dist/consent.d.ts +398 -0
- package/dist/consent.esm.js +79 -0
- package/dist/consentStateMachine-CCT-B60O.esm.js +151 -0
- package/dist/cpf-PPz2Njto.esm.js +38 -0
- package/dist/cpf-ocr.d.ts +204 -0
- package/dist/cpf-ocr.esm.js +177 -0
- package/dist/cross-document-data-match.d.ts +34 -0
- package/dist/cross-document-data-match.esm.js +71 -0
- package/dist/curp-validation.d.ts +188 -0
- package/dist/curp-validation.esm.js +110 -0
- package/dist/curpValidationStateMachine-CitWLr2c.esm.js +595 -0
- package/dist/custom-fields.d.ts +115 -0
- package/dist/custom-fields.esm.js +177 -0
- package/dist/custom-watchlist.d.ts +66 -0
- package/dist/custom-watchlist.esm.js +86 -0
- package/dist/dateUtils-UoN5xswP.esm.js +23 -0
- package/dist/deepsightLoader-Cm4JIT_z.esm.js +52 -0
- package/dist/deepsightService-CEVxzehb.d.ts +412 -0
- package/dist/deepsightService-O74l4Y__.esm.js +489 -0
- package/dist/device.d.ts +46 -0
- package/dist/device.esm.js +106 -0
- package/dist/displayErrors-DqJ_IbsG.d.ts +39 -0
- package/dist/document-capture.d.ts +906 -0
- package/dist/document-capture.esm.js +156 -0
- package/dist/document-upload.d.ts +331 -0
- package/dist/document-upload.esm.js +203 -0
- package/dist/documentCaptureStateMachine-BqzTDy9k.esm.js +394 -0
- package/dist/dynamic-forms.d.ts +178 -0
- package/dist/dynamic-forms.esm.js +323 -0
- package/dist/ekyb.d.ts +148 -0
- package/dist/ekyb.esm.js +127 -0
- package/dist/ekybStateMachine-B59rQjgj.esm.js +674 -0
- package/dist/ekyc.d.ts +164 -0
- package/dist/ekyc.esm.js +104 -0
- package/dist/ekycStateMachine-oeO0Iekd.esm.js +10626 -0
- package/dist/electronic-signature.d.ts +4 -0
- package/dist/electronic-signature.esm.js +7 -0
- package/dist/electronicSignatureManager-D9OHzTpG.esm.js +428 -0
- package/dist/email.d.ts +3 -263
- package/dist/email.esm.js +7 -477
- package/dist/emailManager-DIfnS5g1.d.ts +352 -0
- package/dist/emailManager-wAV0LE-H.esm.js +238 -0
- package/dist/emailStateMachine-DOf4j58N.esm.js +292 -0
- package/dist/endpoints-CnN3SyDa.esm.js +87 -0
- package/dist/events-D6-e4vok.esm.js +596 -0
- package/dist/events.d.ts +265 -0
- package/dist/events.esm.js +4 -0
- package/dist/extensibility.d.ts +122 -0
- package/dist/extensibility.esm.js +43 -0
- package/dist/face-match.d.ts +228 -0
- package/dist/face-match.esm.js +173 -0
- package/dist/faceCaptureManagerFactory-Dh2PdGlF.esm.js +290 -0
- package/dist/faceCaptureManagerFactory-yqtpxjnN.d.ts +690 -0
- package/dist/faceCaptureSetup-B3faSpYA.esm.js +873 -0
- package/dist/faceMatchStateMachine-DNFrxTFS.esm.js +127 -0
- package/dist/flow-events.d.ts +6 -0
- package/dist/flow-events.esm.js +0 -0
- package/dist/flow.d.ts +101 -321
- package/dist/flow.esm.js +370 -173
- package/dist/flowCompletionService-DhkT4SRY.d.ts +10 -0
- package/dist/flowCompletionService-P54yzGvA.esm.js +13 -0
- package/dist/flowServices-DTsm-Vf1.esm.js +188 -0
- package/dist/geolocation.d.ts +127 -0
- package/dist/geolocation.esm.js +89 -0
- package/dist/geolocationStateMachine-asasuHY2.esm.js +105 -0
- package/dist/getBrowser-BSXUTWXw.esm.js +41 -0
- package/dist/getDeviceClass-BSntT9_j.esm.js +14 -0
- package/dist/government-validation.d.ts +67 -0
- package/dist/government-validation.esm.js +81 -0
- package/dist/governmentValidationStateMachine-BDDYrJTo.esm.js +271 -0
- package/dist/home.d.ts +99 -0
- package/dist/home.esm.js +61 -0
- package/dist/http.d.ts +68 -0
- package/dist/http.esm.js +3 -0
- package/dist/id-ocr.d.ts +635 -0
- package/dist/id-ocr.esm.js +86 -0
- package/dist/id-verification.d.ts +190 -0
- package/dist/id-verification.esm.js +43 -0
- package/dist/id.d.ts +24 -0
- package/dist/id.esm.js +164 -0
- package/dist/idCaptureManager-B9TGA5dq.d.ts +956 -0
- package/dist/idCaptureManager-DMK0GIt3.esm.js +581 -0
- package/dist/idCaptureStateMachine-Bq0fVZXl.esm.js +2954 -0
- package/dist/idOcrStateMachine-YbjjC_Gg.esm.js +388 -0
- package/dist/idVerificationStateMachine-xbw9HP1Z.esm.js +71 -0
- package/dist/identity-reuse.d.ts +530 -0
- package/dist/identity-reuse.esm.js +274 -0
- package/dist/index-BLKtMA0g.d.ts +1177 -0
- package/dist/index-BcRG8rtJ.d.ts +97 -0
- package/dist/index.d.ts +3 -226
- package/dist/index.esm.js +11 -154
- package/dist/invokeOnCaptureCallback-rc6kBHo5.esm.js +30 -0
- package/dist/{lib-Bu9XGMBW.esm.js → lib-BB0B_qQX.esm.js} +801 -2
- package/dist/mandatory-consent.d.ts +412 -0
- package/dist/mandatory-consent.esm.js +78 -0
- package/dist/mandatoryConsentStateMachine-Cnco1jvn.esm.js +126 -0
- package/dist/openviduLazy-Cm0XFh_v.esm.js +3 -0
- package/dist/openviduLazy-Cok70ZSg.esm.js +12 -0
- package/dist/permissionServices-D_i6nzEw.esm.js +50 -0
- package/dist/phone.d.ts +3 -291
- package/dist/phone.esm.js +7 -548
- package/dist/phoneManager-B6M30hKE.d.ts +397 -0
- package/dist/phoneManager-DAJbGhlY.esm.js +256 -0
- package/dist/phoneStateMachine-CuPARRaT.esm.js +351 -0
- package/dist/platform-CfrjKhmi.esm.js +83 -0
- package/dist/qe-signature-DFo_Cc-I.esm.js +12 -0
- package/dist/qe-signature.d.ts +25 -0
- package/dist/qe-signature.esm.js +8 -0
- package/dist/recordingService-Ig2UgbLv.esm.js +1003 -0
- package/dist/redirect-to-mobile.d.ts +107 -0
- package/dist/redirect-to-mobile.esm.js +102 -0
- package/dist/redirectToMobileStateMachine-BOEqe46A.esm.js +249 -0
- package/dist/runChildModule-CqqwqAkW.esm.js +219 -0
- package/dist/selfie.d.ts +21 -754
- package/dist/selfie.esm.js +113 -962
- package/dist/selfieManager-D0lSgd-J.d.ts +68 -0
- package/dist/selfieManager-Duisl7qN.esm.js +60 -0
- package/dist/selfieStateMachine-D76whWEf.esm.js +68 -0
- package/dist/session-BS-d_vuE.esm.js +3206 -0
- package/dist/session.d.ts +217 -0
- package/dist/session.esm.js +9 -0
- package/dist/setup-Buy-hyj4.esm.js +887 -0
- package/dist/setup-C5AITV8m.d.ts +254 -0
- package/dist/signature.d.ts +94 -0
- package/dist/signature.esm.js +66 -0
- package/dist/signatureStateMachine-B5-QVUve.esm.js +132 -0
- package/dist/stats-CIfiPzb1.esm.js +16 -0
- package/dist/stats.d.ts +16 -0
- package/dist/stats.esm.js +4 -0
- package/dist/trust-graph.d.ts +54 -0
- package/dist/trust-graph.esm.js +56 -0
- package/dist/types-B06Ypu2F.d.ts +49 -0
- package/dist/types-BP1m8VRw.d.ts +340 -0
- package/dist/types-CFV9G_7j.d.ts +24 -0
- package/dist/{warmup-CEJTfxQr.d.ts → warmup-CEcppFiS.d.ts} +11 -3
- package/dist/wasm.d.ts +15 -0
- package/dist/wasm.esm.js +12 -0
- package/dist/watchlist-for-business.d.ts +79 -0
- package/dist/watchlist-for-business.esm.js +148 -0
- package/dist/watchlist.d.ts +62 -0
- package/dist/watchlist.esm.js +86 -0
- package/dist/watchlistServices-DMbUhkBX.esm.js +12 -0
- package/dist/workflow.d.ts +907 -0
- package/dist/workflow.esm.js +702 -0
- package/dist/{xstate.esm-B_rda9yU.esm.js → xstate.esm-B70JrNqo.esm.js} +144 -1
- package/package.json +203 -6
- package/dist/OpenViduLogger-BdPfiZO6.esm.js +0 -3
- package/dist/OpenViduLogger-CQyDxBvM.esm.js +0 -803
- package/dist/StateMachine-DRE1oH2B.d.ts +0 -2
- package/dist/addEvent-W0ORK0jT.esm.js +0 -16
- package/dist/endpoints-BSTFaHYo.esm.js +0 -1706
- package/dist/permissionServices-I6vX6DBy.esm.js +0 -72
- /package/dist/{Manager-BGfxEmyv.d.ts → Manager-C8PrhBOx.d.ts} +0 -0
- /package/dist/{chunk-C_Yo44FK.esm.js → chunk-CRF6K_H_.esm.js} +0 -0
- /package/dist/{types-iZi2rawo.d.ts → types-CAD4va6a.d.ts} +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { t as Manager } from "./Manager-C8PrhBOx.js";
|
|
2
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-yqtpxjnN.js";
|
|
3
|
+
|
|
4
|
+
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
5
|
+
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
|
6
|
+
type ProcessFaceResponse = {
|
|
7
|
+
faceMatch: boolean;
|
|
8
|
+
confidence: number;
|
|
9
|
+
existingUser: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare function processFace(imageType?: ProcessFaceImageType, signal?: AbortSignal): Promise<ProcessFaceResponse>;
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/modules/selfie/selfieManager.d.ts
|
|
14
|
+
type SelfieState = FaceCaptureManagerState;
|
|
15
|
+
declare function createSelfieManagerFromActor(actor: SelfieActor): Manager<FaceCaptureManagerState> & {
|
|
16
|
+
load(): void;
|
|
17
|
+
nextStep(): void;
|
|
18
|
+
requestPermission(): void;
|
|
19
|
+
goToLearnMore(): void;
|
|
20
|
+
back(): void;
|
|
21
|
+
close(): void;
|
|
22
|
+
reset(): void;
|
|
23
|
+
retryCapture(): void;
|
|
24
|
+
capture(): void;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Creates a selfie manager instance for handling selfie capture flow.
|
|
28
|
+
*
|
|
29
|
+
* The selfie manager provides:
|
|
30
|
+
* - State management with statuses: `idle`, `loading`, `tutorial`, `permissions`, `capture`, `finished`, `closed`, `error`
|
|
31
|
+
* - Permission handling with nested states: `idle`, `requesting`, `denied`, `learnMore`
|
|
32
|
+
* - Capture handling with nested states: `initializing`, `startingRecorder`, `recordingActive`, `detecting`, `capturing`, `uploading`, `uploadError`, `success`
|
|
33
|
+
* - Camera stream access when in `capture` state
|
|
34
|
+
* - Detection status feedback during face detection
|
|
35
|
+
* - Attempt tracking with `attemptsRemaining`
|
|
36
|
+
*
|
|
37
|
+
* @param options - Configuration for the selfie actor
|
|
38
|
+
* @param options.config - The selfie module configuration from the flow
|
|
39
|
+
* @returns A manager instance with state subscription, API methods, and lifecycle controls
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const selfieManager = createSelfieManager({ config: selfieConfig });
|
|
44
|
+
*
|
|
45
|
+
* selfieManager.subscribe((state) => {
|
|
46
|
+
* if (state.status === 'capture') {
|
|
47
|
+
* console.log('Camera ready:', state.stream);
|
|
48
|
+
* console.log('Detection status:', state.detectionStatus);
|
|
49
|
+
* }
|
|
50
|
+
* });
|
|
51
|
+
*
|
|
52
|
+
* selfieManager.load();
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
declare function createSelfieManager(options: CreateSelfieActorOptions): Manager<FaceCaptureManagerState> & {
|
|
56
|
+
load(): void;
|
|
57
|
+
nextStep(): void;
|
|
58
|
+
requestPermission(): void;
|
|
59
|
+
goToLearnMore(): void;
|
|
60
|
+
back(): void;
|
|
61
|
+
close(): void;
|
|
62
|
+
reset(): void;
|
|
63
|
+
retryCapture(): void;
|
|
64
|
+
capture(): void;
|
|
65
|
+
};
|
|
66
|
+
type SelfieManager = FaceCaptureManager;
|
|
67
|
+
//#endregion
|
|
68
|
+
export { ProcessFaceResponse as a, createSelfieManagerFromActor as i, SelfieState as n, processFace as o, createSelfieManager as r, SelfieManager as t };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-j98OJf-S.esm.js";
|
|
2
|
+
import { n as eventModuleNames } from "./events-D6-e4vok.esm.js";
|
|
3
|
+
import { s as createActor } from "./xstate.esm-B70JrNqo.esm.js";
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dh2PdGlF.esm.js";
|
|
5
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CuOW1Er2.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-D76whWEf.esm.js";
|
|
7
|
+
|
|
8
|
+
//#region src/modules/selfie/selfieActor.ts
|
|
9
|
+
function createSelfieActor(options) {
|
|
10
|
+
const dependencies = options.dependencies ?? {
|
|
11
|
+
storage: new BrowserStorageProvider(),
|
|
12
|
+
getWasmUtil: () => WasmUtilProvider.getInstance()
|
|
13
|
+
};
|
|
14
|
+
return createActor(selfieMachine, { input: {
|
|
15
|
+
config: options.config,
|
|
16
|
+
dependencies,
|
|
17
|
+
authHint: options.authHint
|
|
18
|
+
} }).start();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/modules/selfie/selfieManager.ts
|
|
23
|
+
function createSelfieManagerFromActor(actor) {
|
|
24
|
+
return createFaceCaptureManagerFromActor(actor, eventModuleNames.faceCapture);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Creates a selfie manager instance for handling selfie capture flow.
|
|
28
|
+
*
|
|
29
|
+
* The selfie manager provides:
|
|
30
|
+
* - State management with statuses: `idle`, `loading`, `tutorial`, `permissions`, `capture`, `finished`, `closed`, `error`
|
|
31
|
+
* - Permission handling with nested states: `idle`, `requesting`, `denied`, `learnMore`
|
|
32
|
+
* - Capture handling with nested states: `initializing`, `startingRecorder`, `recordingActive`, `detecting`, `capturing`, `uploading`, `uploadError`, `success`
|
|
33
|
+
* - Camera stream access when in `capture` state
|
|
34
|
+
* - Detection status feedback during face detection
|
|
35
|
+
* - Attempt tracking with `attemptsRemaining`
|
|
36
|
+
*
|
|
37
|
+
* @param options - Configuration for the selfie actor
|
|
38
|
+
* @param options.config - The selfie module configuration from the flow
|
|
39
|
+
* @returns A manager instance with state subscription, API methods, and lifecycle controls
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const selfieManager = createSelfieManager({ config: selfieConfig });
|
|
44
|
+
*
|
|
45
|
+
* selfieManager.subscribe((state) => {
|
|
46
|
+
* if (state.status === 'capture') {
|
|
47
|
+
* console.log('Camera ready:', state.stream);
|
|
48
|
+
* console.log('Detection status:', state.detectionStatus);
|
|
49
|
+
* }
|
|
50
|
+
* });
|
|
51
|
+
*
|
|
52
|
+
* selfieManager.load();
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
function createSelfieManager(options) {
|
|
56
|
+
return createFaceCaptureManagerFromActor(createSelfieActor(options), eventModuleNames.faceCapture);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
export { createSelfieManagerFromActor as n, createSelfieManager as t };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { a as fromPromise, r as assign } from "./xstate.esm-B70JrNqo.esm.js";
|
|
2
|
+
import { a as prepareOnDeviceFaceUpload, i as postOnDeviceFaceResults, n as defaultPrepareFaceUpload, r as isOnDeviceMode, t as faceCaptureMachine } from "./faceCaptureSetup-B3faSpYA.esm.js";
|
|
3
|
+
import { f as processFace, m as FACE_ERROR_CODES, p as uploadSelfie } from "./recordingService-Ig2UgbLv.esm.js";
|
|
4
|
+
|
|
5
|
+
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
6
|
+
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
7
|
+
const validateUploadResponse = ({ config, response }) => {
|
|
8
|
+
if (!response) return FACE_ERROR_CODES.SERVER;
|
|
9
|
+
if (response.confidence !== 0) return FACE_ERROR_CODES.LIVENESS;
|
|
10
|
+
if (config.validateBrightness && !response.isBright) return FACE_ERROR_CODES.BRIGHTNESS;
|
|
11
|
+
if (config.validateLenses && response.hasLenses) return FACE_ERROR_CODES.LENSES;
|
|
12
|
+
if (config.validateFaceMask && response.hasFaceMask) return FACE_ERROR_CODES.MASK;
|
|
13
|
+
if (config.validateClosedEyes && response.hasClosedEyes) return FACE_ERROR_CODES.CLOSED_EYES;
|
|
14
|
+
if (config.validateHeadCover && response.hasHeadCover) return FACE_ERROR_CODES.HEAD_COVER;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/modules/selfie/selfieStateMachine.ts
|
|
19
|
+
const _selfieMachine = faceCaptureMachine.provide({
|
|
20
|
+
actors: {
|
|
21
|
+
prepareFaceUpload: fromPromise(async ({ input }) => {
|
|
22
|
+
const ctx = input;
|
|
23
|
+
return isOnDeviceMode(ctx.config) ? prepareOnDeviceFaceUpload(ctx) : defaultPrepareFaceUpload(ctx);
|
|
24
|
+
}),
|
|
25
|
+
uploadFace: fromPromise(async ({ input, signal }) => {
|
|
26
|
+
const ctx = input;
|
|
27
|
+
if (isOnDeviceMode(ctx.config)) return postOnDeviceFaceResults(ctx, signal);
|
|
28
|
+
return uploadSelfie({
|
|
29
|
+
encryptedBase64Image: ctx.encryptedBase64Image,
|
|
30
|
+
faceCoordinates: ctx.faceCoordinates,
|
|
31
|
+
metadata: ctx.deepsightService?.getMetadata(),
|
|
32
|
+
recordingId: ctx.uploadRecordingId,
|
|
33
|
+
signal
|
|
34
|
+
});
|
|
35
|
+
}),
|
|
36
|
+
processFace: fromPromise(async ({ input, signal }) => {
|
|
37
|
+
if (isOnDeviceMode(input.config)) return {};
|
|
38
|
+
return processFace("selfie", signal);
|
|
39
|
+
})
|
|
40
|
+
},
|
|
41
|
+
actions: { setUploadErrorFromUploadValidation: assign({ uploadError: ({ context }) => {
|
|
42
|
+
if (isOnDeviceMode(context.config)) return;
|
|
43
|
+
return validateUploadResponse({
|
|
44
|
+
config: context.config,
|
|
45
|
+
response: context.uploadResponse
|
|
46
|
+
}) ?? FACE_ERROR_CODES.SERVER;
|
|
47
|
+
} }) },
|
|
48
|
+
guards: {
|
|
49
|
+
hasUploadValidationError: ({ context }) => {
|
|
50
|
+
if (isOnDeviceMode(context.config)) return false;
|
|
51
|
+
return validateUploadResponse({
|
|
52
|
+
config: context.config,
|
|
53
|
+
response: context.uploadResponse
|
|
54
|
+
}) !== void 0;
|
|
55
|
+
},
|
|
56
|
+
isTerminalUploadError: () => false
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
/**
|
|
60
|
+
* The selfie capture state machine.
|
|
61
|
+
*
|
|
62
|
+
* Note: Uses AnyStateMachine type for declaration file portability.
|
|
63
|
+
* Type safety is ensured via the machine configuration.
|
|
64
|
+
*/
|
|
65
|
+
const selfieMachine = _selfieMachine;
|
|
66
|
+
|
|
67
|
+
//#endregion
|
|
68
|
+
export { selfieMachine as t };
|