@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.
Files changed (80) hide show
  1. package/dist/{FaceDetectionProvider-C-TTFxTn.d.ts → FaceDetectionProvider-D-SuPeaR.d.ts} +1 -1
  2. package/dist/{IWasmUtilCapability-BWOlxduF.d.ts → IWasmUtilCapability-CCTvyShE.d.ts} +6 -1
  3. package/dist/{WasmUtilProvider-ADG54T6M.esm.js → WasmUtilProvider-BNQ2PBjG.esm.js} +21 -1
  4. package/dist/ae-signature.d.ts +1 -1
  5. package/dist/authentication.d.ts +6 -6
  6. package/dist/authentication.esm.js +9 -9
  7. package/dist/{authenticationManager-DW7Lju5h.esm.js → authenticationManager-BxjPAQjy.esm.js} +3 -3
  8. package/dist/{authenticationManager-Bk8ZnCwm.d.ts → authenticationManager-D_hu_JQz.d.ts} +1 -1
  9. package/dist/{authenticationStateMachine-Dn5nGX_f.esm.js → authenticationStateMachine-1dW-EM34.esm.js} +2 -2
  10. package/dist/camera.esm.js +2 -2
  11. package/dist/certificate-issuance.d.ts +28 -28
  12. package/dist/{clientLifecycle-Ct7h9uxx.esm.js → clientLifecycle-CCJMDjFe.esm.js} +1 -1
  13. package/dist/consent.d.ts +1 -1
  14. package/dist/{consentManager-nMA02HAK.d.ts → consentManager-BBLuAEtO.d.ts} +47 -47
  15. package/dist/cpf-ocr.d.ts +1 -1
  16. package/dist/{cpfOcrManager-B7QXocv1.d.ts → cpfOcrManager-DiuFeIlv.d.ts} +17 -17
  17. package/dist/{deepsightLoader-DNqG0Iux.esm.js → deepsightLoader-Br33KOpX.esm.js} +2 -2
  18. package/dist/document-capture.d.ts +1 -1
  19. package/dist/document-capture.esm.js +5 -5
  20. package/dist/document-upload.d.ts +40 -40
  21. package/dist/{documentCaptureManager-81Q9AwsW.esm.js → documentCaptureManager-BBsQlZXw.esm.js} +1 -1
  22. package/dist/{documentCaptureManager-Cbmisldc.d.ts → documentCaptureManager-Cg45h7_W.d.ts} +224 -224
  23. package/dist/{documentCaptureStateMachine-D1s7n4_f.esm.js → documentCaptureStateMachine-xxT-yxJP.esm.js} +2 -2
  24. package/dist/ekyb.esm.js +3 -3
  25. package/dist/{ekybStateMachine-Ch6KHRG4.esm.js → ekybStateMachine-BiPcOX5p.esm.js} +1 -1
  26. package/dist/electronic-signature.d.ts +1 -1
  27. package/dist/extensibility.d.ts +17 -16
  28. package/dist/extensibility.esm.js +17 -17
  29. package/dist/face-match.d.ts +1 -1
  30. package/dist/{faceCaptureManagerFactory-D4uYpHLN.esm.js → faceCaptureManagerFactory-7LOCpq26.esm.js} +2 -2
  31. package/dist/{faceCaptureManagerFactory-CXoJPazr.d.ts → faceCaptureManagerFactory-CN95eDaX.d.ts} +2 -2
  32. package/dist/{faceCaptureSetup-CcOkgTrp.esm.js → faceCaptureSetup-CcPBTCx_.esm.js} +4 -4
  33. package/dist/{faceMatchManager-CeCkxNYz.d.ts → faceMatchManager-CQiSAocW.d.ts} +2 -2
  34. package/dist/flow.d.ts +3 -3
  35. package/dist/flow.esm.js +2 -2
  36. package/dist/{flowServices-_htCDjJ8.esm.js → flowServices-xoG2v-Zg.esm.js} +1 -1
  37. package/dist/home.d.ts +10 -10
  38. package/dist/id-ocr.d.ts +1 -1
  39. package/dist/id-verification.d.ts +1 -1
  40. package/dist/id.d.ts +3 -3
  41. package/dist/id.esm.js +9 -9
  42. package/dist/{idCaptureDefaults-CHbl3wiH.esm.js → idCaptureDefaults-DK4ykzxh.esm.js} +1 -1
  43. package/dist/{idCaptureManager-CGZOssGT.d.ts → idCaptureManager-C5Ko6NhX.d.ts} +1 -1
  44. package/dist/{idCaptureManager-BNMKY91_.esm.js → idCaptureManager-CvcIYCbR.esm.js} +2 -2
  45. package/dist/{idCaptureStateMachine-Cvvg4Dr0.esm.js → idCaptureStateMachine-DWRtZU8U.esm.js} +7 -7
  46. package/dist/{idOcrManager-BirZFDij.d.ts → idOcrManager-BztGAfB0.d.ts} +52 -52
  47. package/dist/{idVerificationManager-DBSwipOg.d.ts → idVerificationManager-DDy-difD.d.ts} +25 -25
  48. package/dist/identity-reuse.d.ts +1 -1
  49. package/dist/{identityReuseManager-CAIW177J.d.ts → identityReuseManager-CU0zYV7u.d.ts} +31 -31
  50. package/dist/{index-Dawvpdu2.d.ts → index-U-zHjUn0.d.ts} +150 -150
  51. package/dist/index.d.ts +2 -2
  52. package/dist/index.esm.js +4 -4
  53. package/dist/mandatory-consent.d.ts +1 -1
  54. package/dist/{mandatoryConsentManager-CJsSl9l9.d.ts → mandatoryConsentManager-DzZATI2M.d.ts} +50 -50
  55. package/dist/{onDeviceFaceResults-DkMpJ8sE.esm.js → onDeviceFaceResults-DOX32waz.esm.js} +2 -2
  56. package/dist/{permissionGuards-CaZl9t7f.esm.js → permissionGuards-CayfS8OY.esm.js} +1 -1
  57. package/dist/{permissionServices-D9lmzFYc.esm.js → permissionServices-B7lD6fiG.esm.js} +1 -1
  58. package/dist/personhood.d.ts +4 -4
  59. package/dist/personhood.esm.js +5 -5
  60. package/dist/qe-signature.d.ts +1 -1
  61. package/dist/{recordingService-DGmQlH2l.esm.js → recordingService-COOmW1Y3.esm.js} +1 -1
  62. package/dist/selfie.d.ts +6 -6
  63. package/dist/selfie.esm.js +9 -9
  64. package/dist/{selfieManager-BnMx5JXl.esm.js → selfieManager-CSc7GgWc.esm.js} +3 -3
  65. package/dist/{selfieManager-CBDdfgJq.d.ts → selfieManager-xfzu2VxN.d.ts} +1 -1
  66. package/dist/{selfieStateMachine-D9mpzUrN.esm.js → selfieStateMachine-BpCqqPy0.esm.js} +2 -2
  67. package/dist/session.esm.js +1 -1
  68. package/dist/{sessionInitializer-pskmEs77.esm.js → sessionInitializer-Co7APszQ.esm.js} +1 -1
  69. package/dist/{setup-CQx3AATK.esm.js → setup-C-KKsxNp.esm.js} +9 -5
  70. package/dist/{setup-B57aFDOi.d.ts → setup-D1e0UBPP.d.ts} +7 -1
  71. package/dist/trust-graph.d.ts +2 -2
  72. package/dist/{types-B-wZmkKX.d.ts → types-DjUVRt1t.d.ts} +1 -1
  73. package/dist/video-selfie.d.ts +5 -5
  74. package/dist/video-selfie.esm.js +7 -7
  75. package/dist/{warmup-B6uMODEx.d.ts → warmup-BLb08x_r.d.ts} +7 -0
  76. package/dist/wasm.d.ts +3 -3
  77. package/dist/wasm.esm.js +4 -4
  78. package/dist/workflow.d.ts +156 -156
  79. package/dist/workflow.esm.js +14 -14
  80. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { n as WasmPipeline } from "./warmup-B6uMODEx.js";
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-B6uMODEx.js";
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 { WasmWebClientError as a, setWebApiHttpTransport as c, IdCaptureModelType as d, deriveSiblingJsPath as f, mlWasmJSApi_default as i, setupWasmConnection as l, BaseWasmProvider as n, executeWasmRequest as o, warmupWasm as r, initializeWasmWebClient as s, WasmUtilProvider as t, WasmPipelineType as u };
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 };
@@ -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-Dawvpdu2.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-U-zHjUn0.js";
5
5
 
