@incodetech/core 0.0.0-dev-20261201-5456180d → 0.0.0-dev-20261201-e37652f8

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 (88) hide show
  1. package/dist/{FaceDetectionProvider-DH7QsBFD.esm.js → FaceDetectionProvider-DQYbHLxC.esm.js} +4 -4
  2. package/dist/{addressSearch-Cxpb5vKl.esm.js → addressSearch-gginelz3.esm.js} +28 -26
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-BVYipHwI.esm.js → apiError-BRiJu_rv.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-Kfm9HxbR.esm.js → authenticationManager-CrBlRkAd.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-DCVCf6tZ.esm.js → authenticationStateMachine-DLwEyCeH.esm.js} +3 -3
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-vI6QHkHU.d.ts → consentManager-Bow34QP_.d.ts} +9 -9
  10. package/dist/{deepsightCaptureConfig-BfIw-FNj.esm.js → deepsightCaptureConfig-BVJANeRn.esm.js} +2 -2
  11. package/dist/{deepsightLoader-DCSozoXG.esm.js → deepsightLoader-C6nKqY9Q.esm.js} +4 -4
  12. package/dist/{desktopCameraElection-C7OkCslA.esm.js → desktopCameraElection-BAq-Kaiq.esm.js} +4 -4
  13. package/dist/document-capture.d.ts +1 -1
  14. package/dist/document-signature.esm.js +1 -1
  15. package/dist/{documentCaptureManager-sJWgqtUy.d.ts → documentCaptureManager-DOgJTJ4F.d.ts} +4 -4
  16. package/dist/{documentSignatureStateMachine-C1CsjsVW.esm.js → documentSignatureStateMachine-Btlg3q7j.esm.js} +1 -1
  17. package/dist/dynamic-forms.esm.js +2 -2
  18. package/dist/{dynamicFormsManager-DhyIhZ1C.esm.js → dynamicFormsManager-SbEUnFoF.esm.js} +1 -1
  19. package/dist/{dynamicFormsStateMachine-CDyk9sXA.esm.js → dynamicFormsStateMachine-Dxv36mAP.esm.js} +1 -1
  20. package/dist/ekyb.esm.js +2 -2
  21. package/dist/{ekybManager-4ESLrIAZ.esm.js → ekybManager-xhoOX9O9.esm.js} +1 -1
  22. package/dist/{ekybStateMachine-BVQ7DyO1.esm.js → ekybStateMachine-CCjUH0j3.esm.js} +183 -56
  23. package/dist/ekyc-prefill.d.ts +1 -1
  24. package/dist/ekyc-prefill.esm.js +2 -2
  25. package/dist/ekyc.d.ts +3 -0
  26. package/dist/ekyc.esm.js +3 -3
  27. package/dist/{ekycManager-k0d38zcZ.esm.js → ekycManager-DrGuK0kT.esm.js} +1 -1
  28. package/dist/{ekycPrefillManager-3nHwnh_4.esm.js → ekycPrefillManager-C9kdwCC6.esm.js} +2 -2
  29. package/dist/{ekycPrefillManager-BwmPXfhY.d.ts → ekycPrefillManager-Di6aMx68.d.ts} +4 -4
  30. package/dist/{ekycPrefillStateMachine-bz_k9jTV.esm.js → ekycPrefillStateMachine-DiQifkkd.esm.js} +8 -87
  31. package/dist/{ekycStateMachine-BudF0QZu.esm.js → ekycStateMachine-BmMdLe2G.esm.js} +298 -125
  32. package/dist/{ekycUtils-BnTyeA-_.esm.js → ekycUtils-DfBNTcvX.esm.js} +41 -5
  33. package/dist/electronic-signature.esm.js +1 -1
  34. package/dist/{electronicSignatureManager-BMalzzyT.esm.js → electronicSignatureManager-C6liTNbu.esm.js} +1 -1
  35. package/dist/extensibility.d.ts +6 -6
  36. package/dist/extensibility.esm.js +13 -13
  37. package/dist/{faceCaptureManagerFactory-cQl5HDIn.esm.js → faceCaptureManagerFactory-OL8BWaIW.esm.js} +2 -2
  38. package/dist/{faceCaptureSetup-DzWl2VJI.esm.js → faceCaptureSetup-DQVtmb1q.esm.js} +7 -7
  39. package/dist/{feature-management-BVxb2LDw.esm.js → feature-management-D_T-MG_i.esm.js} +1 -1
  40. package/dist/feature-management.esm.js +1 -1
  41. package/dist/flow.esm.js +3 -3
  42. package/dist/{flowCompletionService-DK-fZm71.esm.js → flowCompletionService-L0J63ui-.esm.js} +1 -1
  43. package/dist/{flowServices-DO_evfcT.esm.js → flowServices-3OXrEqDE.esm.js} +5 -5
  44. package/dist/formDefinitionsRollout-B-c4yO2z.esm.js +30 -0
  45. package/dist/{formErrors-lSfh7Y8J.esm.js → formErrors-kpskZLNT.esm.js} +39 -180
  46. package/dist/geolocation.d.ts +1 -1
  47. package/dist/geolocation.esm.js +2 -2
  48. package/dist/{geolocationManager-DcuPbxtE.esm.js → geolocationManager-CREfQNgO.esm.js} +1 -1
  49. package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
  50. package/dist/{geolocationStateMachine-C2r0HXYO.esm.js → geolocationStateMachine-D9_bBr19.esm.js} +1 -1
  51. package/dist/id-ocr.d.ts +1 -1
  52. package/dist/id-selfie-flow.esm.js +6 -6
  53. package/dist/id.esm.js +3 -3
  54. package/dist/{idCaptureManager-B3e-0VFl.esm.js → idCaptureManager-B5ZN7scK.esm.js} +4 -4
  55. package/dist/{idCaptureServices-CoHVsKtz.esm.js → idCaptureServices-7zZ457LW.esm.js} +2 -2
  56. package/dist/{idCaptureStateMachine-Cbg0iyXR.esm.js → idCaptureStateMachine-FP4j-qeT.esm.js} +11 -11
  57. package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
  58. package/dist/index.esm.js +1 -1
  59. package/dist/kyb-checks.esm.js +2 -2
  60. package/dist/{kybChecksManager-BDHpxk15.esm.js → kybChecksManager-tUsFKBCN.esm.js} +1 -1
  61. package/dist/{kybChecksStateMachine-UIwv8ipY.esm.js → kybChecksStateMachine-D1q4K7Xr.esm.js} +3 -3
  62. package/dist/mandatory-consent.d.ts +1 -1
  63. package/dist/{mandatoryConsentManager-ESpx168S.d.ts → mandatoryConsentManager-De9ZX6o4.d.ts} +5 -5
  64. package/dist/qe-signature.esm.js +1 -1
  65. package/dist/{recordingService-G0FrtpAb.esm.js → recordingService-OcyZO_w6.esm.js} +1 -1
  66. package/dist/{runChildModule-Dgi34yo9.esm.js → runChildModule-BuZFd3Df.esm.js} +1 -1
  67. package/dist/{sdkVersion-CrFzbh9y.esm.js → sdkVersion-BY8g-EEL.esm.js} +1 -1
  68. package/dist/selfie.esm.js +7 -7
  69. package/dist/{selfieErrorUtils-DR2Gve4F.esm.js → selfieErrorUtils-DIVWh0ih.esm.js} +1 -1
  70. package/dist/{selfieManager-B3Jd7q4s.esm.js → selfieManager-DQ5xB8y6.esm.js} +3 -3
  71. package/dist/{selfieStateMachine-DM40H79_.esm.js → selfieStateMachine-fyNh2r31.esm.js} +3 -3
  72. package/dist/{session-C7-dU7kj.esm.js → session-DKnCv6zu.esm.js} +4 -4
  73. package/dist/session.esm.js +4 -4
  74. package/dist/{sessionInitializer-NEJvsqjQ.esm.js → sessionInitializer-q5b8Qwr3.esm.js} +4 -4
  75. package/dist/{setup-DXnJ1L0L.esm.js → setup-JGwc0kgu.esm.js} +5 -5
  76. package/dist/trim-OmrUb6mG.esm.js +297 -0
  77. package/dist/trueSight-9VsfHXFt.esm.js +1 -0
  78. package/dist/{trueSightService-MNEZaA-i.esm.js → trueSightService-Dx8AqgKD.esm.js} +1 -1
  79. package/dist/uppercase-CwlIuiwR.esm.js +115 -0
  80. package/dist/video-selfie.esm.js +3 -3
  81. package/dist/{videoSelfieCameraWarmer-CPrXznbc.esm.js → videoSelfieCameraWarmer-AoMytGBD.esm.js} +3 -3
  82. package/dist/wasm.esm.js +1 -1
  83. package/dist/workflow.d.ts +4 -4
  84. package/dist/workflow.esm.js +19 -19
  85. package/package.json +1 -1
  86. package/dist/definitionSource-B9WTvQb9.esm.js +0 -30
  87. package/dist/resolveForm-DaaQSVWp.esm.js +0 -146
  88. package/dist/trueSight-CjUsM1U4.esm.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import { l as wasmRuntime } from "./warmup-O3rAoe1-.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-DXnJ1L0L.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-JGwc0kgu.esm.js";
