@incodetech/core 0.0.0-dev-20260713-0d1fc59b → 0.0.0-dev-20260713-506b2caa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FaceDetectionProvider-C-TTFxTn.d.ts → FaceDetectionProvider-D-SuPeaR.d.ts} +1 -1
- package/dist/{IWasmUtilCapability-BWOlxduF.d.ts → IWasmUtilCapability-CCTvyShE.d.ts} +6 -1
- package/dist/{WasmUtilProvider-ADG54T6M.esm.js → WasmUtilProvider-BNQ2PBjG.esm.js} +21 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/authentication.d.ts +6 -6
- package/dist/authentication.esm.js +9 -9
- package/dist/{authenticationManager-DW7Lju5h.esm.js → authenticationManager-BxjPAQjy.esm.js} +3 -3
- package/dist/{authenticationManager-Bk8ZnCwm.d.ts → authenticationManager-D_hu_JQz.d.ts} +1 -1
- package/dist/{authenticationStateMachine-Dn5nGX_f.esm.js → authenticationStateMachine-1dW-EM34.esm.js} +2 -2
- package/dist/camera.esm.js +2 -2
- package/dist/certificate-issuance.d.ts +28 -28
- package/dist/{clientLifecycle-Ct7h9uxx.esm.js → clientLifecycle-CCJMDjFe.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-nMA02HAK.d.ts → consentManager-BBLuAEtO.d.ts} +47 -47
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/{cpfOcrManager-B7QXocv1.d.ts → cpfOcrManager-DiuFeIlv.d.ts} +17 -17
- package/dist/{deepsightLoader-DNqG0Iux.esm.js → deepsightLoader-Br33KOpX.esm.js} +2 -2
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +5 -5
- package/dist/document-upload.d.ts +40 -40
- package/dist/{documentCaptureManager-81Q9AwsW.esm.js → documentCaptureManager-BBsQlZXw.esm.js} +1 -1
- package/dist/{documentCaptureManager-Cbmisldc.d.ts → documentCaptureManager-Cg45h7_W.d.ts} +224 -224
- package/dist/{documentCaptureStateMachine-D1s7n4_f.esm.js → documentCaptureStateMachine-xxT-yxJP.esm.js} +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-Ch6KHRG4.esm.js → ekybStateMachine-BiPcOX5p.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +17 -16
- package/dist/extensibility.esm.js +17 -17
- package/dist/face-match.d.ts +1 -1
- package/dist/{faceCaptureManagerFactory-D4uYpHLN.esm.js → faceCaptureManagerFactory-7LOCpq26.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-CXoJPazr.d.ts → faceCaptureManagerFactory-CN95eDaX.d.ts} +2 -2
- package/dist/{faceCaptureSetup-CcOkgTrp.esm.js → faceCaptureSetup-CcPBTCx_.esm.js} +4 -4
- package/dist/{faceMatchManager-CeCkxNYz.d.ts → faceMatchManager-CQiSAocW.d.ts} +2 -2
- package/dist/flow.d.ts +3 -3
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-_htCDjJ8.esm.js → flowServices-xoG2v-Zg.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-verification.d.ts +1 -1
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +9 -9
- package/dist/{idCaptureDefaults-CHbl3wiH.esm.js → idCaptureDefaults-DK4ykzxh.esm.js} +1 -1
- package/dist/{idCaptureManager-CGZOssGT.d.ts → idCaptureManager-C5Ko6NhX.d.ts} +1 -1
- package/dist/{idCaptureManager-BNMKY91_.esm.js → idCaptureManager-CvcIYCbR.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-Cvvg4Dr0.esm.js → idCaptureStateMachine-DWRtZU8U.esm.js} +7 -7
- package/dist/{idOcrManager-BirZFDij.d.ts → idOcrManager-BztGAfB0.d.ts} +52 -52
- package/dist/{idVerificationManager-DBSwipOg.d.ts → idVerificationManager-DDy-difD.d.ts} +25 -25
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-CAIW177J.d.ts → identityReuseManager-CU0zYV7u.d.ts} +31 -31
- package/dist/{index-Dawvpdu2.d.ts → index-U-zHjUn0.d.ts} +150 -150
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +4 -4
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CJsSl9l9.d.ts → mandatoryConsentManager-DzZATI2M.d.ts} +50 -50
- package/dist/{onDeviceFaceResults-DkMpJ8sE.esm.js → onDeviceFaceResults-DOX32waz.esm.js} +2 -2
- package/dist/{permissionGuards-CaZl9t7f.esm.js → permissionGuards-CayfS8OY.esm.js} +1 -1
- package/dist/{permissionServices-D9lmzFYc.esm.js → permissionServices-B7lD6fiG.esm.js} +1 -1
- package/dist/personhood.d.ts +4 -4
- package/dist/personhood.esm.js +5 -5
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{recordingService-DGmQlH2l.esm.js → recordingService-COOmW1Y3.esm.js} +1 -1
- package/dist/selfie.d.ts +6 -6
- package/dist/selfie.esm.js +9 -9
- package/dist/{selfieManager-BnMx5JXl.esm.js → selfieManager-CSc7GgWc.esm.js} +3 -3
- package/dist/{selfieManager-CBDdfgJq.d.ts → selfieManager-xfzu2VxN.d.ts} +1 -1
- package/dist/{selfieStateMachine-D9mpzUrN.esm.js → selfieStateMachine-BpCqqPy0.esm.js} +2 -2
- package/dist/session.esm.js +1 -1
- package/dist/{sessionInitializer-pskmEs77.esm.js → sessionInitializer-Co7APszQ.esm.js} +1 -1
- package/dist/{setup-CQx3AATK.esm.js → setup-C-KKsxNp.esm.js} +9 -5
- package/dist/{setup-B57aFDOi.d.ts → setup-D1e0UBPP.d.ts} +7 -1
- package/dist/trust-graph.d.ts +2 -2
- package/dist/{types-B-wZmkKX.d.ts → types-DjUVRt1t.d.ts} +1 -1
- package/dist/video-selfie.d.ts +5 -5
- package/dist/video-selfie.esm.js +7 -7
- package/dist/{warmup-B6uMODEx.d.ts → warmup-BLb08x_r.d.ts} +7 -0
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +4 -4
- package/dist/workflow.d.ts +156 -156
- package/dist/workflow.esm.js +14 -14
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-BLb08x_r.js";
|
|
2
2
|
import { c as FaceAttributesThresholds, d as FaceDetectionCallbacks, f as FaceDetectionConfig, h as IFaceDetectionCapability, l as FaceChecksConfig, m as FacePositionConstraints, p as FaceDetectionThresholds, v as WebApiHostRequestConfig } from "./createFaceAvatar-Cq8XaOFg.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/wasm/WasmPipelineType.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-BLb08x_r.js";
|
|
2
2
|
import { _ as MLProviderConfig } from "./createFaceAvatar-Cq8XaOFg.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IRecordingCapability.d.ts
|
|
@@ -105,6 +105,11 @@ type IWasmUtilCapability = {
|
|
|
105
105
|
setCameraInfo(cameraInfo: object, overrideExisting?: boolean): void;
|
|
106
106
|
setMotionStatus(status: string): void;
|
|
107
107
|
setBackgroundMode(backgroundMode: boolean): void;
|
|
108
|
+
/**
|
|
109
|
+
* Enables on-device mode: the native WASM module skips full fingerprint
|
|
110
|
+
* collection and keeps only the device-detection DTO. Additive; default off.
|
|
111
|
+
*/
|
|
112
|
+
setOnDeviceMode(enabled: boolean): void;
|
|
108
113
|
setZc(zc: string): void;
|
|
109
114
|
setInspectorOpened(opened: boolean): void;
|
|
110
115
|
/**
|
|
@@ -447,6 +447,7 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
447
447
|
this.pipelines_ = null;
|
|
448
448
|
this.isInitialized_ = false;
|
|
449
449
|
this.inspectorOpened_ = false;
|
|
450
|
+
this.onDeviceMode_ = false;
|
|
450
451
|
this.wasmCallSemaphore = new SemaphoreProvider();
|
|
451
452
|
this.Module = null;
|
|
452
453
|
}
|
|
@@ -478,6 +479,7 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
478
479
|
this.Module = window.Module;
|
|
479
480
|
this.workflowApiUtilities = new this.wasmModule.WorkflowApiUtilities();
|
|
480
481
|
this.utilityApi = new this.wasmModule.UtilityApi();
|
|
482
|
+
this.utilityApi.setOnDeviceMode(this.onDeviceMode_);
|
|
481
483
|
this.idCaptureWasmApi = new this.wasmModule.IdCaptureApi();
|
|
482
484
|
this.faceProcessingWasmApi = new this.wasmModule.FaceProcessingApi();
|
|
483
485
|
this.webApi = new this.wasmModule.WebApi(createWebApiHostAdapter());
|
|
@@ -772,6 +774,10 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
772
774
|
this.checkWasmInitialization("Unable to set background mode, cpp API hasn't been initialized");
|
|
773
775
|
this.utilityApi.setBackgroundMode(backgroundMode);
|
|
774
776
|
}
|
|
777
|
+
setOnDeviceMode(enabled) {
|
|
778
|
+
this.onDeviceMode_ = enabled;
|
|
779
|
+
if (this.utilityApi != null) this.utilityApi.setOnDeviceMode(enabled);
|
|
780
|
+
}
|
|
775
781
|
getCheck() {
|
|
776
782
|
this.checkWasmInitialization("Unable to get check, cpp API hasn't been initialized");
|
|
777
783
|
return this.utilityApi.getCheck();
|
|
@@ -1040,6 +1046,7 @@ async function warmupWasm(config) {
|
|
|
1040
1046
|
loadingPromise = (async () => {
|
|
1041
1047
|
try {
|
|
1042
1048
|
const pipelinesMap = buildPipelinesMap(pipelines, modelsBasePath, config.pipelineModels);
|
|
1049
|
+
if (config.onDeviceMode !== void 0) mlWasmJSApi_default.setOnDeviceMode(config.onDeviceMode);
|
|
1043
1050
|
await mlWasmJSApi_default.initialize(config.wasmPath, config.wasmSimdPath ?? config.wasmPath, config.glueCodePath, config.glueCodeSimdPath ?? "", config.useSimd ?? true, "", pipelinesMap);
|
|
1044
1051
|
await mlWasmJSApi_default.loadModels();
|
|
1045
1052
|
await mlWasmJSApi_default.initializePipelines();
|
|
@@ -1097,6 +1104,15 @@ function waitForWasm() {
|
|
|
1097
1104
|
if (state === "error") return Promise.reject(wasmError ?? /* @__PURE__ */ new Error("WASM initialization failed"));
|
|
1098
1105
|
return Promise.reject(/* @__PURE__ */ new Error("WASM warmup was not started. Call warmupWasm() first."));
|
|
1099
1106
|
}
|
|
1107
|
+
/**
|
|
1108
|
+
* Sets WASM on-device mode on the shared WASM singleton. Applied on the next
|
|
1109
|
+
* `initialize()` (via warmupWasm), or live if WASM is already initialized.
|
|
1110
|
+
* Used by setup() to derive on-device mode from the `fingerprint` option so
|
|
1111
|
+
* the intent is honored even by lazy warmups whose config does not carry it.
|
|
1112
|
+
*/
|
|
1113
|
+
function setWasmOnDeviceMode(enabled) {
|
|
1114
|
+
mlWasmJSApi_default.setOnDeviceMode(enabled);
|
|
1115
|
+
}
|
|
1100
1116
|
|
|
1101
1117
|
//#endregion
|
|
1102
1118
|
//#region ../infra/src/providers/wasm/BaseWasmProvider.ts
|
|
@@ -1244,6 +1260,10 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
|
1244
1260
|
this.ensureInitialized();
|
|
1245
1261
|
mlWasmJSApi_default.setBackgroundMode(backgroundMode);
|
|
1246
1262
|
}
|
|
1263
|
+
setOnDeviceMode(enabled) {
|
|
1264
|
+
this.ensureInitialized();
|
|
1265
|
+
mlWasmJSApi_default.setOnDeviceMode(enabled);
|
|
1266
|
+
}
|
|
1247
1267
|
setZc(zc) {
|
|
1248
1268
|
this.ensureInitialized();
|
|
1249
1269
|
mlWasmJSApi_default.setZc(zc);
|
|
@@ -1330,4 +1350,4 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
|
1330
1350
|
};
|
|
1331
1351
|
|
|
1332
1352
|
//#endregion
|
|
1333
|
-
export {
|
|
1353
|
+
export { mlWasmJSApi_default as a, initializeWasmWebClient as c, WasmPipelineType as d, IdCaptureModelType as f, warmupWasm as i, setWebApiHttpTransport as l, BaseWasmProvider as n, WasmWebClientError as o, deriveSiblingJsPath as p, setWasmOnDeviceMode as r, executeWasmRequest as s, WasmUtilProvider as t, setupWasmConnection as u };
|
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./StateMachine-BbQn0WGQ.js";
|
|
2
2
|
import { t as Manager } from "./Manager-Nf1FHI2l.js";
|
|
3
3
|
import "./Actor-CVuNUOJR.js";
|
|
4
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
4
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-U-zHjUn0.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/ae-signature/index.d.ts
|
|
7
7
|
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "./warmup-
|
|
1
|
+
import "./warmup-BLb08x_r.js";
|
|
2
2
|
import "./StateMachine-BbQn0WGQ.js";
|
|
3
3
|
import "./Manager-Nf1FHI2l.js";
|
|
4
4
|
import "./Actor-CVuNUOJR.js";
|
|
5
5
|
import "./IVisibilityObserverCapability-CnatuAB2.js";
|
|
6
|
-
import { S as authenticationMachine, b as createAuthenticationActor, v as AuthenticationActor, x as AuthenticationConfig, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { S as authenticationMachine, b as createAuthenticationActor, v as AuthenticationActor, x as AuthenticationConfig, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CN95eDaX.js";
|
|
7
7
|
import "./camera-BKIKKx_i.js";
|
|
8
8
|
import "./types-DMwx1WSD.js";
|
|
9
9
|
import "./types-BvBOuDuK.js";
|
|
10
10
|
import "./canvas-BObFM-qd.js";
|
|
11
11
|
import "./createFaceAvatar-Cq8XaOFg.js";
|
|
12
12
|
import "./types-q_JqcrUi.js";
|
|
13
|
-
import "./IWasmUtilCapability-
|
|
13
|
+
import "./IWasmUtilCapability-CCTvyShE.js";
|
|
14
14
|
import "./types-4Zm5rOiY.js";
|
|
15
|
-
import "./types-
|
|
16
|
-
import "./FaceDetectionProvider-
|
|
15
|
+
import "./types-DjUVRt1t.js";
|
|
16
|
+
import "./FaceDetectionProvider-D-SuPeaR.js";
|
|
17
17
|
import "./StreamCanvasCapture-2WEq2BPh.js";
|
|
18
18
|
import "./deepsightService-DM-bFcoC.js";
|
|
19
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
19
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-D_hu_JQz.js";
|
|
20
20
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./WasmUtilProvider-
|
|
1
|
+
import "./WasmUtilProvider-BNQ2PBjG.esm.js";
|
|
2
2
|
import "./api-DsbUi7TO.esm.js";
|
|
3
3
|
import "./events-aeCkGlnn.esm.js";
|
|
4
4
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
@@ -7,14 +7,14 @@ import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
|
7
7
|
import "./platform-0Ot-bF_a.esm.js";
|
|
8
8
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
9
9
|
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
10
|
-
import "./faceCaptureSetup-
|
|
10
|
+
import "./faceCaptureSetup-CcPBTCx_.esm.js";
|
|
11
11
|
import "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
|
|
12
12
|
import "./MotionSensorProvider-BkHKMCPE.esm.js";
|
|
13
|
-
import "./permissionServices-
|
|
13
|
+
import "./permissionServices-B7lD6fiG.esm.js";
|
|
14
14
|
import "./camera-B0yWS33x.esm.js";
|
|
15
|
-
import "./faceCaptureManagerFactory-
|
|
15
|
+
import "./faceCaptureManagerFactory-7LOCpq26.esm.js";
|
|
16
16
|
import "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
17
|
-
import "./onDeviceFaceResults-
|
|
17
|
+
import "./onDeviceFaceResults-DOX32waz.esm.js";
|
|
18
18
|
import "./ITimerCapability-G7lQg-be.esm.js";
|
|
19
19
|
import "./canvas-DsJa51yU.esm.js";
|
|
20
20
|
import "./backCameraStream-Cz2EvzSR.esm.js";
|
|
@@ -25,10 +25,10 @@ import "./getDeviceClass-QxbJwsOO.esm.js";
|
|
|
25
25
|
import "./types-Db2ooXIu.esm.js";
|
|
26
26
|
import "./createFaceAvatar-DoRExjKD.esm.js";
|
|
27
27
|
import "./StreamCanvasCapture-CRk7c7u7.esm.js";
|
|
28
|
-
import "./permissionGuards-
|
|
29
|
-
import "./recordingService-
|
|
28
|
+
import "./permissionGuards-CayfS8OY.esm.js";
|
|
29
|
+
import "./recordingService-COOmW1Y3.esm.js";
|
|
30
30
|
import "./mediaRecorderOptions-DuYelylE.esm.js";
|
|
31
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
32
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
31
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-1dW-EM34.esm.js";
|
|
32
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BxjPAQjy.esm.js";
|
|
33
33
|
|
|
34
34
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-DW7Lju5h.esm.js → authenticationManager-BxjPAQjy.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BNQ2PBjG.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-aeCkGlnn.esm.js";
|
|
3
3
|
import { s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-7LOCpq26.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-1dW-EM34.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-Nf1FHI2l.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-CnatuAB2.js";
|
|
3
|
-
import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { n as FaceCaptureManagerState, t as FaceCaptureManager, v as AuthenticationActor, y as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CN95eDaX.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
6
6
|
type AuthenticationState = FaceCaptureManagerState;
|
|
@@ -2,8 +2,8 @@ import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-BVy52wLy.esm.js";
|
|
4
4
|
import { a as fromPromise, r as assign } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
5
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CcPBTCx_.esm.js";
|
|
6
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-DOX32waz.esm.js";
|
|
7
7
|
import { t as getDeviceClass } from "./getDeviceClass-QxbJwsOO.esm.js";
|
|
8
8
|
import { t as FACE_ERROR_CODES } from "./types-Db2ooXIu.esm.js";
|
|
9
9
|
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./WasmUtilProvider-
|
|
1
|
+
import "./WasmUtilProvider-BNQ2PBjG.esm.js";
|
|
2
2
|
import "./MotionSensorProvider-BkHKMCPE.esm.js";
|
|
3
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
3
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-B7lD6fiG.esm.js";
|
|
4
4
|
import "./camera-B0yWS33x.esm.js";
|
|
5
5
|
|
|
6
6
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./StateMachine-BbQn0WGQ.js";
|
|
2
2
|
import { t as Manager } from "./Manager-Nf1FHI2l.js";
|
|
3
3
|
import "./Actor-CVuNUOJR.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as xstate461 from "xstate";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/certificate-issuance/certificateIssuanceConstants.d.ts
|
|
7
7
|
declare const MIN_PASSWORD_LENGTH = 8;
|
|
@@ -40,7 +40,7 @@ type CertificateIssuanceContext = {
|
|
|
40
40
|
type CertificateIssuanceInput = {
|
|
41
41
|
config: CertificateIssuanceConfig;
|
|
42
42
|
};
|
|
43
|
-
declare const certificateIssuanceMachine:
|
|
43
|
+
declare const certificateIssuanceMachine: xstate461.StateMachine<CertificateIssuanceContext, {
|
|
44
44
|
type: "LOAD";
|
|
45
45
|
} | {
|
|
46
46
|
type: "PASSWORD_CHANGED";
|
|
@@ -54,28 +54,28 @@ declare const certificateIssuanceMachine: xstate875.StateMachine<CertificateIssu
|
|
|
54
54
|
} | {
|
|
55
55
|
type: "FINISH";
|
|
56
56
|
}, {
|
|
57
|
-
[x: string]:
|
|
57
|
+
[x: string]: xstate461.ActorRefFromLogic<xstate461.PromiseActorLogic<IssueCertificateResponse, {
|
|
58
58
|
password: string;
|
|
59
|
-
},
|
|
59
|
+
}, xstate461.EventObject>> | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
src: "issueCertificate";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate461.PromiseActorLogic<IssueCertificateResponse, {
|
|
63
63
|
password: string;
|
|
64
|
-
},
|
|
64
|
+
}, xstate461.EventObject>;
|
|
65
65
|
id: string | undefined;
|
|
66
|
-
},
|
|
66
|
+
}, xstate461.Values<{
|
|
67
67
|
setPassword: {
|
|
68
68
|
type: "setPassword";
|
|
69
|
-
params:
|
|
69
|
+
params: xstate461.NonReducibleUnknown;
|
|
70
70
|
};
|
|
71
71
|
setBlob: {
|
|
72
72
|
type: "setBlob";
|
|
73
|
-
params:
|
|
73
|
+
params: xstate461.NonReducibleUnknown;
|
|
74
74
|
};
|
|
75
75
|
}>, {
|
|
76
76
|
type: "isPasswordValid";
|
|
77
77
|
params: unknown;
|
|
78
|
-
}, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput,
|
|
78
|
+
}, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput, xstate461.NonReducibleUnknown, xstate461.EventObject, xstate461.MetaObject, {
|
|
79
79
|
readonly id: "certificateIssuance";
|
|
80
80
|
readonly initial: "idle";
|
|
81
81
|
readonly context: ({
|
|
@@ -84,39 +84,39 @@ declare const certificateIssuanceMachine: xstate875.StateMachine<CertificateIssu
|
|
|
84
84
|
spawn: {
|
|
85
85
|
<TSrc extends "issueCertificate">(logic: TSrc, ...[options]: {
|
|
86
86
|
src: "issueCertificate";
|
|
87
|
-
logic:
|
|
87
|
+
logic: xstate461.PromiseActorLogic<IssueCertificateResponse, {
|
|
88
88
|
password: string;
|
|
89
|
-
},
|
|
89
|
+
}, xstate461.EventObject>;
|
|
90
90
|
id: string | undefined;
|
|
91
91
|
} extends infer T ? T extends {
|
|
92
92
|
src: "issueCertificate";
|
|
93
|
-
logic:
|
|
93
|
+
logic: xstate461.PromiseActorLogic<IssueCertificateResponse, {
|
|
94
94
|
password: string;
|
|
95
|
-
},
|
|
95
|
+
}, xstate461.EventObject>;
|
|
96
96
|
id: string | undefined;
|
|
97
97
|
} ? T extends {
|
|
98
98
|
src: TSrc;
|
|
99
|
-
} ?
|
|
99
|
+
} ? xstate461.ConditionalRequired<[options?: ({
|
|
100
100
|
id?: T["id"] | undefined;
|
|
101
101
|
systemId?: string;
|
|
102
|
-
input?:
|
|
102
|
+
input?: xstate461.InputFrom<T["logic"]> | undefined;
|
|
103
103
|
syncSnapshot?: boolean;
|
|
104
|
-
} & { [K in
|
|
104
|
+
} & { [K in xstate461.RequiredActorOptions<T>]: unknown }) | undefined], xstate461.IsNotNever<xstate461.RequiredActorOptions<T>>> : never : never : never): xstate461.ActorRefFromLogic<xstate461.GetConcreteByKey<{
|
|
105
105
|
src: "issueCertificate";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate461.PromiseActorLogic<IssueCertificateResponse, {
|
|
107
107
|
password: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate461.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
}, "src", TSrc>["logic"]>;
|
|
111
|
-
<TLogic extends
|
|
111
|
+
<TLogic extends xstate461.AnyActorLogic>(src: TLogic, ...[options]: xstate461.ConditionalRequired<[options?: ({
|
|
112
112
|
id?: never;
|
|
113
113
|
systemId?: string;
|
|
114
|
-
input?:
|
|
114
|
+
input?: xstate461.InputFrom<TLogic> | undefined;
|
|
115
115
|
syncSnapshot?: boolean;
|
|
116
|
-
} & { [K in
|
|
116
|
+
} & { [K in xstate461.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate461.IsNotNever<xstate461.RequiredLogicInput<TLogic>>>): xstate461.ActorRefFromLogic<TLogic>;
|
|
117
117
|
};
|
|
118
118
|
input: CertificateIssuanceInput;
|
|
119
|
-
self:
|
|
119
|
+
self: xstate461.ActorRef<xstate461.MachineSnapshot<CertificateIssuanceContext, {
|
|
120
120
|
type: "LOAD";
|
|
121
121
|
} | {
|
|
122
122
|
type: "PASSWORD_CHANGED";
|
|
@@ -129,7 +129,7 @@ declare const certificateIssuanceMachine: xstate875.StateMachine<CertificateIssu
|
|
|
129
129
|
type: "DOWNLOAD_FAILED";
|
|
130
130
|
} | {
|
|
131
131
|
type: "FINISH";
|
|
132
|
-
}, Record<string,
|
|
132
|
+
}, Record<string, xstate461.AnyActorRef | undefined>, xstate461.StateValue, string, unknown, any, any>, {
|
|
133
133
|
type: "LOAD";
|
|
134
134
|
} | {
|
|
135
135
|
type: "PASSWORD_CHANGED";
|
|
@@ -142,7 +142,7 @@ declare const certificateIssuanceMachine: xstate875.StateMachine<CertificateIssu
|
|
|
142
142
|
type: "DOWNLOAD_FAILED";
|
|
143
143
|
} | {
|
|
144
144
|
type: "FINISH";
|
|
145
|
-
},
|
|
145
|
+
}, xstate461.AnyEventObject>;
|
|
146
146
|
}) => {
|
|
147
147
|
config: CertificateIssuanceConfig;
|
|
148
148
|
password: string;
|
|
@@ -190,7 +190,7 @@ declare const certificateIssuanceMachine: xstate875.StateMachine<CertificateIssu
|
|
|
190
190
|
} | {
|
|
191
191
|
type: "FINISH";
|
|
192
192
|
};
|
|
193
|
-
self:
|
|
193
|
+
self: xstate461.ActorRef<xstate461.MachineSnapshot<CertificateIssuanceContext, {
|
|
194
194
|
type: "LOAD";
|
|
195
195
|
} | {
|
|
196
196
|
type: "PASSWORD_CHANGED";
|
|
@@ -203,7 +203,7 @@ declare const certificateIssuanceMachine: xstate875.StateMachine<CertificateIssu
|
|
|
203
203
|
type: "DOWNLOAD_FAILED";
|
|
204
204
|
} | {
|
|
205
205
|
type: "FINISH";
|
|
206
|
-
}, Record<string,
|
|
206
|
+
}, Record<string, xstate461.AnyActorRef>, xstate461.StateValue, string, unknown, any, any>, {
|
|
207
207
|
type: "LOAD";
|
|
208
208
|
} | {
|
|
209
209
|
type: "PASSWORD_CHANGED";
|
|
@@ -216,7 +216,7 @@ declare const certificateIssuanceMachine: xstate875.StateMachine<CertificateIssu
|
|
|
216
216
|
type: "DOWNLOAD_FAILED";
|
|
217
217
|
} | {
|
|
218
218
|
type: "FINISH";
|
|
219
|
-
},
|
|
219
|
+
}, xstate461.AnyEventObject>;
|
|
220
220
|
}) => {
|
|
221
221
|
password: string;
|
|
222
222
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as initializeWasmWebClient, l as setWebApiHttpTransport, o as WasmWebClientError, s as executeWasmRequest, u as setupWasmConnection } from "./WasmUtilProvider-BNQ2PBjG.esm.js";
|
|
2
2
|
import { o as setClient } from "./api-DsbUi7TO.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/http/createApi.ts
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./StateMachine-BbQn0WGQ.js";
|
|
2
2
|
import "./Manager-Nf1FHI2l.js";
|
|
3
3
|
import "./Actor-CVuNUOJR.js";
|
|
4
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
4
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-BBLuAEtO.js";
|
|
5
5
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-Nf1FHI2l.js";
|
|
2
2
|
import { t as ActorRefFrom } from "./Actor-CVuNUOJR.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate1158 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/types.d.ts
|
|
6
6
|
type ConsentConfig = {
|
|
@@ -37,7 +37,7 @@ type ConsentContext = {
|
|
|
37
37
|
type ConsentInput = {
|
|
38
38
|
config: ConsentConfig;
|
|
39
39
|
};
|
|
40
|
-
declare const consentMachine:
|
|
40
|
+
declare const consentMachine: xstate1158.StateMachine<ConsentContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -49,55 +49,55 @@ declare const consentMachine: xstate1192.StateMachine<ConsentContext, {
|
|
|
49
49
|
} | {
|
|
50
50
|
type: "RESET";
|
|
51
51
|
}, {
|
|
52
|
-
[x: string]:
|
|
52
|
+
[x: string]: xstate1158.ActorRefFromLogic<xstate1158.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
53
53
|
consentId: string;
|
|
54
54
|
language?: string;
|
|
55
|
-
},
|
|
55
|
+
}, xstate1158.EventObject>> | xstate1158.ActorRefFromLogic<xstate1158.PromiseActorLogic<void, {
|
|
56
56
|
languageConsentId: string;
|
|
57
57
|
checkboxes: ConsentCheckbox[];
|
|
58
|
-
},
|
|
59
|
-
},
|
|
58
|
+
}, xstate1158.EventObject>> | undefined;
|
|
59
|
+
}, xstate1158.Values<{
|
|
60
60
|
fetchConsent: {
|
|
61
61
|
src: "fetchConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate1158.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
language?: string;
|
|
65
|
-
},
|
|
65
|
+
}, xstate1158.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
submitConsent: {
|
|
69
69
|
src: "submitConsent";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate1158.PromiseActorLogic<void, {
|
|
71
71
|
languageConsentId: string;
|
|
72
72
|
checkboxes: ConsentCheckbox[];
|
|
73
|
-
},
|
|
73
|
+
}, xstate1158.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate1158.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate1158.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate1158.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
resetContext: {
|
|
86
86
|
type: "resetContext";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate1158.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setConsentData: {
|
|
90
90
|
type: "setConsentData";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate1158.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
toggleCheckbox: {
|
|
94
94
|
type: "toggleCheckbox";
|
|
95
|
-
params:
|
|
95
|
+
params: xstate1158.NonReducibleUnknown;
|
|
96
96
|
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput,
|
|
100
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate1158.NonReducibleUnknown, xstate1158.EventObject, xstate1158.MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({
|
|
@@ -106,73 +106,73 @@ declare const consentMachine: xstate1192.StateMachine<ConsentContext, {
|
|
|
106
106
|
spawn: {
|
|
107
107
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate1158.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
110
|
consentId: string;
|
|
111
111
|
language?: string;
|
|
112
|
-
},
|
|
112
|
+
}, xstate1158.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
} extends infer T ? T extends {
|
|
115
115
|
src: "fetchConsent";
|
|
116
|
-
logic:
|
|
116
|
+
logic: xstate1158.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
117
117
|
consentId: string;
|
|
118
118
|
language?: string;
|
|
119
|
-
},
|
|
119
|
+
}, xstate1158.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
} ? T extends {
|
|
122
122
|
src: TSrc;
|
|
123
|
-
} ?
|
|
123
|
+
} ? xstate1158.ConditionalRequired<[options?: ({
|
|
124
124
|
id?: T["id"] | undefined;
|
|
125
125
|
systemId?: string;
|
|
126
|
-
input?:
|
|
126
|
+
input?: xstate1158.InputFrom<T["logic"]> | undefined;
|
|
127
127
|
syncSnapshot?: boolean;
|
|
128
|
-
} & { [K in
|
|
128
|
+
} & { [K in xstate1158.RequiredActorOptions<T>]: unknown }) | undefined], xstate1158.IsNotNever<xstate1158.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
129
129
|
src: "submitConsent";
|
|
130
|
-
logic:
|
|
130
|
+
logic: xstate1158.PromiseActorLogic<void, {
|
|
131
131
|
languageConsentId: string;
|
|
132
132
|
checkboxes: ConsentCheckbox[];
|
|
133
|
-
},
|
|
133
|
+
}, xstate1158.EventObject>;
|
|
134
134
|
id: string | undefined;
|
|
135
135
|
} extends infer T_1 ? T_1 extends {
|
|
136
136
|
src: "submitConsent";
|
|
137
|
-
logic:
|
|
137
|
+
logic: xstate1158.PromiseActorLogic<void, {
|
|
138
138
|
languageConsentId: string;
|
|
139
139
|
checkboxes: ConsentCheckbox[];
|
|
140
|
-
},
|
|
140
|
+
}, xstate1158.EventObject>;
|
|
141
141
|
id: string | undefined;
|
|
142
142
|
} ? T_1 extends {
|
|
143
143
|
src: TSrc;
|
|
144
|
-
} ?
|
|
144
|
+
} ? xstate1158.ConditionalRequired<[options?: ({
|
|
145
145
|
id?: T_1["id"] | undefined;
|
|
146
146
|
systemId?: string;
|
|
147
|
-
input?:
|
|
147
|
+
input?: xstate1158.InputFrom<T_1["logic"]> | undefined;
|
|
148
148
|
syncSnapshot?: boolean;
|
|
149
|
-
} & { [K_1 in
|
|
149
|
+
} & { [K_1 in xstate1158.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1158.IsNotNever<xstate1158.RequiredActorOptions<T_1>>> : never : never : never)): xstate1158.ActorRefFromLogic<xstate1158.GetConcreteByKey<xstate1158.Values<{
|
|
150
150
|
fetchConsent: {
|
|
151
151
|
src: "fetchConsent";
|
|
152
|
-
logic:
|
|
152
|
+
logic: xstate1158.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
153
153
|
consentId: string;
|
|
154
154
|
language?: string;
|
|
155
|
-
},
|
|
155
|
+
}, xstate1158.EventObject>;
|
|
156
156
|
id: string | undefined;
|
|
157
157
|
};
|
|
158
158
|
submitConsent: {
|
|
159
159
|
src: "submitConsent";
|
|
160
|
-
logic:
|
|
160
|
+
logic: xstate1158.PromiseActorLogic<void, {
|
|
161
161
|
languageConsentId: string;
|
|
162
162
|
checkboxes: ConsentCheckbox[];
|
|
163
|
-
},
|
|
163
|
+
}, xstate1158.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
}>, "src", TSrc>["logic"]>;
|
|
167
|
-
<TLogic extends
|
|
167
|
+
<TLogic extends xstate1158.AnyActorLogic>(src: TLogic, ...[options]: xstate1158.ConditionalRequired<[options?: ({
|
|
168
168
|
id?: never;
|
|
169
169
|
systemId?: string;
|
|
170
|
-
input?:
|
|
170
|
+
input?: xstate1158.InputFrom<TLogic> | undefined;
|
|
171
171
|
syncSnapshot?: boolean;
|
|
172
|
-
} & { [K in
|
|
172
|
+
} & { [K in xstate1158.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1158.IsNotNever<xstate1158.RequiredLogicInput<TLogic>>>): xstate1158.ActorRefFromLogic<TLogic>;
|
|
173
173
|
};
|
|
174
174
|
input: ConsentInput;
|
|
175
|
-
self:
|
|
175
|
+
self: xstate1158.ActorRef<xstate1158.MachineSnapshot<ConsentContext, {
|
|
176
176
|
type: "LOAD";
|
|
177
177
|
} | {
|
|
178
178
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -183,7 +183,7 @@ declare const consentMachine: xstate1192.StateMachine<ConsentContext, {
|
|
|
183
183
|
type: "RETRY";
|
|
184
184
|
} | {
|
|
185
185
|
type: "RESET";
|
|
186
|
-
}, Record<string,
|
|
186
|
+
}, Record<string, xstate1158.AnyActorRef | undefined>, xstate1158.StateValue, string, unknown, any, any>, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -194,7 +194,7 @@ declare const consentMachine: xstate1192.StateMachine<ConsentContext, {
|
|
|
194
194
|
type: "RETRY";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RESET";
|
|
197
|
-
},
|
|
197
|
+
}, xstate1158.AnyEventObject>;
|
|
198
198
|
}) => {
|
|
199
199
|
config: ConsentConfig;
|
|
200
200
|
title: string;
|
|
@@ -232,7 +232,7 @@ declare const consentMachine: xstate1192.StateMachine<ConsentContext, {
|
|
|
232
232
|
} | {
|
|
233
233
|
type: "RESET";
|
|
234
234
|
};
|
|
235
|
-
self:
|
|
235
|
+
self: xstate1158.ActorRef<xstate1158.MachineSnapshot<ConsentContext, {
|
|
236
236
|
type: "LOAD";
|
|
237
237
|
} | {
|
|
238
238
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -243,7 +243,7 @@ declare const consentMachine: xstate1192.StateMachine<ConsentContext, {
|
|
|
243
243
|
type: "RETRY";
|
|
244
244
|
} | {
|
|
245
245
|
type: "RESET";
|
|
246
|
-
}, Record<string,
|
|
246
|
+
}, Record<string, xstate1158.AnyActorRef>, xstate1158.StateValue, string, unknown, any, any>, {
|
|
247
247
|
type: "LOAD";
|
|
248
248
|
} | {
|
|
249
249
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -254,7 +254,7 @@ declare const consentMachine: xstate1192.StateMachine<ConsentContext, {
|
|
|
254
254
|
type: "RETRY";
|
|
255
255
|
} | {
|
|
256
256
|
type: "RESET";
|
|
257
|
-
},
|
|
257
|
+
}, xstate1158.AnyEventObject>;
|
|
258
258
|
}) => {
|
|
259
259
|
consentId: string;
|
|
260
260
|
language: string | undefined;
|
|
@@ -304,7 +304,7 @@ declare const consentMachine: xstate1192.StateMachine<ConsentContext, {
|
|
|
304
304
|
} | {
|
|
305
305
|
type: "RESET";
|
|
306
306
|
};
|
|
307
|
-
self:
|
|
307
|
+
self: xstate1158.ActorRef<xstate1158.MachineSnapshot<ConsentContext, {
|
|
308
308
|
type: "LOAD";
|
|
309
309
|
} | {
|
|
310
310
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -315,7 +315,7 @@ declare const consentMachine: xstate1192.StateMachine<ConsentContext, {
|
|
|
315
315
|
type: "RETRY";
|
|
316
316
|
} | {
|
|
317
317
|
type: "RESET";
|
|
318
|
-
}, Record<string,
|
|
318
|
+
}, Record<string, xstate1158.AnyActorRef>, xstate1158.StateValue, string, unknown, any, any>, {
|
|
319
319
|
type: "LOAD";
|
|
320
320
|
} | {
|
|
321
321
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -326,7 +326,7 @@ declare const consentMachine: xstate1192.StateMachine<ConsentContext, {
|
|
|
326
326
|
type: "RETRY";
|
|
327
327
|
} | {
|
|
328
328
|
type: "RESET";
|
|
329
|
-
},
|
|
329
|
+
}, xstate1158.AnyEventObject>;
|
|
330
330
|
}) => {
|
|
331
331
|
languageConsentId: string;
|
|
332
332
|
checkboxes: ConsentCheckbox[];
|