@incodetech/core 0.0.0-dev-20260527-b7418cbd → 0.0.0-dev-20260527-e762b8ad
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/{OpenViduRecordingProvider-BW0alKwg.esm.js → OpenViduRecordingProvider-Cu6iha-l.esm.js} +1 -1
- package/dist/{ae-signature-D7lRwRzD.esm.js → ae-signature-CDCW3z6k.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +3 -2
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +1 -1
- package/dist/apiError-CH9VyBh5.esm.js +51 -0
- package/dist/authentication.d.ts +12 -12
- package/dist/authentication.esm.js +14 -14
- package/dist/{authenticationManager-CZz9Oc3h.d.ts → authenticationManager-CXwDnFxJ.d.ts} +2 -2
- package/dist/{authenticationManager-BXYtdLzK.esm.js → authenticationManager-gRC1sCEb.esm.js} +3 -3
- package/dist/{authenticationStateMachine-CYB8jFSq.esm.js → authenticationStateMachine-TIrvdOEV.esm.js} +3 -3
- package/dist/{backCameraStream-DWPmJ84R.esm.js → backCameraStream-5q1r2W2q.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +49 -49
- package/dist/consent.esm.js +1 -1
- package/dist/cpf-ocr.d.ts +18 -18
- package/dist/cpf-ocr.esm.js +1 -1
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/curp-validation.d.ts +6 -6
- package/dist/curp-validation.esm.js +1 -1
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +1 -1
- package/dist/{deepsightLoader-DBoIcGmB.esm.js → deepsightLoader-oQnIw3yy.esm.js} +4 -4
- package/dist/{deepsightService-DsDyoggy.d.ts → deepsightService-CiNHvOj0.d.ts} +2 -2
- package/dist/{deepsightService-CpuKvsN7.esm.js → deepsightService-DgmtJnVh.esm.js} +2 -2
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +71 -71
- package/dist/document-capture.esm.js +4 -4
- package/dist/document-upload.d.ts +44 -44
- package/dist/document-upload.esm.js +3 -3
- package/dist/{documentCaptureStateMachine-DZjFLB0M.esm.js → documentCaptureStateMachine-Ct2kC1XA.esm.js} +2 -2
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +1 -1
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +6 -5
- package/dist/{ekybStateMachine-B2ZeI55j.esm.js → ekybStateMachine-Dprv83b-.esm.js} +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-DTkjnDHv.esm.js → ekycStateMachine-CDOMcZGt.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +2 -1
- package/dist/{electronicSignatureManager-Bzx7cMGR.esm.js → electronicSignatureManager-DeXWxqNA.esm.js} +49 -11
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-Du60Gnqg.esm.js → emailManager-CetA61j7.esm.js} +1 -1
- package/dist/{emailManager-VSV3VG9_.d.ts → emailManager-DWX4Mm5F.d.ts} +2 -2
- package/dist/extensibility.d.ts +16 -16
- package/dist/extensibility.esm.js +25 -24
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-D-RCJEQy.d.ts → faceCaptureManagerFactory-BodYisaN.d.ts} +8 -8
- package/dist/{faceCaptureManagerFactory-B8nSvH2S.esm.js → faceCaptureManagerFactory-GCqj24xa.esm.js} +2 -2
- package/dist/{faceCaptureSetup-CsXtJXEY.esm.js → faceCaptureSetup-B9RFaTgo.esm.js} +2 -2
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +6 -5
- package/dist/{flowCompletionService-B3AdSk69.esm.js → flowCompletionService-D3jTfJDC.esm.js} +1 -1
- package/dist/{flowServices-IF8xohdN.esm.js → flowServices-CVBVe9fh.esm.js} +2 -2
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +1 -1
- package/dist/{getDeviceClass-Cth-3Wjt.esm.js → getDeviceClass-B6U_P2pO.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +1 -1
- package/dist/home.d.ts +15 -15
- package/dist/id-ocr.d.ts +57 -57
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +11 -11
- package/dist/id.esm.js +16 -15
- package/dist/{idCaptureManager-G4x8a9jr.esm.js → idCaptureManager-BM3xxi1m.esm.js} +3 -3
- package/dist/{idCaptureManager-DnkNEBOQ.d.ts → idCaptureManager-Bvw3NEhH.d.ts} +7 -7
- package/dist/{idCaptureStateMachine-B1SDR_su.esm.js → idCaptureStateMachine-DyPzyGnm.esm.js} +9 -9
- package/dist/{idOcrStateMachine-BOqQUm99.esm.js → idOcrStateMachine-can5Er3s.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +36 -36
- package/dist/identity-reuse.esm.js +1 -1
- package/dist/{index-W2B4aSBn.d.ts → index-DZlhNAOR.d.ts} +2 -2
- package/dist/{index-ab9woRUg.d.ts → index-xu3NbUht.d.ts} +183 -122
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +56 -56
- package/dist/mandatory-consent.esm.js +1 -1
- package/dist/{openviduLazy-BTRIs-RB.esm.js → openviduLazy-CO59qUvG.esm.js} +1 -1
- package/dist/openviduLazy-DbNAreZz.esm.js +3 -0
- package/dist/{permissionServices-D6OV8ebE.esm.js → permissionServices-4py90m2a.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-BGrHrvUi.esm.js → phoneManager-0ec4qDAL.esm.js} +1 -1
- package/dist/{phoneManager-CAxxveoW.d.ts → phoneManager-BYkD5xRV.d.ts} +2 -2
- package/dist/{qe-signature-DN2lfUZG.esm.js → qe-signature-DiXt5xMf.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +3 -2
- package/dist/{recordingService-C9siiy5u.esm.js → recordingService-DJPyoT4J.esm.js} +10 -10
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/selfie.d.ts +12 -12
- package/dist/selfie.esm.js +15 -15
- package/dist/{selfieManager-DqCKljQZ.d.ts → selfieManager-BG8fq_FT.d.ts} +2 -2
- package/dist/{selfieManager-Zp0Ij7yg.esm.js → selfieManager-CuwAFh3w.esm.js} +3 -3
- package/dist/{selfieStateMachine-CImppJ-8.esm.js → selfieStateMachine-BnRGtQ0j.esm.js} +2 -2
- package/dist/{session-CE2VlCwg.esm.js → session-CCaOwDaZ.esm.js} +2 -51
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +4 -3
- package/dist/{sessionInitializer-CK49Qp7F.esm.js → sessionInitializer-GjxPhy6q.esm.js} +1 -1
- package/dist/{setup-D7vAtBRF.esm.js → setup-BFWg3ruS.esm.js} +1 -1
- package/dist/{setup-GFry_Cwc.d.ts → setup-BIc5kpKm.d.ts} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +1 -1
- package/dist/trust-graph.d.ts +1 -1
- package/dist/{types-DIsQ9JUj.d.ts → types-Bcj4sNA0.d.ts} +1 -1
- package/dist/{types-ClLIGfX1.d.ts → types-EXVJmBuY.d.ts} +1 -1
- package/dist/{types-BNddPgzi.d.ts → types-cQjCrKJE.d.ts} +2 -2
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +2 -2
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +93 -93
- package/dist/workflow.esm.js +44 -43
- package/package.json +3 -3
- package/dist/openviduLazy-bBtOlBQQ.esm.js +0 -3
- /package/dist/{Actor-DhAnkIwf.d.ts → Actor-CARlguSq.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-D_nkDYje.esm.js → BrowserStorageProvider-EtdbBJGr.esm.js} +0 -0
- /package/dist/{ITimerCapability-BVO_DTWo.esm.js → ITimerCapability-2pw-S97e.esm.js} +0 -0
- /package/dist/{Manager-DCgvJ8qz.d.ts → Manager-BeGOXZ8j.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-DSvZr8IV.esm.js → MotionSensorProvider-BiZTqw83.esm.js} +0 -0
- /package/dist/{StateMachine-DOolktTn.d.ts → StateMachine-CDm3JH51.d.ts} +0 -0
- /package/dist/{addressSearch-C1KbBt1T.esm.js → addressSearch-CJtpPfHp.esm.js} +0 -0
- /package/dist/{antifraudStateMachine-BO4aULYl.esm.js → antifraudStateMachine-DG6ZVhgf.esm.js} +0 -0
- /package/dist/{camera-MPUbZOp5.d.ts → camera-BMF1a_t8.d.ts} +0 -0
- /package/dist/{camera-Dwo-NOc2.esm.js → camera-CUAQ-q4e.esm.js} +0 -0
- /package/dist/{consentStateMachine-BdABUcPQ.esm.js → consentStateMachine-DoAMTUpJ.esm.js} +0 -0
- /package/dist/{cpf-PPz2Njto.esm.js → cpf-C_GpPcp9.esm.js} +0 -0
- /package/dist/{curpValidationStateMachine-BQWCI1m5.esm.js → curpValidationStateMachine-DOxJlK7O.esm.js} +0 -0
- /package/dist/{customWatchlistStateMachine-qeE4R8cp.esm.js → customWatchlistStateMachine-C5qmtYkf.esm.js} +0 -0
- /package/dist/{dateUtils-UoN5xswP.esm.js → dateUtils-BGs-FxcI.esm.js} +0 -0
- /package/dist/{emailStateMachine-EDTq3JP9.esm.js → emailStateMachine-B4Wtz_HA.esm.js} +0 -0
- /package/dist/{faceMatchStateMachine-y_vo2fqO.esm.js → faceMatchStateMachine-DDJuYnTn.esm.js} +0 -0
- /package/dist/{flowCompletionService-B8sayu_Y.d.ts → flowCompletionService-C4A-qYuH.d.ts} +0 -0
- /package/dist/{geolocationStateMachine-CA8HXfNN.esm.js → geolocationStateMachine-Bvj_QrZB.esm.js} +0 -0
- /package/dist/{getDeviceClass-D_cBaNTv.esm.js → getDeviceClass-CK6VGnUc.esm.js} +0 -0
- /package/dist/{governmentValidationStateMachine-DoJ2opyH.esm.js → governmentValidationStateMachine-f0oCTSJG.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-BCKDmUlS.esm.js → idVerificationStateMachine-K9JNlir9.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-2jXys2zb.esm.js → identityReuseStateMachine-BmzyRrev.esm.js} +0 -0
- /package/dist/{invokeOnCaptureCallback-DZBjD4Oa.esm.js → invokeOnCaptureCallback-BxoTAyzA.esm.js} +0 -0
- /package/dist/{lib-DUMWi-8w.esm.js → lib-CU2Xhl44.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-BKxh2kVL.esm.js → mandatoryConsentStateMachine-WrlXxYoV.esm.js} +0 -0
- /package/dist/{phoneStateMachine-B_TIPRDd.esm.js → phoneStateMachine-DpZMDLlL.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-CHi0mV4L.esm.js → redirectToMobileStateMachine-BLf3Lf35.esm.js} +0 -0
- /package/dist/{runChildModule-CnI5vQ5k.esm.js → runChildModule-DQucWuaz.esm.js} +0 -0
- /package/dist/{signatureStateMachine-DKh5CVX5.esm.js → signatureStateMachine-D-xEAiA4.esm.js} +0 -0
- /package/dist/{types-Bdh04xu9.d.ts → types-CL7hCbCA.d.ts} +0 -0
- /package/dist/{types-BYqs4TiJ.d.ts → types-CdzhDWOw.d.ts} +0 -0
- /package/dist/{warmup-D7Ox_nhs.d.ts → warmup-5M9V24RH.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-DgyqzdxG.esm.js → watchlistForBusinessStateMachine-DZFCU5-e.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-DIHYm-er.esm.js → watchlistStateMachine-Lme04iSM.esm.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-
|
|
1
|
+
import "./warmup-5M9V24RH.js";
|
|
2
|
+
import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-BIc5kpKm.js";
|
|
3
3
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./WasmUtilProvider-C3xYpVKR.esm.js";
|
|
2
|
-
import { a as setup, n as isConfigured, r as reset } from "./setup-
|
|
2
|
+
import { a as setup, n as isConfigured, r as reset } from "./setup-BFWg3ruS.esm.js";
|
|
3
3
|
import "./BrowserTimerProvider-BZGH3sYJ.esm.js";
|
|
4
4
|
import "./api-eqRXuVG-.esm.js";
|
|
5
5
|
import "./events-Dnh2PVAZ.esm.js";
|
|
@@ -7,7 +7,7 @@ import "./endpoints-D4cNQqhS.esm.js";
|
|
|
7
7
|
import "./stats-Dc1nW_Oc.esm.js";
|
|
8
8
|
import "./IpifyProvider-Dt8MgLjg.esm.js";
|
|
9
9
|
import "./browserSimulation-DoIsN6qC.esm.js";
|
|
10
|
-
import "./sessionInitializer-
|
|
10
|
+
import "./sessionInitializer-GjxPhy6q.esm.js";
|
|
11
11
|
import "./platform-Ca6QEq2_.esm.js";
|
|
12
12
|
import "./getBrowser-DHeJ7PSV.esm.js";
|
|
13
13
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import "./types-
|
|
5
|
-
import "./types-
|
|
6
|
-
import { a as RegulationTypes } from "./types-
|
|
7
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BeGOXZ8j.js";
|
|
2
|
+
import "./Actor-CARlguSq.js";
|
|
3
|
+
import "./camera-BMF1a_t8.js";
|
|
4
|
+
import "./types-EXVJmBuY.js";
|
|
5
|
+
import "./types-CdzhDWOw.js";
|
|
6
|
+
import { a as RegulationTypes } from "./types-cQjCrKJE.js";
|
|
7
|
+
import * as xstate113 from "xstate";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/mandatory-consent/types.d.ts
|
|
10
10
|
type MandatoryConsentConfig = {
|
|
@@ -31,7 +31,7 @@ type MandatoryConsentContext = {
|
|
|
31
31
|
type MandatoryConsentInput = {
|
|
32
32
|
config: MandatoryConsentConfig;
|
|
33
33
|
};
|
|
34
|
-
declare const mandatoryConsentMachine:
|
|
34
|
+
declare const mandatoryConsentMachine: xstate113.StateMachine<MandatoryConsentContext, {
|
|
35
35
|
type: "LOAD";
|
|
36
36
|
} | {
|
|
37
37
|
type: "TOGGLE";
|
|
@@ -44,53 +44,53 @@ declare const mandatoryConsentMachine: xstate89.StateMachine<MandatoryConsentCon
|
|
|
44
44
|
} | {
|
|
45
45
|
type: "RESET";
|
|
46
46
|
}, {
|
|
47
|
-
[x: string]:
|
|
47
|
+
[x: string]: xstate113.ActorRefFromLogic<xstate113.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
48
48
|
config: MandatoryConsentConfig;
|
|
49
|
-
},
|
|
49
|
+
}, xstate113.EventObject>> | xstate113.ActorRefFromLogic<xstate113.PromiseActorLogic<void, {
|
|
50
50
|
consentId: string;
|
|
51
51
|
isSigned: boolean;
|
|
52
|
-
},
|
|
53
|
-
},
|
|
52
|
+
}, xstate113.EventObject>> | undefined;
|
|
53
|
+
}, xstate113.Values<{
|
|
54
54
|
fetchConsent: {
|
|
55
55
|
src: "fetchConsent";
|
|
56
|
-
logic:
|
|
56
|
+
logic: xstate113.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
57
57
|
config: MandatoryConsentConfig;
|
|
58
|
-
},
|
|
58
|
+
}, xstate113.EventObject>;
|
|
59
59
|
id: string | undefined;
|
|
60
60
|
};
|
|
61
61
|
submitConsent: {
|
|
62
62
|
src: "submitConsent";
|
|
63
|
-
logic:
|
|
63
|
+
logic: xstate113.PromiseActorLogic<void, {
|
|
64
64
|
consentId: string;
|
|
65
65
|
isSigned: boolean;
|
|
66
|
-
},
|
|
66
|
+
}, xstate113.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
|
-
}>,
|
|
69
|
+
}>, xstate113.Values<{
|
|
70
70
|
setConsent: {
|
|
71
71
|
type: "setConsent";
|
|
72
|
-
params:
|
|
72
|
+
params: xstate113.NonReducibleUnknown;
|
|
73
73
|
};
|
|
74
74
|
setError: {
|
|
75
75
|
type: "setError";
|
|
76
|
-
params:
|
|
77
|
-
};
|
|
78
|
-
toggleSigned: {
|
|
79
|
-
type: "toggleSigned";
|
|
80
|
-
params: xstate89.NonReducibleUnknown;
|
|
76
|
+
params: xstate113.NonReducibleUnknown;
|
|
81
77
|
};
|
|
82
78
|
clearError: {
|
|
83
79
|
type: "clearError";
|
|
84
|
-
params:
|
|
80
|
+
params: xstate113.NonReducibleUnknown;
|
|
81
|
+
};
|
|
82
|
+
toggleSigned: {
|
|
83
|
+
type: "toggleSigned";
|
|
84
|
+
params: xstate113.NonReducibleUnknown;
|
|
85
85
|
};
|
|
86
86
|
resetContext: {
|
|
87
87
|
type: "resetContext";
|
|
88
|
-
params:
|
|
88
|
+
params: xstate113.NonReducibleUnknown;
|
|
89
89
|
};
|
|
90
90
|
}>, {
|
|
91
91
|
type: "canSubmit";
|
|
92
92
|
params: unknown;
|
|
93
|
-
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput,
|
|
93
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate113.NonReducibleUnknown, xstate113.EventObject, xstate113.MetaObject, {
|
|
94
94
|
readonly id: "mandatoryConsent";
|
|
95
95
|
readonly initial: "idle";
|
|
96
96
|
readonly context: ({
|
|
@@ -99,70 +99,70 @@ declare const mandatoryConsentMachine: xstate89.StateMachine<MandatoryConsentCon
|
|
|
99
99
|
spawn: {
|
|
100
100
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
101
101
|
src: "fetchConsent";
|
|
102
|
-
logic:
|
|
102
|
+
logic: xstate113.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
103
103
|
config: MandatoryConsentConfig;
|
|
104
|
-
},
|
|
104
|
+
}, xstate113.EventObject>;
|
|
105
105
|
id: string | undefined;
|
|
106
106
|
} extends infer T ? T extends {
|
|
107
107
|
src: "fetchConsent";
|
|
108
|
-
logic:
|
|
108
|
+
logic: xstate113.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
109
109
|
config: MandatoryConsentConfig;
|
|
110
|
-
},
|
|
110
|
+
}, xstate113.EventObject>;
|
|
111
111
|
id: string | undefined;
|
|
112
112
|
} ? T extends {
|
|
113
113
|
src: TSrc;
|
|
114
|
-
} ?
|
|
114
|
+
} ? xstate113.ConditionalRequired<[options?: ({
|
|
115
115
|
id?: T["id"] | undefined;
|
|
116
116
|
systemId?: string;
|
|
117
|
-
input?:
|
|
117
|
+
input?: xstate113.InputFrom<T["logic"]> | undefined;
|
|
118
118
|
syncSnapshot?: boolean;
|
|
119
|
-
} & { [K in
|
|
119
|
+
} & { [K in xstate113.RequiredActorOptions<T>]: unknown }) | undefined], xstate113.IsNotNever<xstate113.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
120
120
|
src: "submitConsent";
|
|
121
|
-
logic:
|
|
121
|
+
logic: xstate113.PromiseActorLogic<void, {
|
|
122
122
|
consentId: string;
|
|
123
123
|
isSigned: boolean;
|
|
124
|
-
},
|
|
124
|
+
}, xstate113.EventObject>;
|
|
125
125
|
id: string | undefined;
|
|
126
126
|
} extends infer T_1 ? T_1 extends {
|
|
127
127
|
src: "submitConsent";
|
|
128
|
-
logic:
|
|
128
|
+
logic: xstate113.PromiseActorLogic<void, {
|
|
129
129
|
consentId: string;
|
|
130
130
|
isSigned: boolean;
|
|
131
|
-
},
|
|
131
|
+
}, xstate113.EventObject>;
|
|
132
132
|
id: string | undefined;
|
|
133
133
|
} ? T_1 extends {
|
|
134
134
|
src: TSrc;
|
|
135
|
-
} ?
|
|
135
|
+
} ? xstate113.ConditionalRequired<[options?: ({
|
|
136
136
|
id?: T_1["id"] | undefined;
|
|
137
137
|
systemId?: string;
|
|
138
|
-
input?:
|
|
138
|
+
input?: xstate113.InputFrom<T_1["logic"]> | undefined;
|
|
139
139
|
syncSnapshot?: boolean;
|
|
140
|
-
} & { [K_1 in
|
|
140
|
+
} & { [K_1 in xstate113.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate113.IsNotNever<xstate113.RequiredActorOptions<T_1>>> : never : never : never)): xstate113.ActorRefFromLogic<xstate113.GetConcreteByKey<xstate113.Values<{
|
|
141
141
|
fetchConsent: {
|
|
142
142
|
src: "fetchConsent";
|
|
143
|
-
logic:
|
|
143
|
+
logic: xstate113.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
144
144
|
config: MandatoryConsentConfig;
|
|
145
|
-
},
|
|
145
|
+
}, xstate113.EventObject>;
|
|
146
146
|
id: string | undefined;
|
|
147
147
|
};
|
|
148
148
|
submitConsent: {
|
|
149
149
|
src: "submitConsent";
|
|
150
|
-
logic:
|
|
150
|
+
logic: xstate113.PromiseActorLogic<void, {
|
|
151
151
|
consentId: string;
|
|
152
152
|
isSigned: boolean;
|
|
153
|
-
},
|
|
153
|
+
}, xstate113.EventObject>;
|
|
154
154
|
id: string | undefined;
|
|
155
155
|
};
|
|
156
156
|
}>, "src", TSrc>["logic"]>;
|
|
157
|
-
<TLogic extends
|
|
157
|
+
<TLogic extends xstate113.AnyActorLogic>(src: TLogic, ...[options]: xstate113.ConditionalRequired<[options?: ({
|
|
158
158
|
id?: never;
|
|
159
159
|
systemId?: string;
|
|
160
|
-
input?:
|
|
160
|
+
input?: xstate113.InputFrom<TLogic> | undefined;
|
|
161
161
|
syncSnapshot?: boolean;
|
|
162
|
-
} & { [K in
|
|
162
|
+
} & { [K in xstate113.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate113.IsNotNever<xstate113.RequiredLogicInput<TLogic>>>): xstate113.ActorRefFromLogic<TLogic>;
|
|
163
163
|
};
|
|
164
164
|
input: MandatoryConsentInput;
|
|
165
|
-
self:
|
|
165
|
+
self: xstate113.ActorRef<xstate113.MachineSnapshot<MandatoryConsentContext, {
|
|
166
166
|
type: "LOAD";
|
|
167
167
|
} | {
|
|
168
168
|
type: "TOGGLE";
|
|
@@ -174,7 +174,7 @@ declare const mandatoryConsentMachine: xstate89.StateMachine<MandatoryConsentCon
|
|
|
174
174
|
type: "RETRY";
|
|
175
175
|
} | {
|
|
176
176
|
type: "RESET";
|
|
177
|
-
}, Record<string,
|
|
177
|
+
}, Record<string, xstate113.AnyActorRef | undefined>, xstate113.StateValue, string, unknown, any, any>, {
|
|
178
178
|
type: "LOAD";
|
|
179
179
|
} | {
|
|
180
180
|
type: "TOGGLE";
|
|
@@ -186,7 +186,7 @@ declare const mandatoryConsentMachine: xstate89.StateMachine<MandatoryConsentCon
|
|
|
186
186
|
type: "RETRY";
|
|
187
187
|
} | {
|
|
188
188
|
type: "RESET";
|
|
189
|
-
},
|
|
189
|
+
}, xstate113.AnyEventObject>;
|
|
190
190
|
}) => {
|
|
191
191
|
config: MandatoryConsentConfig;
|
|
192
192
|
consent: undefined;
|
|
@@ -223,7 +223,7 @@ declare const mandatoryConsentMachine: xstate89.StateMachine<MandatoryConsentCon
|
|
|
223
223
|
} | {
|
|
224
224
|
type: "RESET";
|
|
225
225
|
};
|
|
226
|
-
self:
|
|
226
|
+
self: xstate113.ActorRef<xstate113.MachineSnapshot<MandatoryConsentContext, {
|
|
227
227
|
type: "LOAD";
|
|
228
228
|
} | {
|
|
229
229
|
type: "TOGGLE";
|
|
@@ -235,7 +235,7 @@ declare const mandatoryConsentMachine: xstate89.StateMachine<MandatoryConsentCon
|
|
|
235
235
|
type: "RETRY";
|
|
236
236
|
} | {
|
|
237
237
|
type: "RESET";
|
|
238
|
-
}, Record<string,
|
|
238
|
+
}, Record<string, xstate113.AnyActorRef>, xstate113.StateValue, string, unknown, any, any>, {
|
|
239
239
|
type: "LOAD";
|
|
240
240
|
} | {
|
|
241
241
|
type: "TOGGLE";
|
|
@@ -247,7 +247,7 @@ declare const mandatoryConsentMachine: xstate89.StateMachine<MandatoryConsentCon
|
|
|
247
247
|
type: "RETRY";
|
|
248
248
|
} | {
|
|
249
249
|
type: "RESET";
|
|
250
|
-
},
|
|
250
|
+
}, xstate113.AnyEventObject>;
|
|
251
251
|
}) => {
|
|
252
252
|
config: MandatoryConsentConfig;
|
|
253
253
|
};
|
|
@@ -300,7 +300,7 @@ declare const mandatoryConsentMachine: xstate89.StateMachine<MandatoryConsentCon
|
|
|
300
300
|
} | {
|
|
301
301
|
type: "RESET";
|
|
302
302
|
};
|
|
303
|
-
self:
|
|
303
|
+
self: xstate113.ActorRef<xstate113.MachineSnapshot<MandatoryConsentContext, {
|
|
304
304
|
type: "LOAD";
|
|
305
305
|
} | {
|
|
306
306
|
type: "TOGGLE";
|
|
@@ -312,7 +312,7 @@ declare const mandatoryConsentMachine: xstate89.StateMachine<MandatoryConsentCon
|
|
|
312
312
|
type: "RETRY";
|
|
313
313
|
} | {
|
|
314
314
|
type: "RESET";
|
|
315
|
-
}, Record<string,
|
|
315
|
+
}, Record<string, xstate113.AnyActorRef>, xstate113.StateValue, string, unknown, any, any>, {
|
|
316
316
|
type: "LOAD";
|
|
317
317
|
} | {
|
|
318
318
|
type: "TOGGLE";
|
|
@@ -324,7 +324,7 @@ declare const mandatoryConsentMachine: xstate89.StateMachine<MandatoryConsentCon
|
|
|
324
324
|
type: "RETRY";
|
|
325
325
|
} | {
|
|
326
326
|
type: "RESET";
|
|
327
|
-
},
|
|
327
|
+
}, xstate113.AnyEventObject>;
|
|
328
328
|
}) => {
|
|
329
329
|
consentId: string;
|
|
330
330
|
isSigned: boolean;
|
|
@@ -2,7 +2,7 @@ import "./api-eqRXuVG-.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dnh2PVAZ.esm.js";
|
|
3
3
|
import "./endpoints-D4cNQqhS.esm.js";
|
|
4
4
|
import { c as createManager, s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
5
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-WrlXxYoV.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
8
8
|
function createMandatoryConsentActor(options) {
|
|
@@ -4,7 +4,7 @@ import { a as __toDynamicImportESM } from "./chunk-CRF6K_H_.esm.js";
|
|
|
4
4
|
let openViduImport;
|
|
5
5
|
async function loadOpenVidu() {
|
|
6
6
|
if (openViduImport) return openViduImport;
|
|
7
|
-
openViduImport = import("./lib-
|
|
7
|
+
openViduImport = import("./lib-CU2Xhl44.esm.js").then(__toDynamicImportESM(1));
|
|
8
8
|
return openViduImport;
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-C3xYpVKR.esm.js";
|
|
2
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
3
|
-
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-
|
|
2
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-BiZTqw83.esm.js";
|
|
3
|
+
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-CUAQ-q4e.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region ../infra/src/media/cameraPermissionSession.ts
|
|
6
6
|
const CAMERA_PERMISSIONS_GRANTED_KEY = "cameraPermissionsGranted";
|
package/dist/phone.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as phoneMachine, n as PhoneState, o as PhoneConfig, r as createPhoneManager, t as PhoneManager } from "./phoneManager-
|
|
1
|
+
import "./Manager-BeGOXZ8j.js";
|
|
2
|
+
import "./Actor-CARlguSq.js";
|
|
3
|
+
import { a as phoneMachine, n as PhoneState, o as PhoneConfig, r as createPhoneManager, t as PhoneManager } from "./phoneManager-BYkD5xRV.js";
|
|
4
4
|
export { type PhoneConfig, type PhoneManager, type PhoneState, createPhoneManager, phoneMachine };
|
package/dist/phone.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import "./api-eqRXuVG-.esm.js";
|
|
|
3
3
|
import "./events-Dnh2PVAZ.esm.js";
|
|
4
4
|
import "./endpoints-D4cNQqhS.esm.js";
|
|
5
5
|
import "./xstate.esm-C_4CL5-u.esm.js";
|
|
6
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
7
|
-
import { t as createPhoneManager } from "./phoneManager-
|
|
6
|
+
import { t as phoneMachine } from "./phoneStateMachine-DpZMDLlL.esm.js";
|
|
7
|
+
import { t as createPhoneManager } from "./phoneManager-0ec4qDAL.esm.js";
|
|
8
8
|
|
|
9
9
|
export { createPhoneManager, phoneMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dnh2PVAZ.esm.js";
|
|
2
2
|
import { c as createManager, s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
3
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
3
|
+
import { t as phoneMachine } from "./phoneStateMachine-DpZMDLlL.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/phone/phoneActor.ts
|
|
6
6
|
function createPhoneActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BeGOXZ8j.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CARlguSq.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/phone/types.d.ts
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-DeXWxqNA.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/qe-signature/index.ts
|
|
4
4
|
function createQeSignatureManager(options) {
|
package/dist/qe-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
1
|
+
import { t as Manager } from "./Manager-BeGOXZ8j.js";
|
|
2
|
+
import "./Actor-CARlguSq.js";
|
|
3
|
+
import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-xu3NbUht.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/qe-signature/index.d.ts
|
|
6
6
|
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -2,7 +2,8 @@ import "./api-eqRXuVG-.esm.js";
|
|
|
2
2
|
import "./events-Dnh2PVAZ.esm.js";
|
|
3
3
|
import "./endpoints-D4cNQqhS.esm.js";
|
|
4
4
|
import "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
5
|
+
import "./apiError-CH9VyBh5.esm.js";
|
|
6
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks } from "./electronicSignatureManager-DeXWxqNA.esm.js";
|
|
7
|
+
import { t as createQeSignatureManager } from "./qe-signature-DiXt5xMf.esm.js";
|
|
7
8
|
|
|
8
9
|
export { QE_CONSENT_KEYS, areAllConsented, createQeSignatureManager, getDefaultConsentChecks, electronicSignatureMachine as qeSignatureMachine };
|
|
@@ -3,12 +3,12 @@ import { r as getToken, t as api } from "./api-eqRXuVG-.esm.js";
|
|
|
3
3
|
import { t as endpoints } from "./endpoints-D4cNQqhS.esm.js";
|
|
4
4
|
import { t as addDeviceStats } from "./stats-Dc1nW_Oc.esm.js";
|
|
5
5
|
import { a as isIPhone14OrHigher, n as isDesktop, r as isIOS, t as isAndroid } from "./platform-Ca6QEq2_.esm.js";
|
|
6
|
-
import { a as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
7
|
-
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-
|
|
8
|
-
import { t as sleep } from "./ITimerCapability-
|
|
9
|
-
import { n as IncodeCanvas } from "./deepsightService-
|
|
10
|
-
import { n as getDesktopCameraStream, t as getBackCameraStream } from "./backCameraStream-
|
|
11
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
6
|
+
import { a as isWasmMotionPrimedForModule } from "./permissionServices-4py90m2a.esm.js";
|
|
7
|
+
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-CUAQ-q4e.esm.js";
|
|
8
|
+
import { t as sleep } from "./ITimerCapability-2pw-S97e.esm.js";
|
|
9
|
+
import { n as IncodeCanvas } from "./deepsightService-DgmtJnVh.esm.js";
|
|
10
|
+
import { n as getDesktopCameraStream, t as getBackCameraStream } from "./backCameraStream-5q1r2W2q.esm.js";
|
|
11
|
+
import { t as getDeviceClass } from "./getDeviceClass-B6U_P2pO.esm.js";
|
|
12
12
|
|
|
13
13
|
//#region ../infra/src/scheduling/yieldUntilNextPaint.ts
|
|
14
14
|
/**
|
|
@@ -520,7 +520,7 @@ function buildResolutionFromStream(stream) {
|
|
|
520
520
|
if (typeof width === "number" && typeof height === "number") return `${width}x${height}`;
|
|
521
521
|
}
|
|
522
522
|
async function createOpenViduRecordingProvider() {
|
|
523
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
523
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-Cu6iha-l.esm.js");
|
|
524
524
|
return new OpenViduRecordingProvider();
|
|
525
525
|
}
|
|
526
526
|
async function startRecordingSession(params) {
|
|
@@ -560,7 +560,7 @@ async function stopRecording(session) {
|
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
562
|
async function initializeDeepsightSession(options) {
|
|
563
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
563
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-oQnIw3yy.esm.js");
|
|
564
564
|
return loadDeepsightSession({
|
|
565
565
|
ds: options.ds,
|
|
566
566
|
storage: options.storage
|
|
@@ -1078,12 +1078,12 @@ var LocalRecordingProvider = class {
|
|
|
1078
1078
|
let openViduProviderImportPromise;
|
|
1079
1079
|
let openViduBrowserImportPromise;
|
|
1080
1080
|
function loadOpenViduProviderModule() {
|
|
1081
|
-
if (!openViduProviderImportPromise) openViduProviderImportPromise = import("./OpenViduRecordingProvider-
|
|
1081
|
+
if (!openViduProviderImportPromise) openViduProviderImportPromise = import("./OpenViduRecordingProvider-Cu6iha-l.esm.js");
|
|
1082
1082
|
return openViduProviderImportPromise;
|
|
1083
1083
|
}
|
|
1084
1084
|
function loadOpenViduBrowserModule() {
|
|
1085
1085
|
if (!openViduBrowserImportPromise) openViduBrowserImportPromise = (async () => {
|
|
1086
|
-
return (await import("./openviduLazy-
|
|
1086
|
+
return (await import("./openviduLazy-DbNAreZz.esm.js")).loadOpenVidu();
|
|
1087
1087
|
})();
|
|
1088
1088
|
return openViduBrowserImportPromise;
|
|
1089
1089
|
}
|
|
@@ -3,7 +3,7 @@ import "./api-eqRXuVG-.esm.js";
|
|
|
3
3
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dnh2PVAZ.esm.js";
|
|
4
4
|
import "./endpoints-D4cNQqhS.esm.js";
|
|
5
5
|
import { c as createManager, s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
6
|
-
import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-
|
|
6
|
+
import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-BLf3Lf35.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
|
|
9
9
|
function createRedirectToMobileActor(options) {
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./StateMachine-
|
|
5
|
-
import { C as DetectionStatus, E as FaceErrorCode, T as FaceCapturedImageData, a as SelfieCaptureOnlyMachine, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, w as FaceCaptureOnlyResponse } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as CameraStream } from "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./types-
|
|
10
|
-
import { t as DeepsightService } from "./deepsightService-
|
|
11
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
12
|
-
import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
1
|
+
import "./warmup-5M9V24RH.js";
|
|
2
|
+
import "./Manager-BeGOXZ8j.js";
|
|
3
|
+
import "./Actor-CARlguSq.js";
|
|
4
|
+
import "./StateMachine-CDm3JH51.js";
|
|
5
|
+
import { C as DetectionStatus, E as FaceErrorCode, T as FaceCapturedImageData, a as SelfieCaptureOnlyMachine, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, w as FaceCaptureOnlyResponse } from "./faceCaptureManagerFactory-BodYisaN.js";
|
|
6
|
+
import { t as CameraStream } from "./camera-BMF1a_t8.js";
|
|
7
|
+
import "./types-EXVJmBuY.js";
|
|
8
|
+
import "./types-CdzhDWOw.js";
|
|
9
|
+
import "./types-cQjCrKJE.js";
|
|
10
|
+
import { t as DeepsightService } from "./deepsightService-CiNHvOj0.js";
|
|
11
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CL7hCbCA.js";
|
|
12
|
+
import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-BG8fq_FT.js";
|
|
13
13
|
|
|
14
14
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
15
15
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
package/dist/selfie.esm.js
CHANGED
|
@@ -7,21 +7,21 @@ import "./browserSimulation-DoIsN6qC.esm.js";
|
|
|
7
7
|
import "./platform-Ca6QEq2_.esm.js";
|
|
8
8
|
import "./getBrowser-DHeJ7PSV.esm.js";
|
|
9
9
|
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
10
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
11
|
-
import "./MotionSensorProvider-
|
|
12
|
-
import "./permissionServices-
|
|
13
|
-
import "./camera-
|
|
14
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
15
|
-
import { v as processFace } from "./recordingService-
|
|
16
|
-
import "./ITimerCapability-
|
|
17
|
-
import "./deepsightService-
|
|
18
|
-
import "./backCameraStream-
|
|
19
|
-
import "./getDeviceClass-
|
|
20
|
-
import "./getDeviceClass-
|
|
21
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
22
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
23
|
-
import { t as createSelfieManager } from "./selfieManager-
|
|
24
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
10
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-EtdbBJGr.esm.js";
|
|
11
|
+
import "./MotionSensorProvider-BiZTqw83.esm.js";
|
|
12
|
+
import "./permissionServices-4py90m2a.esm.js";
|
|
13
|
+
import "./camera-CUAQ-q4e.esm.js";
|
|
14
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-GCqj24xa.esm.js";
|
|
15
|
+
import { v as processFace } from "./recordingService-DJPyoT4J.esm.js";
|
|
16
|
+
import "./ITimerCapability-2pw-S97e.esm.js";
|
|
17
|
+
import "./deepsightService-DgmtJnVh.esm.js";
|
|
18
|
+
import "./backCameraStream-5q1r2W2q.esm.js";
|
|
19
|
+
import "./getDeviceClass-CK6VGnUc.esm.js";
|
|
20
|
+
import "./getDeviceClass-B6U_P2pO.esm.js";
|
|
21
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-B9RFaTgo.esm.js";
|
|
22
|
+
import { t as selfieMachine } from "./selfieStateMachine-BnRGtQ0j.esm.js";
|
|
23
|
+
import { t as createSelfieManager } from "./selfieManager-CuwAFh3w.esm.js";
|
|
24
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BxoTAyzA.esm.js";
|
|
25
25
|
|
|
26
26
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
27
27
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { t as Manager } from "./Manager-BeGOXZ8j.js";
|
|
2
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-BodYisaN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
5
5
|
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-C3xYpVKR.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dnh2PVAZ.esm.js";
|
|
3
3
|
import { s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
4
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
4
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-EtdbBJGr.esm.js";
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-GCqj24xa.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-BnRGtQ0j.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/selfie/selfieActor.ts
|
|
9
9
|
function createSelfieActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as fromPromise, r as assign } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
2
|
-
import { b as FACE_ERROR_CODES, d as postOnDeviceFaceResults, f as prepareOnDeviceFaceUpload, l as defaultPrepareFaceUpload, u as isOnDeviceMode, v as processFace, y as uploadSelfie } from "./recordingService-
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
2
|
+
import { b as FACE_ERROR_CODES, d as postOnDeviceFaceResults, f as prepareOnDeviceFaceUpload, l as defaultPrepareFaceUpload, u as isOnDeviceMode, v as processFace, y as uploadSelfie } from "./recordingService-DJPyoT4J.esm.js";
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-B9RFaTgo.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
6
6
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -1,56 +1,7 @@
|
|
|
1
1
|
import { n as getApi } from "./api-eqRXuVG-.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-D4cNQqhS.esm.js";
|
|
3
|
+
import { n as toIncodeApiError } from "./apiError-CH9VyBh5.esm.js";
|
|
3
4
|
|
|
4
|
-
//#region src/internal/http/apiError.ts
|
|
5
|
-
/**
|
|
6
|
-
* Incode API error.
|
|
7
|
-
*
|
|
8
|
-
* Wraps an HTTP failure so callers can branch on the Incode-specific status
|
|
9
|
-
* code (e.g. `4028` for "Flow is not activated") and surface the server's
|
|
10
|
-
* human-readable message to the user. The Incode backend returns these on
|
|
11
|
-
* HTTP `400` responses with a body shaped:
|
|
12
|
-
*
|
|
13
|
-
* ```json
|
|
14
|
-
* { "status": 4028, "error": "Flow is not activated.", "message": "...", "path": "/0/omni/start" }
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* - `status` — prefers the body's Incode status code, falls back to the HTTP
|
|
18
|
-
* status when the body doesn't carry one.
|
|
19
|
-
* - `httpStatus` — always the underlying HTTP status.
|
|
20
|
-
* - `cause` — the original `HttpError` (typically `FetchHttpError`) is
|
|
21
|
-
* preserved on the standard ES `Error.cause` slot, so core consumers that
|
|
22
|
-
* need `url` / `method` / `headers` / raw `data` can read them via
|
|
23
|
-
* `err.cause`.
|
|
24
|
-
*/
|
|
25
|
-
var IncodeApiError = class extends Error {
|
|
26
|
-
constructor(endpoint, status, httpStatus, message, cause) {
|
|
27
|
-
super(message);
|
|
28
|
-
this.name = "IncodeApiError";
|
|
29
|
-
this.endpoint = endpoint;
|
|
30
|
-
this.status = status;
|
|
31
|
-
this.httpStatus = httpStatus;
|
|
32
|
-
if (cause !== void 0) this.cause = cause;
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
function isHttpError(err) {
|
|
36
|
-
return typeof err === "object" && err !== null && "status" in err && "statusText" in err && "data" in err;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Convert an unknown error caught from `api.{get,post,...}` into an
|
|
40
|
-
* `IncodeApiError`, extracting the Incode-specific status and message from
|
|
41
|
-
* the response body when present. The original error is preserved on
|
|
42
|
-
* `IncodeApiError.cause`. Non-HTTP errors (including `AbortError`) and any
|
|
43
|
-
* other shape are re-thrown unchanged.
|
|
44
|
-
*/
|
|
45
|
-
function toIncodeApiError(endpoint, err) {
|
|
46
|
-
if (!isHttpError(err)) throw err;
|
|
47
|
-
const body = err.data ?? {};
|
|
48
|
-
const status = typeof body.status === "number" ? body.status : err.status;
|
|
49
|
-
const message = body.error ?? body.message ?? err.statusText ?? `HTTP ${err.status}`;
|
|
50
|
-
throw new IncodeApiError(endpoint, status, err.status, message, err);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
//#endregion
|
|
54
5
|
//#region src/internal/session/sessionService.ts
|
|
55
6
|
/**
|
|
56
7
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
|
@@ -198,4 +149,4 @@ async function bootstrapSession(apiKey, options, signal) {
|
|
|
198
149
|
}
|
|
199
150
|
|
|
200
151
|
//#endregion
|
|
201
|
-
export { refreshQrUrlUuid as a,
|
|
152
|
+
export { refreshQrUrlUuid as a, createSession as i, QrValidationError as n, validateQrUuid as o, bootstrapSession as r, QR_VALIDATION_ERROR_CODES as t };
|