@incodetech/core 0.0.0-dev-20260611-98c2faa6 → 0.0.0-dev-20260611-3dbdc7fd

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 (63) hide show
  1. package/dist/{WasmUtilProvider-CiEN7Gjn.esm.js → WasmUtilProvider-BKWm8rSA.esm.js} +19 -0
  2. package/dist/ae-signature.d.ts +1 -1
  3. package/dist/authentication.d.ts +3 -3
  4. package/dist/authentication.esm.js +8 -8
  5. package/dist/{authenticationManager-ZNotsWnC.esm.js → authenticationManager-BlR6mSaG.esm.js} +3 -3
  6. package/dist/{authenticationManager-CrtT2e9t.d.ts → authenticationManager-CaiQbp-q.d.ts} +1 -1
  7. package/dist/{authenticationStateMachine-DksVbF_H.esm.js → authenticationStateMachine-DkcGUMw5.esm.js} +2 -2
  8. package/dist/camera.esm.js +2 -2
  9. package/dist/consent.d.ts +1 -1
  10. package/dist/{consentManager-DcRidB5n.d.ts → consentManager-B-qo4-xH.d.ts} +50 -50
  11. package/dist/cpf-ocr.d.ts +1 -1
  12. package/dist/{cpfOcrManager-DfPElySC.d.ts → cpfOcrManager-b5eyxzi_.d.ts} +20 -20
  13. package/dist/{deepsightLoader-65k1Appi.esm.js → deepsightLoader-8tnddNx-.esm.js} +1 -1
  14. package/dist/{deepsightService-B7ShOkWL.d.ts → deepsightService-Dh5P-hLf.d.ts} +5 -0
  15. package/dist/document-capture.d.ts +231 -231
  16. package/dist/document-capture.esm.js +4 -4
  17. package/dist/document-upload.d.ts +49 -49
  18. package/dist/{documentCaptureStateMachine-WYV1r9le.esm.js → documentCaptureStateMachine-CUTUzUw_.esm.js} +2 -2
  19. package/dist/ekyb.esm.js +3 -3
  20. package/dist/{ekybStateMachine-D2oIKFWv.esm.js → ekybStateMachine-B3RM9ruw.esm.js} +1 -1
  21. package/dist/electronic-signature.d.ts +1 -1
  22. package/dist/extensibility.d.ts +18 -9
  23. package/dist/extensibility.esm.js +13 -13
  24. package/dist/{faceCaptureManagerFactory-_5TkYBto.d.ts → faceCaptureManagerFactory-CjdBUS6s.d.ts} +1 -1
  25. package/dist/{faceCaptureManagerFactory-kqbUqtrr.esm.js → faceCaptureManagerFactory-ej2j1LMr.esm.js} +1 -1
  26. package/dist/{faceCaptureSetup-CtvHWd3x.esm.js → faceCaptureSetup-B9t6bYze.esm.js} +3 -3
  27. package/dist/flow.d.ts +2 -2
  28. package/dist/flow.esm.js +2 -2
  29. package/dist/{flowServices-DC3zqmXE.esm.js → flowServices-Dz3oouEJ.esm.js} +1 -1
  30. package/dist/home.d.ts +10 -10
  31. package/dist/id-ocr.d.ts +55 -55
  32. package/dist/id-verification.d.ts +25 -25
  33. package/dist/id.d.ts +2 -2
  34. package/dist/id.esm.js +7 -7
  35. package/dist/{idCaptureManager-ndh4eut0.d.ts → idCaptureManager-ChCNmgBj.d.ts} +1 -1
  36. package/dist/{idCaptureManager-DtPReXHJ.esm.js → idCaptureManager-Dnd7avjb.esm.js} +2 -2
  37. package/dist/{idCaptureStateMachine-DzvbHRWP.esm.js → idCaptureStateMachine-BymZWyzp.esm.js} +6 -6
  38. package/dist/identity-reuse.d.ts +1 -1
  39. package/dist/{identityReuseManager-C61BH-jB.d.ts → identityReuseManager-DwLtVzUn.d.ts} +35 -35
  40. package/dist/{index-DvsuK6gx.d.ts → index-Vto9CgAR.d.ts} +168 -168
  41. package/dist/index.d.ts +1 -1
  42. package/dist/index.esm.js +3 -3
  43. package/dist/mandatory-consent.d.ts +1 -1
  44. package/dist/{mandatoryConsentManager-DAbTKFRs.d.ts → mandatoryConsentManager-Cptkf2gO.d.ts} +50 -50
  45. package/dist/{permissionGuards-C1ispV96.esm.js → permissionGuards-D0wGddy7.esm.js} +1 -1
  46. package/dist/{permissionServices-CG3bMSfG.esm.js → permissionServices-Doec4X5L.esm.js} +1 -1
  47. package/dist/qe-signature.d.ts +1 -1
  48. package/dist/{recordingService-Bn9EdCmz.esm.js → recordingService-yRw7hfzU.esm.js} +2 -2
  49. package/dist/selfie.d.ts +3 -3
  50. package/dist/selfie.esm.js +8 -8
  51. package/dist/{selfieManager-BjCoKRy0.esm.js → selfieManager-BNuTIGAz.esm.js} +3 -3
  52. package/dist/{selfieManager-CgekeDRH.d.ts → selfieManager-C2y_t6DG.d.ts} +1 -1
  53. package/dist/{selfieStateMachine-b4F2q9zw.esm.js → selfieStateMachine-Bv99bZJE.esm.js} +2 -2
  54. package/dist/session.esm.js +1 -1
  55. package/dist/{sessionInitializer-Cwpfj8HG.esm.js → sessionInitializer-Bwk3EweR.esm.js} +1 -1
  56. package/dist/{setup-mbuwojFZ.esm.js → setup-BE0cu5ra.esm.js} +16 -4
  57. package/dist/{setup-BbkprdVv.d.ts → setup-BwCluiw3.d.ts} +29 -0
  58. package/dist/trust-graph.d.ts +2 -2
  59. package/dist/wasm.d.ts +1 -1
  60. package/dist/wasm.esm.js +3 -3
  61. package/dist/workflow.d.ts +133 -133
  62. package/dist/workflow.esm.js +12 -12
  63. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
