@incodetech/core 0.0.0-dev-20261110-506efd45 → 0.0.0-dev-20261111-5e09dbf0

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 (101) hide show
  1. package/dist/{FaceDetectionProvider-b_vt5ZT4.esm.js → FaceDetectionProvider-B5Gh2FuE.esm.js} +4 -4
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-Cb661uns.esm.js → apiError-C8O1YQQz.esm.js} +1 -1
  4. package/dist/authentication.d.ts +3 -3
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-BNRkS1Zu.esm.js → authenticationManager-BwpdWDp3.esm.js} +3 -3
  7. package/dist/{authenticationManager-CSw2PX46.d.ts → authenticationManager-CISxaY6N.d.ts} +1 -1
  8. package/dist/{authenticationStateMachine-y2MLp4iJ.esm.js → authenticationStateMachine-DtDpwmao.esm.js} +2 -2
  9. package/dist/curp-validation.d.ts +1 -1
  10. package/dist/{curpValidationManager-Bl_abHHe.d.ts → curpValidationManager-DEqTUWdu.d.ts} +1 -1
  11. package/dist/{deepsightLoader-0-Bhq49u.esm.js → deepsightLoader-Csyt4jPF.esm.js} +3 -3
  12. package/dist/document-capture.d.ts +1 -1
  13. package/dist/{documentCaptureManager-DDfviFg0.d.ts → documentCaptureManager-CD5iQiUI.d.ts} +1 -1
  14. package/dist/dynamic-forms.esm.js +2 -2
  15. package/dist/{dynamicFormsManager-CMDCOOqH.esm.js → dynamicFormsManager-fw7YKYAK.esm.js} +1 -1
  16. package/dist/{dynamicFormsStateMachine-B9b6U2JI.esm.js → dynamicFormsStateMachine-GqF6b9y0.esm.js} +1 -1
  17. package/dist/ekyb.d.ts +1 -1
  18. package/dist/ekyb.esm.js +2 -2
  19. package/dist/{ekybManager-wcqAiBqV.esm.js → ekybManager-CN6he-ca.esm.js} +1 -1
  20. package/dist/{ekybStateMachine-DTB27fqS.esm.js → ekybStateMachine-gzX_PBhQ.esm.js} +1 -1
  21. package/dist/ekyc-prefill.d.ts +3 -3
  22. package/dist/ekyc-prefill.esm.js +2 -2
  23. package/dist/ekyc.d.ts +2 -2
  24. package/dist/ekyc.esm.js +3 -3
  25. package/dist/{ekycManager-DawJq3Jo.esm.js → ekycManager-DWImUjyc.esm.js} +1 -1
  26. package/dist/{ekycManager-CERRvIfg.d.ts → ekycManager-q1fos6IY.d.ts} +1 -1
  27. package/dist/{ekycPrefillManager-C1gz82RG.esm.js → ekycPrefillManager-B4srcEtd.esm.js} +1 -1
  28. package/dist/{ekycPrefillManager-DHfC1T9s.d.ts → ekycPrefillManager-PPGVZbWk.d.ts} +2 -2
  29. package/dist/{ekycPrefillStateMachine-BPvPBvPK.esm.js → ekycPrefillStateMachine-DGWI1my7.esm.js} +1 -1
  30. package/dist/{ekycStateMachine-qvQ-b4IY.esm.js → ekycStateMachine-BKp9MOSi.esm.js} +17 -4
  31. package/dist/{ekycUtils-Drx8ImpN.esm.js → ekycUtils-Dcff8BOD.esm.js} +1 -0
  32. package/dist/electronic-signature.esm.js +1 -1
  33. package/dist/{electronicSignatureManager-DdHfiy22.esm.js → electronicSignatureManager-BOcZf3Yg.esm.js} +1 -1
  34. package/dist/extensibility.d.ts +12 -12
  35. package/dist/extensibility.esm.js +14 -14
  36. package/dist/face-match.d.ts +1 -1
  37. package/dist/face-match.esm.js +2 -2
  38. package/dist/{faceCaptureManagerFactory-BdR1bmcT.d.ts → faceCaptureManagerFactory-BVwVGa3z.d.ts} +3 -3
  39. package/dist/{faceCaptureManagerFactory-gPKjfBMM.esm.js → faceCaptureManagerFactory-QhwiqrBA.esm.js} +1 -1
  40. package/dist/{faceCaptureSetup-C7_FaPq5.esm.js → faceCaptureSetup-BE4oYUNB.esm.js} +3 -3
  41. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-BZtEw6bB.d.ts} +9 -3
  42. package/dist/{faceMatchManager-BEeI62Kj.esm.js → faceMatchManager-zh7sDK5F.esm.js} +1 -1
  43. package/dist/{faceMatchStateMachine-COI7C2jo.esm.js → faceMatchStateMachine-Cr_tM6JN.esm.js} +25 -11
  44. package/dist/{feature-management-DzpuC25Q.esm.js → feature-management-CG-A8Rnk.esm.js} +1 -1
  45. package/dist/feature-management.esm.js +1 -1
  46. package/dist/flow-events.d.ts +1 -1
  47. package/dist/flow.d.ts +6 -6
  48. package/dist/flow.esm.js +3 -3
  49. package/dist/{flowCompletionService-FxqQ3XFj.esm.js → flowCompletionService-DTQ5nXah.esm.js} +1 -1
  50. package/dist/{flowServices-Db_9jWR5.esm.js → flowServices-Dj7oii9a.esm.js} +5 -5
  51. package/dist/geolocation.esm.js +2 -2
  52. package/dist/{geolocationManager-DI8Sv9zr.esm.js → geolocationManager-ndqhvRmb.esm.js} +1 -1
  53. package/dist/{geolocationStateMachine-wjmTG1oJ.esm.js → geolocationStateMachine-z8geT5LC.esm.js} +1 -1
  54. package/dist/home.d.ts +1 -1
  55. package/dist/id-selfie-flow.d.ts +1 -1
  56. package/dist/id-selfie-flow.esm.js +6 -6
  57. package/dist/id.d.ts +2 -2
  58. package/dist/id.esm.js +3 -3
  59. package/dist/{idCaptureManager-Cygr_83O.d.ts → idCaptureManager-CG8zbAp0.d.ts} +2 -2
  60. package/dist/{idCaptureManager-DDQMfB1K.esm.js → idCaptureManager-CIA3YJeL.esm.js} +3 -3
  61. package/dist/{idCaptureServices-WmkvRrSW.esm.js → idCaptureServices-BqdsRzWr.esm.js} +2 -2
  62. package/dist/{idCaptureStateMachine-CTedyQBg.esm.js → idCaptureStateMachine-Bi-fd3EB.esm.js} +8 -8
  63. package/dist/{index-DmKadc6u.d.ts → index-CSPOoqah.d.ts} +1 -1
  64. package/dist/index.esm.js +1 -1
  65. package/dist/kyb-checks.esm.js +2 -2
  66. package/dist/{kybChecksManager-BrUxyoNl.esm.js → kybChecksManager-BBxFQlb0.esm.js} +1 -1
  67. package/dist/{kybChecksStateMachine-B_gDLdv7.esm.js → kybChecksStateMachine-CGMuga4j.esm.js} +1 -1
  68. package/dist/mandatory-consent.d.ts +2 -2
  69. package/dist/{mandatoryConsentManager-CIyBCp1I.d.ts → mandatoryConsentManager-_FkvjyE9.d.ts} +1 -1
  70. package/dist/qe-signature.esm.js +1 -1
  71. package/dist/{runChildModule-D2nNmOiQ.esm.js → runChildModule-CPnX9u4H.esm.js} +1 -1
  72. package/dist/{sdkVersion-GdFxZElB.esm.js → sdkVersion-D45da642.esm.js} +1 -1
  73. package/dist/selfie.d.ts +3 -3
  74. package/dist/selfie.esm.js +6 -6
  75. package/dist/{selfieErrorUtils-teUThWrR.esm.js → selfieErrorUtils--ZPDpXfo.esm.js} +1 -1
  76. package/dist/{selfieManager-CDYXDLdB.esm.js → selfieManager-BCJpZXUZ.esm.js} +3 -3
  77. package/dist/{selfieManager-DqfTAT17.d.ts → selfieManager-DREuBhXZ.d.ts} +1 -1
  78. package/dist/{selfieStateMachine-G4TjVu09.esm.js → selfieStateMachine-t5nw167a.esm.js} +3 -3
  79. package/dist/{session-Bw_orzaD.esm.js → session-Be3vFtmm.esm.js} +3 -3
  80. package/dist/session.d.ts +1 -1
  81. package/dist/session.esm.js +4 -4
  82. package/dist/{sessionInitializer-BDyRooq4.esm.js → sessionInitializer-DuFLbVc1.esm.js} +3 -3
  83. package/dist/{setup-DWdTSV3h.esm.js → setup-CB2cYhSl.esm.js} +4 -4
  84. package/dist/{trueSightService-Ct9gCSqX.esm.js → trueSightService-0my0ZCB1.esm.js} +1 -1
  85. package/dist/{types-D9vIGFbl.d.ts → types-B-PIc0en.d.ts} +1 -1
  86. package/dist/{types-f8iOj0SM.d.ts → types-BqlZSoZ-.d.ts} +1 -1
  87. package/dist/{types-Be2KxnwU.d.ts → types-Cbm9J2yF.d.ts} +1 -1
  88. package/dist/{types-Dh8OIo7M.d.ts → types-CgihAhT_.d.ts} +1 -1
  89. package/dist/{types-BaDx6utW.d.ts → types-DEa3taWc.d.ts} +4 -0
  90. package/dist/{types-CC3w33az.d.ts → types-P9LzsfRo.d.ts} +1 -1
  91. package/dist/{types-YVN-G32z.d.ts → types-TisHEbBg.d.ts} +4 -2
  92. package/dist/types-kLsU6Jkt.d.ts +6 -0
  93. package/dist/video-selfie.d.ts +1 -1
  94. package/dist/video-selfie.esm.js +3 -3
  95. package/dist/{videoSelfieCameraWarmer-B_Dz0gfY.esm.js → videoSelfieCameraWarmer-D6NgWS5t.esm.js} +3 -3
  96. package/dist/{videoSelfieStepDetector-sYEvCsOH.d.ts → videoSelfieStepDetector-4XE2QI5q.d.ts} +2 -2
  97. package/dist/wasm.esm.js +1 -1
  98. package/dist/workflow.d.ts +1 -1
  99. package/dist/workflow.esm.js +18 -18
  100. package/package.json +3 -3
  101. package/dist/types-CErj_teU.d.ts +0 -6
