@incodetech/core 2.1.1-rc.5 → 2.1.1-rc.6

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 (54) hide show
  1. package/dist/ae-signature.d.ts +1 -1
  2. package/dist/authentication.esm.js +6 -6
  3. package/dist/{authenticationManager-CcD_dGoc.esm.js → authenticationManager-DuMSpelF.esm.js} +2 -2
  4. package/dist/{authenticationStateMachine-DXqqxJ6I.esm.js → authenticationStateMachine-CDG0SMYg.esm.js} +2 -2
  5. package/dist/certificate-issuance.d.ts +28 -28
  6. package/dist/consent.d.ts +1 -1
  7. package/dist/{consentManager-4ADOtZeb.d.ts → consentManager-2EPNWwaG.d.ts} +50 -50
  8. package/dist/cpf-ocr.d.ts +1 -1
  9. package/dist/{cpfOcrManager-CPAjetkl.d.ts → cpfOcrManager-Bg7WqgVy.d.ts} +17 -17
  10. package/dist/{deepsightLoader-BXYxT6Ze.esm.js → deepsightLoader-CmbuFd4Q.esm.js} +1 -1
  11. package/dist/document-capture.d.ts +220 -220
  12. package/dist/document-upload.d.ts +43 -43
  13. package/dist/ekyb.esm.js +3 -3
  14. package/dist/{ekybStateMachine-CGUi38oD.esm.js → ekybStateMachine-D5vj8UG_.esm.js} +1 -1
  15. package/dist/electronic-signature.d.ts +1 -1
  16. package/dist/extensibility.d.ts +5 -5
  17. package/dist/extensibility.esm.js +11 -11
  18. package/dist/{faceCaptureManagerFactory-BvY-Bjln.esm.js → faceCaptureManagerFactory-B65bYWfD.esm.js} +1 -1
  19. package/dist/{faceCaptureSetup-DqJSpW5Z.esm.js → faceCaptureSetup-CoQ5A9Il.esm.js} +2 -2
  20. package/dist/flow.d.ts +2 -2
  21. package/dist/flow.esm.js +18 -5
  22. package/dist/{flowServices-CeUfzu0a.esm.js → flowServices-CYMfu_12.esm.js} +1 -1
  23. package/dist/home.d.ts +10 -10
  24. package/dist/id-ocr.d.ts +1 -1
  25. package/dist/id-verification.d.ts +25 -25
  26. package/dist/id.esm.js +5 -5
  27. package/dist/{idCaptureManager-DeObKOhW.esm.js → idCaptureManager-Cq1DSv6P.esm.js} +1 -1
  28. package/dist/{idCaptureStateMachine-DfHWOR-E.esm.js → idCaptureStateMachine-BqjYsLFf.esm.js} +4 -4
  29. package/dist/{idOcrManager-In32pFy6.d.ts → idOcrManager-CXtyyf3I.d.ts} +52 -52
  30. package/dist/identity-reuse.d.ts +1 -1
  31. package/dist/{identityReuseManager-CL6t3MXb.d.ts → identityReuseManager-BNf21Y6b.d.ts} +31 -31
  32. package/dist/{index-DhxHjfpy.d.ts → index-CPLWHXKr.d.ts} +150 -150
  33. package/dist/index.esm.js +2 -2
  34. package/dist/mandatory-consent.d.ts +1 -1
  35. package/dist/{mandatoryConsentManager-C5mBEdnA.d.ts → mandatoryConsentManager-s6xcax0K.d.ts} +47 -47
  36. package/dist/{onDeviceFaceResults-C9oNZSHm.esm.js → onDeviceFaceResults-CAfvpjnC.esm.js} +1 -1
  37. package/dist/personhood.d.ts +10 -0
  38. package/dist/personhood.esm.js +11 -5
  39. package/dist/qe-signature.d.ts +1 -1
  40. package/dist/{recordingService-B8X6E9kx.esm.js → recordingService-Df_A6oXO.esm.js} +1 -1
  41. package/dist/selfie.esm.js +6 -6
  42. package/dist/{selfieManager-up_j4EgF.esm.js → selfieManager-CtS5wYEo.esm.js} +2 -2
  43. package/dist/{selfieStateMachine-BjQjy8na.esm.js → selfieStateMachine-CiMhj8YP.esm.js} +2 -2
  44. package/dist/session.esm.js +1 -1
  45. package/dist/{sessionInitializer-D3VzSnPy.esm.js → sessionInitializer-DfN3wUch.esm.js} +1 -1
  46. package/dist/{setup-CB0_nSzg.esm.js → setup-_SH3lJGQ.esm.js} +2 -2
  47. package/dist/trust-graph.d.ts +2 -2
  48. package/dist/video-selfie.d.ts +2 -2
  49. package/dist/video-selfie.esm.js +3 -3
  50. package/dist/wasm.d.ts +1 -1
  51. package/dist/wasm.esm.js +2 -2
  52. package/dist/workflow.d.ts +105 -105
  53. package/dist/workflow.esm.js +9 -9
  54. 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 xstate0 from "xstate";
