@incodetech/core 0.0.0-dev-20261023-7876c568 → 0.0.0-dev-20261027-568b2de2

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 (62) hide show
  1. package/dist/{FaceDetectionProvider-D5P2Ikok.esm.js → FaceDetectionProvider-bB6A2Mdu.esm.js} +5 -5
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-G-RPDQLp.esm.js → apiError-BmWUEYId.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-BSkBhgzS.esm.js → authenticationManager-Cq4CVeUb.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-C-_LrwXa.esm.js → authenticationStateMachine-CeTuBpSy.esm.js} +2 -2
  7. package/dist/consent.d.ts +1 -1
  8. package/dist/consent.esm.js +2 -2
  9. package/dist/{consentManager-Ca8FHlC4.d.ts → consentManager-Cegv5Kth.d.ts} +14 -7
  10. package/dist/{consentManager-BPbAag3h.esm.js → consentManager-P-KfaJUT.esm.js} +3 -2
  11. package/dist/{consentStateMachine-CxsgBheC.esm.js → consentStateMachine-QyV_al8N.esm.js} +19 -6
  12. package/dist/{deepsightLoader-6kIQmcb5.esm.js → deepsightLoader-DejvWzrF.esm.js} +4 -4
  13. package/dist/{deepsightService-DhDctEQh.esm.js → deepsightService-Bhoq2PG4.esm.js} +1 -1
  14. package/dist/dynamic-forms.esm.js +2 -2
  15. package/dist/{dynamicFormsManager-Cu3gJA3D.esm.js → dynamicFormsManager-Ca9a6hH-.esm.js} +1 -1
  16. package/dist/{dynamicFormsStateMachine-DRZCZvLx.esm.js → dynamicFormsStateMachine-pZZpeOxI.esm.js} +1 -1
  17. package/dist/ekyb.esm.js +3 -3
  18. package/dist/{ekybManager-efMxbwHz.esm.js → ekybManager-B-p4cAQP.esm.js} +1 -1
  19. package/dist/{ekybStateMachine-Dvm7Le8u.esm.js → ekybStateMachine-D79ESSj2.esm.js} +1 -1
  20. package/dist/electronic-signature.esm.js +1 -1
  21. package/dist/{electronicSignatureManager-DRt3LNRS.esm.js → electronicSignatureManager-_oUYiGBq.esm.js} +1 -1
  22. package/dist/extensibility.d.ts +2 -2
  23. package/dist/extensibility.esm.js +12 -12
  24. package/dist/{faceCaptureManagerFactory-DQv-hNQ2.esm.js → faceCaptureManagerFactory-CooYM_9S.esm.js} +1 -1
  25. package/dist/{faceCaptureSetup-BkP7OhY8.esm.js → faceCaptureSetup-Bd2aTIoQ.esm.js} +3 -3
  26. package/dist/{feature-management-CYPW7TR7.esm.js → feature-management-dsnkotdr.esm.js} +1 -1
  27. package/dist/feature-management.esm.js +1 -1
  28. package/dist/flow.esm.js +3 -3
  29. package/dist/{flowCompletionService-CU5IuEx9.esm.js → flowCompletionService-BfgI9Yd1.esm.js} +1 -1
  30. package/dist/{flowServices-CzCAhTuh.esm.js → flowServices-BAwelb84.esm.js} +4 -4
  31. package/dist/geolocation.esm.js +2 -2
  32. package/dist/{geolocationManager-BGqKdTT_.esm.js → geolocationManager-Dbp6zni7.esm.js} +1 -1
  33. package/dist/{geolocationStateMachine-EcgY9R0r.esm.js → geolocationStateMachine--JhDFHIn.esm.js} +1 -1
  34. package/dist/id-selfie-flow.esm.js +6 -6
  35. package/dist/id.esm.js +3 -3
  36. package/dist/{idCaptureManager-BrNdiidH.esm.js → idCaptureManager-DQBrCN_h.esm.js} +3 -3
  37. package/dist/{idCaptureServices-CzRrbe0I.esm.js → idCaptureServices-BDEp0w3h.esm.js} +2 -2
  38. package/dist/{idCaptureStateMachine-Db3YxoIL.esm.js → idCaptureStateMachine-BLEYuT7h.esm.js} +9 -9
  39. package/dist/index.esm.js +1 -1
  40. package/dist/mandatory-consent.d.ts +1 -1
  41. package/dist/mandatory-consent.esm.js +2 -2
  42. package/dist/{mandatoryConsentManager-CAqIt6wt.esm.js → mandatoryConsentManager-BgOSWCz0.esm.js} +3 -2
  43. package/dist/{mandatoryConsentManager-qYojnZYg.d.ts → mandatoryConsentManager-D8io-cCo.d.ts} +12 -5
  44. package/dist/{mandatoryConsentStateMachine-DsjIqvJ9.esm.js → mandatoryConsentStateMachine-dO4CCdXY.esm.js} +19 -6
  45. package/dist/qe-signature.esm.js +1 -1
  46. package/dist/{runChildModule-DmnZJjSJ.esm.js → runChildModule-D7pjs6rS.esm.js} +1 -1
  47. package/dist/{sdkVersion-Cxd-fDJQ.esm.js → sdkVersion-CCMqVtyO.esm.js} +1 -1
  48. package/dist/selfie.esm.js +6 -6
  49. package/dist/{selfieErrorUtils-ve_cLgN3.esm.js → selfieErrorUtils-DPlonU16.esm.js} +1 -1
  50. package/dist/{selfieManager-DxQPBXHL.esm.js → selfieManager-BhcBf0Ae.esm.js} +3 -3
  51. package/dist/{selfieStateMachine-D-X7NE62.esm.js → selfieStateMachine-N2g8TsAs.esm.js} +3 -3
  52. package/dist/{session-Dv55C4ZP.esm.js → session-DkNZbUQG.esm.js} +3 -3
  53. package/dist/session.esm.js +4 -4
  54. package/dist/{sessionInitializer-WlwEEVkq.esm.js → sessionInitializer-BEFojmk0.esm.js} +3 -3
  55. package/dist/{setup-DdrRVNlV.esm.js → setup-Bo9E29Hg.esm.js} +4 -4
  56. package/dist/{trueSightService-CmUpEEKT.esm.js → trueSightService-DANS0hhM.esm.js} +1 -1
  57. package/dist/video-selfie.esm.js +3 -3
  58. package/dist/{videoSelfieCameraWarmer-xDxWNGRT.esm.js → videoSelfieCameraWarmer-YYdaAWlS.esm.js} +3 -3
  59. package/dist/wasm.esm.js +1 -1
  60. package/dist/workflow.d.ts +1 -1
  61. package/dist/workflow.esm.js +21 -17
  62. package/package.json +2 -2
