@incodetech/core 0.0.0-dev-20260703-464afb8a → 0.0.0-dev-20260703-67b9f29a

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 (40) hide show
  1. package/dist/ae-signature.d.ts +1 -1
  2. package/dist/certificate-issuance.d.ts +28 -28
  3. package/dist/consent.d.ts +1 -1
  4. package/dist/{consentManager-B9ciAXTR.d.ts → consentManager-BjmnhCCI.d.ts} +52 -52
  5. package/dist/cpf-ocr.d.ts +1 -1
  6. package/dist/{cpfOcrManager-OeiEEYoU.d.ts → cpfOcrManager-Ch26iYav.d.ts} +20 -20
  7. package/dist/document-capture.d.ts +222 -222
  8. package/dist/document-upload.d.ts +46 -46
  9. package/dist/ekyb.esm.js +3 -3
  10. package/dist/{ekybStateMachine-CyzntJzO.esm.js → ekybStateMachine-CV-jowiY.esm.js} +1 -1
  11. package/dist/electronic-signature.d.ts +1 -1
  12. package/dist/extensibility.d.ts +5 -5
  13. package/dist/extensibility.esm.js +3 -3
  14. package/dist/flow.d.ts +2 -2
  15. package/dist/flow.esm.js +2 -2
  16. package/dist/{flowServices-C_4Yc2kf.esm.js → flowServices-DisXQYL9.esm.js} +1 -1
  17. package/dist/home.d.ts +10 -10
  18. package/dist/id-ocr.d.ts +1 -1
  19. package/dist/id-verification.d.ts +25 -25
  20. package/dist/id.esm.js +3 -3
  21. package/dist/{idCaptureManager-VyxI4Mt1.esm.js → idCaptureManager-BfHeQRtN.esm.js} +1 -1
  22. package/dist/{idCaptureStateMachine-BWTVPXMt.esm.js → idCaptureStateMachine-Bi87hNhf.esm.js} +1 -1
  23. package/dist/{idOcrManager-CQCoiHhT.d.ts → idOcrManager-CB7aCLEQ.d.ts} +52 -52
  24. package/dist/identity-reuse.d.ts +1 -1
  25. package/dist/{identityReuseManager-DuD39brc.d.ts → identityReuseManager-7uEsPYcV.d.ts} +35 -35
  26. package/dist/{index-BDZhI2V_.d.ts → index-B1mDC5CI.d.ts} +168 -168
  27. package/dist/index.esm.js +2 -2
  28. package/dist/mandatory-consent.d.ts +1 -1
  29. package/dist/{mandatoryConsentManager-B4U6GKph.d.ts → mandatoryConsentManager-Cg0QqYC4.d.ts} +52 -52
  30. package/dist/qe-signature.d.ts +1 -1
  31. package/dist/session.esm.js +1 -1
  32. package/dist/{sessionInitializer-hbAgc1U0.esm.js → sessionInitializer-BUj-jKgb.esm.js} +1 -1
  33. package/dist/{setup-Cnj8G6HJ.esm.js → setup-D00Vs2Qj.esm.js} +1 -1
  34. package/dist/trust-graph.d.ts +2 -2
  35. package/dist/video-selfie.d.ts +2 -2
  36. package/dist/video-selfie.esm.js +2 -2
  37. package/dist/wasm.esm.js +2 -2
  38. package/dist/workflow.d.ts +156 -156
  39. package/dist/workflow.esm.js +4 -4
  40. package/package.json +1 -1
@@ -3,10 +3,10 @@ import { t as Manager } from "./Manager-goNPc_h_.js";
3
3
  import "./Actor-BwgmOPkb.js";
4
4
  import "./camera-CKU96nwJ.js";
5
5
  import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-DV3wkhQ4.js";
6
- import * as xstate414 from "xstate";
6
+ import * as xstate237 from "xstate";
7
7
 
8
8
  //#region src/modules/document-upload/documentUploadStateMachine.d.ts