6
+ import * as xstate603 from "xstate";
7
7
 
8
8
  //#region src/modules/document-upload/documentUploadStateMachine.d.ts
9
- declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext, {
9
+ declare const documentUploadMachine: xstate603.StateMachine<DocumentUploadContext, {
10
10
  type: "START";
11
11
  } | {
12
12
  type: "CAPTURE";
@@ -19,52 +19,52 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
19
19
  } | {
20
20
  type: "CLOSE";
21
21
  }, {
22
- [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<void, {
22
+ [x: string]: xstate603.ActorRefFromLogic<xstate603.PromiseActorLogic<void, {
23
23
  imageBase64: string;
24
24
  documentType: string;
25
25
  onProgress: (progress: number) => void;
26
- }, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>> | undefined;
27
- }, xstate0.Values<{
26
+ }, xstate603.EventObject>> | xstate603.ActorRefFromLogic<xstate603.PromiseActorLogic<MediaStream, void, xstate603.EventObject>> | undefined;
27
+ }, xstate603.Values<{
28
28
  uploadDocument: {
29
29
  src: "uploadDocument";
30
- logic: xstate0.PromiseActorLogic<void, {
30
+ logic: xstate603.PromiseActorLogic<void, {
31
31
  imageBase64: string;
32
32
  documentType: string;
33
33
  onProgress: (progress: number) => void;
34
- }, xstate0.EventObject>;
34
+ }, xstate603.EventObject>;
35
35
  id: string | undefined;
36
36
  };
37
37
  initCamera: {
38
38
  src: "initCamera";
39
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
39
+ logic: xstate603.PromiseActorLogic<MediaStream, void, xstate603.EventObject>;
40
40
  id: string | undefined;
41
41
  };
42
- }>, xstate0.Values<{
42
+ }>, xstate603.Values<{
43
+ setError: {
44
+ type: "setError";
45
+ params: xstate603.NonReducibleUnknown;
46
+ };
43
47
  setStream: {
44
48
  type: "setStream";
45
- params: xstate0.NonReducibleUnknown;
49
+ params: xstate603.NonReducibleUnknown;
46
50
  };
47
51
  setImageAndClearError: {
48
52
  type: "setImageAndClearError";
49
- params: xstate0.NonReducibleUnknown;
53
+ params: xstate603.NonReducibleUnknown;
50
54
  };
51
55
  setProgress: {
52
56
  type: "setProgress";
53
- params: xstate0.NonReducibleUnknown;
54
- };
55
- setError: {
56
- type: "setError";
57
- params: xstate0.NonReducibleUnknown;
57
+ params: xstate603.NonReducibleUnknown;
58
58
  };
59
59
  clearError: {
60
60
  type: "clearError";
61
- params: xstate0.NonReducibleUnknown;
61
+ params: xstate603.NonReducibleUnknown;
62
62
  };
63
63
  stopStream: {
64
64
  type: "stopStream";
65
- params: xstate0.NonReducibleUnknown;
65
+ params: xstate603.NonReducibleUnknown;
66
66
  };
67
- }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
67
+ }>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "capturing" | "initCamera", string, DocumentUploadInput, xstate603.NonReducibleUnknown, xstate603.EventObject, xstate603.MetaObject, {
68
68
  readonly id: "documentUpload";
69
69
  readonly initial: "idle";
70
70
  readonly context: ({
@@ -73,67 +73,67 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
73
73
  spawn: {
74
74
  <TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
75
75
  src: "uploadDocument";
76
- logic: xstate0.PromiseActorLogic<void, {
76
+ logic: xstate603.PromiseActorLogic<void, {
77
77
  imageBase64: string;
78
78
  documentType: string;
79
79
  onProgress: (progress: number) => void;
80
- }, xstate0.EventObject>;
80
+ }, xstate603.EventObject>;
81
81
  id: string | undefined;
82
82
  } extends infer T ? T extends {
83
83
  src: "uploadDocument";
84
- logic: xstate0.PromiseActorLogic<void, {
84
+ logic: xstate603.PromiseActorLogic<void, {
85
85
  imageBase64: string;
86
86
  documentType: string;
87
87
  onProgress: (progress: number) => void;
88
- }, xstate0.EventObject>;
88
+ }, xstate603.EventObject>;
89
89
  id: string | undefined;
90
90
  } ? T extends {
91
91
  src: TSrc;
92
- } ? xstate0.ConditionalRequired<[options?: ({
92
+ } ? xstate603.ConditionalRequired<[options?: ({
93
93
  id?: T["id"] | undefined;
94
94
  systemId?: string;
95
- input?: xstate0.InputFrom<T["logic"]> | undefined;
95
+ input?: xstate603.InputFrom<T["logic"]> | undefined;
96
96
  syncSnapshot?: boolean;
97
- } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
97
+ } & { [K in xstate603.RequiredActorOptions<T>]: unknown }) | undefined], xstate603.IsNotNever<xstate603.RequiredActorOptions<T>>> : never : never : never) | ({
98
98
  src: "initCamera";
99
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
99
+ logic: xstate603.PromiseActorLogic<MediaStream, void, xstate603.EventObject>;
100
100
  id: string | undefined;
101
101
  } extends infer T_1 ? T_1 extends {
102
102
  src: "initCamera";
103
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
103
+ logic: xstate603.PromiseActorLogic<MediaStream, void, xstate603.EventObject>;
104
104
  id: string | undefined;
105
105
  } ? T_1 extends {
106
106
  src: TSrc;
107
- } ? xstate0.ConditionalRequired<[options?: ({
107
+ } ? xstate603.ConditionalRequired<[options?: ({
108
108
  id?: T_1["id"] | undefined;
109
109
  systemId?: string;
110
- input?: xstate0.InputFrom<T_1["logic"]> | undefined;
110
+ input?: xstate603.InputFrom<T_1["logic"]> | undefined;
111
111
  syncSnapshot?: boolean;
112
- } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
112
+ } & { [K_1 in xstate603.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate603.IsNotNever<xstate603.RequiredActorOptions<T_1>>> : never : never : never)): xstate603.ActorRefFromLogic<xstate603.GetConcreteByKey<xstate603.Values<{
113
113
  uploadDocument: {
114
114
  src: "uploadDocument";
115
- logic: xstate0.PromiseActorLogic<void, {
115
+ logic: xstate603.PromiseActorLogic<void, {
116
116
  imageBase64: string;
117
117
  documentType: string;
118
118
  onProgress: (progress: number) => void;
119
- }, xstate0.EventObject>;
119
+ }, xstate603.EventObject>;
120
120
  id: string | undefined;
121
121
  };
122
122
  initCamera: {
123
123
  src: "initCamera";
124
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
124
+ logic: xstate603.PromiseActorLogic<MediaStream, void, xstate603.EventObject>;
125
125
  id: string | undefined;
126
126
  };
127
127
  }>, "src", TSrc>["logic"]>;
128
- <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
128
+ <TLogic extends xstate603.AnyActorLogic>(src: TLogic, ...[options]: xstate603.ConditionalRequired<[options?: ({
129
129
  id?: never;
130
130
  systemId?: string;
131
- input?: xstate0.InputFrom<TLogic> | undefined;
131
+ input?: xstate603.InputFrom<TLogic> | undefined;
132
132
  syncSnapshot?: boolean;
133
- } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
133
+ } & { [K in xstate603.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate603.IsNotNever<xstate603.RequiredLogicInput<TLogic>>>): xstate603.ActorRefFromLogic<TLogic>;
134
134
  };
135
135
  input: DocumentUploadInput;
136
- self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentUploadContext, {
136
+ self: xstate603.ActorRef<xstate603.MachineSnapshot<DocumentUploadContext, {
137
137
  type: "START";
138
138
  } | {
139
139
  type: "CAPTURE";
@@ -145,7 +145,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
145
145
  type: "RETRY";
146
146
  } | {
147
147
  type: "CLOSE";
148
- }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
148
+ }, Record<string, xstate603.AnyActorRef | undefined>, xstate603.StateValue, string, unknown, any, any>, {
149
149
  type: "START";
150
150
  } | {
151
151
  type: "CAPTURE";
@@ -157,7 +157,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
157
157
  type: "RETRY";
158
158
  } | {
159
159
  type: "CLOSE";
160
- }, xstate0.AnyEventObject>;
160
+ }, xstate603.AnyEventObject>;
161
161
  }) => {
162
162
  config: DocumentUploadConfig;
163
163
  stream: undefined;
@@ -227,7 +227,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
227
227
  } | {
228
228
  type: "CLOSE";
229
229
  };
230
- self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentUploadContext, {
230
+ self: xstate603.ActorRef<xstate603.MachineSnapshot<DocumentUploadContext, {
231
231
  type: "START";
232
232
  } | {
233
233
  type: "CAPTURE";
@@ -239,7 +239,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
239
239
  type: "RETRY";
240
240
  } | {
241
241
  type: "CLOSE";
242
- }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
242
+ }, Record<string, xstate603.AnyActorRef>, xstate603.StateValue, string, unknown, any, any>, {
243
243
  type: "START";
244
244
  } | {
245
245
  type: "CAPTURE";
@@ -251,7 +251,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
251
251
  type: "RETRY";
252
252
  } | {
253
253
  type: "CLOSE";
254
- }, xstate0.AnyEventObject>;
254
+ }, xstate603.AnyEventObject>;
255
255
  }) => {
256
256
  imageBase64: string;
257
257
  documentType: string;
package/dist/ekyb.esm.js CHANGED
@@ -3,18 +3,18 @@ import "./api-DsbUi7TO.esm.js";
3
3
  import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
4
4
  import "./endpoints-CwrFQfW7.esm.js";
5
5
  import "./stats-BVy52wLy.esm.js";
6
- import "./sessionInitializer-D3VzSnPy.esm.js";
6
+ import "./sessionInitializer-DfN3wUch.esm.js";
7
7
  import "./browserSimulation-CWJhFPZ2.esm.js";
8
8
  import "./platform-0Ot-bF_a.esm.js";
9
9
  import "./getBrowser-1yNcfFZR.esm.js";
10
10
  import "./tri-CFAPtAUM.esm.js";
11
11
  import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
12
12
  import "./apiError-DkOXfFBu.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-CGUi38oD.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-D5vj8UG_.esm.js";
14
14
  import "./addressSearch-D7msRieq.esm.js";
15
15
  import "./session-CLsU2Jnb.esm.js";
16
16
  import "./videoSelfieSteps-Djpv7cjb.esm.js";
17
- import "./flowServices-CeUfzu0a.esm.js";
17
+ import "./flowServices-CYMfu_12.esm.js";
18
18
 
19
19
  //#region src/modules/ekyb/ekybActor.ts
20
20
  /**
@@ -2,7 +2,7 @@ import { t as api } from "./api-DsbUi7TO.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
3
3
  import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.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-D7msRieq.esm.js";
5
- import { t as getFlow } from "./flowServices-CeUfzu0a.esm.js";
5
+ import { t as getFlow } from "./flowServices-CYMfu_12.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-DhxHjfpy.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-CPLWHXKr.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,18 +19,18 @@ import "./StreamCanvasCapture-DHaWferF.js";
19
19
  import "./deepsightService-BuTOFTr8.js";
20
20
  import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-4juKfrHG.js";
21
21
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BeT6tNZm.js";
22
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-4ADOtZeb.js";
23
- import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-CPAjetkl.js";
22
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-2EPNWwaG.js";
23
+ import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-Bg7WqgVy.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 DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-CKZkE7Wo.js";
26
26
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CMS4q_r6.js";
27
27
  import "./otp-B1YeyRXu.js";
28
28
  import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-CwuXtVu6.js";
29
29
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-_KtitbUA.js";
30
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CL6t3MXb.js";
30
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-BNf21Y6b.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-OLKVsG2Z.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-C5mBEdnA.js";
33
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-In32pFy6.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-s6xcax0K.js";
33
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-CXtyyf3I.js";
34
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-dv29o_LS.js";
35
35
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-DaHYFkVO.js";
36
36
 
@@ -4,7 +4,7 @@ import "./api-DsbUi7TO.esm.js";
4
4
  import "./events-1wxZ97yf.esm.js";
5
5
  import "./endpoints-CwrFQfW7.esm.js";
6
6
  import "./stats-BVy52wLy.esm.js";
7
- import { c as IpifyProvider, l as FingerprintProvider, t as getDisableIpify, u as getDeviceFingerprintInfo } from "./sessionInitializer-D3VzSnPy.esm.js";
7
+ import { c as IpifyProvider, l as FingerprintProvider, t as getDisableIpify, u as getDeviceFingerprintInfo } from "./sessionInitializer-DfN3wUch.esm.js";
8
8
  import "./browserSimulation-CWJhFPZ2.esm.js";
9
9
  import "./platform-0Ot-bF_a.esm.js";
10
10
  import "./getBrowser-1yNcfFZR.esm.js";
@@ -14,15 +14,15 @@ import "./urlUtils-CpiYwn7w.esm.js";
14
14
  import "./apiError-DkOXfFBu.esm.js";
15
15
  import "./antifraudStateMachine-BQVw46N5.esm.js";
16
16
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-5KA84wtF.esm.js";
17
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DqJSpW5Z.esm.js";
17
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CoQ5A9Il.esm.js";
18
18
  import "./wasmDsFlagSync-Ch0mFJNT.esm.js";
19
19
  import "./BrowserVisibilityObserverProvider-GBS6XSii.esm.js";
20
20
  import "./MotionSensorProvider-D95kOKVK.esm.js";
21
21
  import "./permissionServices-BElIOcoJ.esm.js";
22
22
  import "./camera-CxxXV0VN.esm.js";
23
- import "./faceCaptureManagerFactory-BvY-Bjln.esm.js";
23
+ import "./faceCaptureManagerFactory-B65bYWfD.esm.js";
24
24
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-fZsibQTR.esm.js";
25
- import "./onDeviceFaceResults-C9oNZSHm.esm.js";
25
+ import "./onDeviceFaceResults-CAfvpjnC.esm.js";
26
26
  import "./ITimerCapability-DJ73P4RK.esm.js";
27
27
  import "./canvas-Pi10hG_l.esm.js";
28
28
  import "./backCameraStream-ChrMTJv-.esm.js";
@@ -34,10 +34,10 @@ import "./types-BKLb3C42.esm.js";
34
34
  import "./createFaceAvatar-BZSg2MNo.esm.js";
35
35
  import "./StreamCanvasCapture-CAqUdVkM.esm.js";
36
36
  import "./permissionGuards-BPZGWaL4.esm.js";
37
- import "./recordingService-B8X6E9kx.esm.js";
37
+ import "./recordingService-Df_A6oXO.esm.js";
38
38
  import "./mediaRecorderOptions-CClCKAiF.esm.js";
39
- import "./authenticationStateMachine-DXqqxJ6I.esm.js";
40
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CcD_dGoc.esm.js";
39
+ import "./authenticationStateMachine-CDG0SMYg.esm.js";
40
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DuMSpelF.esm.js";
41
41
  import "./consentStateMachine-BOkVFiU7.esm.js";
42
42
  import { n as createConsentManagerFromActor } from "./consentManager-BwNu-uC-.esm.js";
43
43
  import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-9eM4z4o7.esm.js";
@@ -51,11 +51,11 @@ import "./session-CLsU2Jnb.esm.js";
51
51
  import "./emailStateMachine-CbmKFVSi.esm.js";
52
52
  import "./otp-uaXiKt_R.esm.js";
53
53
  import { n as createEmailManagerFromActor } from "./emailManager-B9Vrv3Ma.esm.js";
54
- import "./selfieStateMachine-BjQjy8na.esm.js";
55
- import { n as createSelfieManagerFromActor } from "./selfieManager-up_j4EgF.esm.js";
56
- import "./idCaptureStateMachine-DfHWOR-E.esm.js";
54
+ import "./selfieStateMachine-CiMhj8YP.esm.js";
55
+ import { n as createSelfieManagerFromActor } from "./selfieManager-CtS5wYEo.esm.js";
56
+ import "./idCaptureStateMachine-BqjYsLFf.esm.js";
57
57
  import "./idCaptureDefaults-CZajItdO.esm.js";
58
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DeObKOhW.esm.js";
58
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Cq1DSv6P.esm.js";
59
59
  import "./phoneStateMachine-DjFGWMjQ.esm.js";
60
60
  import { n as createPhoneManagerFromActor } from "./phoneManager-CRblfdcI.esm.js";
61
61
  import "./identityReuseStateMachine-Bp-zONoV.esm.js";
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as topLevelStateName, r as eventScreenNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
2
2
  import { l as createManager } from "./xstate.esm-nY3M5UYm.esm.js";
3
- import { n as concealmentToAvatar } from "./faceCaptureSetup-DqJSpW5Z.esm.js";
3
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-CoQ5A9Il.esm.js";
4
4
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Ch0mFJNT.esm.js";
5
5
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-GBS6XSii.esm.js";
6
6
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BElIOcoJ.esm.js";
@@ -1,12 +1,12 @@
1
1
  import { r as getToken } from "./api-DsbUi7TO.esm.js";
2
2
  import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
3
3
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BElIOcoJ.esm.js";
4
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-C9oNZSHm.esm.js";
4
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-CAfvpjnC.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BKLb3C42.esm.js";
6
6
  import { t as createFaceAvatar } from "./createFaceAvatar-BZSg2MNo.esm.js";
7
7
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CAqUdVkM.esm.js";
8
8
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BPZGWaL4.esm.js";
9
- import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-B8X6E9kx.esm.js";
9
+ import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-Df_A6oXO.esm.js";
10
10
 
11
11
  //#region src/internal/avatar/concealment.ts
12
12
  /**
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-BOSTlAWo.js";
11
11
  import { o as FlowEventSubscribable } from "./index-DrpWp15Z.js";
12
12
  import { n as ModuleRegistry } from "./types-D8Cl1N2Z.js";
13
- import * as xstate965 from "xstate";
13
+ import * as xstate1137 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: xstate965.StateMachine<xstate965.MachineContext, xstate965.AnyEventObject, {}, never, never, never, never, "finished", string, xstate965.NonReducibleUnknown, xstate965.NonReducibleUnknown, xstate965.EventObject, xstate965.MetaObject, {
65
+ declare const noOpFlowModuleMachine: xstate1137.StateMachine<xstate1137.MachineContext, xstate1137.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1137.NonReducibleUnknown, xstate1137.NonReducibleUnknown, xstate1137.EventObject, xstate1137.MetaObject, {
66
66
  readonly id: "noOpFlowModule";
67
67
  readonly initial: "finished";
68
68
  readonly states: {
package/dist/flow.esm.js CHANGED
@@ -3,7 +3,7 @@ import "./api-DsbUi7TO.esm.js";
3
3
  import { g as addEvent } from "./events-1wxZ97yf.esm.js";
4
4
  import "./endpoints-CwrFQfW7.esm.js";
5
5
  import "./stats-BVy52wLy.esm.js";
6
- import "./sessionInitializer-D3VzSnPy.esm.js";
6
+ import "./sessionInitializer-DfN3wUch.esm.js";
7
7
  import "./browserSimulation-CWJhFPZ2.esm.js";
8
8
  import "./platform-0Ot-bF_a.esm.js";
9
9
  import "./getBrowser-1yNcfFZR.esm.js";
@@ -13,7 +13,7 @@ import "./apiError-DkOXfFBu.esm.js";
13
13
  import "./types-BKLb3C42.esm.js";
14
14
  import "./session-CLsU2Jnb.esm.js";
15
15
  import "./videoSelfieSteps-Djpv7cjb.esm.js";
16
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-CeUfzu0a.esm.js";
16
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-CYMfu_12.esm.js";
17
17
  import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-B6P6_EF3.esm.js";
18
18
  import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-kojSv3MH.esm.js";
19
19
 
@@ -26,6 +26,19 @@ const noOpFlowModuleMachine = setup({}).createMachine({
26
26
 
27
27
  //#endregion
28
28
  //#region src/modules/flow/flowStateMachine.ts
29
+ /**
30
+ * Flow-level `ds` (Deepsight) lives on the flow, not on the module, so it has
31
+ * to be merged into every module config this machine hands out — otherwise the
32
+ * flag never reaches `loadDeepsightSession` and Deepsight is silently disabled
33
+ * for the whole flow. Mirrors `getModuleConfig` in
34
+ * `orchestratedFlowStateMachine`.
35
+ */
36
+ function withFlowDsFlag(module, flow) {
37
+ return {
38
+ ...module?.configuration,
39
+ ds: flow?.ds
40
+ };
41
+ }
29
42
  const flowMachine = setup({
30
43
  types: {
31
44
  context: {},
@@ -52,7 +65,7 @@ const flowMachine = setup({
52
65
  steps: (flow.flowModules ?? []).map((m) => m.key),
53
66
  currentStepIndex: (flow.flowModules ?? []).length > 0 ? 0 : -1,
54
67
  currentStep: flow.flowModules?.[0]?.key,
55
- config: flow.flowModules?.[0]?.configuration
68
+ config: withFlowDsFlag(flow.flowModules?.[0], flow)
56
69
  };
57
70
  }),
58
71
  setError: assign(({ event }) => ({ error: String(event.error) })),
@@ -62,7 +75,7 @@ const flowMachine = setup({
62
75
  return {
63
76
  currentStepIndex: nextIndex,
64
77
  currentStep: module?.key,
65
- config: module?.configuration
78
+ config: withFlowDsFlag(module, context.flow)
66
79
  };
67
80
  }),
68
81
  decrementStep: assign(({ context }) => {
@@ -71,7 +84,7 @@ const flowMachine = setup({
71
84
  return {
72
85
  currentStepIndex: prevIndex,
73
86
  currentStep: module?.key,
74
- config: module?.configuration
87
+ config: withFlowDsFlag(module, context.flow)
75
88
  };
76
89
  })
77
90
  },
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-DsbUi7TO.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
3
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-D3VzSnPy.esm.js";
3
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DfN3wUch.esm.js";
4
4
  import { n as toIncodeApiError } from "./apiError-DkOXfFBu.esm.js";
5
5
  import { r as videoSelfieWasmPipelines } from "./videoSelfieSteps-Djpv7cjb.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 xstate637 from "xstate";
9
+ import * as xstate403 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: xstate637.StateMachine<HomeContext, {
41
+ declare const homeMachine: xstate403.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, xstate637.NonReducibleUnknown, xstate637.EventObject, xstate637.MetaObject, {
47
+ }, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate403.NonReducibleUnknown, xstate403.EventObject, xstate403.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): xstate637.ActorRefFromLogic<never>;
55
- <TLogic extends xstate637.AnyActorLogic>(src: TLogic, ...[options]: xstate637.ConditionalRequired<[options?: ({
54
+ <TSrc extends never>(logic: TSrc, ...[options]: never): xstate403.ActorRefFromLogic<never>;
55
+ <TLogic extends xstate403.AnyActorLogic>(src: TLogic, ...[options]: xstate403.ConditionalRequired<[options?: ({
56
56
  id?: never;
57
57
  systemId?: string;
58
- input?: xstate637.InputFrom<TLogic> | undefined;
58
+ input?: xstate403.InputFrom<TLogic> | undefined;
59
59
  syncSnapshot?: boolean;
60
- } & { [K in xstate637.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate637.IsNotNever<xstate637.RequiredLogicInput<TLogic>>>): xstate637.ActorRefFromLogic<TLogic>;
60
+ } & { [K in xstate403.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate403.IsNotNever<xstate403.RequiredLogicInput<TLogic>>>): xstate403.ActorRefFromLogic<TLogic>;
61
61
  };
62
62
  input: HomeInput;
63
- self: xstate637.ActorRef<xstate637.MachineSnapshot<HomeContext, {
63
+ self: xstate403.ActorRef<xstate403.MachineSnapshot<HomeContext, {
64
64
  type: "LOAD";
65
65
  } | {
66
66
  type: "COMPLETE";
67
67
  } | {
68
68
  type: "RESET";
69
- }, Record<string, xstate637.AnyActorRef | undefined>, xstate637.StateValue, string, unknown, any, any>, {
69
+ }, Record<string, xstate403.AnyActorRef | undefined>, xstate403.StateValue, string, unknown, any, any>, {
70
70
  type: "LOAD";
71
71
  } | {
72
72
  type: "COMPLETE";
73
73
  } | {
74
74
  type: "RESET";
75
- }, xstate637.AnyEventObject>;
75
+ }, xstate403.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-In32pFy6.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-CXtyyf3I.js";
5
5
 
6
6
  //#region src/modules/id-ocr/idOcrFields.d.ts
7
7
  declare const OCR_FIELDS: OcrFieldConfig[];