@@ -83,7 +83,13 @@ type FaceMatchResult = {
83
83
  * `WARN` score).
84
84
  */
85
85
  matched: boolean | null;
86
- /** @deprecated Always `null`. */
86
+ /**
87
+ * Whether the liveness check passed, from `/omni/get/score`: the Deepsight
88
+ * multimodal status, or else the liveness status. `null` when the module
89
+ * did not read the score (score retrieval is blocked, or the match result
90
+ * came from `config.matched` or an earlier selfie capture) or the score has
91
+ * no liveness status.
92
+ */
87
93
  liveness: boolean | null;
88
94
  };
89
95
  //#endregion
@@ -117,7 +123,7 @@ type FaceMatchAnimatingState = {
117
123
  };
118
124
  result: {
119
125
  matched: boolean | null;
120
- /** @deprecated Always `null`. */
126
+ /** Liveness result, or `null` when unavailable. See `FaceMatchResult`. */
121
127
  liveness: boolean | null;
122
128
  };
123
129
  };
@@ -136,7 +142,7 @@ type FaceMatchResultState = {
136
142
  };
137
143
  result: {
138
144
  matched: boolean | null;
139
- /** @deprecated Always `null`. */
145
+ /** Liveness result, or `null` when unavailable. See `FaceMatchResult`. */
140
146
  liveness: boolean | null;
141
147
  };