9
- declare const documentUploadMachine: xstate414.StateMachine<DocumentUploadContext, {
9
+ declare const documentUploadMachine: xstate237.StateMachine<DocumentUploadContext, {
10
10
  type: "START";
11
11
  } | {
12
12
  type: "CAPTURE";
@@ -19,52 +19,52 @@ declare const documentUploadMachine: xstate414.StateMachine<DocumentUploadContex
19
19
  } | {
20
20
  type: "CLOSE";
21
21
  }, {
22
- [x: string]: xstate414.ActorRefFromLogic<xstate414.PromiseActorLogic<MediaStream, void, xstate414.EventObject>> | xstate414.ActorRefFromLogic<xstate414.PromiseActorLogic<void, {
22
+ [x: string]: xstate237.ActorRefFromLogic<xstate237.PromiseActorLogic<MediaStream, void, xstate237.EventObject>> | xstate237.ActorRefFromLogic<xstate237.PromiseActorLogic<void, {
23
23
  imageBase64: string;
24
24
  documentType: string;
25
25
  onProgress: (progress: number) => void;
26
- }, xstate414.EventObject>> | undefined;
27
- }, xstate414.Values<{
26
+ }, xstate237.EventObject>> | undefined;
27
+ }, xstate237.Values<{
28
28
  uploadDocument: {
29
29
  src: "uploadDocument";
30
- logic: xstate414.PromiseActorLogic<void, {
30
+ logic: xstate237.PromiseActorLogic<void, {
31
31
  imageBase64: string;
32
32
  documentType: string;
33
33
  onProgress: (progress: number) => void;
34
- }, xstate414.EventObject>;
34
+ }, xstate237.EventObject>;
35
35
  id: string | undefined;
36
36
  };
37
37
  initCamera: {
38
38
  src: "initCamera";
39
- logic: xstate414.PromiseActorLogic<MediaStream, void, xstate414.EventObject>;
39
+ logic: xstate237.PromiseActorLogic<MediaStream, void, xstate237.EventObject>;
40
40
  id: string | undefined;
41
41
  };
42
- }>, xstate414.Values<{
43
- setError: {
44
- type: "setError";
45
- params: xstate414.NonReducibleUnknown;
46
- };
47
- clearError: {
48
- type: "clearError";
49
- params: xstate414.NonReducibleUnknown;
50
- };
42
+ }>, xstate237.Values<{
51
43
  setStream: {
52
44
  type: "setStream";
53
- params: xstate414.NonReducibleUnknown;
45
+ params: xstate237.NonReducibleUnknown;
54
46
  };
55
47
  setProgress: {
56
48
  type: "setProgress";
57
- params: xstate414.NonReducibleUnknown;
49
+ params: xstate237.NonReducibleUnknown;
50
+ };
51
+ clearError: {
52
+ type: "clearError";
53
+ params: xstate237.NonReducibleUnknown;
58
54
  };
59
55
  stopStream: {
60
56
  type: "stopStream";
61
- params: xstate414.NonReducibleUnknown;
57
+ params: xstate237.NonReducibleUnknown;
62
58
  };
63
59
  setImageAndClearError: {
64
60
  type: "setImageAndClearError";
65
- params: xstate414.NonReducibleUnknown;
61
+ params: xstate237.NonReducibleUnknown;
62
+ };
63
+ setError: {
64
+ type: "setError";
65
+ params: xstate237.NonReducibleUnknown;
66
66
  };
67
- }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate414.NonReducibleUnknown, xstate414.EventObject, xstate414.MetaObject, {
67
+ }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate237.NonReducibleUnknown, xstate237.EventObject, xstate237.MetaObject, {
68
68
  readonly id: "documentUpload";
69
69
  readonly initial: "idle";
70
70
  readonly context: ({
@@ -73,67 +73,67 @@ declare const documentUploadMachine: xstate414.StateMachine<DocumentUploadContex
73
73
  spawn: {
74
74
  <TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
75
75
  src: "uploadDocument";
76
- logic: xstate414.PromiseActorLogic<void, {
76
+ logic: xstate237.PromiseActorLogic<void, {
77
77
  imageBase64: string;
78
78
  documentType: string;
79
79
  onProgress: (progress: number) => void;
80
- }, xstate414.EventObject>;
80
+ }, xstate237.EventObject>;
81
81
  id: string | undefined;
82
82
  } extends infer T ? T extends {
83
83
  src: "uploadDocument";
84
- logic: xstate414.PromiseActorLogic<void, {
84
+ logic: xstate237.PromiseActorLogic<void, {
85
85
  imageBase64: string;
86
86
  documentType: string;
87
87
  onProgress: (progress: number) => void;
88
- }, xstate414.EventObject>;
88
+ }, xstate237.EventObject>;
89
89
  id: string | undefined;
90
90
  } ? T extends {
91
91
  src: TSrc;
92
- } ? xstate414.ConditionalRequired<[options?: ({
92
+ } ? xstate237.ConditionalRequired<[options?: ({
93
93
  id?: T["id"] | undefined;
94
94
  systemId?: string;
95
- input?: xstate414.InputFrom<T["logic"]> | undefined;
95
+ input?: xstate237.InputFrom<T["logic"]> | undefined;
96
96
  syncSnapshot?: boolean;
97
- } & { [K in xstate414.RequiredActorOptions<T>]: unknown }) | undefined], xstate414.IsNotNever<xstate414.RequiredActorOptions<T>>> : never : never : never) | ({
97
+ } & { [K in xstate237.RequiredActorOptions<T>]: unknown }) | undefined], xstate237.IsNotNever<xstate237.RequiredActorOptions<T>>> : never : never : never) | ({
98
98
  src: "initCamera";
99
- logic: xstate414.PromiseActorLogic<MediaStream, void, xstate414.EventObject>;
99
+ logic: xstate237.PromiseActorLogic<MediaStream, void, xstate237.EventObject>;
100
100
  id: string | undefined;
101
101
  } extends infer T_1 ? T_1 extends {
102
102
  src: "initCamera";
103
- logic: xstate414.PromiseActorLogic<MediaStream, void, xstate414.EventObject>;
103
+ logic: xstate237.PromiseActorLogic<MediaStream, void, xstate237.EventObject>;
104
104
  id: string | undefined;
105
105
  } ? T_1 extends {
106
106
  src: TSrc;
107
- } ? xstate414.ConditionalRequired<[options?: ({
107
+ } ? xstate237.ConditionalRequired<[options?: ({
108
108
  id?: T_1["id"] | undefined;
109
109
  systemId?: string;
110
- input?: xstate414.InputFrom<T_1["logic"]> | undefined;
110
+ input?: xstate237.InputFrom<T_1["logic"]> | undefined;
111
111
  syncSnapshot?: boolean;
112
- } & { [K_1 in xstate414.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate414.IsNotNever<xstate414.RequiredActorOptions<T_1>>> : never : never : never)): xstate414.ActorRefFromLogic<xstate414.GetConcreteByKey<xstate414.Values<{
112
+ } & { [K_1 in xstate237.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate237.IsNotNever<xstate237.RequiredActorOptions<T_1>>> : never : never : never)): xstate237.ActorRefFromLogic<xstate237.GetConcreteByKey<xstate237.Values<{
113
113
  uploadDocument: {
114
114
  src: "uploadDocument";
115
- logic: xstate414.PromiseActorLogic<void, {
115
+ logic: xstate237.PromiseActorLogic<void, {
116
116
  imageBase64: string;
117
117
  documentType: string;
118
118
  onProgress: (progress: number) => void;
119
- }, xstate414.EventObject>;
119
+ }, xstate237.EventObject>;
120
120
  id: string | undefined;
121
121
  };
122
122
  initCamera: {
123
123
  src: "initCamera";
124
- logic: xstate414.PromiseActorLogic<MediaStream, void, xstate414.EventObject>;
124
+ logic: xstate237.PromiseActorLogic<MediaStream, void, xstate237.EventObject>;
125
125
  id: string | undefined;
126
126
  };
127
127
  }>, "src", TSrc>["logic"]>;
128
- <TLogic extends xstate414.AnyActorLogic>(src: TLogic, ...[options]: xstate414.ConditionalRequired<[options?: ({
128
+ <TLogic extends xstate237.AnyActorLogic>(src: TLogic, ...[options]: xstate237.ConditionalRequired<[options?: ({
129
129
  id?: never;
130
130
  systemId?: string;
131
- input?: xstate414.InputFrom<TLogic> | undefined;
131
+ input?: xstate237.InputFrom<TLogic> | undefined;
132
132
  syncSnapshot?: boolean;
133
- } & { [K in xstate414.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate414.IsNotNever<xstate414.RequiredLogicInput<TLogic>>>): xstate414.ActorRefFromLogic<TLogic>;
133
+ } & { [K in xstate237.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate237.IsNotNever<xstate237.RequiredLogicInput<TLogic>>>): xstate237.ActorRefFromLogic<TLogic>;
134
134
  };
135
135
  input: DocumentUploadInput;
136
- self: xstate414.ActorRef<xstate414.MachineSnapshot<DocumentUploadContext, {
136
+ self: xstate237.ActorRef<xstate237.MachineSnapshot<DocumentUploadContext, {
137
137
  type: "START";
138
138
  } | {
139
139
  type: "CAPTURE";
@@ -145,7 +145,7 @@ declare const documentUploadMachine: xstate414.StateMachine<DocumentUploadContex
145
145
  type: "RETRY";
146
146
  } | {
147
147
  type: "CLOSE";
148
- }, Record<string, xstate414.AnyActorRef | undefined>, xstate414.StateValue, string, unknown, any, any>, {
148
+ }, Record<string, xstate237.AnyActorRef | undefined>, xstate237.StateValue, string, unknown, any, any>, {
149
149
  type: "START";
150
150
  } | {
151
151
  type: "CAPTURE";
@@ -157,7 +157,7 @@ declare const documentUploadMachine: xstate414.StateMachine<DocumentUploadContex
157
157
  type: "RETRY";
158
158
  } | {
159
159
  type: "CLOSE";
160
- }, xstate414.AnyEventObject>;
160
+ }, xstate237.AnyEventObject>;
161
161
  }) => {
162
162
  config: DocumentUploadConfig;
163
163
  stream: undefined;
@@ -227,7 +227,7 @@ declare const documentUploadMachine: xstate414.StateMachine<DocumentUploadContex
227
227
  } | {
228
228
  type: "CLOSE";
229
229
  };
230
- self: xstate414.ActorRef<xstate414.MachineSnapshot<DocumentUploadContext, {
230
+ self: xstate237.ActorRef<xstate237.MachineSnapshot<DocumentUploadContext, {
231
231
  type: "START";
232
232
  } | {
233
233
  type: "CAPTURE";
@@ -239,7 +239,7 @@ declare const documentUploadMachine: xstate414.StateMachine<DocumentUploadContex
239
239
  type: "RETRY";
240
240
  } | {
241
241
  type: "CLOSE";
242
- }, Record<string, xstate414.AnyActorRef>, xstate414.StateValue, string, unknown, any, any>, {
242
+ }, Record<string, xstate237.AnyActorRef>, xstate237.StateValue, string, unknown, any, any>, {
243
243
  type: "START";
244
244
  } | {
245
245
  type: "CAPTURE";
@@ -251,7 +251,7 @@ declare const documentUploadMachine: xstate414.StateMachine<DocumentUploadContex
251
251
  type: "RETRY";
252
252
  } | {
253
253
  type: "CLOSE";
254
- }, xstate414.AnyEventObject>;
254
+ }, xstate237.AnyEventObject>;
255
255
  }) => {
256
256
  imageBase64: string;
257
257
  documentType: string;
package/dist/ekyb.esm.js CHANGED
@@ -5,7 +5,7 @@ import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
5
5
  import "./endpoints-BzMJFAPV.esm.js";
6
6
  import "./stats-CYcScXcO.esm.js";
7
7
  import "./browserSimulation-TsSoavQv.esm.js";
8
- import "./sessionInitializer-hbAgc1U0.esm.js";
8
+ import "./sessionInitializer-BUj-jKgb.esm.js";
9
9
  import "./getDeviceData-TrKM8NPh.esm.js";
10
10
  import "./thumbmarkAdapter-fHBUDlAP.esm.js";
11
11
  import "./IpifyProvider-BRW14_uo.esm.js";
@@ -13,11 +13,11 @@ import "./platform-uIVQUnJP.esm.js";
13
13
  import "./tri-QAWxUCoY.esm.js";
14
14
  import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
15
15
  import "./apiError-C7SFQTB2.esm.js";
16
- 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-CyzntJzO.esm.js";
16
+ 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-CV-jowiY.esm.js";
17
17
  import "./addressSearch-C6cEsEqK.esm.js";
18
18
  import "./session-D4m9r-7U.esm.js";
19
19
  import "./videoSelfieSteps-DAky5sq5.esm.js";
20
- import "./flowServices-C_4Yc2kf.esm.js";
20
+ import "./flowServices-DisXQYL9.esm.js";
21
21
 
22
22
  //#region src/modules/ekyb/ekybActor.ts
23
23
  /**
@@ -2,7 +2,7 @@ import { t as api } from "./api-DsbUi7TO.esm.js";
2
2
  import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
3
3
  import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.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-C6cEsEqK.esm.js";
5
- import { t as getFlow } from "./flowServices-C_4Yc2kf.esm.js";
5
+ import { t as getFlow } from "./flowServices-DisXQYL9.esm.js";
6
6
 
7
7
  //#region src/modules/ekyb/ekybConstants.ts
8
8
  const UBO_INPUT_LIMIT = 8;
@@ -1,5 +1,5 @@
1
1
  import "./StateMachine-D5WO6lHS.js";
2
2
  import "./Manager-goNPc_h_.js";
3
3
  import "./Actor-BwgmOPkb.js";
4
- 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-BDZhI2V_.js";
4
+ 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-B1mDC5CI.js";
5
5
  export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -19,17 +19,17 @@ import "./StreamCanvasCapture-DHaWferF.js";
19
19
  import "./deepsightService-BgdEmIRg.js";
20
20
  import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-B0nFzgeP.js";
21
21
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-B2DqMiXJ.js";
22
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-B9ciAXTR.js";
23
- import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-OeiEEYoU.js";
22
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BjmnhCCI.js";
23
+ import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-Ch26iYav.js";
24
24
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-CoqODZx5.js";
25
25
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-D1dWWxLM.js";
26
26
  import "./otp-CETbFjXH.js";
27
27
  import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-L0JyIaWM.js";
28
28
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-DitebgbQ.js";
29
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-DuD39brc.js";
29
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-7uEsPYcV.js";
30
30
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CSYVU-Vk.js";
31
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-B4U6GKph.js";
32
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-CQCoiHhT.js";
31
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-Cg0QqYC4.js";
32
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-CB7aCLEQ.js";
33
33
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-kf5afsMm.js";
34
34
 
35
35
  //#region src/modules/authentication/authenticationUploadService.d.ts
@@ -6,7 +6,7 @@ import "./types-ElOJAGaM.esm.js";
6
6
  import "./endpoints-BzMJFAPV.esm.js";
7
7
  import "./stats-CYcScXcO.esm.js";
8
8
  import "./browserSimulation-TsSoavQv.esm.js";
9
- import { o as FingerprintProvider, t as getDisableIpify } from "./sessionInitializer-hbAgc1U0.esm.js";
9
+ import { o as FingerprintProvider, t as getDisableIpify } from "./sessionInitializer-BUj-jKgb.esm.js";
10
10
  import { t as getDeviceFingerprintInfo } from "./getDeviceData-TrKM8NPh.esm.js";
11
11
  import "./thumbmarkAdapter-fHBUDlAP.esm.js";
12
12
  import { t as IpifyProvider } from "./IpifyProvider-BRW14_uo.esm.js";
@@ -52,9 +52,9 @@ import "./otp-nhnnp9FM.esm.js";
52
52
  import { n as createEmailManagerFromActor } from "./emailManager-CH6GlUSk.esm.js";
53
53
  import "./selfieStateMachine-Dn3Vh_z_.esm.js";
54
54
  import { n as createSelfieManagerFromActor } from "./selfieManager-By-EP_q4.esm.js";
55
- import "./idCaptureStateMachine-BWTVPXMt.esm.js";
55
+ import "./idCaptureStateMachine-Bi87hNhf.esm.js";
56
56
  import "./idCaptureDefaults-GTCesE6K.esm.js";
57
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-VyxI4Mt1.esm.js";
57
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BfHeQRtN.esm.js";
58
58
  import "./phoneStateMachine-sn2Nt44W.esm.js";
59
59
  import { n as createPhoneManagerFromActor } from "./phoneManager-CiiQOE21.esm.js";
60
60
  import "./identityReuseStateMachine-BYYzDw-l.esm.js";
package/dist/flow.d.ts CHANGED
@@ -10,7 +10,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-BUgeB
10
10
  import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-SXnPwz9I.js";
11
11
  import { o as FlowEventSubscribable } from "./index-0PqCAPxK.js";
12
12
  import { n as ModuleRegistry } from "./types-CU_aiZL_.js";
13
- import * as xstate1076 from "xstate";
13
+ import * as xstate1227 from "xstate";
14
14
 
15
15
  //#region src/modules/flow/flowUtils.d.ts
16
16
  type NormalizeFlowModulesOptions = {
@@ -62,7 +62,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
62
62
  declare const getFlow: GetFlow;
63
63
  //#endregion
64
64
  //#region src/modules/flow/noOpFlowModuleMachine.d.ts
65
- declare const noOpFlowModuleMachine: xstate1076.StateMachine<xstate1076.MachineContext, xstate1076.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1076.NonReducibleUnknown, xstate1076.NonReducibleUnknown, xstate1076.EventObject, xstate1076.MetaObject, {
65
+ declare const noOpFlowModuleMachine: xstate1227.StateMachine<xstate1227.MachineContext, xstate1227.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1227.NonReducibleUnknown, xstate1227.NonReducibleUnknown, xstate1227.EventObject, xstate1227.MetaObject, {
66
66
  readonly id: "noOpFlowModule";
67
67
  readonly initial: "finished";
68
68
  readonly states: {
package/dist/flow.esm.js CHANGED
@@ -5,7 +5,7 @@ import "./types-ElOJAGaM.esm.js";
5
5
  import "./endpoints-BzMJFAPV.esm.js";
6
6
  import "./stats-CYcScXcO.esm.js";
7
7
  import "./browserSimulation-TsSoavQv.esm.js";
8
- import "./sessionInitializer-hbAgc1U0.esm.js";
8
+ import "./sessionInitializer-BUj-jKgb.esm.js";
9
9
  import "./getDeviceData-TrKM8NPh.esm.js";
10
10
  import "./thumbmarkAdapter-fHBUDlAP.esm.js";
11
11
  import "./IpifyProvider-BRW14_uo.esm.js";
@@ -16,7 +16,7 @@ import "./apiError-C7SFQTB2.esm.js";
16
16
  import "./types-CMcxlSmH.esm.js";
17
17
  import "./session-D4m9r-7U.esm.js";
18
18
  import "./videoSelfieSteps-DAky5sq5.esm.js";
19
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-C_4Yc2kf.esm.js";
19
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-DisXQYL9.esm.js";
20
20
  import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-C4ciNLxe.esm.js";
21
21
  import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-D-rDy5jB.esm.js";
22
22
 
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-DsbUi7TO.esm.js";
2
2
  import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
3
- import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-hbAgc1U0.esm.js";
3
+ import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-BUj-jKgb.esm.js";
4
4
  import { n as toIncodeApiError } from "./apiError-C7SFQTB2.esm.js";
5
5
  import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-DAky5sq5.esm.js";
6
6
 
package/dist/home.d.ts CHANGED
@@ -6,7 +6,7 @@ import "./types-BgjMAEXl.js";
6
6
  import "./canvas-90BqS0NF.js";
7
7
  import "./createFaceAvatar-CpdYp9Iy.js";
8
8
  import { t as EmptyConfig } from "./types-BUgeB2X6.js";
9
- import * as xstate478 from "xstate";
9
+ import * as xstate545 from "xstate";
10
10
 
11
11
  //#region src/modules/home/types.d.ts
12
12
  type HomeConfig = EmptyConfig;
@@ -38,41 +38,41 @@ type HomeContext = {
38
38
  type HomeInput = {
39
39
  config: EmptyConfig;
40
40
  };
41
- declare const homeMachine: xstate478.StateMachine<HomeContext, {
41
+ declare const homeMachine: xstate545.StateMachine<HomeContext, {
42
42
  type: "LOAD";
43
43
  } | {
44
44
  type: "COMPLETE";
45
45
  } | {
46
46
  type: "RESET";
47
- }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate478.NonReducibleUnknown, xstate478.EventObject, xstate478.MetaObject, {
47
+ }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate545.NonReducibleUnknown, xstate545.EventObject, xstate545.MetaObject, {
48
48
  readonly id: "home";
49
49
  readonly initial: "idle";
50
50
  readonly context: ({
51
51
  input
52
52
  }: {
53
53
  spawn: {
54
- <TSrc extends never>(logic: TSrc, ...[options]: never): xstate478.ActorRefFromLogic<never>;
55
- <TLogic extends xstate478.AnyActorLogic>(src: TLogic, ...[options]: xstate478.ConditionalRequired<[options?: ({
54
+ <TSrc extends never>(logic: TSrc, ...[options]: never): xstate545.ActorRefFromLogic<never>;
55
+ <TLogic extends xstate545.AnyActorLogic>(src: TLogic, ...[options]: xstate545.ConditionalRequired<[options?: ({
56
56
  id?: never;
57
57
  systemId?: string;
58
- input?: xstate478.InputFrom<TLogic> | undefined;
58
+ input?: xstate545.InputFrom<TLogic> | undefined;
59
59
  syncSnapshot?: boolean;
60
- } & { [K in xstate478.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate478.IsNotNever<xstate478.RequiredLogicInput<TLogic>>>): xstate478.ActorRefFromLogic<TLogic>;
60
+ } & { [K in xstate545.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate545.IsNotNever<xstate545.RequiredLogicInput<TLogic>>>): xstate545.ActorRefFromLogic<TLogic>;
61
61
  };
62
62
  input: HomeInput;
63
- self: xstate478.ActorRef<xstate478.MachineSnapshot<HomeContext, {
63
+ self: xstate545.ActorRef<xstate545.MachineSnapshot<HomeContext, {
64
64
  type: "LOAD";
65
65
  } | {
66
66
  type: "COMPLETE";
67
67
  } | {
68
68
  type: "RESET";
69
- }, Record<string, xstate478.AnyActorRef | undefined>, xstate478.StateValue, string, unknown, any, any>, {
69
+ }, Record<string, xstate545.AnyActorRef | undefined>, xstate545.StateValue, string, unknown, any, any>, {
70
70
  type: "LOAD";
71
71
  } | {
72
72
  type: "COMPLETE";
73
73
  } | {
74
74
  type: "RESET";
75
- }, xstate478.AnyEventObject>;
75
+ }, xstate545.AnyEventObject>;
76
76
  }) => {
77
77
  config: EmptyConfig;
78
78
  };
package/dist/id-ocr.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./StateMachine-D5WO6lHS.js";
2
2
  import "./Manager-goNPc_h_.js";
3
3
  import "./Actor-BwgmOPkb.js";
4
- import { c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-CQCoiHhT.js";
4
+ import { c as IdOcrConfig, d as UpdateOcrDataParams, f as ValidationRule, l as OcrData, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager, u as OcrFieldConfig } from "./idOcrManager-CB7aCLEQ.js";
5
5
 
6
6
  //#region src/modules/id-ocr/idOcrFields.d.ts
7
7
  declare const OCR_FIELDS: OcrFieldConfig[];
@@ -1,7 +1,7 @@
1
1
  import "./StateMachine-D5WO6lHS.js";
2
2
  import { t as Manager } from "./Manager-goNPc_h_.js";
3
3
  import "./Actor-BwgmOPkb.js";
4
- import * as xstate64 from "xstate";
4
+ import * as xstate448 from "xstate";
5
5
 
6
6
  //#region src/modules/id-verification/types.d.ts
7
7
  type IdVerificationConfig = {
@@ -33,26 +33,26 @@ type IdVerificationContext = {
33
33
  type IdVerificationInput = {
34
34
  config: IdVerificationConfig;
35
35
  };
36
- declare const idVerificationMachine: xstate64.StateMachine<IdVerificationContext, {
36
+ declare const idVerificationMachine: xstate448.StateMachine<IdVerificationContext, {
37
37
  type: "LOAD";
38
38
  } | {
39
39
  type: "CONTINUE";
40
40
  }, {
41
- [x: string]: xstate64.ActorRefFromLogic<xstate64.PromiseActorLogic<ProcessIdResponse, {
41
+ [x: string]: xstate448.ActorRefFromLogic<xstate448.PromiseActorLogic<ProcessIdResponse, {
42
42
  isSecondId: boolean;
43
43
  queueName: string;
44
- }, xstate64.EventObject>> | undefined;
44
+ }, xstate448.EventObject>> | undefined;
45
45
  }, {
46
46
  src: "processId";
47
- logic: xstate64.PromiseActorLogic<ProcessIdResponse, {
47
+ logic: xstate448.PromiseActorLogic<ProcessIdResponse, {
48
48
  isSecondId: boolean;
49
49
  queueName: string;
50
- }, xstate64.EventObject>;
50
+ }, xstate448.EventObject>;
51
51
  id: string | undefined;
52
52
  }, never, {
53
53
  type: "isDocumentExpired";
54
54
  params: unknown;
55
- }, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput, xstate64.NonReducibleUnknown, xstate64.EventObject, xstate64.MetaObject, {
55
+ }, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput, xstate448.NonReducibleUnknown, xstate448.EventObject, xstate448.MetaObject, {
56
56
  readonly id: "idVerification";
57
57
  readonly initial: "idle";
58
58
  readonly context: ({
@@ -61,50 +61,50 @@ declare const idVerificationMachine: xstate64.StateMachine<IdVerificationContext
61
61
  spawn: {
62
62
  <TSrc extends "processId">(logic: TSrc, ...[options]: {
63
63
  src: "processId";
64
- logic: xstate64.PromiseActorLogic<ProcessIdResponse, {
64
+ logic: xstate448.PromiseActorLogic<ProcessIdResponse, {
65
65
  isSecondId: boolean;
66
66
  queueName: string;
67
- }, xstate64.EventObject>;
67
+ }, xstate448.EventObject>;
68
68
  id: string | undefined;
69
69
  } extends infer T ? T extends {
70
70
  src: "processId";
71
- logic: xstate64.PromiseActorLogic<ProcessIdResponse, {
71
+ logic: xstate448.PromiseActorLogic<ProcessIdResponse, {
72
72
  isSecondId: boolean;
73
73
  queueName: string;
74
- }, xstate64.EventObject>;
74
+ }, xstate448.EventObject>;
75
75
  id: string | undefined;
76
76
  } ? T extends {
77
77
  src: TSrc;
78
- } ? xstate64.ConditionalRequired<[options?: ({
78
+ } ? xstate448.ConditionalRequired<[options?: ({
79
79
  id?: T["id"] | undefined;
80
80
  systemId?: string;
81
- input?: xstate64.InputFrom<T["logic"]> | undefined;
81
+ input?: xstate448.InputFrom<T["logic"]> | undefined;
82
82
  syncSnapshot?: boolean;
83
- } & { [K in xstate64.RequiredActorOptions<T>]: unknown }) | undefined], xstate64.IsNotNever<xstate64.RequiredActorOptions<T>>> : never : never : never): xstate64.ActorRefFromLogic<xstate64.GetConcreteByKey<{
83
+ } & { [K in xstate448.RequiredActorOptions<T>]: unknown }) | undefined], xstate448.IsNotNever<xstate448.RequiredActorOptions<T>>> : never : never : never): xstate448.ActorRefFromLogic<xstate448.GetConcreteByKey<{
84
84
  src: "processId";
85
- logic: xstate64.PromiseActorLogic<ProcessIdResponse, {
85
+ logic: xstate448.PromiseActorLogic<ProcessIdResponse, {
86
86
  isSecondId: boolean;
87
87
  queueName: string;
88
- }, xstate64.EventObject>;
88
+ }, xstate448.EventObject>;
89
89
  id: string | undefined;
90
90
  }, "src", TSrc>["logic"]>;
91
- <TLogic extends xstate64.AnyActorLogic>(src: TLogic, ...[options]: xstate64.ConditionalRequired<[options?: ({
91
+ <TLogic extends xstate448.AnyActorLogic>(src: TLogic, ...[options]: xstate448.ConditionalRequired<[options?: ({
92
92
  id?: never;
93
93
  systemId?: string;
94
- input?: xstate64.InputFrom<TLogic> | undefined;
94
+ input?: xstate448.InputFrom<TLogic> | undefined;
95
95
  syncSnapshot?: boolean;
96
- } & { [K in xstate64.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate64.IsNotNever<xstate64.RequiredLogicInput<TLogic>>>): xstate64.ActorRefFromLogic<TLogic>;
96
+ } & { [K in xstate448.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate448.IsNotNever<xstate448.RequiredLogicInput<TLogic>>>): xstate448.ActorRefFromLogic<TLogic>;
97
97
  };
98
98
  input: IdVerificationInput;
99
- self: xstate64.ActorRef<xstate64.MachineSnapshot<IdVerificationContext, {
99
+ self: xstate448.ActorRef<xstate448.MachineSnapshot<IdVerificationContext, {
100
100
  type: "LOAD";
101
101
  } | {
102
102
  type: "CONTINUE";
103
- }, Record<string, xstate64.AnyActorRef | undefined>, xstate64.StateValue, string, unknown, any, any>, {
103
+ }, Record<string, xstate448.AnyActorRef | undefined>, xstate448.StateValue, string, unknown, any, any>, {
104
104
  type: "LOAD";
105
105
  } | {
106
106
  type: "CONTINUE";
107
- }, xstate64.AnyEventObject>;
107
+ }, xstate448.AnyEventObject>;
108
108
  }) => {
109
109
  config: IdVerificationConfig;
110
110
  isSecondId: boolean;
@@ -128,15 +128,15 @@ declare const idVerificationMachine: xstate64.StateMachine<IdVerificationContext
128
128
  } | {
129
129
  type: "CONTINUE";
130
130
  };
131
- self: xstate64.ActorRef<xstate64.MachineSnapshot<IdVerificationContext, {
131
+ self: xstate448.ActorRef<xstate448.MachineSnapshot<IdVerificationContext, {
132
132
  type: "LOAD";
133
133
  } | {
134
134
  type: "CONTINUE";
135
- }, Record<string, xstate64.AnyActorRef>, xstate64.StateValue, string, unknown, any, any>, {
135
+ }, Record<string, xstate448.AnyActorRef>, xstate448.StateValue, string, unknown, any, any>, {
136
136
  type: "LOAD";
137
137
  } | {
138
138
  type: "CONTINUE";
139
- }, xstate64.AnyEventObject>;
139
+ }, xstate448.AnyEventObject>;
140
140
  }) => {
141
141
  isSecondId: boolean;
142
142
  queueName: string;
package/dist/id.esm.js CHANGED
@@ -6,7 +6,7 @@ import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
6
6
  import "./endpoints-BzMJFAPV.esm.js";
7
7
  import "./stats-CYcScXcO.esm.js";
8
8
  import "./browserSimulation-TsSoavQv.esm.js";
9
- import "./sessionInitializer-hbAgc1U0.esm.js";
9
+ import "./sessionInitializer-BUj-jKgb.esm.js";
10
10
  import "./getDeviceData-TrKM8NPh.esm.js";
11
11
  import "./thumbmarkAdapter-fHBUDlAP.esm.js";
12
12
  import "./IpifyProvider-BRW14_uo.esm.js";
@@ -33,9 +33,9 @@ import "./permissionGuards-BR2oN573.esm.js";
33
33
  import "./recordingService-4pOlb2SG.esm.js";
34
34
  import "./mediaRecorderOptions-C3NAkVgK.esm.js";
35
35
  import "./session-D4m9r-7U.esm.js";
36
- import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-BWTVPXMt.esm.js";
36
+ import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-Bi87hNhf.esm.js";
37
37
  import "./idCaptureDefaults-GTCesE6K.esm.js";
38
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-VyxI4Mt1.esm.js";
38
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BfHeQRtN.esm.js";
39
39
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-uZ42DiUz.esm.js";
40
40
 
41
41
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
@@ -4,7 +4,7 @@ import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.
4
4
  import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-rim9Jrz-.esm.js";
5
5
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BJhGL13R.esm.js";
6
6
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CrrN540a.esm.js";
7
- import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-BWTVPXMt.esm.js";
7
+ import { i as mapIdManualUploadScreenName, n as getManualUploadTabs, r as MAX_EXPIRED_FIRST_SIDE_ATTEMPTS, t as idCaptureMachine, v as mapDigitalIdScreenName } from "./idCaptureStateMachine-Bi87hNhf.esm.js";
8
8
 
9
9
  //#region src/internal/idCapture/idCaptureManagerFactory.ts
10
10
  function getPermissionStatus(snapshot) {
@@ -3,7 +3,7 @@ import { r as getToken, t as api } from "./api-DsbUi7TO.esm.js";
3
3
  import { v as revokeObjectURL } from "./events-CqGY1yMq.esm.js";
4
4
  import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-CYcScXcO.esm.js";
6
- import { t as getDisableIpify } from "./sessionInitializer-hbAgc1U0.esm.js";
6
+ import { t as getDisableIpify } from "./sessionInitializer-BUj-jKgb.esm.js";
7
7
  import { n as isDesktop } from "./platform-uIVQUnJP.esm.js";
8
8
  import { a as fromPromise, c as not, i as fromCallback, n as sendTo, o as and, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
9
9
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BJhGL13R.esm.js";