@@ -1,16 +1,16 @@
1
1
  import { c as wasmRuntime } from "./warmup-BElYWRh7.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-DdrRVNlV.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-Bo9E29Hg.esm.js";
3
3
  import { r as BaseWasmProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-CmUpEEKT.esm.js";
6
- import "./sessionInitializer-WlwEEVkq.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DANS0hhM.esm.js";
6
+ import "./sessionInitializer-BEFojmk0.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-BJO0RcTZ.esm.js";
8
8
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
9
9
  import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
10
10
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
11
11
  import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-CtTauPSp.esm.js";
12
12
  import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
13
- import "./deepsightService-DhDctEQh.esm.js";
13
+ import "./deepsightService-Bhoq2PG4.esm.js";
14
14
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
15
15
  //#region src/internal/faceCapture/onDeviceFaceResults.ts
16
16
  /**
@@ -271,7 +271,7 @@ function startDetection(params) {
271
271
  };
272
272
  }
273
273
  async function initializeDeepsightSession(options) {
274
- const { loadDeepsightSession } = await import("./deepsightLoader-6kIQmcb5.esm.js");
274
+ const { loadDeepsightSession } = await import("./deepsightLoader-DejvWzrF.esm.js");
275
275
  return loadDeepsightSession({
276
276
  ds: options.ds,
277
277
  storage: options.storage
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DRt3LNRS.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-_oUYiGBq.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-CmUpEEKT.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-DANS0hhM.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-C-_LrwXa.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BSkBhgzS.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-CeTuBpSy.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Cq4CVeUb.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
- import { u as BrowserStorageProvider } from "./setup-DdrRVNlV.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-Bo9E29Hg.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
3
3
  import { n as eventModuleNames } from "./events-D98twgMK.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DQv-hNQ2.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-C-_LrwXa.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CooYM_9S.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-CeTuBpSy.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BkP7OhY8.esm.js";
4
- import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-D5P2Ikok.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-Bd2aTIoQ.esm.js";
4
+ import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-bB6A2Mdu.esm.js";
5
5
  import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DeOVMWUZ.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-Ca8FHlC4.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-Cegv5Kth.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,3 +1,3 @@
1
- import { t as consentMachine } from "./consentStateMachine-CxsgBheC.esm.js";
2
- import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-BPbAag3h.esm.js";
1
+ import { t as consentMachine } from "./consentStateMachine-QyV_al8N.esm.js";
2
+ import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-P-KfaJUT.esm.js";
3
3
  export { consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -32,6 +32,7 @@ type ConsentContext = {
32
32
  languageConsentId: string;
33
33
  checkboxes: ConsentCheckbox[];
34
34
  error: string | undefined;
35
+ moduleErrorCode: string | undefined;
35
36
  };
36
37
  type ConsentInput = {
37
38
  config: ConsentConfig;
@@ -77,12 +78,8 @@ declare const consentMachine: StateMachine<ConsentContext, {
77
78
  type: "setError";
78
79
  params: NonReducibleUnknown;
79
80
  };
80
- setConsentData: {
81
- type: "setConsentData";
82
- params: NonReducibleUnknown;
83
- };
84
- toggleCheckbox: {
85
- type: "toggleCheckbox";
81
+ setLoadError: {
82
+ type: "setLoadError";
86
83
  params: NonReducibleUnknown;
87
84
  };
88
85
  clearError: {
@@ -93,6 +90,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
93
90
  type: "resetContext";
94
91
  params: NonReducibleUnknown;
95
92
  };
93
+ setConsentData: {
94
+ type: "setConsentData";
95
+ params: NonReducibleUnknown;
96
+ };
97
+ toggleCheckbox: {
98
+ type: "toggleCheckbox";
99
+ params: NonReducibleUnknown;
100
+ };
96
101
  }>, {
97
102
  type: "canSubmit";
98
103
  params: unknown;
@@ -199,6 +204,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
199
204
  languageConsentId: string;
200
205
  checkboxes: never[];
201
206
  error: undefined;
207
+ moduleErrorCode: undefined;
202
208
  };
203
209
  readonly states: {
204
210
  readonly idle: {
@@ -260,7 +266,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
260
266
  };
261
267
  readonly onError: {
262
268
  readonly target: "error";
263
- readonly actions: "setError";
269
+ readonly actions: "setLoadError";
264
270
  };
265
271
  };
266
272
  };
@@ -386,6 +392,7 @@ type ConsentFinishedState = {
386
392
  type ConsentErrorState = {
387
393
  status: 'error';
388
394
  error: string;
395
+ moduleErrorCode?: string;
389
396
  };
390
397
  type ConsentState = ConsentIdleState | ConsentLoadingState | ConsentDisplayState | ConsentSubmittingState | ConsentFinishedState | ConsentErrorState;
391
398
  declare function createConsentManager(options: CreateConsentActorOptions): Manager<ConsentState> & {
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as consentMachine } from "./consentStateMachine-CxsgBheC.esm.js";
4
+ import { t as consentMachine } from "./consentStateMachine-QyV_al8N.esm.js";
5
5
  //#region src/modules/consent/consentActor.ts
6
6
  function createConsentActor(options) {
7
7
  return createActor(consentMachine, { input: { config: options.config } }).start();
@@ -59,7 +59,8 @@ function mapState(snapshot) {
59
59
  if (typedSnapshot.matches("finished")) return { status: "finished" };
60
60
  if (typedSnapshot.matches("error")) return {
61
61
  status: "error",
62
- error: context.error ?? "Unknown error"
62
+ error: context.error ?? "Unknown error",
63
+ moduleErrorCode: context.moduleErrorCode
63
64
  };
64
65
  return { status: "idle" };
65
66
  }
@@ -44,6 +44,10 @@ const consentMachine = setup({
44
44
  })
45
45
  },
46
46
  actions: {
47
+ setLoadError: assign(({ event }) => ({
48
+ error: String(event.error),
49
+ moduleErrorCode: "COMBINED_CONSENT_LOAD_FAILED"
50
+ })),
47
51
  setConsentData: assign(({ event }) => {
48
52
  const output = event.output;
49
53
  return {
@@ -56,7 +60,8 @@ const consentMachine = setup({
56
60
  required: !consent.optional,
57
61
  checked: false
58
62
  })),
59
- error: void 0
63
+ error: void 0,
64
+ moduleErrorCode: void 0
60
65
  };
61
66
  }),
62
67
  toggleCheckbox: assign(({ context, event }) => {
@@ -66,15 +71,22 @@ const consentMachine = setup({
66
71
  checked: !checkbox.checked
67
72
  } : checkbox) };
68
73
  }),
69
- setError: assign(({ event }) => ({ error: String(event.error) })),
70
- clearError: assign({ error: () => void 0 }),
74
+ setError: assign(({ event }) => ({
75
+ error: String(event.error),
76
+ moduleErrorCode: void 0
77
+ })),
78
+ clearError: assign({
79
+ error: () => void 0,
80
+ moduleErrorCode: () => void 0
81
+ }),
71
82
  resetContext: assign(({ context }) => ({
72
83
  config: context.config,
73
84
  title: "",
74
85
  richText: "",
75
86
  languageConsentId: "",
76
87
  checkboxes: [],
77
- error: void 0
88
+ error: void 0,
89
+ moduleErrorCode: void 0
78
90
  }))
79
91
  },
80
92
  guards: { canSubmit: ({ context }) => context.checkboxes.filter((checkbox) => checkbox.required).every((checkbox) => checkbox.checked) }
@@ -87,7 +99,8 @@ const consentMachine = setup({
87
99
  richText: "",
88
100
  languageConsentId: "",
89
101
  checkboxes: [],
90
- error: void 0
102
+ error: void 0,
103
+ moduleErrorCode: void 0
91
104
  }),
92
105
  states: {
93
106
  idle: { on: { LOAD: {
@@ -107,7 +120,7 @@ const consentMachine = setup({
107
120
  },
108
121
  onError: {
109
122
  target: "error",
110
- actions: "setError"
123
+ actions: "setLoadError"
111
124
  }
112
125
  } },
113
126
  display: { on: {
@@ -1,10 +1,10 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-CmUpEEKT.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-Cxd-fDJQ.esm.js";
4
- import { _ as IpifyProvider, b as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-WlwEEVkq.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-DANS0hhM.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-CCMqVtyO.esm.js";
4
+ import { _ as IpifyProvider, b as BrowserEnvironmentProvider, n as getFingerprintEnabled, t as getDisableIpify } from "./sessionInitializer-BEFojmk0.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CYj5LL9z.esm.js";
6
6
  import { t as MotionSensorProvider } from "./MotionSensorProvider-DYxh8TjR.esm.js";
7
- import { t as createDeepsightService } from "./deepsightService-DhDctEQh.esm.js";
7
+ import { t as createDeepsightService } from "./deepsightService-Bhoq2PG4.esm.js";
8
8
  //#region ../infra/src/providers/browser/VisibilityProvider.ts
9
9
  var VisibilityProvider = class {
10
10
  constructor() {
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-DibA_Spu.esm.js";
2
- import { h as isBrowserSimulation, v as getThumbmarkId, x as fingerprintSignalsReporter } from "./sessionInitializer-WlwEEVkq.esm.js";
2
+ import { h as isBrowserSimulation, v as getThumbmarkId, x as fingerprintSignalsReporter } from "./sessionInitializer-BEFojmk0.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-BJO0RcTZ.esm.js";
4
4
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
5
5
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DRZCZvLx.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-Cu3gJA3D.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-pZZpeOxI.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-Ca9a6hH-.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DRZCZvLx.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-pZZpeOxI.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-G-RPDQLp.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BmWUEYId.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-CzCAhTuh.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-Dvm7Le8u.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-efMxbwHz.esm.js";
1
+ import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-BAwelb84.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-D79ESSj2.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-B-p4cAQP.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-Dvm7Le8u.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-D79ESSj2.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
2
- import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-CzCAhTuh.esm.js";
2
+ import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-BAwelb84.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  import { a as FIXED_DIGIT_POSTAL_CODE_LENGTH, c as getPostalCodeMaxLength, d as STREET_LEVEL_REQUIRED_ERROR, f as fillFromSuggestion, i as checkSupport, l as validatePostalCode, m as usStateOptions, n as resolveForm, o as formatPostalCode, p as getStreetLevelErrorForSuggestion, r as createBundledDefinitionSource, s as getPostalCodeErrorKey, t as debounceSearchActor, u as DYNAMIC_REQUIRED_KEY } from "./addressSearch-DU_A-KRF.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DRt3LNRS.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-_oUYiGBq.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-G-RPDQLp.esm.js";
4
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BmWUEYId.esm.js";
5
5
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
7
  import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
@@ -12,7 +12,7 @@ import "./StreamCanvasCapture-7JRf-2ck.js";
12
12
  import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-0M02hSuC.js";
13
13
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BIZC55Bi.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
15
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Ca8FHlC4.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Cegv5Kth.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
17
17
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-C9sqoh9n.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
@@ -29,7 +29,7 @@ import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as Watchli
29
29
  import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-B3GDPZrr.js";
30
30
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-ooAbp6Kc.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CUX4gza2.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-qYojnZYg.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-D8io-cCo.js";
33
33
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DT3kPIB3.js";
34
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Dm9ctRCC.js";
35
35
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
@@ -1,35 +1,35 @@
1
- import { u as BrowserStorageProvider } from "./setup-DdrRVNlV.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-Bo9E29Hg.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-WlwEEVkq.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-BEFojmk0.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-DRt3LNRS.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-_oUYiGBq.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-BwcrZg0n.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BkP7OhY8.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BSkBhgzS.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Bd2aTIoQ.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Cq4CVeUb.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-Cqxlxd2J.esm.js";
11
- import { n as createConsentManagerFromActor } from "./consentManager-BPbAag3h.esm.js";
11
+ import { n as createConsentManagerFromActor } from "./consentManager-P-KfaJUT.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-DsMEIE6e.esm.js";
13
13
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CFNdKD46.esm.js";
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BQwd7ePG.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-CqmaXZ3M.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-vY0yCoxj.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Cu3gJA3D.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-efMxbwHz.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Ca9a6hH-.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-B-p4cAQP.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-BY3ufkgU.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-BvhLvbtd.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-DxQPBXHL.esm.js";
22
- import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-BrNdiidH.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BhcBf0Ae.esm.js";
22
+ import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-DQBrCN_h.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-CQBXuOex.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-C4FrX43N.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-BYtjD7SO.esm.js";
26
26
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-YGTaaYtd.esm.js";
27
27
  import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-8Gcne7cb.esm.js";
28
- import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-CAqIt6wt.esm.js";
28
+ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-BgOSWCz0.esm.js";
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-C_jlAnBS.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-BSSkqtEE.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-N-SHTwT-.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-BGqKdTT_.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-Dbp6zni7.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-DLptXxxu.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BgQ1clLr.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-CUWKh2pf.esm.js";
@@ -2,7 +2,7 @@ import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScr
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
5
- import { r as concealmentToAvatar } from "./faceCaptureSetup-BkP7OhY8.esm.js";
5
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-Bd2aTIoQ.esm.js";
6
6
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CYj5LL9z.esm.js";
7
7
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
8
8
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Ca-tSNhT.esm.js";
@@ -1,13 +1,13 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
2
  import { r as getToken, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
3
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CmUpEEKT.esm.js";
4
- import "./sessionInitializer-WlwEEVkq.esm.js";
3
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DANS0hhM.esm.js";
4
+ import "./sessionInitializer-BEFojmk0.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-BJO0RcTZ.esm.js";
6
6
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
7
7
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
9
9
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Ca-tSNhT.esm.js";
10
- import { a as sendLabelInspectionEvent, d as FACE_ERROR_CODES, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider, u as getFaceUploadErrorCode } from "./FaceDetectionProvider-D5P2Ikok.esm.js";
10
+ import { a as sendLabelInspectionEvent, d as FACE_ERROR_CODES, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider, u as getFaceUploadErrorCode } from "./FaceDetectionProvider-bB6A2Mdu.esm.js";
11
11
  import { i as flagFaceManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-DeOVMWUZ.esm.js";
12
12
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
13
13
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-Cxd-fDJQ.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-CCMqVtyO.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  let currentEnvironment;
5
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -1,2 +1,2 @@
1
- import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-CYPW7TR7.esm.js";
1
+ import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-dsnkotdr.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
package/dist/flow.esm.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { y as addEvent } from "./events-D98twgMK.esm.js";
2
2
  import { i as retryAfterReconnect } from "./connectivity-HSl0diCx.esm.js";
3
- import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-CzCAhTuh.esm.js";
3
+ import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-BAwelb84.esm.js";
4
4
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-CU5IuEx9.esm.js";
7
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DmnZJjSJ.esm.js";
6
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BfgI9Yd1.esm.js";
7
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-D7pjs6rS.esm.js";
8
8
  import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
9
9
  //#region src/modules/flow/noOpFlowModuleMachine.ts
10
10
  const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-G-RPDQLp.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-BmWUEYId.esm.js";
3
3
  //#region src/modules/flow/flowCompletionService.ts
4
4
  const getFinishStatus = async (flowId, signal) => {
5
5
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,9 +1,9 @@
1
1
  import { r as getWasmStatus } from "./warmup-BElYWRh7.esm.js";
2
2
  import { r as getToken, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
3
- import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-WlwEEVkq.esm.js";
4
- import { E as updateFeatureManagementUser } from "./feature-management-CYPW7TR7.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-G-RPDQLp.esm.js";
6
- import "./session-Dv55C4ZP.esm.js";
3
+ import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-BEFojmk0.esm.js";
4
+ import { E as updateFeatureManagementUser } from "./feature-management-dsnkotdr.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-BmWUEYId.esm.js";
6
+ import "./session-DkNZbUQG.esm.js";
7
7
  import { a as toEkycConfig } from "./ekycUtils-zY8CdKJL.esm.js";
8
8
  //#region src/modules/flow/dashboardConfig.ts
9
9
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-BGqKdTT_.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-EcgY9R0r.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-Dbp6zni7.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine--JhDFHIn.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-EcgY9R0r.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine--JhDFHIn.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,6 +1,6 @@
1
1
  import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
2
2
  import { a as isIOS, t as isAndroid } from "./platform-DkcRc9JV.esm.js";
3
- import { n as isConnectivityError } from "./apiError-G-RPDQLp.esm.js";
3
+ import { n as isConnectivityError } from "./apiError-BmWUEYId.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
6
  import { t as carryAttempts } from "./attemptCarry-D8p84a3b.esm.js";
@@ -1,17 +1,17 @@
1
- import { t as ensureWasmPipelines } from "./setup-DdrRVNlV.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-Bo9E29Hg.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-CzCAhTuh.esm.js";
4
+ import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-BAwelb84.esm.js";
5
5
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
- import { c as processFace, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-D5P2Ikok.esm.js";
7
+ import { c as processFace, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-bB6A2Mdu.esm.js";
8
8
  import { o as StreamCanvasProcessingSession, r as CameraCompositor } from "./multipartRecordingService-CtTauPSp.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
10
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BGsG2OAs.esm.js";
11
- import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-CzRrbe0I.esm.js";
11
+ import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-BDEp0w3h.esm.js";
12
12
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-CU5IuEx9.esm.js";
14
- import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-xDxWNGRT.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-BfgI9Yd1.esm.js";
14
+ import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-YYdaAWlS.esm.js";
15
15
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
16
16
  /** Default autocapture window for the selfie step. */
17
17
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { a as isRedirectFlowType, h as createDeviceWalletManager, i as DIGITAL_ID_REGISTRY, m as renderWallet, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, t as idCaptureMachine, v as resolveWalletPlatform } from "./idCaptureStateMachine-Db3YxoIL.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BrNdiidH.esm.js";
3
- import { _ as ID_ERROR_CODES, a as getRealQualityValue, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-CzRrbe0I.esm.js";
1
+ import { a as isRedirectFlowType, h as createDeviceWalletManager, i as DIGITAL_ID_REGISTRY, m as renderWallet, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, t as idCaptureMachine, v as resolveWalletPlatform } from "./idCaptureStateMachine-BLEYuT7h.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DQBrCN_h.esm.js";
3
+ import { _ as ID_ERROR_CODES, a as getRealQualityValue, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-BDEp0w3h.esm.js";
4
4
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
5
5
  /**
6
6
  * Fail reason → i18n key for the device-wallet error screen (same shape as
@@ -1,4 +1,4 @@
1
- import { u as BrowserStorageProvider } from "./setup-DdrRVNlV.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-Bo9E29Hg.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { i as assign, s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
@@ -8,8 +8,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CYj5LL9z.esm.js";
8
8
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
9
9
  import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Ca-tSNhT.esm.js";
10
10
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
11
- import { _ as mapDeviceWalletScreenName, c as createIdCaptureOnlyDeliveryActor, d as captureOnlyNeedsBack, f as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, p as pickIdCaptureOnlyConfig, s as attachIdProtectedCaptureController, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-Db3YxoIL.esm.js";
12
- import { _ as ID_ERROR_CODES, b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-CzRrbe0I.esm.js";
11
+ import { _ as mapDeviceWalletScreenName, c as createIdCaptureOnlyDeliveryActor, d as captureOnlyNeedsBack, f as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, p as pickIdCaptureOnlyConfig, s as attachIdProtectedCaptureController, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-BLEYuT7h.esm.js";
12
+ import { _ as ID_ERROR_CODES, b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-BDEp0w3h.esm.js";
13
13
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DraeGfc2.esm.js";
14
14
  //#region src/modules/id/digitalUpload/instrumentation.ts
15
15
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1,6 +1,6 @@
1
- import { t as ensureWasmPipelines } from "./setup-DdrRVNlV.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-Bo9E29Hg.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
3
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CYPW7TR7.esm.js";
3
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-dsnkotdr.esm.js";
4
4
  import { i as isDesktop } from "./platform-DkcRc9JV.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
@@ -1,15 +1,15 @@
1
1
  import { n as revokeObjectURL, t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { l as isGoogleWalletSignedRequestsEnabled, u as BrowserStorageProvider } from "./setup-DdrRVNlV.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, u as BrowserStorageProvider } from "./setup-Bo9E29Hg.esm.js";
3
3
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-D98twgMK.esm.js";
5
5
  import { r as getToken, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
6
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CmUpEEKT.esm.js";
7
- import { t as getDisableIpify } from "./sessionInitializer-WlwEEVkq.esm.js";
6
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DANS0hhM.esm.js";
7
+ import { t as getDisableIpify } from "./sessionInitializer-BEFojmk0.esm.js";
8
8
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
9
- import { s as exposeExperimentOnce } from "./feature-management-CYPW7TR7.esm.js";
9
+ import { s as exposeExperimentOnce } from "./feature-management-dsnkotdr.esm.js";
10
10
  import { t as addDeviceStats } from "./stats-BJO0RcTZ.esm.js";
11
11
  import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
12
- import "./session-Dv55C4ZP.esm.js";
12
+ import "./session-DkNZbUQG.esm.js";
13
13
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
14
14
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
15
15
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
@@ -24,10 +24,10 @@ import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
24
24
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
25
25
  import { a as isBackCameraLabel } from "./backCameraStream-CMvXj4X4.esm.js";
26
26
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
27
- import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-DhDctEQh.esm.js";
27
+ import { n as frameSources, r as runVirtualCameraCheck } from "./deepsightService-Bhoq2PG4.esm.js";
28
28
  import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
29
29
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BGsG2OAs.esm.js";
30
- import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-CzRrbe0I.esm.js";
30
+ import { C as getIdCameraStream, S as OPTIMIZING_WATCHDOG_MARGIN_MS, _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId, x as CAPTURE_OPTIMIZING, y as resolveCountdownStepMs } from "./idCaptureServices-BDEp0w3h.esm.js";
31
31
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
32
32
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
33
33
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1421,7 +1421,7 @@ fromPromise(async ({ input }) => {
1421
1421
  });
1422
1422
  fromPromise(async ({ input }) => {
1423
1423
  if (!input.dependencies) return;
1424
- const { loadDeepsightSession } = await import("./deepsightLoader-6kIQmcb5.esm.js");
1424
+ const { loadDeepsightSession } = await import("./deepsightLoader-DejvWzrF.esm.js");
1425
1425
  return loadDeepsightSession({
1426
1426
  ds: input.ds,
1427
1427
  storage: input.dependencies.storage,
@@ -1864,7 +1864,7 @@ function cleanup(service) {
1864
1864
  service.cleanup();
1865
1865
  } catch {}
1866
1866
  }
1867
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-6kIQmcb5.esm.js")).loadDeepsightSession(input)) {
1867
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-DejvWzrF.esm.js")).loadDeepsightSession(input)) {
1868
1868
  let disposed = false;
1869
1869
  let preparation;
1870
1870
  let service;
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-DdrRVNlV.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-Bo9E29Hg.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-Ckir_BEs.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-qYojnZYg.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-D8io-cCo.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,3 +1,3 @@
1
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DsjIqvJ9.esm.js";
2
- import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-CAqIt6wt.esm.js";
1
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-dO4CCdXY.esm.js";
2
+ import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-BgOSWCz0.esm.js";
3
3
  export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DsjIqvJ9.esm.js";
3
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-dO4CCdXY.esm.js";
4
4
  //#region src/modules/mandatory-consent/mandatoryConsentActor.ts
5
5
  function createMandatoryConsentActor(options) {
6
6
  return createActor(mandatoryConsentMachine, { input: { config: options.config } }).start();
@@ -32,7 +32,8 @@ function mapState(snapshot) {
32
32
  if (typedSnapshot.matches("closed")) return { status: "closed" };
33
33
  if (typedSnapshot.matches("error")) return {
34
34
  status: "error",
35
- error: context.error ?? "Unknown error"
35
+ error: context.error ?? "Unknown error",
36
+ moduleErrorCode: context.moduleErrorCode
36
37
  };
37
38
  return { status: "idle" };
38
39
  }
@@ -8,6 +8,7 @@ type MandatoryConsentContext = {
8
8
  consent: MandatoryConsent | undefined;
9
9
  isSigned: boolean;
10
10
  error: string | undefined;
11
+ moduleErrorCode: string | undefined;
11
12
  };
12
13
  type MandatoryConsentInput = {
13
14
  config: MandatoryConsentConfig;
@@ -56,6 +57,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
56
57
  type: "setError";
57
58
  params: NonReducibleUnknown;
58
59
  };
60
+ setLoadError: {
61
+ type: "setLoadError";
62
+ params: NonReducibleUnknown;
63
+ };
64
+ toggleSigned: {
65
+ type: "toggleSigned";
66
+ params: NonReducibleUnknown;
67
+ };
59
68
  clearError: {
60
69
  type: "clearError";
61
70
  params: NonReducibleUnknown;
@@ -64,10 +73,6 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
64
73
  type: "resetContext";
65
74
  params: NonReducibleUnknown;
66
75
  };
67
- toggleSigned: {
68
- type: "toggleSigned";
69
- params: NonReducibleUnknown;
70
- };
71
76
  }>, {
72
77
  type: "canSubmit";
73
78
  params: unknown;
@@ -171,6 +176,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
171
176
  consent: undefined;
172
177
  isSigned: false;
173
178
  error: undefined;
179
+ moduleErrorCode: undefined;
174
180
  };
175
181
  readonly states: {
176
182
  readonly idle: {
@@ -234,7 +240,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
234
240
  };
235
241
  readonly onError: {
236
242
  readonly target: "error";
237
- readonly actions: "setError";
243
+ readonly actions: "setLoadError";
238
244
  };
239
245
  };
240
246
  };
@@ -375,6 +381,7 @@ type MandatoryConsentClosedState = {
375
381
  type MandatoryConsentErrorState = {
376
382
  status: 'error';
377
383
  error: string;
384
+ moduleErrorCode?: string;
378
385
  };
379
386
  type MandatoryConsentState = MandatoryConsentIdleState | MandatoryConsentLoadingState | MandatoryConsentDisplayState | MandatoryConsentSubmittingState | MandatoryConsentFinishedState | MandatoryConsentClosedState | MandatoryConsentErrorState;
380
387
  declare function createMandatoryConsentManager(options: CreateMandatoryConsentActorOptions): Manager<MandatoryConsentState> & {
@@ -34,21 +34,33 @@ const mandatoryConsentMachine = setup({
34
34
  }] }, signal))
35
35
  },
36
36
  actions: {
37
+ setLoadError: assign(({ event }) => ({
38
+ error: String(event.error),
39
+ moduleErrorCode: "REGULATORY_CONSENT_LOAD_FAILED"
40
+ })),
37
41
  setConsent: assign(({ event }) => {
38
42
  return {
39
43
  consent: event.output.consents[0],
40
44
  isSigned: false,
41
- error: void 0
45
+ error: void 0,
46
+ moduleErrorCode: void 0
42
47
  };
43
48
  }),
44
49
  toggleSigned: assign(({ context }) => ({ isSigned: !context.isSigned })),
45
- setError: assign(({ event }) => ({ error: String(event.error) })),
46
- clearError: assign({ error: () => void 0 }),
50
+ setError: assign(({ event }) => ({
51
+ error: String(event.error),
52
+ moduleErrorCode: void 0
53
+ })),
54
+ clearError: assign({
55
+ error: () => void 0,
56
+ moduleErrorCode: () => void 0
57
+ }),
47
58
  resetContext: assign(({ context }) => ({
48
59
  config: context.config,
49
60
  consent: void 0,
50
61
  isSigned: false,
51
- error: void 0
62
+ error: void 0,
63
+ moduleErrorCode: void 0
52
64
  }))
53
65
  },
54
66
  guards: { canSubmit: ({ context }) => Boolean(context.consent?.id) && context.isSigned }
@@ -59,7 +71,8 @@ const mandatoryConsentMachine = setup({
59
71
  config: input.config,
60
72
  consent: void 0,
61
73
  isSigned: false,
62
- error: void 0
74
+ error: void 0,
75
+ moduleErrorCode: void 0
63
76
  }),
64
77
  states: {
65
78
  idle: { on: { LOAD: {
@@ -76,7 +89,7 @@ const mandatoryConsentMachine = setup({
76
89
  },
77
90
  onError: {
78
91
  target: "error",
79
- actions: "setError"
92
+ actions: "setLoadError"
80
93
  }
81
94
  } },
82
95
  display: { on: {
@@ -1,4 +1,4 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DRt3LNRS.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-_oUYiGBq.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,6 +1,6 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
2
  import { w as createEventBus } from "./events-D98twgMK.esm.js";
3
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-CmUpEEKT.esm.js";
3
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DANS0hhM.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
6
  //#region src/internal/flow-events/flowEvents.ts
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "0.0.0-dev-20261023-7876c568";
2
+ const SDK_VERSION = "0.0.0-dev-20261027-568b2de2";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -1,14 +1,14 @@
1
- import { u as BrowserStorageProvider } from "./setup-DdrRVNlV.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-Bo9E29Hg.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
3
3
  import { n as eventModuleNames } from "./events-D98twgMK.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BkP7OhY8.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DQv-hNQ2.esm.js";
8
- import { c as processFace } from "./FaceDetectionProvider-D5P2Ikok.esm.js";
6
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-Bd2aTIoQ.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CooYM_9S.esm.js";
8
+ import { c as processFace } from "./FaceDetectionProvider-bB6A2Mdu.esm.js";
9
9
  import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DeOVMWUZ.esm.js";
10
- import { t as selfieMachine } from "./selfieStateMachine-D-X7NE62.esm.js";
11
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DxQPBXHL.esm.js";
10
+ import { t as selfieMachine } from "./selfieStateMachine-N2g8TsAs.esm.js";
11
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BhcBf0Ae.esm.js";
12
12
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DraeGfc2.esm.js";
13
13
  /**
14
14
  * Selfie state machine variant for the captureOnly flow. Shares the full base
@@ -1,4 +1,4 @@
1
- import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-D5P2Ikok.esm.js";
1
+ import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-bB6A2Mdu.esm.js";
2
2
  //#region src/modules/selfie/selfieErrorUtils.ts
3
3
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
4
4
  const isFaceErrorCode = (value) => {
@@ -1,9 +1,9 @@
1
- import { u as BrowserStorageProvider } from "./setup-DdrRVNlV.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-Bo9E29Hg.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
3
3
  import { n as eventModuleNames } from "./events-D98twgMK.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DQv-hNQ2.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-D-X7NE62.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CooYM_9S.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-N2g8TsAs.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BkP7OhY8.esm.js";
4
- import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-D5P2Ikok.esm.js";
5
- import { n as validateUploadResponse } from "./selfieErrorUtils-ve_cLgN3.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Bd2aTIoQ.esm.js";
4
+ import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-bB6A2Mdu.esm.js";
5
+ import { n as validateUploadResponse } from "./selfieErrorUtils-DPlonU16.esm.js";
6
6
  /**
7
7
  * The selfie capture state machine.
8
8
  *
@@ -1,7 +1,7 @@
1
1
  import { n as getApi, u as endpoints } from "./api-DibA_Spu.esm.js";
2
- import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-CmUpEEKT.esm.js";
3
- import "./sessionInitializer-WlwEEVkq.esm.js";
4
- import { i as toIncodeApiError } from "./apiError-G-RPDQLp.esm.js";
2
+ import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-DANS0hhM.esm.js";
3
+ import "./sessionInitializer-BEFojmk0.esm.js";
4
+ import { i as toIncodeApiError } from "./apiError-BmWUEYId.esm.js";
5
5
  //#region src/internal/session/sessionService.ts
6
6
  /**
7
7
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,10 +1,10 @@
1
1
  import { r as getToken } from "./api-DibA_Spu.esm.js";
2
2
  import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
3
- import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-WlwEEVkq.esm.js";
3
+ import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-BEFojmk0.esm.js";
4
4
  import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-HSl0diCx.esm.js";
5
- import { t as IncodeApiError } from "./apiError-G-RPDQLp.esm.js";
6
- import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-Dv55C4ZP.esm.js";
7
- import { n as getFinishStatus } from "./flowCompletionService-CU5IuEx9.esm.js";
5
+ import { t as IncodeApiError } from "./apiError-BmWUEYId.esm.js";
6
+ import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-DkNZbUQG.esm.js";
7
+ import { n as getFinishStatus } from "./flowCompletionService-BfgI9Yd1.esm.js";
8
8
  //#region src/internal/session/sessionExpired.ts
9
9
  var SessionExpiredError = class extends Error {
10
10
  constructor() {
@@ -1,8 +1,8 @@
1
1
  import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-D98twgMK.esm.js";
2
2
  import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
3
- import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-CmUpEEKT.esm.js";
4
- import { t as SDK_VERSION } from "./sdkVersion-Cxd-fDJQ.esm.js";
5
- import { E as updateFeatureManagementUser } from "./feature-management-CYPW7TR7.esm.js";
3
+ import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-DANS0hhM.esm.js";
4
+ import { t as SDK_VERSION } from "./sdkVersion-CCMqVtyO.esm.js";
5
+ import { E as updateFeatureManagementUser } from "./feature-management-dsnkotdr.esm.js";
6
6
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-BJO0RcTZ.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
8
8
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
@@ -3,14 +3,14 @@ import { a as setWasmOnDeviceMode, d as drainWasmDiagnostics, f as getWasmDiagno
3
3
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
4
4
  import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-D98twgMK.esm.js";
5
5
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
6
- import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-CmUpEEKT.esm.js";
7
- import { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp, x as fingerprintSignalsReporter } from "./sessionInitializer-WlwEEVkq.esm.js";
6
+ import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-DANS0hhM.esm.js";
7
+ import { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp, x as fingerprintSignalsReporter } from "./sessionInitializer-BEFojmk0.esm.js";
8
8
  import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
9
9
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
10
- import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-CYPW7TR7.esm.js";
10
+ import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-dsnkotdr.esm.js";
11
11
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BJO0RcTZ.esm.js";
12
12
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
13
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-CzCAhTuh.esm.js";
13
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-BAwelb84.esm.js";
14
14
  //#region ../infra/src/wasm/wasmRuntimeProfile.ts
15
15
  /**
16
16
  * The WASM facts TrueSight reports as `session.webProfile.wasm`
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWa
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { C as subscribeEvent, n as eventModuleNames } from "./events-D98twgMK.esm.js";
4
4
  import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-Cxd-fDJQ.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-CCMqVtyO.esm.js";
6
6
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
7
7
  /** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
8
8
  const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
@@ -1,16 +1,16 @@
1
- import { t as ensureWasmPipelines } from "./setup-DdrRVNlV.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-Bo9E29Hg.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
3
3
  import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
5
5
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
6
- import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-CzCAhTuh.esm.js";
6
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps, p as videoSelfieWasmPipelines } from "./flowServices-BAwelb84.esm.js";
7
7
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
9
9
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
10
  import { t as carryAttempts } from "./attemptCarry-D8p84a3b.esm.js";
11
11
  import { i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-CtTauPSp.esm.js";
12
12
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-q_pfU3Cn.esm.js";
13
- import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-xDxWNGRT.esm.js";
13
+ import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-YYdaAWlS.esm.js";
14
14
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
15
15
  //#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
16
16
  var wave_encoder_default = () => {
@@ -1,13 +1,13 @@
1
1
  import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
- import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-CzCAhTuh.esm.js";
3
+ import { d as facingModeForStep, f as resolveVideoSelfieSteps } from "./flowServices-BAwelb84.esm.js";
4
4
  import { a as requestCameraWithFallback, i as requestCameraAccess } from "./camera-sIa9ceW2.esm.js";
5
5
  import { t as checkPermission } from "./permissionServices-Ca-tSNhT.esm.js";
6
- import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-D5P2Ikok.esm.js";
6
+ import { c as processFace, d as FACE_ERROR_CODES, l as uploadSelfie, n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-bB6A2Mdu.esm.js";
7
7
  import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-CtTauPSp.esm.js";
8
8
  import { n as getBackCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
- import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-ve_cLgN3.esm.js";
10
+ import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-DPlonU16.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BGsG2OAs.esm.js";
12
12
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
13
13
  //#region src/modules/video-selfie/videoSelfieCompareService.ts
package/dist/wasm.esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { E as WASM_PIPELINE_LAZY_MODEL_NAMES, O as WASM_PIPELINE_MODEL_NAMES, T as WASM_MODEL_FILES, b as buildDefaultWasmConfig, w as resolveWasmConfig, x as buildWasmConfigFromBasePath, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-BjZw_7OB.esm.js";
2
2
  import { s as warmupWasm } from "./warmup-BElYWRh7.esm.js";
3
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-DdrRVNlV.esm.js";
3
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-Bo9E29Hg.esm.js";
4
4
  //#region src/defineWasm.ts
5
5
  function requiredModels(pipelines) {
6
6
  const models = /* @__PURE__ */ new Set();
@@ -891,7 +891,7 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
891
891
  readonly actions: readonly ["setModuleErrorCode", "trackAdvanceableModuleError"];
892
892
  }, {
893
893
  readonly target: "error";
894
- readonly actions: readonly ["setModuleError", "trackTerminalModuleError"];
894
+ readonly actions: readonly ["setModuleError", "setModuleErrorCode", "trackTerminalModuleError"];
895
895
  }];
896
896
  readonly COMPLETE_FLOW: "completing";
897
897
  readonly FINISH_WORKFLOW: readonly [{
@@ -1,43 +1,43 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-D98twgMK.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
3
- import { u as trueSightLog } from "./trueSightService-CmUpEEKT.esm.js";
4
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-WlwEEVkq.esm.js";
5
- import { E as updateFeatureManagementUser } from "./feature-management-CYPW7TR7.esm.js";
3
+ import { u as trueSightLog } from "./trueSightService-DANS0hhM.esm.js";
4
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BEFojmk0.esm.js";
5
+ import { E as updateFeatureManagementUser } from "./feature-management-dsnkotdr.esm.js";
6
6
  import { i as retryAfterReconnect } from "./connectivity-HSl0diCx.esm.js";
7
- import { i as toIncodeApiError } from "./apiError-G-RPDQLp.esm.js";
8
- import { v as toEkybConfig } from "./flowServices-CzCAhTuh.esm.js";
7
+ import { i as toIncodeApiError } from "./apiError-BmWUEYId.esm.js";
8
+ import { v as toEkybConfig } from "./flowServices-BAwelb84.esm.js";
9
9
  import { a as toEkycConfig } from "./ekycUtils-zY8CdKJL.esm.js";
10
10
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
11
11
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
12
- import { r as electronicSignatureMachine } from "./electronicSignatureManager-DRt3LNRS.esm.js";
12
+ import { r as electronicSignatureMachine } from "./electronicSignatureManager-_oUYiGBq.esm.js";
13
13
  import "./ae-signature.esm.js";
14
14
  import { t as antifraudMachine } from "./antifraudStateMachine-D8_nlJ1M.esm.js";
15
- import { t as authenticationMachine } from "./authenticationStateMachine-C-_LrwXa.esm.js";
15
+ import { t as authenticationMachine } from "./authenticationStateMachine-CeTuBpSy.esm.js";
16
16
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DCUb94gC.esm.js";
17
- import { t as consentMachine } from "./consentStateMachine-CxsgBheC.esm.js";
17
+ import { t as consentMachine } from "./consentStateMachine-QyV_al8N.esm.js";
18
18
  import { t as curpValidationMachine } from "./curpValidationStateMachine-Cv974Od7.esm.js";
19
19
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-CmSNuU2y.esm.js";
20
20
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-DMxJXs3Z.esm.js";
21
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DRZCZvLx.esm.js";
22
- import { t as ekybMachine } from "./ekybStateMachine-Dvm7Le8u.esm.js";
21
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-pZZpeOxI.esm.js";
22
+ import { t as ekybMachine } from "./ekybStateMachine-D79ESSj2.esm.js";
23
23
  import { t as ekycMachine } from "./ekycStateMachine-TQRh3i_I.esm.js";
24
24
  import { t as emailMachine } from "./emailStateMachine-eeQ8dRbM.esm.js";
25
- import { t as selfieMachine } from "./selfieStateMachine-D-X7NE62.esm.js";
26
- import { t as idCaptureMachine } from "./idCaptureStateMachine-Db3YxoIL.esm.js";
25
+ import { t as selfieMachine } from "./selfieStateMachine-N2g8TsAs.esm.js";
26
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-BLEYuT7h.esm.js";
27
27
  import { t as phoneMachine } from "./phoneStateMachine-gXJD8NRW.esm.js";
28
28
  import { t as watchlistMachine } from "./watchlistStateMachine-By4V_fk4.esm.js";
29
29
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-MVAywRD_.esm.js";
30
30
  import { n as identityReuseMachine } from "./identityReuseStateMachine-B4e6VCrG.esm.js";
31
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DsjIqvJ9.esm.js";
31
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-dO4CCdXY.esm.js";
32
32
  import { t as idOcrStateMachine } from "./idOcrStateMachine-DY8ZB5GG.esm.js";
33
33
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BpetRK9-.esm.js";
34
34
  import { t as signatureMachine } from "./signatureStateMachine-D4-juDs9.esm.js";
35
- import { t as geolocationMachine } from "./geolocationStateMachine-EcgY9R0r.esm.js";
35
+ import { t as geolocationMachine } from "./geolocationStateMachine--JhDFHIn.esm.js";
36
36
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DfdpoCJG.esm.js";
37
37
  import { t as idVerificationMachine } from "./idVerificationStateMachine-Etb91dYy.esm.js";
38
38
  import { t as faceMatchMachine } from "./faceMatchStateMachine-BUcjsIb1.esm.js";
39
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-CU5IuEx9.esm.js";
40
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DmnZJjSJ.esm.js";
39
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-BfgI9Yd1.esm.js";
40
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-D7pjs6rS.esm.js";
41
41
  import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
42
42
  import "./qe-signature.esm.js";
43
43
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
@@ -579,7 +579,11 @@ const workflowMachine = setup({
579
579
  actions: ["setModuleErrorCode", "trackAdvanceableModuleError"]
580
580
  }, {
581
581
  target: "error",
582
- actions: ["setModuleError", "trackTerminalModuleError"]
582
+ actions: [
583
+ "setModuleError",
584
+ "setModuleErrorCode",
585
+ "trackTerminalModuleError"
586
+ ]
583
587
  }],
584
588
  COMPLETE_FLOW: "completing",
585
589
  FINISH_WORKFLOW: [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20261023-7876c568",
3
+ "version": "0.0.0-dev-20261027-568b2de2",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -278,7 +278,7 @@
278
278
  "vitest": "4.1.10",
279
279
  "@incodetech/config": "1.0.2",
280
280
  "@incodetech/form-definitions": "0.0.0",
281
- "@incodetech/infra": "1.4.0"
281
+ "@incodetech/infra": "1.5.0"
282
282
  },
283
283
  "scripts": {
284
284
  "build": "tsdown -c tsdown.config.ts && pnpm check:dist-types",