142
148
  matched: boolean | null;
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as faceMatchMachine } from "./faceMatchStateMachine-COI7C2jo.esm.js";
3
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-Cr_tM6JN.esm.js";
4
4
  //#region src/modules/face-match/faceMatchActor.ts
5
5
  function createFaceMatchActor(options) {
6
6
  return createActor(faceMatchMachine, { input: { config: options.config } }).start();
@@ -54,15 +54,25 @@ async function fetchSecondIdImages(signal) {
54
54
  return { secondIdFace: /^(?:data:|https?:\/\/|blob:)/i.test(image) ? image : `data:image/png;base64,${image}` };
55
55
  }
56
56
  /**
57
- * Reads the selected document's face recognition result from `/omni/get/score`
58
- * when its processing response omits `success`.
57
+ * Reads the selected document's face recognition result and the liveness
58
+ * result from `/omni/get/score`. Used only when the processing response omits
59
+ * `success`, which means the API key allows score retrieval.
60
+ *
61
+ * The match is `faceRecognitionSecondId` for `secondId` and `faceRecognition`
62
+ * otherwise. Liveness is the Deepsight multimodal status when the score has
63
+ * one, else the liveness status (the fields SDK 1 reads). `OK` passes, `WARN`
64
+ * and `FAIL` fail, and a score with neither status gives `null`.
59
65
  */
60
- async function fetchScoreMatched(matchingType, signal) {
66
+ async function fetchScore(matchingType, signal) {
61
67
  const res = await api.get(endpoints.getScore, { signal });
62
68
  if (!res.ok) throw new Error(`GET ${endpoints.getScore} failed: ${res.status} ${res.statusText}`);
63
69
  const data = res.data;
64
- const status = (matchingType === "secondId" ? data.faceRecognitionSecondId : data.faceRecognition)?.overall?.status;
65
- return status === "OK" ? true : status === "FAIL" ? false : null;
70
+ const matchStatus = (matchingType === "secondId" ? data.faceRecognitionSecondId : data.faceRecognition)?.overall?.status;
71
+ const livenessStatus = data.deepsight?.multimodalIntelligence?.overall?.status ?? data.liveness?.overall?.status;
72
+ return {
73
+ matched: matchStatus === "OK" ? true : matchStatus === "FAIL" ? false : null,
74
+ liveness: livenessStatus ? livenessStatus === "OK" : null
75
+ };
66
76
  }
67
77
  /**
68
78
  * Runs server-side face matching for the captured selfie and returns the match
@@ -98,24 +108,28 @@ async function processFaceForMatch(matchingType, signal) {
98
108
  * capture in this session, skips the call. The second ID
99
109
  * always runs its own call, because the selfie matches only against the
100
110
  * primary ID.
111
+ *
112
+ * Liveness comes only from `/omni/get/score`, so it is `null` whenever the
113
+ * match result comes from `success`, `config.matched` or the saved selfie
114
+ * result.
101
115
  */
102
116
  async function fetchFaceMatchData(config, signal) {
103
117
  const isSecondId = config.matchingType === "secondId";
104
118
  const fromProcessFace = (isSecondId ? null : config.matched ?? getProcessFaceMatch()) ?? await processFaceForMatch(config.matchingType, signal);
105
- const [imagesRes, secondIdRes, matched] = await Promise.all([
119
+ const [imagesRes, secondIdRes, result] = await Promise.all([
106
120
  fetchFaceMatchImages(signal),
107
121
  isSecondId ? fetchSecondIdImages(signal) : void 0,
108
- fromProcessFace ?? fetchScoreMatched(config.matchingType, signal)
122
+ fromProcessFace === null ? fetchScore(config.matchingType, signal) : {
123
+ matched: fromProcessFace,
124
+ liveness: null
125
+ }
109
126
  ]);
110
127
  return {
111
128
  images: {
112
129
  ...imagesRes,
113
130
  secondIdFace: secondIdRes?.secondIdFace ?? null
114
131
  },
115
- result: {
116
- matched,
117
- liveness: null
118
- }
132
+ result
119
133
  };
120
134
  }
121
135
  //#endregion
@@ -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-GdFxZElB.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-D45da642.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-DzpuC25Q.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-CG-A8Rnk.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 };
@@ -1,2 +1,2 @@
1
- import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-DmKadc6u.js";
1
+ import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-CSPOoqah.js";
2
2
  export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
package/dist/flow.d.ts CHANGED
@@ -2,18 +2,18 @@ import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
2
2
  import { A as StateMachine, _ as MachineContext, c as AnyEventObject, l as AnyStateMachine, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
3
3
  import { t as Manager } from "./Manager-C9T5amUN.js";
4
4
  import { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
5
- import { t as EkycConfig } from "./types-BaDx6utW.js";
6
- import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-YVN-G32z.js";
7
- import { t as AuthenticationConfig } from "./types-CErj_teU.js";
5
+ import { t as EkycConfig } from "./types-DEa3taWc.js";
6
+ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-TisHEbBg.js";
7
+ import { t as AuthenticationConfig } from "./types-kLsU6Jkt.js";
8
8
  import { r as DocumentCaptureConfig } from "./types-CyNndVAT.js";
9
9
  import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
10
10
  import { t as EkybConfig } from "./types-BgRHw-dR.js";
11
- import { u as IdCaptureConfig } from "./types-f8iOj0SM.js";
12
- import { r as MandatoryConsentConfig } from "./types-CC3w33az.js";
11
+ import { u as IdCaptureConfig } from "./types-BqlZSoZ-.js";
12
+ import { r as MandatoryConsentConfig } from "./types-P9LzsfRo.js";
13
13
  import { t as IdOcrConfig } from "./types-Bpo97EOh.js";
14
14
  import { t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
15
15
  import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
16
- import { o as FlowEventSubscribable } from "./index-DmKadc6u.js";
16
+ import { o as FlowEventSubscribable } from "./index-CSPOoqah.js";
17
17
  import { n as ModuleRegistry } from "./types-BQA7lRDV.js";
18
18
  //#region src/modules/flow/orchestratedFlowStateMachine.d.ts
19
19
  type GetFlowFn = (signal: AbortSignal) => Promise<Flow>;
package/dist/flow.esm.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { y as addEvent } from "./events-kU5WJU4B.esm.js";
2
2
  import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
3
- import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig, g as mergeDashboardConfig, h as applyModulesConfig, l as loadFlowConfigConverters, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as normalizeFlowModules } from "./flowServices-Db_9jWR5.esm.js";
3
+ import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig, g as mergeDashboardConfig, h as applyModulesConfig, l as loadFlowConfigConverters, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as normalizeFlowModules } from "./flowServices-Dj7oii9a.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-FxqQ3XFj.esm.js";
7
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-D2nNmOiQ.esm.js";
6
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DTQ5nXah.esm.js";
7
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CPnX9u4H.esm.js";
8
8
  import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.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-C_P9YXbL.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-Cb661uns.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-C8O1YQQz.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-BZOMg303.esm.js";
2
2
  import { r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
3
- import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-BDyRooq4.esm.js";
4
- import { E as updateFeatureManagementUser } from "./feature-management-DzpuC25Q.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-Cb661uns.esm.js";
6
- import "./session-Bw_orzaD.esm.js";
3
+ import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-DuFLbVc1.esm.js";
4
+ import { E as updateFeatureManagementUser } from "./feature-management-CG-A8Rnk.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-C8O1YQQz.esm.js";
6
+ import "./session-Be3vFtmm.esm.js";
7
7
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
8
8
  import { a as prefetchStartInfo } from "./phoneServices-Crge7uSV.esm.js";
9
9
  //#region src/modules/flow/dashboardConfig.ts
@@ -114,7 +114,7 @@ let configConverters;
114
114
  async function loadFlowConfigConverters(flow) {
115
115
  const needed = flow.flowModules.some((module) => module.key === "EXTERNAL_VERIFICATION" || module.key === "EKYB");
116
116
  if (configConverters || !needed) return;
117
- const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-Drx8ImpN.esm.js").then((n) => n.n), import("./ekybUtils-Cw8Ta9Qi.esm.js").then((n) => n.t)]);
117
+ const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-Dcff8BOD.esm.js").then((n) => n.n), import("./ekybUtils-Cw8Ta9Qi.esm.js").then((n) => n.t)]);
118
118
  configConverters = {
119
119
  toEkycConfig: ekyc.toEkycConfig,
120
120
  toEkybConfig: ekyb.toEkybConfig
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-DI8Sv9zr.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-wjmTG1oJ.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-ndqhvRmb.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-z8geT5LC.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-wjmTG1oJ.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-z8geT5LC.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-C_P9YXbL.esm.js";
2
2
  import { a as isIOS, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
3
- import { n as isConnectivityError } from "./apiError-Cb661uns.esm.js";
3
+ import { n as isConnectivityError } from "./apiError-C8O1YQQz.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-BaAXPR_w.esm.js";
package/dist/home.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { A as StateMachine, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
2
  import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import { t as EmptyConfig } from "./types-YVN-G32z.js";
3
+ import { t as EmptyConfig } from "./types-TisHEbBg.js";
4
4
  //#region src/modules/home/types.d.ts
5
5
  type HomeConfig = EmptyConfig;
6
6
  //#endregion
@@ -4,7 +4,7 @@ import "./Actor-DpTj5PFb.js";
4
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
5
5
  import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
6
6
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
7
- import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, t as StepDetector } from "./videoSelfieStepDetector-sYEvCsOH.js";
7
+ import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, t as StepDetector } from "./videoSelfieStepDetector-4XE2QI5q.js";
8
8
  //#region src/modules/id-selfie-flow/types.d.ts
9
9
  /**
10
10
  * The capture steps an ID + Selfie flow session can run, in flow order. A
@@ -1,17 +1,17 @@
1
- import { t as ensureWasmPipelines } from "./setup-DWdTSV3h.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-CB2cYhSl.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-E_cX5CfH.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-Db_9jWR5.esm.js";
4
+ import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-Dj7oii9a.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 uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-b_vt5ZT4.esm.js";
7
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-B5Gh2FuE.esm.js";
8
8
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.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-DsNwIZg5.esm.js";
11
- import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-WmkvRrSW.esm.js";
11
+ import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-BqdsRzWr.esm.js";
12
12
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-FxqQ3XFj.esm.js";
14
- import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-B_Dz0gfY.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-DTQ5nXah.esm.js";
14
+ import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-D6NgWS5t.esm.js";
15
15
  import { t as CameraCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
16
16
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
17
  /** Default autocapture window for the selfie step. */
package/dist/id.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
3
- import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-Cygr_83O.js";
3
+ import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-CG8zbAp0.js";
4
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
5
5
  import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
6
- import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-f8iOj0SM.js";
6
+ import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BqlZSoZ-.js";
7
7
  //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
8
  /**
9
9
  * Fail reason → i18n key for the device-wallet error screen (same shape as
package/dist/id.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-CTedyQBg.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DDQMfB1K.esm.js";
3
- import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-WmkvRrSW.esm.js";
1
+ import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-Bi-fd3EB.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CIA3YJeL.esm.js";
3
+ import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-BqdsRzWr.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
@@ -4,14 +4,14 @@ import "./Actor-DpTj5PFb.js";
4
4
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
5
5
  import "./index-DpTj5PFb.js";
6
6
  import "./createFaceAvatar-BimBTONm.js";
7
- import { a as RegulationTypes } from "./types-YVN-G32z.js";
7
+ import { a as RegulationTypes } from "./types-TisHEbBg.js";
8
8
  import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, t as FingerprintSignalType } from "./IWasmUtilCapability-BRn0wz8v.js";
9
9
  import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
10
10
  import { t as BaseWasmProvider } from "./BaseWasmProvider-bBNquvYn.js";
11
11
  import { n as DeepsightService } from "./StreamCanvasCapture-ixfy84ys.js";
12
12
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
13
13
  import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
14
- import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-f8iOj0SM.js";
14
+ import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-BqlZSoZ-.js";
15
15
  //#region src/internal/http/endpoints.d.ts
16
16
  /**
17
17
  * Backend `CaptureType` for the `captureType` query param on `add/front-id`,
@@ -1,4 +1,4 @@
1
- import { u as BrowserStorageProvider } from "./setup-DWdTSV3h.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CB2cYhSl.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
3
3
  import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
4
4
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
@@ -9,8 +9,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-5NLoQaLV.esm.js";
9
9
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
10
  import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DjgmqZ3B.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
12
- import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-CTedyQBg.esm.js";
13
- import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-WmkvRrSW.esm.js";
12
+ import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-Bi-fd3EB.esm.js";
13
+ import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-BqdsRzWr.esm.js";
14
14
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BkvXSZfa.esm.js";
15
15
  //#region src/modules/id/digitalUpload/instrumentation.ts
16
16
  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-DWdTSV3h.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-CB2cYhSl.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
3
- import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DzpuC25Q.esm.js";
3
+ import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CG-A8Rnk.esm.js";
4
4
  import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
5
5
  import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
@@ -1,15 +1,15 @@
1
1
  import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-DWdTSV3h.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-CB2cYhSl.esm.js";
3
3
  import { t as WasmUtilProvider } from "./WasmUtilProvider-E_cX5CfH.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-kU5WJU4B.esm.js";
5
5
  import { r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
6
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-Ct9gCSqX.esm.js";
7
- import { n as getDisableIpify } from "./sessionInitializer-BDyRooq4.esm.js";
6
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-0my0ZCB1.esm.js";
7
+ import { n as getDisableIpify } from "./sessionInitializer-DuFLbVc1.esm.js";
8
8
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
9
- import { s as exposeExperimentOnce } from "./feature-management-DzpuC25Q.esm.js";
9
+ import { s as exposeExperimentOnce } from "./feature-management-CG-A8Rnk.esm.js";
10
10
  import { t as addDeviceStats } from "./stats-Bv5PiWvo.esm.js";
11
11
  import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
12
- import "./session-Bw_orzaD.esm.js";
12
+ import "./session-Be3vFtmm.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";
@@ -26,7 +26,7 @@ import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
26
26
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
27
27
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
28
28
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DsNwIZg5.esm.js";
29
- import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-WmkvRrSW.esm.js";
29
+ import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-BqdsRzWr.esm.js";
30
30
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
31
31
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
32
32
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
@@ -2044,7 +2044,7 @@ fromPromise(async ({ input }) => {
2044
2044
  });
2045
2045
  fromPromise(async ({ input }) => {
2046
2046
  if (!input.dependencies) return;
2047
- const { loadDeepsightSession } = await import("./deepsightLoader-0-Bhq49u.esm.js");
2047
+ const { loadDeepsightSession } = await import("./deepsightLoader-Csyt4jPF.esm.js");
2048
2048
  return loadDeepsightSession({
2049
2049
  ds: input.ds,
2050
2050
  storage: input.dependencies.storage,
@@ -2487,7 +2487,7 @@ function cleanup(service) {
2487
2487
  service.cleanup();
2488
2488
  } catch {}
2489
2489
  }
2490
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-0-Bhq49u.esm.js")).loadDeepsightSession(input)) {
2490
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Csyt4jPF.esm.js")).loadDeepsightSession(input)) {
2491
2491
  let disposed = false;
2492
2492
  let preparation;
2493
2493
  let service;
@@ -1,5 +1,5 @@
1
1
  import "./Manager-C9T5amUN.js";
2
- import { n as Flow } from "./types-YVN-G32z.js";
2
+ import { n as Flow } from "./types-TisHEbBg.js";
3
3
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
4
4
  //#region src/internal/flow-events/flowEvents.d.ts
5
5
  type FlowStartedEvent = {
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-DWdTSV3h.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-CB2cYhSl.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
- import { t as kybChecksMachine } from "./kybChecksStateMachine-B_gDLdv7.esm.js";
2
- import { t as createKybChecksManager } from "./kybChecksManager-BrUxyoNl.esm.js";
1
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-CGMuga4j.esm.js";
2
+ import { t as createKybChecksManager } from "./kybChecksManager-BBxFQlb0.esm.js";
3
3
  export { createKybChecksManager, kybChecksMachine };
@@ -1,5 +1,5 @@
1
1
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
2
- import { t as kybChecksMachine } from "./kybChecksStateMachine-B_gDLdv7.esm.js";
2
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-CGMuga4j.esm.js";
3
3
  //#region src/modules/kyb-checks/kybChecksActor.ts
4
4
  /** Creates and starts a KYB Checks actor, idle until `LOAD`. */
5
5
  function createKybChecksActor(options = {}) {
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
2
- import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-Cb661uns.esm.js";
2
+ import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-C8O1YQQz.esm.js";
3
3
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.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";
@@ -1,3 +1,3 @@
1
- import { r as MandatoryConsentConfig } from "./types-CC3w33az.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CIyBCp1I.js";
1
+ import { r as MandatoryConsentConfig } from "./types-P9LzsfRo.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-_FkvjyE9.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,7 +1,7 @@
1
1
  import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
2
  import { t as Manager } from "./Manager-C9T5amUN.js";
3
3
  import "./Actor-DpTj5PFb.js";
4
- import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-CC3w33az.js";
4
+ import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-P9LzsfRo.js";
5
5
  //#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
6
6
  type MandatoryConsentContext = {
7
7
  config: MandatoryConsentConfig;
@@ -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-DdHfiy22.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-BOcZf3Yg.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 { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { w as createEventBus } from "./events-kU5WJU4B.esm.js";
3
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Ct9gCSqX.esm.js";
3
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-0my0ZCB1.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-20261110-506efd45";
2
+ const SDK_VERSION = "0.0.0-dev-20261111-5e09dbf0";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
package/dist/selfie.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
- import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-BdR1bmcT.js";
2
+ import { _ as SelfieCaptureOnlyConfig, a as SelfieCaptureOnlyMachine, c as SelfieActor, g as processFace, h as ProcessFaceResponse, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, v as SelfieConfig } from "./faceCaptureManagerFactory-BVwVGa3z.js";
3
3
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
4
- import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-Dh8OIo7M.js";
4
+ import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-CgihAhT_.js";
5
5
  import { n as DeepsightService } from "./StreamCanvasCapture-ixfy84ys.js";
6
6
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
- import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-DqfTAT17.js";
7
+ import { i as createSelfieManagerFromActor, n as SelfieState, r as createSelfieManager, t as SelfieManager } from "./selfieManager-DREuBhXZ.js";
8
8
  //#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
9
9
  type SelfieCaptureOnlyState = FaceCaptureManagerState;
10
10
  type SelfieCaptureOnlyManager = FaceCaptureManager;
@@ -1,14 +1,14 @@
1
- import { u as BrowserStorageProvider } from "./setup-DWdTSV3h.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CB2cYhSl.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-E_cX5CfH.esm.js";
3
3
  import { n as eventModuleNames } from "./events-kU5WJU4B.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-C7_FaPq5.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-gPKjfBMM.esm.js";
8
- import { s as processFace } from "./FaceDetectionProvider-b_vt5ZT4.esm.js";
6
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BE4oYUNB.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-QhwiqrBA.esm.js";
8
+ import { s as processFace } from "./FaceDetectionProvider-B5Gh2FuE.esm.js";
9
9
  import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-DQMAa0h0.esm.js";
10
- import { t as selfieMachine } from "./selfieStateMachine-G4TjVu09.esm.js";
11
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CDYXDLdB.esm.js";
10
+ import { t as selfieMachine } from "./selfieStateMachine-t5nw167a.esm.js";
11
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BCJpZXUZ.esm.js";
12
12
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BkvXSZfa.esm.js";
13
13
  /**
14
14
  * Selfie state machine variant for the captureOnly flow. Shares the full base
@@ -1,4 +1,4 @@
1
- import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-b_vt5ZT4.esm.js";
1
+ import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-B5Gh2FuE.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-DWdTSV3h.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CB2cYhSl.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-E_cX5CfH.esm.js";
3
3
  import { n as eventModuleNames } from "./events-kU5WJU4B.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-gPKjfBMM.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-G4TjVu09.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-QhwiqrBA.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-t5nw167a.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-C9T5amUN.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-BdR1bmcT.js";
3
+ import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-BVwVGa3z.js";
4
4
  //#region src/modules/selfie/selfieManager.d.ts
5
5
  type SelfieState = FaceCaptureManagerState;
6
6
  /**
@@ -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-C7_FaPq5.esm.js";
4
- import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-b_vt5ZT4.esm.js";
5
- import { n as validateUploadResponse } from "./selfieErrorUtils-teUThWrR.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BE4oYUNB.esm.js";
4
+ import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-B5Gh2FuE.esm.js";
5
+ import { n as validateUploadResponse } from "./selfieErrorUtils--ZPDpXfo.esm.js";
6
6
  /**
7
7
  * The selfie capture state machine.
8
8
  *