6
6
  //#region src/modules/ae-signature/index.d.ts
7
7
 
@@ -1,20 +1,20 @@
1
- import "./warmup-B6uMODEx.js";
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-CXoJPazr.js";
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-BWOlxduF.js";
13
+ import "./IWasmUtilCapability-CCTvyShE.js";
14
14
  import "./types-4Zm5rOiY.js";
15
- import "./types-B-wZmkKX.js";
16
- import "./FaceDetectionProvider-C-TTFxTn.js";
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-Bk8ZnCwm.js";
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-ADG54T6M.esm.js";
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-CcOkgTrp.esm.js";
10
+ import "./faceCaptureSetup-CcPBTCx_.esm.js";
11
11
  import "./BrowserVisibilityObserverProvider-B04zvOXW.esm.js";
12
12
  import "./MotionSensorProvider-BkHKMCPE.esm.js";
13
- import "./permissionServices-D9lmzFYc.esm.js";
13
+ import "./permissionServices-B7lD6fiG.esm.js";
14
14
  import "./camera-B0yWS33x.esm.js";
15
- import "./faceCaptureManagerFactory-D4uYpHLN.esm.js";
15
+ import "./faceCaptureManagerFactory-7LOCpq26.esm.js";
16
16
  import "./BrowserStorageProvider-CBXGCHnK.esm.js";