- import "./WasmUtilProvider-CiEN7Gjn.esm.js";
1
+ import "./WasmUtilProvider-BKWm8rSA.esm.js";
2
2
  import "./api-CESGtpbH.esm.js";
3
3
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dvvriq9l.esm.js";
4
4
  import "./endpoints-BeTK0Mlt.esm.js";
5
5
  import "./platform-SKvEfCBh.esm.js";
6
6
  import { c as createManager, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
7
7
  import "./MotionSensorProvider-Bx7Mpzt0.esm.js";
8
- import "./permissionServices-CG3bMSfG.esm.js";
8
+ import "./permissionServices-Doec4X5L.esm.js";
9
9
  import "./camera-DJWm3V4g.esm.js";
10
10
  import "./ITimerCapability-CB0I1Uf2.esm.js";
11
11
  import "./backCameraStream-D7Wo4Nbx.esm.js";
12
- import "./permissionGuards-C1ispV96.esm.js";
13
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-WYV1r9le.esm.js";
12
+ import "./permissionGuards-D0wGddy7.esm.js";
13
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-CUTUzUw_.esm.js";
14
14
 
15
15
  //#region src/modules/document-capture/documentCaptureActor.ts
16
16
  function createDocumentCaptureActor(options) {
@@ -2,10 +2,10 @@ import { t as Manager } from "./Manager-BHn8wH8K.js";
2
2
  import "./Actor-Y0_Fj-KL.js";
3
3
  import "./camera-SRBpPq2X.js";
4
4
  import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-Bj9hdFjU.js";
5
- import * as xstate959 from "xstate";
5
+ import * as xstate588 from "xstate";
6
6
 
7
7
  //#region src/modules/document-upload/documentUploadStateMachine.d.ts
8
- declare const documentUploadMachine: xstate959.StateMachine<DocumentUploadContext, {
8
+ declare const documentUploadMachine: xstate588.StateMachine<DocumentUploadContext, {
9
9
  type: "START";
10
10
  } | {
11
11
  type: "CAPTURE";
@@ -18,52 +18,52 @@ declare const documentUploadMachine: xstate959.StateMachine<DocumentUploadContex
18
18
  } | {
19
19
  type: "CLOSE";
20
20
  }, {
21
- [x: string]: xstate959.ActorRefFromLogic<xstate959.PromiseActorLogic<MediaStream, void, xstate959.EventObject>> | xstate959.ActorRefFromLogic<xstate959.PromiseActorLogic<void, {
21
+ [x: string]: xstate588.ActorRefFromLogic<xstate588.PromiseActorLogic<void, {
22
22
  imageBase64: string;
23
23
  documentType: string;
24
24
  onProgress: (progress: number) => void;
25
- }, xstate959.EventObject>> | undefined;
26
- }, xstate959.Values<{
25
+ }, xstate588.EventObject>> | xstate588.ActorRefFromLogic<xstate588.PromiseActorLogic<MediaStream, void, xstate588.EventObject>> | undefined;
26
+ }, xstate588.Values<{
27
27
  uploadDocument: {
28
28
  src: "uploadDocument";
29
- logic: xstate959.PromiseActorLogic<void, {
29
+ logic: xstate588.PromiseActorLogic<void, {
30
30
  imageBase64: string;
31
31
  documentType: string;
32
32
  onProgress: (progress: number) => void;
33
- }, xstate959.EventObject>;
33
+ }, xstate588.EventObject>;
34
34
  id: string | undefined;
35
35
  };
36
36
  initCamera: {
37
37
  src: "initCamera";
38
- logic: xstate959.PromiseActorLogic<MediaStream, void, xstate959.EventObject>;
38
+ logic: xstate588.PromiseActorLogic<MediaStream, void, xstate588.EventObject>;
39
39
  id: string | undefined;
40
40
  };
41
- }>, xstate959.Values<{
41
+ }>, xstate588.Values<{
42
+ setError: {
43
+ type: "setError";
44
+ params: xstate588.NonReducibleUnknown;
45
+ };
46
+ clearError: {
47
+ type: "clearError";
48
+ params: xstate588.NonReducibleUnknown;
49
+ };
42
50
  setStream: {
43
51
  type: "setStream";
44
- params: xstate959.NonReducibleUnknown;
52
+ params: xstate588.NonReducibleUnknown;
53
+ };
54
+ setImageAndClearError: {
55
+ type: "setImageAndClearError";
56
+ params: xstate588.NonReducibleUnknown;
45
57
  };
46
58
  setProgress: {
47
59
  type: "setProgress";
48
- params: xstate959.NonReducibleUnknown;
49
- };
50
- clearError: {
51
- type: "clearError";
52
- params: xstate959.NonReducibleUnknown;
60
+ params: xstate588.NonReducibleUnknown;
53
61
  };
54
62
  stopStream: {
55
63
  type: "stopStream";
56
- params: xstate959.NonReducibleUnknown;
57
- };
58
- setError: {
59
- type: "setError";
60
- params: xstate959.NonReducibleUnknown;
61
- };
62
- setImageAndClearError: {
63
- type: "setImageAndClearError";
64
- params: xstate959.NonReducibleUnknown;
64
+ params: xstate588.NonReducibleUnknown;
65
65
  };
66
- }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate959.NonReducibleUnknown, xstate959.EventObject, xstate959.MetaObject, {
66
+ }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate588.NonReducibleUnknown, xstate588.EventObject, xstate588.MetaObject, {
67
67
  readonly id: "documentUpload";
68
68
  readonly initial: "idle";
69
69
  readonly context: ({
@@ -72,67 +72,67 @@ declare const documentUploadMachine: xstate959.StateMachine<DocumentUploadContex
72
72
  spawn: {
73
73
  <TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
74
74
  src: "uploadDocument";
75
- logic: xstate959.PromiseActorLogic<void, {
75
+ logic: xstate588.PromiseActorLogic<void, {
76
76
  imageBase64: string;
77
77
  documentType: string;
78
78
  onProgress: (progress: number) => void;
79
- }, xstate959.EventObject>;
79
+ }, xstate588.EventObject>;
80
80
  id: string | undefined;
81
81
  } extends infer T ? T extends {
82
82
  src: "uploadDocument";
83
- logic: xstate959.PromiseActorLogic<void, {
83
+ logic: xstate588.PromiseActorLogic<void, {
84
84
  imageBase64: string;
85
85
  documentType: string;
86
86
  onProgress: (progress: number) => void;
87
- }, xstate959.EventObject>;
87
+ }, xstate588.EventObject>;
88
88
  id: string | undefined;
89
89
  } ? T extends {
90
90
  src: TSrc;
91
- } ? xstate959.ConditionalRequired<[options?: ({
91
+ } ? xstate588.ConditionalRequired<[options?: ({
92
92
  id?: T["id"] | undefined;
93
93
  systemId?: string;
94
- input?: xstate959.InputFrom<T["logic"]> | undefined;
94
+ input?: xstate588.InputFrom<T["logic"]> | undefined;
95
95
  syncSnapshot?: boolean;
96
- } & { [K in xstate959.RequiredActorOptions<T>]: unknown }) | undefined], xstate959.IsNotNever<xstate959.RequiredActorOptions<T>>> : never : never : never) | ({
96
+ } & { [K in xstate588.RequiredActorOptions<T>]: unknown }) | undefined], xstate588.IsNotNever<xstate588.RequiredActorOptions<T>>> : never : never : never) | ({
97
97
  src: "initCamera";
98
- logic: xstate959.PromiseActorLogic<MediaStream, void, xstate959.EventObject>;
98
+ logic: xstate588.PromiseActorLogic<MediaStream, void, xstate588.EventObject>;
99
99
  id: string | undefined;
100
100
  } extends infer T_1 ? T_1 extends {
101
101
  src: "initCamera";
102
- logic: xstate959.PromiseActorLogic<MediaStream, void, xstate959.EventObject>;
102
+ logic: xstate588.PromiseActorLogic<MediaStream, void, xstate588.EventObject>;
103
103
  id: string | undefined;
104
104
  } ? T_1 extends {
105
105
  src: TSrc;
106
- } ? xstate959.ConditionalRequired<[options?: ({
106
+ } ? xstate588.ConditionalRequired<[options?: ({
107
107
  id?: T_1["id"] | undefined;
108
108
  systemId?: string;
109
- input?: xstate959.InputFrom<T_1["logic"]> | undefined;
109
+ input?: xstate588.InputFrom<T_1["logic"]> | undefined;
110
110
  syncSnapshot?: boolean;
111
- } & { [K_1 in xstate959.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate959.IsNotNever<xstate959.RequiredActorOptions<T_1>>> : never : never : never)): xstate959.ActorRefFromLogic<xstate959.GetConcreteByKey<xstate959.Values<{
111
+ } & { [K_1 in xstate588.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate588.IsNotNever<xstate588.RequiredActorOptions<T_1>>> : never : never : never)): xstate588.ActorRefFromLogic<xstate588.GetConcreteByKey<xstate588.Values<{
112
112
  uploadDocument: {
113
113
  src: "uploadDocument";
114
- logic: xstate959.PromiseActorLogic<void, {
114
+ logic: xstate588.PromiseActorLogic<void, {
115
115
  imageBase64: string;
116
116
  documentType: string;
117
117
  onProgress: (progress: number) => void;
118
- }, xstate959.EventObject>;
118
+ }, xstate588.EventObject>;
119
119
  id: string | undefined;
120
120
  };
121
121
  initCamera: {
122
122
  src: "initCamera";
123
- logic: xstate959.PromiseActorLogic<MediaStream, void, xstate959.EventObject>;
123
+ logic: xstate588.PromiseActorLogic<MediaStream, void, xstate588.EventObject>;
124
124
  id: string | undefined;
125
125
  };
126
126
  }>, "src", TSrc>["logic"]>;
127
- <TLogic extends xstate959.AnyActorLogic>(src: TLogic, ...[options]: xstate959.ConditionalRequired<[options?: ({
127
+ <TLogic extends xstate588.AnyActorLogic>(src: TLogic, ...[options]: xstate588.ConditionalRequired<[options?: ({
128
128
  id?: never;
129
129
  systemId?: string;
130
- input?: xstate959.InputFrom<TLogic> | undefined;
130
+ input?: xstate588.InputFrom<TLogic> | undefined;
131
131
  syncSnapshot?: boolean;
132
- } & { [K in xstate959.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate959.IsNotNever<xstate959.RequiredLogicInput<TLogic>>>): xstate959.ActorRefFromLogic<TLogic>;
132
+ } & { [K in xstate588.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate588.IsNotNever<xstate588.RequiredLogicInput<TLogic>>>): xstate588.ActorRefFromLogic<TLogic>;
133
133
  };
134
134
  input: DocumentUploadInput;
135
- self: xstate959.ActorRef<xstate959.MachineSnapshot<DocumentUploadContext, {
135
+ self: xstate588.ActorRef<xstate588.MachineSnapshot<DocumentUploadContext, {
136
136
  type: "START";
137
137
  } | {
138
138
  type: "CAPTURE";
@@ -144,7 +144,7 @@ declare const documentUploadMachine: xstate959.StateMachine<DocumentUploadContex
144
144
  type: "RETRY";
145
145
  } | {
146
146
  type: "CLOSE";
147
- }, Record<string, xstate959.AnyActorRef | undefined>, xstate959.StateValue, string, unknown, any, any>, {
147
+ }, Record<string, xstate588.AnyActorRef | undefined>, xstate588.StateValue, string, unknown, any, any>, {
148
148
  type: "START";
149
149
  } | {
150
150
  type: "CAPTURE";
@@ -156,7 +156,7 @@ declare const documentUploadMachine: xstate959.StateMachine<DocumentUploadContex
156
156
  type: "RETRY";
157
157
  } | {
158
158
  type: "CLOSE";
159
- }, xstate959.AnyEventObject>;
159
+ }, xstate588.AnyEventObject>;
160
160
  }) => {
161
161
  config: DocumentUploadConfig;
162
162
  stream: undefined;
@@ -226,7 +226,7 @@ declare const documentUploadMachine: xstate959.StateMachine<DocumentUploadContex
226
226
  } | {
227
227
  type: "CLOSE";
228
228
  };
229
- self: xstate959.ActorRef<xstate959.MachineSnapshot<DocumentUploadContext, {
229
+ self: xstate588.ActorRef<xstate588.MachineSnapshot<DocumentUploadContext, {
230
230
  type: "START";
231
231
  } | {
232
232
  type: "CAPTURE";
@@ -238,7 +238,7 @@ declare const documentUploadMachine: xstate959.StateMachine<DocumentUploadContex
238
238
  type: "RETRY";
239
239
  } | {
240
240
  type: "CLOSE";
241
- }, Record<string, xstate959.AnyActorRef>, xstate959.StateValue, string, unknown, any, any>, {
241
+ }, Record<string, xstate588.AnyActorRef>, xstate588.StateValue, string, unknown, any, any>, {
242
242
  type: "START";
243
243
  } | {
244
244
  type: "CAPTURE";
@@ -250,7 +250,7 @@ declare const documentUploadMachine: xstate959.StateMachine<DocumentUploadContex
250
250
  type: "RETRY";
251
251
  } | {
252
252
  type: "CLOSE";
253
- }, xstate959.AnyEventObject>;
253
+ }, xstate588.AnyEventObject>;
254
254
  }) => {
255
255
  imageBase64: string;
256
256
  documentType: string;
@@ -1,10 +1,10 @@
1
1
  import { t as api } from "./api-CESGtpbH.esm.js";
2
2
  import { t as endpoints } from "./endpoints-BeTK0Mlt.esm.js";
3
3
  import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
4
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CG3bMSfG.esm.js";
4
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Doec4X5L.esm.js";
5
5
  import { i as stopCameraStream } from "./camera-DJWm3V4g.esm.js";
6
6
  import { n as getBackCameraStream } from "./backCameraStream-D7Wo4Nbx.esm.js";
7
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-C1ispV96.esm.js";
7
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0wGddy7.esm.js";
8
8
 
9
9
  //#region src/modules/document-capture/types.ts
10
10
  const PROCESSING_TYPE_MAP = {
package/dist/ekyb.esm.js CHANGED
@@ -5,15 +5,15 @@ import "./endpoints-BeTK0Mlt.esm.js";
5
5
  import "./stats-BMNUG1AU.esm.js";
6
6
  import "./IpifyProvider-D4LWD15E.esm.js";
7
7
  import "./browserSimulation-B1dWiXp7.esm.js";
8
- import "./sessionInitializer-Cwpfj8HG.esm.js";
8
+ import "./sessionInitializer-Bwk3EweR.esm.js";
9
9
  import "./platform-SKvEfCBh.esm.js";
10
10
  import "./getBrowser-C8DP7oTB.esm.js";
11
11
  import { c as createManager, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
12
12
  import "./apiError-B-j-gyDx.esm.js";
13
- import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-D2oIKFWv.esm.js";
13
+ import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-B3RM9ruw.esm.js";
14
14
  import "./addressSearch-DvmWXKZg.esm.js";
15
15
  import "./session-DoVb-OcB.esm.js";
16
- import "./flowServices-DC3zqmXE.esm.js";
16
+ import "./flowServices-Dz3oouEJ.esm.js";
17
17
 
18
18
  //#region src/modules/ekyb/ekybActor.ts
19
19
  /**
@@ -2,7 +2,7 @@ import { t as api } from "./api-CESGtpbH.esm.js";
2
2
  import { t as endpoints } from "./endpoints-BeTK0Mlt.esm.js";
3
3
  import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
4
4
  import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DvmWXKZg.esm.js";
5
- import { t as getFlow } from "./flowServices-DC3zqmXE.esm.js";
5
+ import { t as getFlow } from "./flowServices-Dz3oouEJ.esm.js";
6
6
 
7
7
  //#region src/modules/ekyb/ekybConstants.ts
8
8
  const UBO_INPUT_LIMIT = 8;
@@ -1,4 +1,4 @@
1
1
  import "./Manager-BHn8wH8K.js";
2
2
  import "./Actor-Y0_Fj-KL.js";
3
- import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-DvsuK6gx.js";
3
+ import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-Vto9CgAR.js";
4
4
  export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -3,26 +3,26 @@ import "./Manager-BHn8wH8K.js";
3
3
  import { n as createActor } from "./Actor-Y0_Fj-KL.js";
4
4
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-CznnhyvD.js";
5
5
  import { i as fromPromise, r as fromCallback } from "./StateMachine-BC_nGvrc.js";
6
- import { _ as SendFaceImageResponse, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as BaseWasmProvider } from "./faceCaptureManagerFactory-_5TkYBto.js";
6
+ import { _ as SendFaceImageResponse, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as BaseWasmProvider } from "./faceCaptureManagerFactory-CjdBUS6s.js";
7
7
  import "./camera-SRBpPq2X.js";
8
8
  import "./types-Bj9hdFjU.js";
9
9
  import "./types-DvGZI7BF.js";
10
10
  import "./types-DOUhndhT.js";
11
- import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, s as IStorageCapability } from "./deepsightService-B7ShOkWL.js";
11
+ import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, s as IStorageCapability } from "./deepsightService-Dh5P-hLf.js";
12
12
  import "./types-ya0LN_MX.js";
13
13
  import "./StreamCanvasCapture-yyl20qd9.js";
14
- import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CgekeDRH.js";
15
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CrtT2e9t.js";
16
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-DcRidB5n.js";
17
- import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-DfPElySC.js";
14
+ import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-C2y_t6DG.js";
15
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CaiQbp-q.js";
16
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-B-qo4-xH.js";
17
+ import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-b5eyxzi_.js";
18
18
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-RttixpIc.js";
19
19
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-lAzDoQOs.js";
20
20
  import "./otp-DF5A0sFx.js";
21
- import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-ndh4eut0.js";
21
+ import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-ChCNmgBj.js";
22
22
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-fPmIBYQK.js";
23
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-C61BH-jB.js";
23
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-DwLtVzUn.js";
24
24
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-Bu5TaSr3.js";
25
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DAbTKFRs.js";
25
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-Cptkf2gO.js";
26
26
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BNe3IzC_.js";
27
27
 
28
28
  //#region src/modules/authentication/authenticationUploadService.d.ts
@@ -92,6 +92,15 @@ declare class WasmUtilProvider extends BaseWasmProvider implements IWasmUtilCapa
92
92
  setBackgroundMode(backgroundMode: boolean): void;
93
93
  setZc(zc: string): void;
94
94
  setInspectorOpened(opened: boolean): void;
95
+ /**
96
+ * Toggles the WASM module's production mode. When `true`, the native module
97
+ * suppresses its verbose debug logging/console output; when `false`, those
98
+ * logs are emitted. The SDK forces this to `true` by default and only flips
99
+ * it off when the caller opts in via `setup({ wasm: { showLogs: true } })`.
100
+ *
101
+ * @param productionMode - `true` to silence WASM logs, `false` to emit them.
102
+ */
103
+ setProductionMode(productionMode: boolean): Promise<void>;
95
104
  getMetadata(): string;
96
105
  analyzeFrame(image: ImageData): Promise<void>;
97
106
  getCheck(): string;
@@ -1,4 +1,4 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-CiEN7Gjn.esm.js";
1
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-BKWm8rSA.esm.js";
2
2
  import "./BrowserTimerProvider-DhNc_x02.esm.js";
3
3
  import "./api-CESGtpbH.esm.js";
4
4
  import "./events-Dvvriq9l.esm.js";
@@ -6,7 +6,7 @@ import "./endpoints-BeTK0Mlt.esm.js";
6
6
  import "./stats-BMNUG1AU.esm.js";
7
7
  import { t as IpifyProvider } from "./IpifyProvider-D4LWD15E.esm.js";
8
8
  import "./browserSimulation-B1dWiXp7.esm.js";
9
- import { o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./sessionInitializer-Cwpfj8HG.esm.js";
9
+ import { o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./sessionInitializer-Bwk3EweR.esm.js";
10
10
  import "./platform-SKvEfCBh.esm.js";
11
11
  import "./getBrowser-C8DP7oTB.esm.js";
12
12
  import { a as fromPromise, i as fromCallback, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
@@ -15,10 +15,10 @@ import "./antifraudStateMachine-Ccrb-Jxc.esm.js";
15
15
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-CkV4u-LE.esm.js";
16
16
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-BpJM-gIl.esm.js";
17
17
  import "./MotionSensorProvider-Bx7Mpzt0.esm.js";
18
- import "./permissionServices-CG3bMSfG.esm.js";
18
+ import "./permissionServices-Doec4X5L.esm.js";
19
19
  import "./camera-DJWm3V4g.esm.js";
20
- import "./faceCaptureManagerFactory-kqbUqtrr.esm.js";
21
- import "./recordingService-Bn9EdCmz.esm.js";
20
+ import "./faceCaptureManagerFactory-ej2j1LMr.esm.js";
21
+ import "./recordingService-yRw7hfzU.esm.js";
22
22
  import "./ITimerCapability-CB0I1Uf2.esm.js";
23
23
  import "./canvas-SKcRBxsk.esm.js";
24
24
  import "./backCameraStream-D7Wo4Nbx.esm.js";
@@ -27,10 +27,10 @@ import "./getDeviceClass-C0olyNFS.esm.js";
27
27
  import "./getDeviceClass-C8Do2qYu.esm.js";
28
28
  import "./types-DsnEVMhr.esm.js";
29
29
  import "./StreamCanvasCapture-ImiDQdVA.esm.js";
30
- import "./permissionGuards-C1ispV96.esm.js";
31
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CtvHWd3x.esm.js";
32
- import "./authenticationStateMachine-DksVbF_H.esm.js";
33
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-ZNotsWnC.esm.js";
30
+ import "./permissionGuards-D0wGddy7.esm.js";
31
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-B9t6bYze.esm.js";
32
+ import "./authenticationStateMachine-DkcGUMw5.esm.js";
33
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BlR6mSaG.esm.js";
34
34
  import "./consentStateMachine-BG3yL8aC.esm.js";
35
35
  import { n as createConsentManagerFromActor } from "./consentManager-BYo9Nu1r.esm.js";
36
36
  import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-sSKegxox.esm.js";
@@ -41,10 +41,10 @@ import "./session-DoVb-OcB.esm.js";
41
41
  import "./emailStateMachine-CxTOMAjC.esm.js";
42
42
  import "./otp-CGMdUzBC.esm.js";
43
43
  import { n as createEmailManagerFromActor } from "./emailManager--D5G3ChB.esm.js";
44
- import "./selfieStateMachine-b4F2q9zw.esm.js";
45
- import { n as createSelfieManagerFromActor } from "./selfieManager-BjCoKRy0.esm.js";
46
- import "./idCaptureStateMachine-DzvbHRWP.esm.js";
47
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DtPReXHJ.esm.js";
44
+ import "./selfieStateMachine-Bv99bZJE.esm.js";
45
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BNuTIGAz.esm.js";
46
+ import "./idCaptureStateMachine-BymZWyzp.esm.js";
47
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Dnd7avjb.esm.js";
48
48
  import "./phoneStateMachine-BiV0yoEx.esm.js";
49
49
  import { n as createPhoneManagerFromActor } from "./phoneManager-BmF-0Ez4.esm.js";
50
50
  import "./identityReuseStateMachine-BfE5YiEr.esm.js";
@@ -4,7 +4,7 @@ import { t as ActorRefFrom } from "./Actor-Y0_Fj-KL.js";
4
4
  import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BC_nGvrc.js";
5
5
  import { t as CameraStream } from "./camera-SRBpPq2X.js";
6
6
  import { i as FlowModuleConfig, n as Flow } from "./types-DOUhndhT.js";
7
- import { a as IMLProviderCapability, c as IRecordingCapability, n as IWasmUtilCapability, o as MLProviderConfig, s as IStorageCapability, t as DeepsightService } from "./deepsightService-B7ShOkWL.js";
7
+ import { a as IMLProviderCapability, c as IRecordingCapability, n as IWasmUtilCapability, o as MLProviderConfig, s as IStorageCapability, t as DeepsightService } from "./deepsightService-Dh5P-hLf.js";
8
8
  import { n as PermissionStatus, t as PermissionResult } from "./types-ya0LN_MX.js";
9
9
  import { n as IncodeCanvas, t as StreamCanvasCapture } from "./StreamCanvasCapture-yyl20qd9.js";
10
10
 
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Dvvriq9l.esm.js";
2
2
  import { c as createManager } from "./xstate.esm-C9wncMQa.esm.js";
3
3
  import { n as setWasmDsFlagSync } from "./BrowserStorageProvider-BpJM-gIl.esm.js";
4
- import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CG3bMSfG.esm.js";
4
+ import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Doec4X5L.esm.js";
5
5
 
6
6
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
7
7
  function getPermissionStatus(snapshot) {
@@ -1,10 +1,10 @@
1
1
  import { r as getToken } from "./api-CESGtpbH.esm.js";
2
2
  import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
3
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CG3bMSfG.esm.js";
4
- import { d as sendLabelInspectionEvent, f as startDetection, l as initializeCamera, n as preloadOpenViduProvider, p as stopStream, r as flagFaceManualReview, t as createRecordingService, u as initializeDeepsightSession } from "./recordingService-Bn9EdCmz.esm.js";
3
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Doec4X5L.esm.js";
4
+ import { d as sendLabelInspectionEvent, f as startDetection, l as initializeCamera, n as preloadOpenViduProvider, p as stopStream, r as flagFaceManualReview, t as createRecordingService, u as initializeDeepsightSession } from "./recordingService-yRw7hfzU.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-DsnEVMhr.esm.js";
6
6
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-ImiDQdVA.esm.js";
7
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-C1ispV96.esm.js";
7
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0wGddy7.esm.js";
8
8
 
9
9
  //#region src/internal/faceCapture/faceCaptureSetup.ts
10
10
  const getAttemptsFromConfig = (config) => {
package/dist/flow.d.ts CHANGED
@@ -8,7 +8,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-DOUhn
8
8
  import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-BdR2cGgB.js";
9
9
  import { o as FlowEventSubscribable } from "./index-B5hPA0Bg.js";
10
10
  import { n as ModuleRegistry } from "./types-NuT8ftBV.js";
11
- import * as xstate1155 from "xstate";
11
+ import * as xstate1095 from "xstate";
12
12
 
13
13
  //#region src/modules/flow/flowUtils.d.ts
14
14
  type NormalizeFlowModulesOptions = {
@@ -60,7 +60,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
60
60
  declare const getFlow: GetFlow;
61
61
  //#endregion
62
62
  //#region src/modules/flow/noOpFlowModuleMachine.d.ts
63
- declare const noOpFlowModuleMachine: xstate1155.StateMachine<xstate1155.MachineContext, xstate1155.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1155.NonReducibleUnknown, xstate1155.NonReducibleUnknown, xstate1155.EventObject, xstate1155.MetaObject, {
63
+ declare const noOpFlowModuleMachine: xstate1095.StateMachine<xstate1095.MachineContext, xstate1095.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1095.NonReducibleUnknown, xstate1095.NonReducibleUnknown, xstate1095.EventObject, xstate1095.MetaObject, {
64
64
  readonly id: "noOpFlowModule";
65
65
  readonly initial: "finished";
66
66
  readonly states: {
package/dist/flow.esm.js CHANGED
@@ -4,14 +4,14 @@ import "./endpoints-BeTK0Mlt.esm.js";
4
4
  import "./stats-BMNUG1AU.esm.js";
5
5
  import "./IpifyProvider-D4LWD15E.esm.js";
6
6
  import "./browserSimulation-B1dWiXp7.esm.js";
7
- import "./sessionInitializer-Cwpfj8HG.esm.js";
7
+ import "./sessionInitializer-Bwk3EweR.esm.js";
8
8
  import "./platform-SKvEfCBh.esm.js";
9
9
  import "./getBrowser-C8DP7oTB.esm.js";
10
10
  import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
11
11
  import "./apiError-B-j-gyDx.esm.js";
12
12
  import "./types-DsnEVMhr.esm.js";
13
13
  import "./session-DoVb-OcB.esm.js";
14
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-DC3zqmXE.esm.js";
14
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-Dz3oouEJ.esm.js";
15
15
  import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CuoHZ1cx.esm.js";
16
16
  import { t as getFinishStatus } from "./flowCompletionService-DdGojV9K.esm.js";
17
17
 
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-CESGtpbH.esm.js";
2
2
  import { t as endpoints } from "./endpoints-BeTK0Mlt.esm.js";
3
- import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-Cwpfj8HG.esm.js";
3
+ import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-Bwk3EweR.esm.js";
4
4
  import { n as toIncodeApiError } from "./apiError-B-j-gyDx.esm.js";
5
5
 
6
6
  //#region src/modules/flow/flowUtils.ts
package/dist/home.d.ts CHANGED
@@ -3,7 +3,7 @@ import "./camera-SRBpPq2X.js";
3
3
  import "./types-Bj9hdFjU.js";
4
4
  import "./types-DvGZI7BF.js";
5
5
  import { t as EmptyConfig } from "./types-DOUhndhT.js";
6
- import * as xstate677 from "xstate";
6
+ import * as xstate57 from "xstate";
7
7
 
8
8
  //#region src/modules/home/types.d.ts
9
9
  type HomeConfig = EmptyConfig;
@@ -35,41 +35,41 @@ type HomeContext = {
35
35
  type HomeInput = {
36
36
  config: EmptyConfig;
37
37
  };
38
- declare const homeMachine: xstate677.StateMachine<HomeContext, {
38
+ declare const homeMachine: xstate57.StateMachine<HomeContext, {
39
39
  type: "LOAD";
40
40
  } | {
41
41
  type: "COMPLETE";
42
42
  } | {
43
43
  type: "RESET";
44
- }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate677.NonReducibleUnknown, xstate677.EventObject, xstate677.MetaObject, {
44
+ }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate57.NonReducibleUnknown, xstate57.EventObject, xstate57.MetaObject, {
45
45
  readonly id: "home";
46
46
  readonly initial: "idle";
47
47
  readonly context: ({
48
48
  input
49
49
  }: {
50
50
  spawn: {
51
- <TSrc extends never>(logic: TSrc, ...[options]: never): xstate677.ActorRefFromLogic<never>;
52
- <TLogic extends xstate677.AnyActorLogic>(src: TLogic, ...[options]: xstate677.ConditionalRequired<[options?: ({
51
+ <TSrc extends never>(logic: TSrc, ...[options]: never): xstate57.ActorRefFromLogic<never>;
52
+ <TLogic extends xstate57.AnyActorLogic>(src: TLogic, ...[options]: xstate57.ConditionalRequired<[options?: ({
53
53
  id?: never;
54
54
  systemId?: string;
55
- input?: xstate677.InputFrom<TLogic> | undefined;
55
+ input?: xstate57.InputFrom<TLogic> | undefined;
56
56
  syncSnapshot?: boolean;
57
- } & { [K in xstate677.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate677.IsNotNever<xstate677.RequiredLogicInput<TLogic>>>): xstate677.ActorRefFromLogic<TLogic>;
57
+ } & { [K in xstate57.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate57.IsNotNever<xstate57.RequiredLogicInput<TLogic>>>): xstate57.ActorRefFromLogic<TLogic>;
58
58
  };
59
59
  input: HomeInput;
60
- self: xstate677.ActorRef<xstate677.MachineSnapshot<HomeContext, {
60
+ self: xstate57.ActorRef<xstate57.MachineSnapshot<HomeContext, {
61
61
  type: "LOAD";
62
62
  } | {
63
63
  type: "COMPLETE";
64
64
  } | {
65
65
  type: "RESET";
66
- }, Record<string, xstate677.AnyActorRef | undefined>, xstate677.StateValue, string, unknown, any, any>, {
66
+ }, Record<string, xstate57.AnyActorRef | undefined>, xstate57.StateValue, string, unknown, any, any>, {
67
67
  type: "LOAD";
68
68
  } | {
69
69
  type: "COMPLETE";
70
70
  } | {
71
71
  type: "RESET";
72
- }, xstate677.AnyEventObject>;
72
+ }, xstate57.AnyEventObject>;
73
73
  }) => {
74
74
  config: EmptyConfig;
75
75
  };