@incodetech/core 0.0.0-dev-20261113-2a2af83d → 0.0.0-dev-20261113-bf9cecf5

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 (71) hide show
  1. package/dist/{FaceDetectionProvider-Tqzj1kmD.esm.js → FaceDetectionProvider-BHFMKlVk.esm.js} +4 -4
  2. package/dist/{addressSearch-D55PKLQZ.esm.js → addressSearch-Rxm1K67A.esm.js} +3 -2
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-naUKa-Ct.esm.js → apiError-BGLJwanM.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-CxwumxtB.esm.js → authenticationManager-Dw8QnjmA.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-BOLETrRC.esm.js → authenticationStateMachine-DPxh4vOu.esm.js} +2 -2
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-vI6QHkHU.d.ts → consentManager-B2F_VeAo.d.ts} +5 -5
  10. package/dist/{deepsightLoader-Cfo2XAbT.esm.js → deepsightLoader-2dUuR62h.esm.js} +3 -3
  11. package/dist/dynamic-forms.esm.js +2 -2
  12. package/dist/{dynamicFormsManager-Cqin1QsX.esm.js → dynamicFormsManager-x1-nyxYL.esm.js} +1 -1
  13. package/dist/{dynamicFormsStateMachine-rL4EYaz9.esm.js → dynamicFormsStateMachine-C5qxUfFI.esm.js} +1 -1
  14. package/dist/ekyb.esm.js +2 -2
  15. package/dist/{ekybManager-BrzyUp8J.esm.js → ekybManager-DKnI7tVY.esm.js} +1 -1
  16. package/dist/{ekybStateMachine-BUihWoBj.esm.js → ekybStateMachine-CBq9G3-f.esm.js} +8 -5
  17. package/dist/ekyc-prefill.esm.js +2 -2
  18. package/dist/ekyc.esm.js +3 -3
  19. package/dist/{ekycManager-BojVwTr3.esm.js → ekycManager-BWOKhg0A.esm.js} +1 -1
  20. package/dist/{ekycPrefillManager-DRt0QUgb.esm.js → ekycPrefillManager-BnKbAmJu.esm.js} +1 -1
  21. package/dist/{ekycPrefillStateMachine-DPIcRuRW.esm.js → ekycPrefillStateMachine-Cdpa9saV.esm.js} +5 -4
  22. package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-B0OocyvM.esm.js} +1 -1
  23. package/dist/{ekycStateMachine-BQCS2Ycg.esm.js → ekycStateMachine-C--4YSib.esm.js} +20 -11
  24. package/dist/{ekycUtils-Dcff8BOD.esm.js → ekycUtils-Cp9M-bBI.esm.js} +39 -43
  25. package/dist/electronic-signature.esm.js +1 -1
  26. package/dist/{electronicSignatureManager-2Rpu7MVt.esm.js → electronicSignatureManager-DVp6ECFq.esm.js} +1 -1
  27. package/dist/extensibility.d.ts +4 -4
  28. package/dist/extensibility.esm.js +13 -13
  29. package/dist/{faceCaptureManagerFactory-BLLvaMFY.esm.js → faceCaptureManagerFactory-DMahCXTd.esm.js} +1 -1
  30. package/dist/{faceCaptureSetup-CnqkHMOr.esm.js → faceCaptureSetup-DHff9_Se.esm.js} +3 -3
  31. package/dist/{feature-management-BcQ9vTT7.esm.js → feature-management-BWe9w7OO.esm.js} +1 -1
  32. package/dist/feature-management.esm.js +1 -1
  33. package/dist/flow.esm.js +3 -3
  34. package/dist/{flowCompletionService-D6moFRza.esm.js → flowCompletionService-CVOmSB_k.esm.js} +1 -1
  35. package/dist/{flowServices-CJCHQxCF.esm.js → flowServices-CHl7r36s.esm.js} +5 -5
  36. package/dist/geolocation.esm.js +2 -2
  37. package/dist/{geolocationManager-BrkIxqSS.esm.js → geolocationManager-DNAsvMfT.esm.js} +1 -1
  38. package/dist/{geolocationStateMachine-BQAX12Rn.esm.js → geolocationStateMachine-v9D_i1R8.esm.js} +1 -1
  39. package/dist/id-ocr.d.ts +1 -1
  40. package/dist/id-selfie-flow.esm.js +6 -6
  41. package/dist/id.esm.js +3 -3
  42. package/dist/{idCaptureManager-D3EJhevJ.esm.js → idCaptureManager-B36SF0YJ.esm.js} +3 -3
  43. package/dist/{idCaptureServices-DgJv_HM2.esm.js → idCaptureServices-BZsDmLhR.esm.js} +2 -2
  44. package/dist/{idCaptureStateMachine-yAstRQw_.esm.js → idCaptureStateMachine-lN-li29n.esm.js} +8 -8
  45. package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
  46. package/dist/identity-reuse.d.ts +1 -1
  47. package/dist/{identityReuseManager-C40ngKeM.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +4 -4
  48. package/dist/index.esm.js +1 -1
  49. package/dist/kyb-checks.esm.js +2 -2
  50. package/dist/{kybChecksManager-DAYfc5k5.esm.js → kybChecksManager-D4t6I1BS.esm.js} +1 -1
  51. package/dist/{kybChecksStateMachine-BR7XGqHO.esm.js → kybChecksStateMachine-CALDE3Do.esm.js} +4 -3
  52. package/dist/mandatory-consent.d.ts +1 -1
  53. package/dist/{mandatoryConsentManager-8Fmb0REm.d.ts → mandatoryConsentManager-DgNuWWQw.d.ts} +5 -5
  54. package/dist/qe-signature.esm.js +1 -1
  55. package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
  56. package/dist/{runChildModule-D_TSUFtt.esm.js → runChildModule-BgqPX7O_.esm.js} +1 -1
  57. package/dist/{sdkVersion-BqmwjASn.esm.js → sdkVersion-CI7AVv52.esm.js} +1 -1
  58. package/dist/selfie.esm.js +6 -6
  59. package/dist/{selfieErrorUtils-CNzzxWiH.esm.js → selfieErrorUtils-CPjCnfAs.esm.js} +1 -1
  60. package/dist/{selfieManager-Cq0eakl9.esm.js → selfieManager-2_4e6flX.esm.js} +3 -3
  61. package/dist/{selfieStateMachine-C2rAcYHc.esm.js → selfieStateMachine-sHHpgUAE.esm.js} +3 -3
  62. package/dist/{session-Bswbl4Cb.esm.js → session-DTKWnoo3.esm.js} +3 -3
  63. package/dist/session.esm.js +4 -4
  64. package/dist/{sessionInitializer-DYoxtIOt.esm.js → sessionInitializer-DRIZt0ov.esm.js} +3 -3
  65. package/dist/{setup-Bg7wz9PU.esm.js → setup-CZPaluvp.esm.js} +4 -4
  66. package/dist/{trueSightService-DCyoLHfz.esm.js → trueSightService-DbFQftw_.esm.js} +1 -1
  67. package/dist/video-selfie.esm.js +3 -3
  68. package/dist/{videoSelfieCameraWarmer-BrzTLFY2.esm.js → videoSelfieCameraWarmer-9yMgpC3E.esm.js} +3 -3
  69. package/dist/wasm.esm.js +1 -1
  70. package/dist/workflow.esm.js +17 -17
  71. package/package.json +1 -1
@@ -1,14 +1,14 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { r as getToken } from "./api-CZpuJuZl.esm.js";
3
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DCyoLHfz.esm.js";
4
- import "./sessionInitializer-DYoxtIOt.esm.js";
3
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DbFQftw_.esm.js";
4
+ import "./sessionInitializer-DRIZt0ov.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
6
6
  import { c as isIPhone14OrHigher } from "./platform-aPh7gTWh.esm.js";
7
7
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
9
9
  import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
10
10
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DFJlH7K3.esm.js";
11
- import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Tqzj1kmD.esm.js";
11
+ import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BHFMKlVk.esm.js";
12
12
  import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-BKFjsQpO.esm.js";
13
13
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
14
14
  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-BqmwjASn.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-CI7AVv52.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-BcQ9vTT7.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-BWe9w7OO.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,12 +1,12 @@
1
1
  import { g as screenOpened, m as screenClosed, v as addEvent } from "./types-DYYMdAGv.esm.js";
2
2
  import "./events-CP3yOzAl.esm.js";
3
3
  import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
4
- import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-CJCHQxCF.esm.js";
4
+ import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-CHl7r36s.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
- import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-D6moFRza.esm.js";
9
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-D_TSUFtt.esm.js";
8
+ import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-CVOmSB_k.esm.js";
9
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BgqPX7O_.esm.js";
10
10
  import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
11
11
  //#region src/modules/flow/noOpFlowModuleMachine.ts
12
12
  const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-naUKa-Ct.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-BGLJwanM.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,10 +1,10 @@
1
1
  import { r as getWasmStatus } from "./warmup-BZOMg303.esm.js";
2
2
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
3
3
  import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
4
- import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-DYoxtIOt.esm.js";
5
- import { E as updateFeatureManagementUser } from "./feature-management-BcQ9vTT7.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-naUKa-Ct.esm.js";
7
- import "./session-Bswbl4Cb.esm.js";
4
+ import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-DRIZt0ov.esm.js";
5
+ import { E as updateFeatureManagementUser } from "./feature-management-BWe9w7OO.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-BGLJwanM.esm.js";
7
+ import "./session-DTKWnoo3.esm.js";
8
8
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
9
9
  import { a as prefetchStartInfo } from "./phoneServices-CFXcwCFr.esm.js";
10
10
  //#region src/modules/flow/dashboardConfig.ts
@@ -254,7 +254,7 @@ let configConverters;
254
254
  async function loadFlowConfigConverters(flow) {
255
255
  const needed = flow.flowModules.some((module) => module.key === "EXTERNAL_VERIFICATION" || module.key === "EKYB");
256
256
  if (configConverters || !needed) return;
257
- const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-Dcff8BOD.esm.js").then((n) => n.n), import("./ekybUtils-Cw8Ta9Qi.esm.js").then((n) => n.t)]);
257
+ const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-Cp9M-bBI.esm.js").then((n) => n.n), import("./ekybUtils-Cw8Ta9Qi.esm.js").then((n) => n.t)]);
258
258
  configConverters = {
259
259
  toEkycConfig: ekyc.toEkycConfig,
260
260
  toEkybConfig: ekyb.toEkybConfig
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-BrkIxqSS.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-BQAX12Rn.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-DNAsvMfT.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-v9D_i1R8.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
2
  import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { t as geolocationMachine } from "./geolocationStateMachine-BQAX12Rn.esm.js";
5
+ import { t as geolocationMachine } from "./geolocationStateMachine-v9D_i1R8.esm.js";
6
6
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
7
7
  var BrowserGeolocationProvider = class {
8
8
  getCurrentPosition() {
@@ -1,6 +1,6 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
2
  import { a as isIOS, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
3
- import { n as isConnectivityError } from "./apiError-naUKa-Ct.esm.js";
3
+ import { n as isConnectivityError } from "./apiError-BGLJwanM.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
6
  import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
package/dist/id-ocr.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-Bpo97EOh.js";
2
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-DflRx-_u.js";
2
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-C0C7lFGd.js";
3
3
  //#region src/modules/id-ocr/idOcrFields.d.ts
4
4
  declare const OCR_FIELDS: OcrFieldConfig[];
5
5
  declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
@@ -1,18 +1,18 @@
1
- import { t as ensureWasmPipelines } from "./setup-Bg7wz9PU.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-CZPaluvp.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-CJCHQxCF.esm.js";
4
+ import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-CHl7r36s.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
- import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-Tqzj1kmD.esm.js";
8
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-BHFMKlVk.esm.js";
9
9
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
10
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Drh207VJ.esm.js";
12
- import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-DgJv_HM2.esm.js";
12
+ import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-BZsDmLhR.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
14
- import { r as getFinishStatus } from "./flowCompletionService-D6moFRza.esm.js";
15
- import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BrzTLFY2.esm.js";
14
+ import { r as getFinishStatus } from "./flowCompletionService-CVOmSB_k.esm.js";
15
+ import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-9yMgpC3E.esm.js";
16
16
  import { t as CameraCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
17
17
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
18
18
  /** Default autocapture window for the selfie step. */
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-yAstRQw_.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-D3EJhevJ.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-DgJv_HM2.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-lN-li29n.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B36SF0YJ.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-BZsDmLhR.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-Bg7wz9PU.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CZPaluvp.esm.js";
2
2
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
3
3
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
4
4
  import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
@@ -11,8 +11,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DPK7qGgo.esm.js";
11
11
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
12
12
  import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DFJlH7K3.esm.js";
13
13
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
14
- 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-yAstRQw_.esm.js";
15
- import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-DgJv_HM2.esm.js";
14
+ 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-lN-li29n.esm.js";
15
+ import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-BZsDmLhR.esm.js";
16
16
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-lXP41N7b.esm.js";
17
17
  //#region src/modules/id/digitalUpload/instrumentation.ts
18
18
  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-Bg7wz9PU.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-CZPaluvp.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
- import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-BcQ9vTT7.esm.js";
3
+ import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-BWe9w7OO.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,16 +1,16 @@
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-Bg7wz9PU.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-CZPaluvp.esm.js";
3
3
  import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
4
4
  import { n as eventModuleNames, v as addEvent } from "./types-DYYMdAGv.esm.js";
5
5
  import { r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
6
6
  import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
7
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DCyoLHfz.esm.js";
8
- import { n as getDisableIpify } from "./sessionInitializer-DYoxtIOt.esm.js";
7
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-DbFQftw_.esm.js";
8
+ import { n as getDisableIpify } from "./sessionInitializer-DRIZt0ov.esm.js";
9
9
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
10
- import { s as exposeExperimentOnce } from "./feature-management-BcQ9vTT7.esm.js";
10
+ import { s as exposeExperimentOnce } from "./feature-management-BWe9w7OO.esm.js";
11
11
  import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
12
12
  import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
13
- import "./session-Bswbl4Cb.esm.js";
13
+ import "./session-DTKWnoo3.esm.js";
14
14
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
15
15
  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 } from "./xstate.esm-CIqUf_i6.esm.js";
16
16
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -28,7 +28,7 @@ import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
28
28
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
29
29
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
30
30
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Drh207VJ.esm.js";
31
- 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-DgJv_HM2.esm.js";
31
+ 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-BZsDmLhR.esm.js";
32
32
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
33
33
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
34
34
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
@@ -2046,7 +2046,7 @@ fromPromise(async ({ input }) => {
2046
2046
  });
2047
2047
  fromPromise(async ({ input }) => {
2048
2048
  if (!input.dependencies) return;
2049
- const { loadDeepsightSession } = await import("./deepsightLoader-Cfo2XAbT.esm.js");
2049
+ const { loadDeepsightSession } = await import("./deepsightLoader-2dUuR62h.esm.js");
2050
2050
  return loadDeepsightSession({
2051
2051
  ds: input.ds,
2052
2052
  storage: input.dependencies.storage,
@@ -2489,7 +2489,7 @@ function cleanup(service) {
2489
2489
  service.cleanup();
2490
2490
  } catch {}
2491
2491
  }
2492
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Cfo2XAbT.esm.js")).loadDeepsightSession(input)) {
2492
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-2dUuR62h.esm.js")).loadDeepsightSession(input)) {
2493
2493
  let disposed = false;
2494
2494
  let preparation;
2495
2495
  let service;
@@ -110,7 +110,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
110
110
  type: "shouldProceedWithoutSubmitToSecondId";
111
111
  params: unknown;
112
112
  };
113
- }>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
114
114
  readonly id: "idOcr";
115
115
  readonly initial: "idle";
116
116
  readonly context: ({ input }: {
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-C40ngKeM.js";
1
+ import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-CZ-qJ_Aa.js";
2
2
  export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseOutput, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -142,6 +142,10 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
142
142
  type: "setError";
143
143
  params: NonReducibleUnknown;
144
144
  };
145
+ clearError: {
146
+ type: "clearError";
147
+ params: NonReducibleUnknown;
148
+ };
145
149
  setSelectedDocument: {
146
150
  type: "setSelectedDocument";
147
151
  params: NonReducibleUnknown;
@@ -150,10 +154,6 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
150
154
  type: "setCompanyName";
151
155
  params: NonReducibleUnknown;
152
156
  };
153
- clearError: {
154
- type: "clearError";
155
- params: NonReducibleUnknown;
156
- };
157
157
  setIdentityShared: {
158
158
  type: "setIdentityShared";
159
159
  params: NonReducibleUnknown;
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-Bg7wz9PU.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-CZPaluvp.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
- import { t as kybChecksMachine } from "./kybChecksStateMachine-BR7XGqHO.esm.js";
2
- import { t as createKybChecksManager } from "./kybChecksManager-DAYfc5k5.esm.js";
1
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-CALDE3Do.esm.js";
2
+ import { t as createKybChecksManager } from "./kybChecksManager-D4t6I1BS.esm.js";
3
3
  export { createKybChecksManager, kybChecksMachine };
@@ -1,6 +1,6 @@
1
1
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
2
2
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
3
- import { t as kybChecksMachine } from "./kybChecksStateMachine-BR7XGqHO.esm.js";
3
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-CALDE3Do.esm.js";
4
4
  //#region src/modules/kyb-checks/kybChecksActor.ts
5
5
  /** Creates and starts a KYB Checks actor, idle until `LOAD`. */
6
6
  function createKybChecksActor(options = {}) {
@@ -1,10 +1,10 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-naUKa-Ct.esm.js";
2
+ import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-BGLJwanM.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-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
6
  import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
7
- import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-f9PhUo9j.esm.js";
7
+ import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
8
8
  import { r as hasAllowedCharacters, t as formatPhoneE164 } from "./phoneFormat-DEpESpz2.esm.js";
9
9
  function isSupportedSchema(form) {
10
10
  return String(form.schemaVersion).split(".")[0] === "1";
@@ -61,7 +61,8 @@ const KYB_CHECKS_SUPPORTED_IDS = {
61
61
  groupRules: /* @__PURE__ */ new Set(["oneOfRequired"]),
62
62
  optionLists: /* @__PURE__ */ new Set(["US_STATES"]),
63
63
  conditions: /* @__PURE__ */ new Set(),
64
- prefillSources: /* @__PURE__ */ new Set()
64
+ prefillSources: /* @__PURE__ */ new Set(),
65
+ flags: /* @__PURE__ */ new Set(["payload.omitWhenEmpty"])
65
66
  };
66
67
  /** A served regex of the one shape `allowedCharacters` can express: `^[…]{1,n}$` or `^[…]+$`. */
67
68
  const CHARACTER_CLASS_REGEX = /^\^\[([^\]]+)\](?:\{[01],(\d+)\}|\+)\$$/;
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-B4VMIIgN.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-8Fmb0REm.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-DgNuWWQw.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -58,14 +58,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
58
58
  type: "setError";
59
59
  params: NonReducibleUnknown;
60
60
  };
61
- clearError: {
62
- type: "clearError";
63
- params: NonReducibleUnknown;
64
- };
65
61
  setLoadError: {
66
62
  type: "setLoadError";
67
63
  params: NonReducibleUnknown;
68
64
  };
65
+ clearError: {
66
+ type: "clearError";
67
+ params: NonReducibleUnknown;
68
+ };
69
69
  resetContext: {
70
70
  type: "resetContext";
71
71
  params: NonReducibleUnknown;
@@ -83,7 +83,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
83
83
  type: "hasConsent";
84
84
  params: unknown;
85
85
  };
86
- }>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
86
+ }>, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
87
87
  readonly id: "mandatoryConsent";
88
88
  readonly initial: "idle";
89
89
  readonly context: ({ input }: {
@@ -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-2Rpu7MVt.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-DVp6ECFq.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -3,6 +3,7 @@ const DYNAMIC_REQUIRED_KEY = "verification.errors.fieldRequiredDynamic";
3
3
  //#endregion
4
4
  //#region src/internal/forms/checkSupport.ts
5
5
  const GROUP_POLICIES = /* @__PURE__ */ new Set(["hide", "forceShow"]);
6
+ const OMIT_WHEN_EMPTY = "payload.omitWhenEmpty";
6
7
  /**
7
8
  * Compares `major.minor` vocabulary versions. The compiler's twin is
8
9
  * `compareVersions` in `packages/form-definitions/scripts/lib/checks.mjs`;
@@ -14,10 +15,11 @@ function compareVocabulary(a, b) {
14
15
  return aMajor - bMajor || aMinor - bMinor;
15
16
  }
16
17
  /**
17
- * Whether this build can use a definition. Any id it doesn't implement makes
18
- * the definition unsupported, so the caller falls back to its bundled
19
- * definition or current form. Presentation hints (widget, keyboard, autofill)
20
- * never fail: an unknown hint falls back to the platform default.
18
+ * Whether this build can use a definition. Any id or versioned flag it
19
+ * doesn't implement makes the definition unsupported, so the caller falls
20
+ * back to its bundled definition or current form. Presentation hints
21
+ * (widget, keyboard, autofill) never fail: an unknown hint falls back to the
22
+ * platform default.
21
23
  */
22
24
  function checkSupport(definition, ids) {
23
25
  const problems = [];
@@ -44,6 +46,7 @@ function checkSupport(definition, ids) {
44
46
  field.rules?.forEach((rule, i) => need("rule", ids.rules, rule.id, `${path}.rules[${i}]`));
45
47
  field.input?.format?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.input.format[${i}]`));
46
48
  field.payload?.transforms?.forEach((t, i) => need("transform", ids.transforms, t.id, `${path}.payload.transforms[${i}]`));
49
+ if (field.payload?.omitWhenEmpty === true) need("flag", ids.flags, OMIT_WHEN_EMPTY, `${path}.${OMIT_WHEN_EMPTY}`);
47
50
  if (field.optionsRef) need("optionList", ids.optionLists, field.optionsRef, `${path}.optionsRef`);
48
51
  if (field.suggestionsRef) need("optionList", ids.optionLists, field.suggestionsRef, `${path}.suggestionsRef`);
49
52
  field.requiredWhen?.forEach((condition, i) => {
@@ -1,6 +1,6 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { C as createEventBus } from "./types-DYYMdAGv.esm.js";
3
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DCyoLHfz.esm.js";
3
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DbFQftw_.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.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-20261113-2a2af83d";
2
+ const SDK_VERSION = "0.0.0-dev-20261113-bf9cecf5";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -1,15 +1,15 @@
1
- import { u as BrowserStorageProvider } from "./setup-Bg7wz9PU.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CZPaluvp.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
3
3
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
4
4
  import "./events-CP3yOzAl.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
7
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CnqkHMOr.esm.js";
8
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BLLvaMFY.esm.js";
9
- import { s as processFace } from "./FaceDetectionProvider-Tqzj1kmD.esm.js";
7
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DHff9_Se.esm.js";
8
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DMahCXTd.esm.js";
9
+ import { s as processFace } from "./FaceDetectionProvider-BHFMKlVk.esm.js";
10
10
  import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-BKFjsQpO.esm.js";
11
- import { t as selfieMachine } from "./selfieStateMachine-C2rAcYHc.esm.js";
12
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Cq0eakl9.esm.js";
11
+ import { t as selfieMachine } from "./selfieStateMachine-sHHpgUAE.esm.js";
12
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-2_4e6flX.esm.js";
13
13
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-lXP41N7b.esm.js";
14
14
  /**
15
15
  * 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-Tqzj1kmD.esm.js";
1
+ import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BHFMKlVk.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,10 +1,10 @@
1
- import { u as BrowserStorageProvider } from "./setup-Bg7wz9PU.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CZPaluvp.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
3
3
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
4
4
  import "./events-CP3yOzAl.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BLLvaMFY.esm.js";
7
- import { t as selfieMachine } from "./selfieStateMachine-C2rAcYHc.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DMahCXTd.esm.js";
7
+ import { t as selfieMachine } from "./selfieStateMachine-sHHpgUAE.esm.js";
8
8
  //#region src/modules/selfie/selfieActor.ts
9
9
  function createSelfieActor(options) {
10
10
  const dependencies = options.dependencies ?? {
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CnqkHMOr.esm.js";
4
- import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Tqzj1kmD.esm.js";
5
- import { n as validateUploadResponse } from "./selfieErrorUtils-CNzzxWiH.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DHff9_Se.esm.js";
4
+ import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BHFMKlVk.esm.js";
5
+ import { n as validateUploadResponse } from "./selfieErrorUtils-CPjCnfAs.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-CZpuJuZl.esm.js";
2
- import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-DCyoLHfz.esm.js";
3
- import "./sessionInitializer-DYoxtIOt.esm.js";
4
- import { i as toIncodeApiError } from "./apiError-naUKa-Ct.esm.js";
2
+ import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-DbFQftw_.esm.js";
3
+ import "./sessionInitializer-DRIZt0ov.esm.js";
4
+ import { i as toIncodeApiError } from "./apiError-BGLJwanM.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-CZpuJuZl.esm.js";
2
2
  import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
3
- import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-DYoxtIOt.esm.js";
3
+ import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-DRIZt0ov.esm.js";
4
4
  import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-BCuEoQ-n.esm.js";
5
- import { t as IncodeApiError } from "./apiError-naUKa-Ct.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-Bswbl4Cb.esm.js";
7
- import { r as getFinishStatus } from "./flowCompletionService-D6moFRza.esm.js";
5
+ import { t as IncodeApiError } from "./apiError-BGLJwanM.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-DTKWnoo3.esm.js";
7
+ import { r as getFinishStatus } from "./flowCompletionService-CVOmSB_k.esm.js";
8
8
  //#region src/internal/session/sessionExpired.ts
9
9
  var SessionExpiredError = class extends Error {
10
10
  constructor() {
@@ -3,10 +3,10 @@ import { n as setWasmMetadataV2Enabled } from "./wasmMetadataVersionSync-U8EFUr1
3
3
  import { S as subscribeEvent, v as addEvent, y as getAnalyticsBatcher } from "./types-DYYMdAGv.esm.js";
4
4
  import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
5
5
  import "./events-CP3yOzAl.esm.js";
6
- import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-DCyoLHfz.esm.js";
7
- import { t as SDK_VERSION } from "./sdkVersion-BqmwjASn.esm.js";
6
+ import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-DbFQftw_.esm.js";
7
+ import { t as SDK_VERSION } from "./sdkVersion-CI7AVv52.esm.js";
8
8
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
9
- import { E as updateFeatureManagementUser } from "./feature-management-BcQ9vTT7.esm.js";
9
+ import { E as updateFeatureManagementUser } from "./feature-management-BWe9w7OO.esm.js";
10
10
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DoByUnTa.esm.js";
11
11
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
12
12
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
@@ -4,14 +4,14 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
4
4
  import { b as resetAnalyticsBatcher, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./types-DYYMdAGv.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-CZpuJuZl.esm.js";
6
6
  import { i as createAnalyticsBatchingService, r as resetExperimentAssignments } from "./events-CP3yOzAl.esm.js";
7
- 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-DCyoLHfz.esm.js";
8
- import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-DYoxtIOt.esm.js";
7
+ 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-DbFQftw_.esm.js";
8
+ import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-DRIZt0ov.esm.js";
9
9
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
10
10
  import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
11
- 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-BcQ9vTT7.esm.js";
11
+ 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-BWe9w7OO.esm.js";
12
12
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
13
13
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
14
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-CJCHQxCF.esm.js";
14
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-CHl7r36s.esm.js";
15
15
  //#region ../infra/src/wasm/wasmRuntimeProfile.ts
16
16
  /**
17
17
  * The WASM facts TrueSight reports as `session.webProfile.wasm`
@@ -3,7 +3,7 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
3
3
  import { S as subscribeEvent, n as eventModuleNames } from "./types-DYYMdAGv.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-CZpuJuZl.esm.js";
5
5
  import "./events-CP3yOzAl.esm.js";
6
- import { t as SDK_VERSION } from "./sdkVersion-BqmwjASn.esm.js";
6
+ import { t as SDK_VERSION } from "./sdkVersion-CI7AVv52.esm.js";
7
7
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
8
8
  /** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
9
9
  const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
@@ -1,16 +1,16 @@
1
- import { t as ensureWasmPipelines } from "./setup-Bg7wz9PU.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-CZPaluvp.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
3
3
  import { t as api, u as endpoints } from "./api-CZpuJuZl.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 { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-CJCHQxCF.esm.js";
6
+ import { b as videoSelfieWasmPipelines, v as facingModeForStep, y as resolveVideoSelfieSteps } from "./flowServices-CHl7r36s.esm.js";
7
7
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
8
8
  import { i as assign, l as raise, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
10
10
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
11
11
  import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
12
12
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CxZyPRyh.esm.js";
13
- import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BrzTLFY2.esm.js";
13
+ import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-9yMgpC3E.esm.js";
14
14
  import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
15
15
  import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js";
16
16
  import { t as MultipartRecordingService } from "./multipartRecordingService-DNB2iD6-.esm.js";