17
- import "./onDeviceFaceResults-DkMpJ8sE.esm.js";
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-CaZl9t7f.esm.js";
29
- import "./recordingService-DGmQlH2l.esm.js";
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-Dn5nGX_f.esm.js";
32
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DW7Lju5h.esm.js";
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 };
@@ -1,9 +1,9 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-ADG54T6M.esm.js";
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-D4uYpHLN.esm.js";
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-Dn5nGX_f.esm.js";
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-CXoJPazr.js";
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-CcOkgTrp.esm.js";
6
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-DkMpJ8sE.esm.js";
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
 
@@ -1,6 +1,6 @@
1
- import "./WasmUtilProvider-ADG54T6M.esm.js";
1
+ import "./WasmUtilProvider-BNQ2PBjG.esm.js";
2
2
  import "./MotionSensorProvider-BkHKMCPE.esm.js";
3
- import { i as requestPermission, t as checkPermission } from "./permissionServices-D9lmzFYc.esm.js";
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 xstate875 from "xstate";
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: xstate875.StateMachine<CertificateIssuanceContext, {
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]: xstate875.ActorRefFromLogic<xstate875.PromiseActorLogic<IssueCertificateResponse, {
57
+ [x: string]: xstate461.ActorRefFromLogic<xstate461.PromiseActorLogic<IssueCertificateResponse, {
58
58
  password: string;
59
- }, xstate875.EventObject>> | undefined;
59
+ }, xstate461.EventObject>> | undefined;
60
60
  }, {
61
61
  src: "issueCertificate";
62
- logic: xstate875.PromiseActorLogic<IssueCertificateResponse, {
62
+ logic: xstate461.PromiseActorLogic<IssueCertificateResponse, {
63
63
  password: string;
64
- }, xstate875.EventObject>;
64
+ }, xstate461.EventObject>;
65
65
  id: string | undefined;
66
- }, xstate875.Values<{
66
+ }, xstate461.Values<{
67
67
  setPassword: {
68
68
  type: "setPassword";
69
- params: xstate875.NonReducibleUnknown;
69
+ params: xstate461.NonReducibleUnknown;
70
70
  };
71
71
  setBlob: {
72
72
  type: "setBlob";
73
- params: xstate875.NonReducibleUnknown;
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, xstate875.NonReducibleUnknown, xstate875.EventObject, xstate875.MetaObject, {
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: xstate875.PromiseActorLogic<IssueCertificateResponse, {
87
+ logic: xstate461.PromiseActorLogic<IssueCertificateResponse, {
88
88
  password: string;
89
- }, xstate875.EventObject>;
89
+ }, xstate461.EventObject>;
90
90
  id: string | undefined;
91
91
  } extends infer T ? T extends {
92
92
  src: "issueCertificate";
93
- logic: xstate875.PromiseActorLogic<IssueCertificateResponse, {
93
+ logic: xstate461.PromiseActorLogic<IssueCertificateResponse, {
94
94
  password: string;
95
- }, xstate875.EventObject>;
95
+ }, xstate461.EventObject>;
96
96
  id: string | undefined;
97
97
  } ? T extends {
98
98
  src: TSrc;
99
- } ? xstate875.ConditionalRequired<[options?: ({
99
+ } ? xstate461.ConditionalRequired<[options?: ({
100
100
  id?: T["id"] | undefined;
101
101
  systemId?: string;
102
- input?: xstate875.InputFrom<T["logic"]> | undefined;
102
+ input?: xstate461.InputFrom<T["logic"]> | undefined;
103
103
  syncSnapshot?: boolean;
104
- } & { [K in xstate875.RequiredActorOptions<T>]: unknown }) | undefined], xstate875.IsNotNever<xstate875.RequiredActorOptions<T>>> : never : never : never): xstate875.ActorRefFromLogic<xstate875.GetConcreteByKey<{
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: xstate875.PromiseActorLogic<IssueCertificateResponse, {
106
+ logic: xstate461.PromiseActorLogic<IssueCertificateResponse, {
107
107
  password: string;
108
- }, xstate875.EventObject>;
108
+ }, xstate461.EventObject>;
109
109
  id: string | undefined;
110
110
  }, "src", TSrc>["logic"]>;
111
- <TLogic extends xstate875.AnyActorLogic>(src: TLogic, ...[options]: xstate875.ConditionalRequired<[options?: ({
111
+ <TLogic extends xstate461.AnyActorLogic>(src: TLogic, ...[options]: xstate461.ConditionalRequired<[options?: ({
112
112
  id?: never;
113
113
  systemId?: string;
114
- input?: xstate875.InputFrom<TLogic> | undefined;
114
+ input?: xstate461.InputFrom<TLogic> | undefined;
115
115
  syncSnapshot?: boolean;
116
- } & { [K in xstate875.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate875.IsNotNever<xstate875.RequiredLogicInput<TLogic>>>): xstate875.ActorRefFromLogic<TLogic>;
116
+ } & { [K in xstate461.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate461.IsNotNever<xstate461.RequiredLogicInput<TLogic>>>): xstate461.ActorRefFromLogic<TLogic>;
117
117
  };
118
118
  input: CertificateIssuanceInput;
119
- self: xstate875.ActorRef<xstate875.MachineSnapshot<CertificateIssuanceContext, {
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, xstate875.AnyActorRef | undefined>, xstate875.StateValue, string, unknown, any, any>, {
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
- }, xstate875.AnyEventObject>;
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: xstate875.ActorRef<xstate875.MachineSnapshot<CertificateIssuanceContext, {
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, xstate875.AnyActorRef>, xstate875.StateValue, string, unknown, any, any>, {
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
- }, xstate875.AnyEventObject>;
219
+ }, xstate461.AnyEventObject>;
220
220
  }) => {
221
221
  password: string;
222
222
  };
@@ -1,4 +1,4 @@
1
- import { a as WasmWebClientError, c as setWebApiHttpTransport, l as setupWasmConnection, o as executeWasmRequest, s as initializeWasmWebClient } from "./WasmUtilProvider-ADG54T6M.esm.js";
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-nMA02HAK.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-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 xstate1192 from "xstate";
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: xstate1192.StateMachine<ConsentContext, {
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]: xstate1192.ActorRefFromLogic<xstate1192.PromiseActorLogic<FetchCombinedConsentResponse, {
52
+ [x: string]: xstate1158.ActorRefFromLogic<xstate1158.PromiseActorLogic<FetchCombinedConsentResponse, {
53
53
  consentId: string;
54
54
  language?: string;
55
- }, xstate1192.EventObject>> | xstate1192.ActorRefFromLogic<xstate1192.PromiseActorLogic<void, {
55
+ }, xstate1158.EventObject>> | xstate1158.ActorRefFromLogic<xstate1158.PromiseActorLogic<void, {
56
56
  languageConsentId: string;
57
57
  checkboxes: ConsentCheckbox[];
58
- }, xstate1192.EventObject>> | undefined;
59
- }, xstate1192.Values<{
58
+ }, xstate1158.EventObject>> | undefined;
59
+ }, xstate1158.Values<{
60
60
  fetchConsent: {
61
61
  src: "fetchConsent";
62
- logic: xstate1192.PromiseActorLogic<FetchCombinedConsentResponse, {
62
+ logic: xstate1158.PromiseActorLogic<FetchCombinedConsentResponse, {
63
63
  consentId: string;
64
64
  language?: string;
65
- }, xstate1192.EventObject>;
65
+ }, xstate1158.EventObject>;
66
66
  id: string | undefined;
67
67
  };
68
68
  submitConsent: {
69
69
  src: "submitConsent";
70
- logic: xstate1192.PromiseActorLogic<void, {
70
+ logic: xstate1158.PromiseActorLogic<void, {
71
71
  languageConsentId: string;
72
72
  checkboxes: ConsentCheckbox[];
73
- }, xstate1192.EventObject>;
73
+ }, xstate1158.EventObject>;
74
74
  id: string | undefined;
75
75
  };
76
- }>, xstate1192.Values<{
76
+ }>, xstate1158.Values<{
77
77
  setError: {
78
78
  type: "setError";
79
- params: xstate1192.NonReducibleUnknown;
79
+ params: xstate1158.NonReducibleUnknown;
80
80
  };
81
81
  clearError: {
82
82
  type: "clearError";
83
- params: xstate1192.NonReducibleUnknown;
83
+ params: xstate1158.NonReducibleUnknown;
84
84
  };
85
85
  resetContext: {
86
86
  type: "resetContext";
87
- params: xstate1192.NonReducibleUnknown;
87
+ params: xstate1158.NonReducibleUnknown;
88
88
  };
89
89
  setConsentData: {
90
90
  type: "setConsentData";
91
- params: xstate1192.NonReducibleUnknown;
91
+ params: xstate1158.NonReducibleUnknown;
92
92
  };
93
93
  toggleCheckbox: {
94
94
  type: "toggleCheckbox";
95
- params: xstate1192.NonReducibleUnknown;
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, xstate1192.NonReducibleUnknown, xstate1192.EventObject, xstate1192.MetaObject, {
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: xstate1192.PromiseActorLogic<FetchCombinedConsentResponse, {
109
+ logic: xstate1158.PromiseActorLogic<FetchCombinedConsentResponse, {
110
110
  consentId: string;
111
111
  language?: string;
112
- }, xstate1192.EventObject>;
112
+ }, xstate1158.EventObject>;
113
113
  id: string | undefined;
114
114
  } extends infer T ? T extends {
115
115
  src: "fetchConsent";
116
- logic: xstate1192.PromiseActorLogic<FetchCombinedConsentResponse, {
116
+ logic: xstate1158.PromiseActorLogic<FetchCombinedConsentResponse, {
117
117
  consentId: string;
118
118
  language?: string;
119
- }, xstate1192.EventObject>;
119
+ }, xstate1158.EventObject>;
120
120
  id: string | undefined;
121
121
  } ? T extends {
122
122
  src: TSrc;
123
- } ? xstate1192.ConditionalRequired<[options?: ({
123
+ } ? xstate1158.ConditionalRequired<[options?: ({
124
124
  id?: T["id"] | undefined;
125
125
  systemId?: string;
126
- input?: xstate1192.InputFrom<T["logic"]> | undefined;
126
+ input?: xstate1158.InputFrom<T["logic"]> | undefined;
127
127
  syncSnapshot?: boolean;
128
- } & { [K in xstate1192.RequiredActorOptions<T>]: unknown }) | undefined], xstate1192.IsNotNever<xstate1192.RequiredActorOptions<T>>> : never : never : never) | ({
128
+ } & { [K in xstate1158.RequiredActorOptions<T>]: unknown }) | undefined], xstate1158.IsNotNever<xstate1158.RequiredActorOptions<T>>> : never : never : never) | ({
129
129
  src: "submitConsent";
130
- logic: xstate1192.PromiseActorLogic<void, {
130
+ logic: xstate1158.PromiseActorLogic<void, {
131
131
  languageConsentId: string;
132
132
  checkboxes: ConsentCheckbox[];
133
- }, xstate1192.EventObject>;
133
+ }, xstate1158.EventObject>;
134
134
  id: string | undefined;
135
135
  } extends infer T_1 ? T_1 extends {
136
136
  src: "submitConsent";
137
- logic: xstate1192.PromiseActorLogic<void, {
137
+ logic: xstate1158.PromiseActorLogic<void, {
138
138
  languageConsentId: string;
139
139
  checkboxes: ConsentCheckbox[];
140
- }, xstate1192.EventObject>;
140
+ }, xstate1158.EventObject>;
141
141
  id: string | undefined;
142
142
  } ? T_1 extends {
143
143
  src: TSrc;
144
- } ? xstate1192.ConditionalRequired<[options?: ({
144
+ } ? xstate1158.ConditionalRequired<[options?: ({
145
145
  id?: T_1["id"] | undefined;
146
146
  systemId?: string;
147
- input?: xstate1192.InputFrom<T_1["logic"]> | undefined;
147
+ input?: xstate1158.InputFrom<T_1["logic"]> | undefined;
148
148
  syncSnapshot?: boolean;
149
- } & { [K_1 in xstate1192.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1192.IsNotNever<xstate1192.RequiredActorOptions<T_1>>> : never : never : never)): xstate1192.ActorRefFromLogic<xstate1192.GetConcreteByKey<xstate1192.Values<{
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: xstate1192.PromiseActorLogic<FetchCombinedConsentResponse, {
152
+ logic: xstate1158.PromiseActorLogic<FetchCombinedConsentResponse, {
153
153
  consentId: string;
154
154
  language?: string;
155
- }, xstate1192.EventObject>;
155
+ }, xstate1158.EventObject>;
156
156
  id: string | undefined;
157
157
  };
158
158
  submitConsent: {
159
159
  src: "submitConsent";
160
- logic: xstate1192.PromiseActorLogic<void, {
160
+ logic: xstate1158.PromiseActorLogic<void, {
161
161
  languageConsentId: string;
162
162
  checkboxes: ConsentCheckbox[];
163
- }, xstate1192.EventObject>;
163
+ }, xstate1158.EventObject>;
164
164
  id: string | undefined;
165
165
  };
166
166
  }>, "src", TSrc>["logic"]>;
167
- <TLogic extends xstate1192.AnyActorLogic>(src: TLogic, ...[options]: xstate1192.ConditionalRequired<[options?: ({
167
+ <TLogic extends xstate1158.AnyActorLogic>(src: TLogic, ...[options]: xstate1158.ConditionalRequired<[options?: ({
168
168
  id?: never;
169
169
  systemId?: string;
170
- input?: xstate1192.InputFrom<TLogic> | undefined;
170
+ input?: xstate1158.InputFrom<TLogic> | undefined;
171
171
  syncSnapshot?: boolean;
172
- } & { [K in xstate1192.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1192.IsNotNever<xstate1192.RequiredLogicInput<TLogic>>>): xstate1192.ActorRefFromLogic<TLogic>;
172
+ } & { [K in xstate1158.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1158.IsNotNever<xstate1158.RequiredLogicInput<TLogic>>>): xstate1158.ActorRefFromLogic<TLogic>;
173
173
  };
174
174
  input: ConsentInput;
175
- self: xstate1192.ActorRef<xstate1192.MachineSnapshot<ConsentContext, {
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, xstate1192.AnyActorRef | undefined>, xstate1192.StateValue, string, unknown, any, any>, {
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
- }, xstate1192.AnyEventObject>;
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: xstate1192.ActorRef<xstate1192.MachineSnapshot<ConsentContext, {
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, xstate1192.AnyActorRef>, xstate1192.StateValue, string, unknown, any, any>, {
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
- }, xstate1192.AnyEventObject>;
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: xstate1192.ActorRef<xstate1192.MachineSnapshot<ConsentContext, {
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, xstate1192.AnyActorRef>, xstate1192.StateValue, string, unknown, any, any>, {
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
- }, xstate1192.AnyEventObject>;
329
+ }, xstate1158.AnyEventObject>;
330
330
  }) => {
331
331
  languageConsentId: string;
332
332
  checkboxes: ConsentCheckbox[];