@incodetech/core 0.0.0-dev-20260519-71192db0 → 0.0.0-dev-20260520-1e2821d1

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/{BaseWasmProvider-C_DLEI40.esm.js → BaseWasmProvider-BSnZqgon.esm.js} +12 -0
  2. package/dist/{MotionSensorProvider-4v7xkqAp.esm.js → MotionSensorProvider-D8M9kEPC.esm.js} +1 -1
  3. package/dist/{WasmUtilProvider-j98OJf-S.esm.js → WasmUtilProvider-DJ3sXTf9.esm.js} +13 -1
  4. package/dist/ae-signature.d.ts +2 -2
  5. package/dist/authentication.d.ts +6 -6
  6. package/dist/authentication.esm.js +9 -9
  7. package/dist/{authenticationManager-qdIGDKAV.d.ts → authenticationManager-B-a7p8J6.d.ts} +1 -1
  8. package/dist/{authenticationManager-BvxH8Krj.esm.js → authenticationManager-B8RcEALr.esm.js} +2 -2
  9. package/dist/{authenticationStateMachine-C-g73ema.esm.js → authenticationStateMachine-CdXoSoh-.esm.js} +2 -2
  10. package/dist/camera.esm.js +2 -2
  11. package/dist/consent.d.ts +54 -54
  12. package/dist/cpf-ocr.d.ts +17 -17
  13. package/dist/curp-validation.d.ts +3 -3
  14. package/dist/custom-fields.d.ts +1 -1
  15. package/dist/{deepsightLoader-CIhGf15c.esm.js → deepsightLoader-Cdyaiz3M.esm.js} +4 -4
  16. package/dist/{deepsightService-O74l4Y__.esm.js → deepsightService-EiouKVUw.esm.js} +2 -0
  17. package/dist/{deepsightService-Dp4HhD1F.d.ts → deepsightService-hPdFwidT.d.ts} +4 -9
  18. package/dist/document-capture.d.ts +77 -77
  19. package/dist/document-upload.d.ts +50 -50
  20. package/dist/dynamic-forms.d.ts +1 -1
  21. package/dist/ekyb.d.ts +9 -4
  22. package/dist/ekyb.esm.js +3 -3
  23. package/dist/{ekybStateMachine-CQ7wpldf.esm.js → ekybStateMachine-BKC7d6qn.esm.js} +1 -1
  24. package/dist/ekyc.d.ts +9 -11
  25. package/dist/ekyc.esm.js +12 -7
  26. package/dist/{ekycStateMachine-BgNy1KDU.esm.js → ekycStateMachine--7H6rFl8.esm.js} +175 -107
  27. package/dist/electronic-signature.d.ts +2 -3
  28. package/dist/email.d.ts +2 -2
  29. package/dist/{emailManager-DCf6niIV.d.ts → emailManager-xt37-xiT.d.ts} +1 -1
  30. package/dist/extensibility.d.ts +13 -10
  31. package/dist/extensibility.esm.js +14 -14
  32. package/dist/{faceCaptureManagerFactory-CCm6r3NW.d.ts → faceCaptureManagerFactory-BFDZEqmQ.d.ts} +3 -3
  33. package/dist/{faceCaptureSetup-JZYF95rN.esm.js → faceCaptureSetup-qlEaghid.esm.js} +2 -2
  34. package/dist/flow-events.d.ts +4 -4
  35. package/dist/flow.d.ts +7 -7
  36. package/dist/flow.esm.js +3 -3
  37. package/dist/{flowCompletionService-CjM7mfgS.esm.js → flowCompletionService-CZ62twxw.esm.js} +6 -3
  38. package/dist/{flowServices-CkrQl6MZ.esm.js → flowServices-gWbrm-Bo.esm.js} +8 -4
  39. package/dist/geolocation.d.ts +1 -1
  40. package/dist/government-validation.d.ts +1 -1
  41. package/dist/home.d.ts +12 -12
  42. package/dist/id-ocr.d.ts +53 -53
  43. package/dist/id-verification.d.ts +26 -26
  44. package/dist/id.d.ts +5 -5
  45. package/dist/id.esm.js +8 -8
  46. package/dist/{idCaptureManager-AmGTod1Y.d.ts → idCaptureManager-BjROmHUB.d.ts} +3 -8
  47. package/dist/{idCaptureManager-CSFWHJJy.esm.js → idCaptureManager-_VTyQaKk.esm.js} +1 -1
  48. package/dist/{idCaptureStateMachine-f-lyzp88.esm.js → idCaptureStateMachine-Bft1weLZ.esm.js} +6 -28
  49. package/dist/identity-reuse.d.ts +41 -41
  50. package/dist/{electronicSignatureManager-Di3UqKhY.d.ts → index-CAj9MLeA.d.ts} +119 -119
  51. package/dist/{index-yJ9sMLlH.d.ts → index-DcnrWd-a.d.ts} +2 -2
  52. package/dist/index.esm.js +4 -4
  53. package/dist/mandatory-consent.d.ts +50 -50
  54. package/dist/{permissionServices-D_i6nzEw.esm.js → permissionServices-BKWsNbOi.esm.js} +1 -1
  55. package/dist/phone.d.ts +2 -2
  56. package/dist/{phoneManager-DhflnC-z.d.ts → phoneManager-DKwybjHQ.d.ts} +1 -1
  57. package/dist/qe-signature.d.ts +2 -3
  58. package/dist/{recordingService-C8p_rt_R.esm.js → recordingService-vzPxRuKD.esm.js} +3 -3
  59. package/dist/redirect-to-mobile.d.ts +1 -1
  60. package/dist/selfie.d.ts +6 -6
  61. package/dist/selfie.esm.js +9 -9
  62. package/dist/{selfieManager-C3npU44M.d.ts → selfieManager-D9VlNary.d.ts} +1 -1
  63. package/dist/{selfieManager-C5ruM4Zi.esm.js → selfieManager-EEbYc-Jw.esm.js} +2 -2
  64. package/dist/{selfieStateMachine-Cgu9myje.esm.js → selfieStateMachine-BuLLrZ-U.esm.js} +2 -2
  65. package/dist/{session-DaoRAiVt.esm.js → session-pEIsobbm.esm.js} +73 -21
  66. package/dist/session.d.ts +33 -4
  67. package/dist/session.esm.js +3 -3
  68. package/dist/{setup-DPA9zpAa.esm.js → setup-B2nrQ06A.esm.js} +3 -3
  69. package/dist/signature.d.ts +1 -1
  70. package/dist/{types-BGn7vf_y.d.ts → types-tA90dULO.d.ts} +28 -1
  71. package/dist/{types-C3znyyzD.d.ts → types-z0YcJ3A9.d.ts} +1 -1
  72. package/dist/wasm.esm.js +4 -4
  73. package/dist/workflow.d.ts +128 -128
  74. package/dist/workflow.esm.js +40 -28
  75. package/package.json +5 -1
  76. package/dist/displayErrors-BH_AkH9P.d.ts +0 -7
  77. package/dist/index-BXp6lJmF.d.ts +0 -1
  78. /package/dist/{Actor-DhAnkIwf.d.ts → Actor-BIU0OEvS.d.ts} +0 -0
  79. /package/dist/{flowCompletionService-C4A-qYuH.d.ts → flowCompletionService-D1-bLzxr.d.ts} +0 -0
  80. /package/dist/{types-lZBg2X-g.d.ts → types-DkpwYjYw.d.ts} +0 -0