3
3
  import { r as BaseWasmProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-MNEZaA-i.esm.js";
6
- import "./trueSight-CjUsM1U4.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-Dx8AqgKD.esm.js";
6
+ import "./trueSight-9VsfHXFt.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-D_gJvsTS.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
9
9
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -234,7 +234,7 @@ function startDetection(params) {
234
234
  };
235
235
  }
236
236
  async function initializeDeepsightSession(options) {
237
- const { loadDeepsightSession } = await import("./deepsightLoader-DCSozoXG.esm.js");
237
+ const { loadDeepsightSession } = await import("./deepsightLoader-C6nKqY9Q.esm.js");
238
238
  return loadDeepsightSession({
239
239
  ds: options.ds,
240
240
  storage: options.storage
@@ -1,6 +1,9 @@
1
1
  import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
+ import { t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
3
4
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
+ import { n as e164, t as trim } from "./trim-OmrUb6mG.esm.js";
6
+ import { a as digitGroups, i as e164NoPlus, n as stripSeparators, r as nationalNumber, t as uppercase } from "./uppercase-CwlIuiwR.esm.js";
4
7
  //#region src/shared/addressSuggestion.ts
5
8
  /** Shown when an autocomplete suggestion has no street (city/region-level result). */
6
9
  const STREET_LEVEL_REQUIRED_ERROR = { key: "verification.errors.streetLevelRequired" };
@@ -235,32 +238,31 @@ function formatPostalCode(value, country) {
235
238
  if (country === "NL") return `${value.replace(/\D/g, "").slice(0, 4)}${value.replace(/[^A-Za-z]/g, "").slice(0, 2).toUpperCase()}`;
236
239
  return value.slice(0, 8);
237
240
  }
241
+ /** Every vocabulary transform, keyed by id: what `buildPayload` reads. */
242
+ const PAYLOAD_TRANSFORMS = { transforms: new Map([
243
+ uppercase,
244
+ stripSeparators,
245
+ e164,
246
+ trim,
247
+ nationalNumber,
248
+ e164NoPlus,
249
+ digitGroups
250
+ ].map((transform) => [transform.id, transform])) };
238
251
  //#endregion
239
- //#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
240
- /**
241
- * The rollout switch for form definitions (ENG-59781): one all-or-nothing
242
- * answer to "do eKYC and eKYB build their forms from catalog definitions, or
243
- * with today's builders?". The eKYC and eKYB machines read it once, when
244
- * they're created, and pass the answer to the module adapters
245
- * (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
246
- * (`internal/forms`) knows nothing about it.
247
- *
248
- * On by default (ENG-63324), so every migrated eKYC source and every eKYB
249
- * country builds its form from its definition. A catalog-only eKYC source,
250
- * one today's builder never knew, uses its definition either way, since it
251
- * has no old path to fall back to.
252
- *
253
- * `false` is the rollback: every source and country today's builders know
254
- * goes back to them. The builders stay in Core until ENG-63328 removes them.
255
- *
256
- * This is Incode's rollout decision, not the integrator's: it is not a
257
- * `setup()` option. It stays a constant, so a rollback is a code change in an
258
- * SDK release.
259
- */
260
- const ENABLED_BY_DEFAULT = true;
261
- /** Whether sources and countries with a form definition use it. */
262
- function isFormDefinitionsEnabled() {
263
- return ENABLED_BY_DEFAULT;
252
+ //#region src/shared/formDeps.ts
253
+ /** The postal formats per country, for `postalCodeFormat`. */
254
+ const POSTAL_RULES = {
255
+ isValid: validatePostalCode,
256
+ errorKey: getPostalCodeErrorKey,
257
+ params: getPostalCodeErrorParams
258
+ };
259
+ /** The phone rules, once loaded, and the postal tables. */
260
+ function standardDeps() {
261
+ const phone = getPhoneValidation();
262
+ return phone ? {
263
+ phone,
264
+ postal: POSTAL_RULES
265
+ } : { postal: POSTAL_RULES };
264
266
  }
265
267
  //#endregion
266
268
  //#region src/shared/addressSearch.ts
@@ -307,4 +309,4 @@ const debounceSearchActor = fromCallback(({ input, sendBack }) => {
307
309
  };
308
310
  });
309
311
  //#endregion
310
- export { getPostalCodeErrorKey as a, validatePostalCode as c, getStreetLevelErrorForSuggestion as d, keepSuggestionInOptions as f, formatPostalCode as i, STREET_LEVEL_REQUIRED_ERROR as l, searchAddress as n, getPostalCodeErrorParams as o, isFormDefinitionsEnabled as r, getPostalCodeMaxLength as s, debounceSearchActor as t, fillFromSuggestion as u };
312
+ export { formatPostalCode as a, getPostalCodeMaxLength as c, fillFromSuggestion as d, getStreetLevelErrorForSuggestion as f, PAYLOAD_TRANSFORMS as i, validatePostalCode as l, searchAddress as n, getPostalCodeErrorKey as o, keepSuggestionInOptions as p, standardDeps as r, getPostalCodeErrorParams as s, debounceSearchActor as t, STREET_LEVEL_REQUIRED_ERROR as u };
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BMalzzyT.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-C6liTNbu.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-MNEZaA-i.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-Dx8AqgKD.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-DCVCf6tZ.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Kfm9HxbR.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DLwEyCeH.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CrBlRkAd.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,10 +1,10 @@
1
- import { u as BrowserStorageProvider } from "./setup-DXnJ1L0L.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-JGwc0kgu.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
3
3
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
4
4
  import "./events-Dlkhhx5O.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-cQl5HDIn.esm.js";
7
- import { t as authenticationMachine } from "./authenticationStateMachine-DCVCf6tZ.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-OL8BWaIW.esm.js";
7
+ import { t as authenticationMachine } from "./authenticationStateMachine-DLwEyCeH.esm.js";
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(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 { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DzWl2VJI.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-DH7QsBFD.esm.js";
5
- import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-C7OkCslA.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DQVtmb1q.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-DQYbHLxC.esm.js";
5
+ import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-BAq-Kaiq.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
8
8
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-vI6QHkHU.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-Bow34QP_.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -75,14 +75,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
75
75
  id: string | undefined;
76
76
  };
77
77
  }>, Values<{
78
- setError: {
79
- type: "setError";
80
- params: NonReducibleUnknown;
81
- };
82
- clearError: {
83
- type: "clearError";
84
- params: NonReducibleUnknown;
85
- };
86
78
  setLoadError: {
87
79
  type: "setLoadError";
88
80
  params: NonReducibleUnknown;
@@ -95,6 +87,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
95
87
  type: "toggleCheckbox";
96
88
  params: NonReducibleUnknown;
97
89
  };
90
+ setError: {
91
+ type: "setError";
92
+ params: NonReducibleUnknown;
93
+ };
94
+ clearError: {
95
+ type: "clearError";
96
+ params: NonReducibleUnknown;
97
+ };
98
98
  resetContext: {
99
99
  type: "resetContext";
100
100
  params: NonReducibleUnknown;
@@ -102,7 +102,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
102
102
  }>, {
103
103
  type: "canSubmit";
104
104
  params: unknown;
105
- }, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
105
+ }, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
106
106
  readonly id: "consent";
107
107
  readonly initial: "idle";
108
108
  readonly context: ({ input }: {
@@ -1,5 +1,5 @@
1
- import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-MNEZaA-i.esm.js";
2
- import "./trueSight-CjUsM1U4.esm.js";
1
+ import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-Dx8AqgKD.esm.js";
2
+ import "./trueSight-9VsfHXFt.esm.js";
3
3
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
4
4
  //#region src/internal/deepsight/deepsightCaptureConfig.ts
5
5
  /**
@@ -1,8 +1,8 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-MNEZaA-i.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-CrFzbh9y.esm.js";
4
- import "./trueSight-CjUsM1U4.esm.js";
5
- import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-NEJvsqjQ.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-Dx8AqgKD.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-BY8g-EEL.esm.js";
4
+ import "./trueSight-9VsfHXFt.esm.js";
5
+ import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-q5b8Qwr3.esm.js";
6
6
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
7
7
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
8
8
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-0SxaYTcb.esm.js";
@@ -3,14 +3,14 @@ import { d as CAMERA_CYCLE_OWNERSHIP_DOMAIN, f as getCameraCycleOwnershipDomain,
3
3
  import { r as setWasmDeepsightConfigSync } from "./wasmDeepsightConfigSync-DukEcrU8.esm.js";
4
4
  import { i as utilityWasmApi } from "./WasmUtilProvider-unrmGEHD.esm.js";
5
5
  import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
6
- import { u as trueSightLog } from "./trueSightService-MNEZaA-i.esm.js";
7
- import "./trueSight-CjUsM1U4.esm.js";
8
- import { m as getFeatureGate } from "./feature-management-BVxb2LDw.esm.js";
6
+ import { u as trueSightLog } from "./trueSightService-Dx8AqgKD.esm.js";
7
+ import "./trueSight-9VsfHXFt.esm.js";
8
+ import { m as getFeatureGate } from "./feature-management-D_T-MG_i.esm.js";
9
9
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
10
10
  import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
11
11
  import { u as queryCameraPermission } from "./permissionServices-GQyOY1tb.esm.js";
12
12
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
13
- import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-BfIw-FNj.esm.js";
13
+ import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-BVJANeRn.esm.js";
14
14
  import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
15
15
  //#region ../infra/src/capabilities/ICameraCycleCapability.ts
16
16
  /**
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-sJWgqtUy.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DOgJTJ4F.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
2
  import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.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 { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-C1CsjsVW.esm.js";
5
+ import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-Btlg3q7j.esm.js";
6
6
  //#region src/modules/document-signature/documentSignatureActor.ts
7
7
  function createDocumentSignatureActor(options) {
8
8
  return createActor(documentSignatureMachine, { input: { config: options.config } }).start();
@@ -102,14 +102,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
102
102
  id: string | undefined;
103
103
  };
104
104
  }>, Values<{
105
- decrementAttemptsRemaining: {
106
- type: "decrementAttemptsRemaining";
107
- params: NonReducibleUnknown;
108
- };
109
105
  clearError: {
110
106
  type: "clearError";
111
107
  params: NonReducibleUnknown;
112
108
  };
109
+ decrementAttemptsRemaining: {
110
+ type: "decrementAttemptsRemaining";
111
+ params: NonReducibleUnknown;
112
+ };
113
113
  setStream: {
114
114
  type: "setStream";
115
115
  params: NonReducibleUnknown;
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
3
3
  import "./events-Dlkhhx5O.esm.js";
4
- import { i as toIncodeApiError } from "./apiError-BVYipHwI.esm.js";
4
+ import { i as toIncodeApiError } from "./apiError-BRiJu_rv.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
7
7
  //#region src/modules/document-signature/documentSignatureServices.ts
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CDyk9sXA.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DhyIhZ1C.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Dxv36mAP.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-SbEUnFoF.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CDyk9sXA.esm.js";
6
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Dxv36mAP.esm.js";
7
7
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
8
8
  function createDynamicFormsActor(options) {
9
9
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BVYipHwI.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BRiJu_rv.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { n as calendarDateError } from "./calendarDate-D2zWfUlA.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { s as toEkybConfig } from "./ekybUtils-CX-dR5p9.esm.js";
2
- import { a as isSupportedCountry, i as SUPPORTED_COUNTRIES, n as ALL_COUNTRIES, r as DEV_ONLY_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-BVQ7DyO1.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-4ESLrIAZ.esm.js";
2
+ import { a as isSupportedCountry, i as SUPPORTED_COUNTRIES, n as ALL_COUNTRIES, r as DEV_ONLY_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-CCjUH0j3.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-xhoOX9O9.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as ekybMachine } from "./ekybStateMachine-BVQ7DyO1.esm.js";
6
+ import { t as ekybMachine } from "./ekybStateMachine-CCjUH0j3.esm.js";
7
7
  //#region src/modules/ekyb/ekybActor.ts
8
8
  /**
9
9
  * Creates and starts an eKYB actor.