@@ -758,6 +758,18 @@ var MlWasmJSApi = class MlWasmJSApi {
758
758
  this.checkWasmInitialization("Unable to poc, cpp API hasn't been initialized");
759
759
  await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.poc(output), true);
760
760
  }
761
+ async rsp() {
762
+ this.checkWasmInitialization("Unable to rsp, cpp API hasn't been initialized");
763
+ await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.rsp(), true);
764
+ }
765
+ ssl() {
766
+ this.checkWasmInitialization("Unable to ssl, cpp API hasn't been initialized");
767
+ this.utilityApi.ssl();
768
+ }
769
+ stl() {
770
+ this.checkWasmInitialization("Unable to stl, cpp API hasn't been initialized");
771
+ this.utilityApi.stl();
772
+ }
761
773
  ckvcks(data) {
762
774
  this.checkWasmInitialization("Unable to ckvcks, cpp API hasn't been initialized");
763
775
  this.utilityApi.ckvcks(data);
@@ -5,7 +5,7 @@ var MotionSensorProvider = class {
5
5
  this._hasPermission = true;
6
6
  this.acl = null;
7
7
  this.gyro = null;
8
- this.minNumberOfFrames = 3;
8
+ this.minNumberOfFrames = 10;
9
9
  this.maxFrequency = 60;
10
10
  this.emptyParams = {
11
11
  meanX: 0,
@@ -1,4 +1,4 @@
1
- import { r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-C_DLEI40.esm.js";
1
+ import { r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-BSnZqgon.esm.js";
2
2
 
3
3
  //#region ../infra/src/providers/wasm/WasmUtilProvider.ts
4
4
  var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
@@ -100,6 +100,18 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
100
100
  this.ensureInitialized();
101
101
  await mlWasmJSApi_default.poc(output);
102
102
  }
103
+ async rsp() {
104
+ this.ensureInitialized();
105
+ await mlWasmJSApi_default.rsp();
106
+ }
107
+ ssl() {
108
+ this.ensureInitialized();
109
+ mlWasmJSApi_default.ssl();
110
+ }
111
+ stl() {
112
+ this.ensureInitialized();
113
+ mlWasmJSApi_default.stl();
114
+ }
103
115
  ckvcks(data) {
104
116
  this.ensureInitialized();
105
117
  mlWasmJSApi_default.ckvcks(data);
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-B9HFXDz5.js";
2
- 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 "./electronicSignatureManager-Di3UqKhY.js";
3
- import "./Actor-DhAnkIwf.js";
2
+ import "./Actor-BIU0OEvS.js";
3
+ 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-CAj9MLeA.js";
4
4
 
5
5
  //#region src/modules/ae-signature/index.d.ts
6
6
 
@@ -1,13 +1,13 @@
1
1
  import "./warmup-NOr3xE7Y.js";
2
2
  import "./Manager-B9HFXDz5.js";
3
- import "./Actor-DhAnkIwf.js";
3
+ import "./Actor-BIU0OEvS.js";
4
4
  import "./StateMachine-BUhmcPQ3.js";
5
- import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-CCm6r3NW.js";
5
+ import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-BFDZEqmQ.js";
6
6
  import "./camera-6QfEti0q.js";
7
7
  import "./types-CSDi2j_3.js";
8
- import "./types-BGn7vf_y.js";
9
- import "./types-C3znyyzD.js";
10
- import "./deepsightService-Dp4HhD1F.js";
8
+ import "./types-tA90dULO.js";
9
+ import "./types-z0YcJ3A9.js";
10
+ import "./deepsightService-hPdFwidT.js";
11
11
  import "./types-BsEaBA9V.js";
12
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-qdIGDKAV.js";
12
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-B-a7p8J6.js";
13
13
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,5 +1,5 @@
1
- import "./BaseWasmProvider-C_DLEI40.esm.js";
2
- import "./WasmUtilProvider-j98OJf-S.esm.js";
1
+ import "./BaseWasmProvider-BSnZqgon.esm.js";
2
+ import "./WasmUtilProvider-DJ3sXTf9.esm.js";
3
3
  import "./api-CESGtpbH.esm.js";
4
4
  import "./events-D6-e4vok.esm.js";
5
5
  import "./endpoints-CnN3SyDa.esm.js";
@@ -7,19 +7,19 @@ import "./browserSimulation-gxD8cSpM.esm.js";
7
7
  import "./xstate.esm-B70JrNqo.esm.js";
8
8
  import "./faceCaptureManagerFactory-Dh2PdGlF.esm.js";
9
9
  import "./BrowserStorageProvider-CuOW1Er2.esm.js";
10
- import "./faceCaptureSetup-JZYF95rN.esm.js";
10
+ import "./faceCaptureSetup-qlEaghid.esm.js";
11
11
  import "./ITimerCapability-C67ZRskg.esm.js";
12
12
  import "./camera-PA2Ljri3.esm.js";
13
- import "./deepsightService-O74l4Y__.esm.js";
14
- import "./recordingService-C8p_rt_R.esm.js";
13
+ import "./deepsightService-EiouKVUw.esm.js";
14
+ import "./recordingService-vzPxRuKD.esm.js";
15
15
  import "./platform-CfrjKhmi.esm.js";
16
16
  import "./backCameraStream-DMdMeGk2.esm.js";
17
17
  import "./getBrowser-BSXUTWXw.esm.js";
18
18
  import "./stats-CIfiPzb1.esm.js";
19
19
  import "./getDeviceClass-BSntT9_j.esm.js";
20
- import "./MotionSensorProvider-4v7xkqAp.esm.js";
21
- import "./permissionServices-D_i6nzEw.esm.js";
22
- import { t as authenticationMachine } from "./authenticationStateMachine-C-g73ema.esm.js";
23
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BvxH8Krj.esm.js";
20
+ import "./MotionSensorProvider-D8M9kEPC.esm.js";
21
+ import "./permissionServices-BKWsNbOi.esm.js";
22
+ import { t as authenticationMachine } from "./authenticationStateMachine-CdXoSoh-.esm.js";
23
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-B8RcEALr.esm.js";
24
24
 
25
25
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,5 +1,5 @@
1
1
  import { t as Manager } from "./Manager-B9HFXDz5.js";
2
- import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-CCm6r3NW.js";
2
+ import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-BFDZEqmQ.js";
3
3
 
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
@@ -1,9 +1,9 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-j98OJf-S.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DJ3sXTf9.esm.js";
2
2
  import { n as eventModuleNames } from "./events-D6-e4vok.esm.js";
3
3
  import { s as createActor } from "./xstate.esm-B70JrNqo.esm.js";
4
4
  import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dh2PdGlF.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CuOW1Er2.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-C-g73ema.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-CdXoSoh-.esm.js";
7
7
 
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(options) {
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-CESGtpbH.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CnN3SyDa.esm.js";
3
3
  import { a as fromPromise, r as assign } from "./xstate.esm-B70JrNqo.esm.js";
4
- import { a as prepareOnDeviceFaceUpload, i as postOnDeviceFaceResults, n as defaultPrepareFaceUpload, r as isOnDeviceMode, t as faceCaptureMachine } from "./faceCaptureSetup-JZYF95rN.esm.js";
5
- import { m as FACE_ERROR_CODES } from "./recordingService-C8p_rt_R.esm.js";
4
+ import { a as prepareOnDeviceFaceUpload, i as postOnDeviceFaceResults, n as defaultPrepareFaceUpload, r as isOnDeviceMode, t as faceCaptureMachine } from "./faceCaptureSetup-qlEaghid.esm.js";
5
+ import { m as FACE_ERROR_CODES } from "./recordingService-vzPxRuKD.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-BSntT9_j.esm.js";
7
7
 
8
8
  //#region src/modules/authentication/authenticationErrorUtils.ts
@@ -1,5 +1,5 @@
1
1
  import "./camera-PA2Ljri3.esm.js";
2
- import "./MotionSensorProvider-4v7xkqAp.esm.js";
3
- import { n as requestPermission, t as checkPermission } from "./permissionServices-D_i6nzEw.esm.js";
2
+ import "./MotionSensorProvider-D8M9kEPC.esm.js";
3
+ import { n as requestPermission, t as checkPermission } from "./permissionServices-BKWsNbOi.esm.js";
4
4
 
5
5
  export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
package/dist/consent.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-B9HFXDz5.js";
2
- import "./Actor-DhAnkIwf.js";
3
- import * as xstate899 from "xstate";
2
+ import "./Actor-BIU0OEvS.js";
3
+ import * as xstate0 from "xstate";
4
4
 
5
5
  //#region src/modules/consent/types.d.ts
6
6
  type ConsentConfig = {
@@ -36,7 +36,7 @@ type ConsentContext = {
36
36
  type ConsentInput = {
37
37
  config: ConsentConfig;
38
38
  };
39
- declare const consentMachine: xstate899.StateMachine<ConsentContext, {
39
+ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
40
40
  type: "LOAD";
41
41
  } | {
42
42
  type: "TOGGLE_CHECKBOX";
@@ -48,53 +48,53 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
48
48
  } | {
49
49
  type: "RESET";
50
50
  }, {
51
- [x: string]: xstate899.ActorRefFromLogic<xstate899.PromiseActorLogic<FetchCombinedConsentResponse, {
51
+ [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
52
52
  consentId: string;
53
- }, xstate899.EventObject>> | xstate899.ActorRefFromLogic<xstate899.PromiseActorLogic<void, {
53
+ }, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<void, {
54
54
  languageConsentId: string;
55
55
  checkboxes: ConsentCheckbox[];
56
- }, xstate899.EventObject>> | undefined;
57
- }, xstate899.Values<{
56
+ }, xstate0.EventObject>> | undefined;
57
+ }, xstate0.Values<{
58
58
  fetchConsent: {
59
59
  src: "fetchConsent";
60
- logic: xstate899.PromiseActorLogic<FetchCombinedConsentResponse, {
60
+ logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
61
61
  consentId: string;
62
- }, xstate899.EventObject>;
62
+ }, xstate0.EventObject>;
63
63
  id: string | undefined;
64
64
  };
65
65
  submitConsent: {
66
66
  src: "submitConsent";
67
- logic: xstate899.PromiseActorLogic<void, {
67
+ logic: xstate0.PromiseActorLogic<void, {
68
68
  languageConsentId: string;
69
69
  checkboxes: ConsentCheckbox[];
70
- }, xstate899.EventObject>;
70
+ }, xstate0.EventObject>;
71
71
  id: string | undefined;
72
72
  };
73
- }>, xstate899.Values<{
73
+ }>, xstate0.Values<{
74
+ setConsentData: {
75
+ type: "setConsentData";
76
+ params: xstate0.NonReducibleUnknown;
77
+ };
78
+ toggleCheckbox: {
79
+ type: "toggleCheckbox";
80
+ params: xstate0.NonReducibleUnknown;
81
+ };
74
82
  setError: {
75
83
  type: "setError";
76
- params: xstate899.NonReducibleUnknown;
84
+ params: xstate0.NonReducibleUnknown;
77
85
  };
78
86
  clearError: {
79
87
  type: "clearError";
80
- params: xstate899.NonReducibleUnknown;
88
+ params: xstate0.NonReducibleUnknown;
81
89
  };
82
90
  resetContext: {
83
91
  type: "resetContext";
84
- params: xstate899.NonReducibleUnknown;
85
- };
86
- setConsentData: {
87
- type: "setConsentData";
88
- params: xstate899.NonReducibleUnknown;
89
- };
90
- toggleCheckbox: {
91
- type: "toggleCheckbox";
92
- params: xstate899.NonReducibleUnknown;
92
+ params: xstate0.NonReducibleUnknown;
93
93
  };
94
94
  }>, {
95
95
  type: "canSubmit";
96
96
  params: unknown;
97
- }, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate899.NonReducibleUnknown, xstate899.EventObject, xstate899.MetaObject, {
97
+ }, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
98
98
  readonly id: "consent";
99
99
  readonly initial: "idle";
100
100
  readonly context: ({
@@ -103,70 +103,70 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
103
103
  spawn: {
104
104
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
105
105
  src: "fetchConsent";
106
- logic: xstate899.PromiseActorLogic<FetchCombinedConsentResponse, {
106
+ logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
107
107
  consentId: string;
108
- }, xstate899.EventObject>;
108
+ }, xstate0.EventObject>;
109
109
  id: string | undefined;
110
110
  } extends infer T ? T extends {
111
111
  src: "fetchConsent";
112
- logic: xstate899.PromiseActorLogic<FetchCombinedConsentResponse, {
112
+ logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
113
113
  consentId: string;
114
- }, xstate899.EventObject>;
114
+ }, xstate0.EventObject>;
115
115
  id: string | undefined;
116
116
  } ? T extends {
117
117
  src: TSrc;
118
- } ? xstate899.ConditionalRequired<[options?: ({
118
+ } ? xstate0.ConditionalRequired<[options?: ({
119
119
  id?: T["id"] | undefined;
120
120
  systemId?: string;
121
- input?: xstate899.InputFrom<T["logic"]> | undefined;
121
+ input?: xstate0.InputFrom<T["logic"]> | undefined;
122
122
  syncSnapshot?: boolean;
123
- } & { [K in xstate899.RequiredActorOptions<T>]: unknown }) | undefined], xstate899.IsNotNever<xstate899.RequiredActorOptions<T>>> : never : never : never) | ({
123
+ } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
124
124
  src: "submitConsent";
125
- logic: xstate899.PromiseActorLogic<void, {
125
+ logic: xstate0.PromiseActorLogic<void, {
126
126
  languageConsentId: string;
127
127
  checkboxes: ConsentCheckbox[];
128
- }, xstate899.EventObject>;
128
+ }, xstate0.EventObject>;
129
129
  id: string | undefined;
130
130
  } extends infer T_1 ? T_1 extends {
131
131
  src: "submitConsent";
132
- logic: xstate899.PromiseActorLogic<void, {
132
+ logic: xstate0.PromiseActorLogic<void, {
133
133
  languageConsentId: string;
134
134
  checkboxes: ConsentCheckbox[];
135
- }, xstate899.EventObject>;
135
+ }, xstate0.EventObject>;
136
136
  id: string | undefined;
137
137
  } ? T_1 extends {
138
138
  src: TSrc;
139
- } ? xstate899.ConditionalRequired<[options?: ({
139
+ } ? xstate0.ConditionalRequired<[options?: ({
140
140
  id?: T_1["id"] | undefined;
141
141
  systemId?: string;
142
- input?: xstate899.InputFrom<T_1["logic"]> | undefined;
142
+ input?: xstate0.InputFrom<T_1["logic"]> | undefined;
143
143
  syncSnapshot?: boolean;
144
- } & { [K_1 in xstate899.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate899.IsNotNever<xstate899.RequiredActorOptions<T_1>>> : never : never : never)): xstate899.ActorRefFromLogic<xstate899.GetConcreteByKey<xstate899.Values<{
144
+ } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
145
145
  fetchConsent: {
146
146
  src: "fetchConsent";
147
- logic: xstate899.PromiseActorLogic<FetchCombinedConsentResponse, {
147
+ logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
148
148
  consentId: string;
149
- }, xstate899.EventObject>;
149
+ }, xstate0.EventObject>;
150
150
  id: string | undefined;
151
151
  };
152
152
  submitConsent: {
153
153
  src: "submitConsent";
154
- logic: xstate899.PromiseActorLogic<void, {
154
+ logic: xstate0.PromiseActorLogic<void, {
155
155
  languageConsentId: string;
156
156
  checkboxes: ConsentCheckbox[];
157
- }, xstate899.EventObject>;
157
+ }, xstate0.EventObject>;
158
158
  id: string | undefined;
159
159
  };
160
160
  }>, "src", TSrc>["logic"]>;
161
- <TLogic extends xstate899.AnyActorLogic>(src: TLogic, ...[options]: xstate899.ConditionalRequired<[options?: ({
161
+ <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
162
162
  id?: never;
163
163
  systemId?: string;
164
- input?: xstate899.InputFrom<TLogic> | undefined;
164
+ input?: xstate0.InputFrom<TLogic> | undefined;
165
165
  syncSnapshot?: boolean;
166
- } & { [K in xstate899.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate899.IsNotNever<xstate899.RequiredLogicInput<TLogic>>>): xstate899.ActorRefFromLogic<TLogic>;
166
+ } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
167
167
  };
168
168
  input: ConsentInput;
169
- self: xstate899.ActorRef<xstate899.MachineSnapshot<ConsentContext, {
169
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<ConsentContext, {
170
170
  type: "LOAD";
171
171
  } | {
172
172
  type: "TOGGLE_CHECKBOX";
@@ -177,7 +177,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
177
177
  type: "RETRY";
178
178
  } | {
179
179
  type: "RESET";
180
- }, Record<string, xstate899.AnyActorRef | undefined>, xstate899.StateValue, string, unknown, any, any>, {
180
+ }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
181
181
  type: "LOAD";
182
182
  } | {
183
183
  type: "TOGGLE_CHECKBOX";
@@ -188,7 +188,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
188
188
  type: "RETRY";
189
189
  } | {
190
190
  type: "RESET";
191
- }, xstate899.AnyEventObject>;
191
+ }, xstate0.AnyEventObject>;
192
192
  }) => {
193
193
  config: ConsentConfig;
194
194
  title: string;
@@ -226,7 +226,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
226
226
  } | {
227
227
  type: "RESET";
228
228
  };
229
- self: xstate899.ActorRef<xstate899.MachineSnapshot<ConsentContext, {
229
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<ConsentContext, {
230
230
  type: "LOAD";
231
231
  } | {
232
232
  type: "TOGGLE_CHECKBOX";
@@ -237,7 +237,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
237
237
  type: "RETRY";
238
238
  } | {
239
239
  type: "RESET";
240
- }, Record<string, xstate899.AnyActorRef>, xstate899.StateValue, string, unknown, any, any>, {
240
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
241
241
  type: "LOAD";
242
242
  } | {
243
243
  type: "TOGGLE_CHECKBOX";
@@ -248,7 +248,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
248
248
  type: "RETRY";
249
249
  } | {
250
250
  type: "RESET";
251
- }, xstate899.AnyEventObject>;
251
+ }, xstate0.AnyEventObject>;
252
252
  }) => {
253
253
  consentId: string;
254
254
  };
@@ -297,7 +297,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
297
297
  } | {
298
298
  type: "RESET";
299
299
  };
300
- self: xstate899.ActorRef<xstate899.MachineSnapshot<ConsentContext, {
300
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<ConsentContext, {
301
301
  type: "LOAD";
302
302
  } | {
303
303
  type: "TOGGLE_CHECKBOX";
@@ -308,7 +308,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
308
308
  type: "RETRY";
309
309
  } | {
310
310
  type: "RESET";
311
- }, Record<string, xstate899.AnyActorRef>, xstate899.StateValue, string, unknown, any, any>, {
311
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
312
312
  type: "LOAD";
313
313
  } | {
314
314
  type: "TOGGLE_CHECKBOX";
@@ -319,7 +319,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
319
319
  type: "RETRY";
320
320
  } | {
321
321
  type: "RESET";
322
- }, xstate899.AnyEventObject>;
322
+ }, xstate0.AnyEventObject>;
323
323
  }) => {
324
324
  languageConsentId: string;
325
325
  checkboxes: ConsentCheckbox[];
package/dist/cpf-ocr.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as Manager } from "./Manager-B9HFXDz5.js";
2
- import * as xstate874 from "xstate";
2
+ import * as xstate840 from "xstate";
3
3
 
4
4
  //#region src/modules/cpf-ocr/cpfOcrManager.d.ts
5
5
  type CpfOcrIdleState = {
@@ -47,7 +47,7 @@ type CpfOcrContext = {
47
47
  error: string | undefined;
48
48
  };
49
49
  type CpfOcrInput = Record<string, never>;
50
- declare const cpfOcrMachine: xstate874.StateMachine<CpfOcrContext, {
50
+ declare const cpfOcrMachine: xstate840.StateMachine<CpfOcrContext, {
51
51
  type: "LOAD";
52
52
  } | {
53
53
  type: "SET_CPF";
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate874.StateMachine<CpfOcrContext, {
57
57
  } | {
58
58
  type: "RETRY";
59
59
  }, {
60
- [x: string]: xstate874.ActorRefFromLogic<xstate874.PromiseActorLogic<CpfOcrDataResponse, void, xstate874.EventObject>> | xstate874.ActorRefFromLogic<xstate874.PromiseActorLogic<CpfOcrUpdateResponse, {
60
+ [x: string]: xstate840.ActorRefFromLogic<xstate840.PromiseActorLogic<CpfOcrDataResponse, void, xstate840.EventObject>> | xstate840.ActorRefFromLogic<xstate840.PromiseActorLogic<CpfOcrUpdateResponse, {
61
61
  cpf: string;
62
- }, xstate874.EventObject>> | undefined;
63
- }, xstate874.Values<{
62
+ }, xstate840.EventObject>> | undefined;
63
+ }, xstate840.Values<{
64
64
  fetchCpfOcrData: {
65
65
  src: "fetchCpfOcrData";
66
- logic: xstate874.PromiseActorLogic<CpfOcrDataResponse, void, xstate874.EventObject>;
66
+ logic: xstate840.PromiseActorLogic<CpfOcrDataResponse, void, xstate840.EventObject>;
67
67
  id: string | undefined;
68
68
  };
69
69
  submitCpfOcr: {
70
70
  src: "submitCpfOcr";
71
- logic: xstate874.PromiseActorLogic<CpfOcrUpdateResponse, {
71
+ logic: xstate840.PromiseActorLogic<CpfOcrUpdateResponse, {
72
72
  cpf: string;
73
- }, xstate874.EventObject>;
73
+ }, xstate840.EventObject>;
74
74
  id: string | undefined;
75
75
  };
76
- }>, xstate874.Values<{
76
+ }>, xstate840.Values<{
77
77
  setError: {
78
78
  type: "setError";
79
- params: xstate874.NonReducibleUnknown;
79
+ params: xstate840.NonReducibleUnknown;
80
80
  };
81
81
  clearError: {
82
82
  type: "clearError";
83
- params: xstate874.NonReducibleUnknown;
83
+ params: xstate840.NonReducibleUnknown;
84
84
  };
85
85
  setPrefill: {
86
86
  type: "setPrefill";
87
- params: xstate874.NonReducibleUnknown;
87
+ params: xstate840.NonReducibleUnknown;
88
88
  };
89
89
  setCpf: {
90
90
  type: "setCpf";
91
- params: xstate874.NonReducibleUnknown;
91
+ params: xstate840.NonReducibleUnknown;
92
92
  };
93
93
  }>, {
94
94
  type: "isValid";
95
95
  params: unknown;
96
- }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, xstate874.NonReducibleUnknown, xstate874.EventObject, xstate874.MetaObject, {
96
+ }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, xstate840.NonReducibleUnknown, xstate840.EventObject, xstate840.MetaObject, {
97
97
  readonly id: "cpfOcr";
98
98
  readonly initial: "idle";
99
99
  readonly context: {
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate874.StateMachine<CpfOcrContext, {
148
148
  } | {
149
149
  type: "RETRY";
150
150
  };
151
- self: xstate874.ActorRef<xstate874.MachineSnapshot<CpfOcrContext, {
151
+ self: xstate840.ActorRef<xstate840.MachineSnapshot<CpfOcrContext, {
152
152
  type: "LOAD";
153
153
  } | {
154
154
  type: "SET_CPF";
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate874.StateMachine<CpfOcrContext, {
157
157
  type: "SUBMIT";
158
158
  } | {
159
159
  type: "RETRY";
160
- }, Record<string, xstate874.AnyActorRef>, xstate874.StateValue, string, unknown, any, any>, {
160
+ }, Record<string, xstate840.AnyActorRef>, xstate840.StateValue, string, unknown, any, any>, {
161
161
  type: "LOAD";
162
162
  } | {
163
163
  type: "SET_CPF";
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate874.StateMachine<CpfOcrContext, {
166
166
  type: "SUBMIT";
167
167
  } | {
168
168
  type: "RETRY";
169
- }, xstate874.AnyEventObject>;
169
+ }, xstate840.AnyEventObject>;
170
170
  }) => {
171
171
  cpf: string;
172
172
  };
@@ -1,9 +1,9 @@
1
1
  import { t as Manager } from "./Manager-B9HFXDz5.js";
2
- import "./Actor-DhAnkIwf.js";
2
+ import "./Actor-BIU0OEvS.js";
3
3
  import "./camera-6QfEti0q.js";
4
4
  import "./types-CSDi2j_3.js";
5
- import "./types-BGn7vf_y.js";
6
- import { i as FlowModuleConfig } from "./types-C3znyyzD.js";
5
+ import "./types-tA90dULO.js";
6
+ import { i as FlowModuleConfig } from "./types-z0YcJ3A9.js";
7
7
 
8
8
  //#region src/modules/curp-validation/types.d.ts
9
9
  type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
@@ -1,5 +1,5 @@
1
1
  import { t as Manager } from "./Manager-B9HFXDz5.js";
2
- import "./Actor-DhAnkIwf.js";
2
+ import "./Actor-BIU0OEvS.js";
3
3
 
4
4
  //#region src/modules/custom-fields/types.d.ts
5
5
  type CustomFieldType = 'INTEGER' | 'DOUBLE' | 'BOOLEAN' | 'STRING' | 'DATE';
@@ -1,13 +1,13 @@
1
- import "./BaseWasmProvider-C_DLEI40.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-j98OJf-S.esm.js";
1
+ import "./BaseWasmProvider-BSnZqgon.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-DJ3sXTf9.esm.js";
3
3
  import "./api-CESGtpbH.esm.js";
4
4
  import { r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-D7jx52AL.esm.js";
5
5
  import "./browserSimulation-gxD8cSpM.esm.js";
6
6
  import "./camera-PA2Ljri3.esm.js";
7
- import { t as createDeepsightService } from "./deepsightService-O74l4Y__.esm.js";
7
+ import { t as createDeepsightService } from "./deepsightService-EiouKVUw.esm.js";
8
8
  import "./getBrowser-BSXUTWXw.esm.js";
9
9
  import "./stats-CIfiPzb1.esm.js";
10
- import { t as MotionSensorProvider } from "./MotionSensorProvider-4v7xkqAp.esm.js";
10
+ import { t as MotionSensorProvider } from "./MotionSensorProvider-D8M9kEPC.esm.js";
11
11
 
12
12
  //#region ../infra/src/providers/browser/VisibilityProvider.ts
13
13
  var VisibilityProvider = class {
@@ -434,6 +434,8 @@ function createDeepsightService(config) {
434
434
  },
435
435
  async startMotionSensors() {
436
436
  await motion.start();
437
+ await config.wasmUtil.rsp();
438
+ config.wasmUtil.ssl();
437
439
  },
438
440
  stopMotionSensors() {
439
441
  motion.stop();
@@ -178,6 +178,9 @@ type IWasmUtilCapability = {
178
178
  isVirtualCamera(label: string | null): boolean;
179
179
  prc(): Promise<void>;
180
180
  poc(output: VirtualCameraCheckOutput): Promise<void>;
181
+ rsp(): Promise<void>;
182
+ ssl(): void;
183
+ stl(): void;
181
184
  ckvcks(data: ArrayBuffer): void;
182
185
  getVersions(): Promise<unknown>;
183
186
  /**
@@ -338,14 +341,6 @@ declare class StreamCanvasCapture {
338
341
  //#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
339
342
  type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
340
343
  type MotionPermissionState = 'granted' | 'denied' | 'not-required';
341
- type IMotionSensorCapability = {
342
- requestPermission(): Promise<MotionPermissionState>;
343
- start(): Promise<void>;
344
- stop(): void;
345
- check(): MotionStatus;
346
- readonly isRunning: boolean;
347
- readonly hasPermission: boolean;
348
- };
349
344
  //#endregion
350
345
  //#region src/internal/deepsight/metadataService.d.ts
351
346
  type MetadataService = {
@@ -409,4 +404,4 @@ type DeepsightPrcCheckParams = {
409
404
  constraints: MediaStreamConstraints;
410
405
  };
411
406
  //#endregion
412
- export { IWasmUtilCapability as a, IMLProviderCapability as c, IRecordingCapability as d, RecordingConnection as f, IncodeCanvas as i, MLProviderConfig as l, IMotionSensorCapability as n, VirtualCameraCheckOutput as o, StreamCanvasCapture as r, WasmUtilConfig as s, DeepsightService as t, IStorageCapability as u };
407
+ export { VirtualCameraCheckOutput as a, MLProviderConfig as c, RecordingConnection as d, IWasmUtilCapability as i, IStorageCapability as l, StreamCanvasCapture as n, WasmUtilConfig as o, IncodeCanvas as r, IMLProviderCapability as s, DeepsightService as t, IRecordingCapability as u };