@incodetech/core 0.0.0-dev-20260729-e2dda0b0 → 0.0.0-dev-20260729-9e7b030a

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 (114) hide show
  1. package/dist/ae-signature.esm.js +1 -1
  2. package/dist/antifraud.esm.js +1 -1
  3. package/dist/{antifraudManager-COYh4O_y.esm.js → antifraudManager-Cj_80kXY.esm.js} +1 -1
  4. package/dist/{apiError-GA6MbJpI.esm.js → apiError-CzR7Y6Ua.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-B7v0Jy-x.esm.js → authenticationManager-CmkHvt7_.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-DAh9ziFC.esm.js → authenticationStateMachine-O3acuOqq.esm.js} +2 -2
  8. package/dist/{backCameraStream-6XQp9RxG.esm.js → backCameraStream-BqiXcU28.esm.js} +11 -1
  9. package/dist/camera.esm.js +1 -1
  10. package/dist/certificate-issuance.esm.js +1 -1
  11. package/dist/consent.d.ts +1 -1
  12. package/dist/consent.esm.js +1 -1
  13. package/dist/{consentManager-CWEAhAJ5.esm.js → consentManager-CbYlnsM-.esm.js} +1 -1
  14. package/dist/{consentManager-BhYFeKiG.d.ts → consentManager-uhDPdU6i.d.ts} +8 -8
  15. package/dist/cross-document-data-match.esm.js +1 -1
  16. package/dist/{crossDocumentDataMatchManager-Bk4W2TDJ.esm.js → crossDocumentDataMatchManager-D4w4_crz.esm.js} +1 -1
  17. package/dist/curp-validation.esm.js +1 -1
  18. package/dist/{curpValidationManager-B6gYKygj.esm.js → curpValidationManager-KjzGK3MT.esm.js} +1 -1
  19. package/dist/custom-fields.esm.js +1 -1
  20. package/dist/custom-watchlist.esm.js +1 -1
  21. package/dist/{deepsightLoader-CHG26pOB.esm.js → deepsightLoader-CaUpu0Dy.esm.js} +3 -3
  22. package/dist/device.esm.js +1 -15
  23. package/dist/document-capture.d.ts +1 -1
  24. package/dist/document-capture.esm.js +2 -2
  25. package/dist/document-upload.d.ts +4 -4
  26. package/dist/document-upload.esm.js +2 -2
  27. package/dist/{documentCaptureManager-FvcNYpkS.esm.js → documentCaptureManager-DiZWStP_.esm.js} +2 -2
  28. package/dist/{documentCaptureManager-BK_4RbHt.d.ts → documentCaptureManager-pEqMY_Oo.d.ts} +69 -69
  29. package/dist/{documentCaptureStateMachine-BlzN0-mU.esm.js → documentCaptureStateMachine-DAR7pkTk.esm.js} +3 -3
  30. package/dist/dynamic-forms.esm.js +2 -2
  31. package/dist/{dynamicFormsManager-CfJixpOW.esm.js → dynamicFormsManager-BxUgij0L.esm.js} +2 -2
  32. package/dist/{dynamicFormsStateMachine-DrPO1i45.esm.js → dynamicFormsStateMachine-D0cEsDMH.esm.js} +1 -1
  33. package/dist/ekyb.esm.js +3 -3
  34. package/dist/{ekybManager-DVCqaSzz.esm.js → ekybManager-LicVPYug.esm.js} +2 -2
  35. package/dist/{ekybStateMachine-C3y-Qx1a.esm.js → ekybStateMachine-IgLa1nXx.esm.js} +1 -1
  36. package/dist/ekyc.esm.js +1 -1
  37. package/dist/{ekycManager-dimNksoE.esm.js → ekycManager-JibqQLH-.esm.js} +1 -1
  38. package/dist/electronic-signature.esm.js +1 -1
  39. package/dist/{electronicSignatureManager-D0X7P-de.esm.js → electronicSignatureManager-DqPJCXMG.esm.js} +2 -2
  40. package/dist/email.esm.js +1 -1
  41. package/dist/{emailManager-BqJMritP.esm.js → emailManager-DRBVGjai.esm.js} +1 -1
  42. package/dist/{events-CMFCCu1H.esm.js → events-ethtfu2b.esm.js} +36 -1
  43. package/dist/events.d.ts +27 -1
  44. package/dist/events.esm.js +2 -2
  45. package/dist/extensibility.d.ts +5 -5
  46. package/dist/extensibility.esm.js +24 -24
  47. package/dist/face-match.esm.js +1 -1
  48. package/dist/{faceCaptureManagerFactory-D2pR3ZnX.esm.js → faceCaptureManagerFactory-2W_XduCs.esm.js} +3 -3
  49. package/dist/{faceCaptureSetup-DbhDPMjb.esm.js → faceCaptureSetup-D-9s0vUS.esm.js} +4 -4
  50. package/dist/{faceMatchManager-XxTEAj9C.esm.js → faceMatchManager-ZlPuKqfF.esm.js} +1 -1
  51. package/dist/{feature-management-Dw96qEMs.esm.js → feature-management-CFRmD8Nr.esm.js} +14 -1
  52. package/dist/feature-management.d.ts +14 -1
  53. package/dist/feature-management.esm.js +2 -2
  54. package/dist/field-comparison.esm.js +1 -1
  55. package/dist/{fieldComparisonManager-BzaX4TvX.esm.js → fieldComparisonManager-C4eefgNT.esm.js} +1 -1
  56. package/dist/fiscal-qr.esm.js +2 -2
  57. package/dist/flow.d.ts +1 -1
  58. package/dist/flow.esm.js +4 -4
  59. package/dist/{flowCompletionService-BdZR6HyE.esm.js → flowCompletionService-D_DJ1dNA.esm.js} +1 -1
  60. package/dist/{flowServices-CPti9am-.esm.js → flowServices-ZgW3UGcz.esm.js} +4 -4
  61. package/dist/geolocation.esm.js +2 -2
  62. package/dist/{geolocationManager-DW27-LTL.esm.js → geolocationManager-oLdeMbdy.esm.js} +2 -2
  63. package/dist/{geolocationStateMachine-Cz3Q6az0.esm.js → geolocationStateMachine-CSDKlrHE.esm.js} +1 -1
  64. package/dist/getBrowser-DNrQeL4T.esm.js +16 -0
  65. package/dist/government-validation.esm.js +1 -1
  66. package/dist/home.esm.js +1 -1
  67. package/dist/id-ocr.esm.js +1 -1
  68. package/dist/id-verification.esm.js +1 -1
  69. package/dist/id.d.ts +2 -2
  70. package/dist/id.esm.js +4 -4
  71. package/dist/{idCaptureManager-C-WjmsN4.d.ts → idCaptureManager-B2w2CGuV.d.ts} +12 -3
  72. package/dist/{idCaptureManager-CPzgzVu8.esm.js → idCaptureManager-DAsfVDWq.esm.js} +15 -5
  73. package/dist/{idCaptureStateMachine-CAKztWBq.esm.js → idCaptureStateMachine-BMZCf9M7.esm.js} +90 -28
  74. package/dist/{idOcrManager-Drs6frVO.esm.js → idOcrManager-HuMeVQrh.esm.js} +1 -1
  75. package/dist/{idVerificationManager-Df97Bf0n.esm.js → idVerificationManager-6R_G7Y-3.esm.js} +1 -1
  76. package/dist/identity-reuse.esm.js +1 -1
  77. package/dist/{identityReuseManager-0ZHGWr9T.esm.js → identityReuseManager-CNbGch_H.esm.js} +1 -1
  78. package/dist/index.esm.js +1 -1
  79. package/dist/{invokeOnCaptureCallback-Cgl54qED.esm.js → invokeOnCaptureCallback-DVtdZdpI.esm.js} +1 -1
  80. package/dist/mandatory-consent.d.ts +1 -1
  81. package/dist/mandatory-consent.esm.js +1 -1
  82. package/dist/{mandatoryConsentManager-DaKK7S4q.esm.js → mandatoryConsentManager-D7C9v5sI.esm.js} +1 -1
  83. package/dist/{mandatoryConsentManager-CzsVFG33.d.ts → mandatoryConsentManager-DOZSFZA2.d.ts} +4 -4
  84. package/dist/{onDeviceFaceResults-CVhk1BWp.esm.js → onDeviceFaceResults-D8FzOXsM.esm.js} +4 -4
  85. package/dist/{permissionGuards-UMiLlPfq.esm.js → permissionGuards-D0cdQjk6.esm.js} +1 -1
  86. package/dist/{permissionServices-C4qKxOl4.esm.js → permissionServices-GFikEK6S.esm.js} +2 -17
  87. package/dist/personhood.esm.js +5 -5
  88. package/dist/phone.esm.js +1 -1
  89. package/dist/{phoneManager-WImoAp4i.esm.js → phoneManager-Dus4Ddb9.esm.js} +1 -1
  90. package/dist/qe-signature.esm.js +1 -1
  91. package/dist/{recordingService-BGPq5vGr.esm.js → recordingService-D6Hbc408.esm.js} +1 -1
  92. package/dist/redirect-to-mobile.esm.js +1 -1
  93. package/dist/{redirectToMobileManager-CxEu6KnV.esm.js → redirectToMobileManager-D1WymLy1.esm.js} +1 -1
  94. package/dist/{runChildModule-fagPe5Ct.esm.js → runChildModule-CVKUUVl2.esm.js} +2 -2
  95. package/dist/selfie.esm.js +6 -6
  96. package/dist/{selfieManager-DTiBsQNn.esm.js → selfieManager-Cnw55Hp_.esm.js} +3 -3
  97. package/dist/{selfieStateMachine-CxabK5_3.esm.js → selfieStateMachine-D-wolitw.esm.js} +2 -2
  98. package/dist/{session-Ccob4IUP.esm.js → session-XugVyrIq.esm.js} +4 -4
  99. package/dist/session.esm.js +4 -4
  100. package/dist/{sessionInitializer-DEd0CQ74.esm.js → sessionInitializer-B3g2uAsl.esm.js} +4 -4
  101. package/dist/{setup-BR4G3NHV.esm.js → setup-BVuwm-QH.esm.js} +7 -6
  102. package/dist/signature.esm.js +1 -1
  103. package/dist/trueSight-DWfPmAL_.esm.js +1 -0
  104. package/dist/{trueSightService-DKC-gmQC.esm.js → trueSightService-DGkNMx-E.esm.js} +2 -2
  105. package/dist/trust-graph.esm.js +1 -1
  106. package/dist/{types-C2n-6lCx.d.ts → types-4-pU2Nhm.d.ts} +7 -0
  107. package/dist/video-selfie.esm.js +5 -5
  108. package/dist/wasm.esm.js +1 -1
  109. package/dist/watchlist-for-business.esm.js +1 -1
  110. package/dist/watchlist.esm.js +1 -1
  111. package/dist/{watchlistManager-DnVfNc1v.esm.js → watchlistManager-BLf37wLN.esm.js} +1 -1
  112. package/dist/workflow.esm.js +17 -17
  113. package/package.json +1 -1
  114. package/dist/trueSight-4L5GCqKy.esm.js +0 -1
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DrPO1i45.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-D0cEsDMH.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
- import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-GA6MbJpI.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-CzR7Y6Ua.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-CPti9am-.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-C3y-Qx1a.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-DVCqaSzz.esm.js";
1
+ import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-ZgW3UGcz.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-IgLa1nXx.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-LicVPYug.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-C3y-Qx1a.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-IgLa1nXx.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
- import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-CPti9am-.esm.js";
3
+ import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-ZgW3UGcz.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-D_0t2Wdn.esm.js";
package/dist/ekyc.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
2
2
  import { t as ekycMachine } from "./ekycStateMachine-Yl3sQmhm.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-dimNksoE.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-JibqQLH-.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { t as ekycMachine } from "./ekycStateMachine-Yl3sQmhm.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-D0X7P-de.esm.js";
1
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DqPJCXMG.esm.js";
2
2
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-GA6MbJpI.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-CzR7Y6Ua.esm.js";
6
6
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
package/dist/email.esm.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { t as emailMachine } from "./emailStateMachine-CLtrh2Ot.esm.js";
2
- import { t as createEmailManager } from "./emailManager-BqJMritP.esm.js";
2
+ import { t as createEmailManager } from "./emailManager-DRBVGjai.esm.js";
3
3
  export { createEmailManager, emailMachine };
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { t as emailMachine } from "./emailStateMachine-CLtrh2Ot.esm.js";
4
4
  //#region src/modules/email/emailActor.ts
@@ -202,6 +202,14 @@ function errorTriggered(module, screen, payload) {
202
202
  payload
203
203
  });
204
204
  }
205
+ function stateChanged(module, screen, payload) {
206
+ screenEvent({
207
+ module,
208
+ screen,
209
+ code: "stateEvent",
210
+ payload
211
+ });
212
+ }
205
213
  function elementClicked(module, screen, payload) {
206
214
  screenEvent({
207
215
  module,
@@ -218,6 +226,33 @@ function captureAttemptFinished(module, screen, payload) {
218
226
  payload
219
227
  });
220
228
  }
229
+ function experimentAssigned(module, payload, screen) {
230
+ screenEvent({
231
+ module,
232
+ screen,
233
+ code: "experimentAssigned",
234
+ payload
235
+ });
236
+ }
237
+ //#endregion
238
+ //#region src/internal/events/experimentAssignment.ts
239
+ const assignedExperiments = /* @__PURE__ */ new Set();
240
+ /**
241
+ * Records an `experimentAssigned` interview-event, but only the first time
242
+ * for a given `payload.flagKey` since the last `resetExperimentAssignments()`
243
+ * call. Mirrors the dedup precedent in feature-management's
244
+ * `assignExperimentOnce` (Statsig `logEvent` sink) — this is the
245
+ * interview-events sink.
246
+ */
247
+ function recordExperimentAssignmentOnce(module, payload, screenName) {
248
+ if (assignedExperiments.has(payload.flagKey)) return;
249
+ assignedExperiments.add(payload.flagKey);
250
+ experimentAssigned(module, payload, screenName);
251
+ }
252
+ /** Clears the assignment dedup guard. Called from `reset()`. */
253
+ function resetExperimentAssignments() {
254
+ assignedExperiments.clear();
255
+ }
221
256
  //#endregion
222
257
  //#region src/internal/events/managerInstrumentation.ts
223
258
  function stateValueToScreenSegment(value) {
@@ -494,4 +529,4 @@ const cameraScreenNamesMapper = {
494
529
  document: "document"
495
530
  };
496
531
  //#endregion
497
- export { setAnalyticsBatcher as _, videoSelfieEvents as a, elementClicked as c, screenClosed as d, screenEvent as f, resetAnalyticsBatcher as g, getAnalyticsBatcher as h, tutorialScreenNamesMapper as i, moduleClosed as l, addEvent as m, eventModuleNames as n, createManagerInstrumentation as o, screenOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, moduleOpened as u, subscribeEvent as v, createEventBus as y };
532
+ export { createEventBus as C, subscribeEvent as S, stateChanged as _, videoSelfieEvents as a, resetAnalyticsBatcher as b, resetExperimentAssignments as c, experimentAssigned as d, moduleClosed as f, screenOpened as g, screenEvent as h, tutorialScreenNamesMapper as i, captureAttemptFinished as l, screenClosed as m, eventModuleNames as n, createManagerInstrumentation as o, moduleOpened as p, eventScreenNames as r, recordExperimentAssignmentOnce as s, cameraScreenNamesMapper as t, elementClicked as u, addEvent as v, setAnalyticsBatcher as x, getAnalyticsBatcher as y };
package/dist/events.d.ts CHANGED
@@ -256,12 +256,38 @@ type ElementClickedPayload = {
256
256
  type CaptureAttemptFinishedPayload = {
257
257
  logs: string;
258
258
  };
259
+ type StateChangedPayload = {
260
+ /**
261
+ * The Figma sub-section name for the in-screen state, e.g.
262
+ * `idCapture.frontCapture.livecue-glare`. Emitted verbatim.
263
+ */
264
+ stateName: string;
265
+ };
266
+ type ExperimentAssignedPayload = {
267
+ flagKey: string;
268
+ experimentId: string;
269
+ experimentName: string;
270
+ variant: string;
271
+ conditions?: Record<string, boolean | number | string>;
272
+ };
259
273
  declare function screenEvent(params: ScreenEventParams): void;
260
274
  declare function moduleOpened(module: EventModule | string, screen?: EventScreen | string, payload?: Record<string, unknown>): void;
261
275
  declare function moduleClosed(module: EventModule | string, screen?: EventScreen | string, payload?: Record<string, unknown>): void;
262
276
  declare function screenOpened(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
263
277
  declare function screenClosed(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
278
+ declare function stateChanged(module: EventModule | string, screen: EventScreen | string | undefined, payload: StateChangedPayload): void;
264
279
  declare function elementClicked(module: EventModule | string, screen: EventScreen | string | undefined, payload: ElementClickedPayload): void;
265
280
  declare function captureAttemptFinished(module: EventModule | string, screen: EventScreen | string | undefined, payload: CaptureAttemptFinishedPayload): void;
281
+ declare function experimentAssigned(module: EventModule | string, payload: ExperimentAssignedPayload, screen?: EventScreen | string): void;
282
+ //#endregion
283
+ //#region src/internal/events/experimentAssignment.d.ts
284
+ /**
285
+ * Records an `experimentAssigned` interview-event, but only the first time
286
+ * for a given `payload.flagKey` since the last `resetExperimentAssignments()`
287
+ * call. Mirrors the dedup precedent in feature-management's
288
+ * `assignExperimentOnce` (Statsig `logEvent` sink) — this is the
289
+ * interview-events sink.
290
+ */
291
+ declare function recordExperimentAssignmentOnce(module: EventModule | string, payload: ExperimentAssignedPayload, screenName?: EventScreen | string): void;
266
292
  //#endregion
267
- export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen, addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
293
+ export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen, type ExperimentAssignedPayload, type StateChangedPayload, addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
@@ -1,2 +1,2 @@
1
- import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened, v as subscribeEvent } from "./events-CMFCCu1H.esm.js";
2
- export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
1
+ import { S as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, v as addEvent } from "./events-ethtfu2b.esm.js";
2
+ export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
@@ -9,21 +9,21 @@ import { t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
9
9
  import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-BBQjIaK4.js";
10
10
  import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CxeMb2tM.js";
11
11
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BGM8bpD0.js";
12
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BhYFeKiG.js";
12
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
13
13
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
14
14
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DVGr7Fq7.js";
15
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-BK_4RbHt.js";
15
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-pEqMY_Oo.js";
16
16
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
17
17
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
18
18
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
19
19
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
20
- import { n as CaptureIdResponse } from "./types-C2n-6lCx.js";
21
- import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-C-WjmsN4.js";
20
+ import { n as CaptureIdResponse } from "./types-4-pU2Nhm.js";
21
+ import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-B2w2CGuV.js";
22
22
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
23
23
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
24
24
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
25
25
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
26
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CzsVFG33.js";
26
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DOZSFZA2.js";
27
27
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DXc_xRN7.js";
28
28
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BiVH2Ymm.js";
29
29
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js";
@@ -1,29 +1,29 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-DEd0CQ74.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-B3g2uAsl.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { n as createAntifraudManagerFromActor } from "./antifraudManager-COYh4O_y.esm.js";
7
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DbhDPMjb.esm.js";
8
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-B7v0Jy-x.esm.js";
9
- import { n as createConsentManagerFromActor } from "./consentManager-CWEAhAJ5.esm.js";
10
- import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Bk4W2TDJ.esm.js";
11
- import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-B6gYKygj.esm.js";
12
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-FvcNYpkS.esm.js";
13
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CfJixpOW.esm.js";
14
- import { n as createEkybManagerFromActor } from "./ekybManager-DVCqaSzz.esm.js";
15
- import { n as createEkycManagerFromActor } from "./ekycManager-dimNksoE.esm.js";
16
- import { n as createEmailManagerFromActor } from "./emailManager-BqJMritP.esm.js";
17
- import { n as createSelfieManagerFromActor } from "./selfieManager-DTiBsQNn.esm.js";
18
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CPzgzVu8.esm.js";
19
- import { n as createPhoneManagerFromActor } from "./phoneManager-WImoAp4i.esm.js";
20
- import { n as createWatchlistManagerFromActor } from "./watchlistManager-DnVfNc1v.esm.js";
21
- import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-0ZHGWr9T.esm.js";
22
- import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-BzaX4TvX.esm.js";
23
- import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-DaKK7S4q.esm.js";
24
- import { n as createIdOcrManagerFromActor } from "./idOcrManager-Drs6frVO.esm.js";
25
- import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-CxEu6KnV.esm.js";
26
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-DW27-LTL.esm.js";
27
- import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-Df97Bf0n.esm.js";
28
- import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-XxTEAj9C.esm.js";
6
+ import { n as createAntifraudManagerFromActor } from "./antifraudManager-Cj_80kXY.esm.js";
7
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-D-9s0vUS.esm.js";
8
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CmkHvt7_.esm.js";
9
+ import { n as createConsentManagerFromActor } from "./consentManager-CbYlnsM-.esm.js";
10
+ import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-D4w4_crz.esm.js";
11
+ import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-KjzGK3MT.esm.js";
12
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DiZWStP_.esm.js";
13
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BxUgij0L.esm.js";
14
+ import { n as createEkybManagerFromActor } from "./ekybManager-LicVPYug.esm.js";
15
+ import { n as createEkycManagerFromActor } from "./ekycManager-JibqQLH-.esm.js";
16
+ import { n as createEmailManagerFromActor } from "./emailManager-DRBVGjai.esm.js";
17
+ import { n as createSelfieManagerFromActor } from "./selfieManager-Cnw55Hp_.esm.js";
18
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DAsfVDWq.esm.js";
19
+ import { n as createPhoneManagerFromActor } from "./phoneManager-Dus4Ddb9.esm.js";
20
+ import { n as createWatchlistManagerFromActor } from "./watchlistManager-BLf37wLN.esm.js";
21
+ import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CNbGch_H.esm.js";
22
+ import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-C4eefgNT.esm.js";
23
+ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-D7C9v5sI.esm.js";
24
+ import { n as createIdOcrManagerFromActor } from "./idOcrManager-HuMeVQrh.esm.js";
25
+ import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-D1WymLy1.esm.js";
26
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-oLdeMbdy.esm.js";
27
+ import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-6R_G7Y-3.esm.js";
28
+ import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-ZlPuKqfF.esm.js";
29
29
  export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -1,3 +1,3 @@
1
1
  import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-ubds4WlI.esm.js";
2
- import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-XxTEAj9C.esm.js";
2
+ import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-ZlPuKqfF.esm.js";
3
3
  export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
@@ -1,9 +1,9 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-CMFCCu1H.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as concealmentToAvatar } from "./faceCaptureSetup-DbhDPMjb.esm.js";
4
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-D-9s0vUS.esm.js";
5
5
  import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
6
- import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-C4qKxOl4.esm.js";
6
+ import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-GFikEK6S.esm.js";
7
7
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
8
8
  function getPermissionStatus(snapshot) {
9
9
  if (!snapshot.matches("permissions")) return;
@@ -1,13 +1,13 @@
1
1
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-C4qKxOl4.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-CVhk1BWp.esm.js";
4
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-D8FzOXsM.esm.js";
6
6
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
7
7
  import { t as createFaceAvatar } from "./createFaceAvatar-x5aaJwVM.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
9
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-UMiLlPfq.esm.js";
10
- import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-BGPq5vGr.esm.js";
9
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0cdQjk6.esm.js";
10
+ import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-D6Hbc408.esm.js";
11
11
  //#region src/internal/avatar/concealment.ts
12
12
  /**
13
13
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { t as faceMatchMachine } from "./faceMatchStateMachine-ubds4WlI.esm.js";
4
4
  //#region src/modules/face-match/faceMatchActor.ts
@@ -252,6 +252,19 @@ const importStatsigJsClient = () => import("./src-0Jurt29N.esm.js").then((m) =>
252
252
  function getProvider() {
253
253
  return FeatureManagementProvider.getInstance();
254
254
  }
255
+ /**
256
+ * Name of the shared Statsig parameter store fronting SDK-module
257
+ * experiments that need mutual exclusion. Callers read only this store via
258
+ * {@link getFeatureParameterStore} (or the UI's `useFeatureManagement`) —
259
+ * each param is wired, in the Statsig console, to a Layer's param, which in
260
+ * turn delegates to the individual Experiment; the Layer guarantees at most
261
+ * one experiment sharing it is ever allocated for a given user, so callers
262
+ * reading different experiments from different surfaces don't need to
263
+ * coordinate that themselves. See the ID module's `useIdExperiment`
264
+ * (`packages/ui/src/modules/id/experiments/`) for the reference
265
+ * integration.
266
+ */
267
+ const ONBOARDING_WEB_SDK_PARAMETER_STORE = "onboarding_web_sdk_ps";
255
268
  let resolveReady;
256
269
  const freshReady = () => new Promise((resolve) => {
257
270
  resolveReady = resolve;
@@ -465,4 +478,4 @@ function buildInitializeOptions(options) {
465
478
  return initializeOptions;
466
479
  }
467
480
  //#endregion
468
- export { applyEnvironment as _, getFeatureManagementVersion as a, getIsFeatureManagementLocked as c, logEvent as d, optOutFeatureManagement as f, updateFeatureManagementUser as g, subscribeFeatureManagement as h, getFeatureGate as i, getLayer as l, resetFeatureManagementProviderInstance as m, getExperiment as n, getFeatureParameterStore as o, resetFeatureManagement as p, getFeatureDynamicConfig as r, getIsFeatureManagementInitialized as s, assignExperimentOnce as t, initializeFeatureManagement as u, getEnvironment as v, resetEnvironment as y };
481
+ export { updateFeatureManagementUser as _, getFeatureGate as a, resetEnvironment as b, getIsFeatureManagementInitialized as c, initializeFeatureManagement as d, logEvent as f, subscribeFeatureManagement as g, resetFeatureManagementProviderInstance as h, getFeatureDynamicConfig as i, getIsFeatureManagementLocked as l, resetFeatureManagement as m, assignExperimentOnce as n, getFeatureManagementVersion as o, optOutFeatureManagement as p, getExperiment as r, getFeatureParameterStore as s, ONBOARDING_WEB_SDK_PARAMETER_STORE as t, getLayer as u, applyEnvironment as v, getEnvironment as y };
@@ -1,5 +1,18 @@
1
1
  import { a as FeatureManagementParameterStore, c as FeatureManagementUserUpdate, i as FeatureManagementLayer, n as FeatureManagementExperiment, o as FeatureManagementReadStatus, r as FeatureManagementGate, s as FeatureManagementRedactedUserInfo, t as FeatureManagementEventMetadata } from "./IFeatureManagementCapability-ErPJywQ_.js";
2
2
  //#region src/integrations/feature-management/featureManagement.d.ts
3
+ /**
4
+ * Name of the shared Statsig parameter store fronting SDK-module
5
+ * experiments that need mutual exclusion. Callers read only this store via
6
+ * {@link getFeatureParameterStore} (or the UI's `useFeatureManagement`) —
7
+ * each param is wired, in the Statsig console, to a Layer's param, which in
8
+ * turn delegates to the individual Experiment; the Layer guarantees at most
9
+ * one experiment sharing it is ever allocated for a given user, so callers
10
+ * reading different experiments from different surfaces don't need to
11
+ * coordinate that themselves. See the ID module's `useIdExperiment`
12
+ * (`packages/ui/src/modules/id/experiments/`) for the reference
13
+ * integration.
14
+ */
15
+ declare const ONBOARDING_WEB_SDK_PARAMETER_STORE = "onboarding_web_sdk_ps";
3
16
  /**
4
17
  * Subscribes to changes in the FeatureManagement user identity (readiness
5
18
  * settling, `updateFeatureManagementUser`, or `resetFeatureManagement`).
@@ -77,4 +90,4 @@ type ExperimentAssignmentPayload = {
77
90
  */
78
91
  declare function assignExperimentOnce(flagKey: string, payload: ExperimentAssignmentPayload, eventName?: string): void;
79
92
  //#endregion
80
- export { type ExperimentAssignmentPayload, type FeatureManagementExperiment, type FeatureManagementGate, type FeatureManagementLayer, type FeatureManagementParameterStore, type FeatureManagementReadStatus, type FeatureManagementRedactedUserInfo, type FeatureManagementUserUpdate, assignExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, subscribeFeatureManagement, updateFeatureManagementUser };
93
+ export { type ExperimentAssignmentPayload, type FeatureManagementExperiment, type FeatureManagementGate, type FeatureManagementLayer, type FeatureManagementParameterStore, type FeatureManagementReadStatus, type FeatureManagementRedactedUserInfo, type FeatureManagementUserUpdate, ONBOARDING_WEB_SDK_PARAMETER_STORE, assignExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, subscribeFeatureManagement, updateFeatureManagementUser };
@@ -1,2 +1,2 @@
1
- import { a as getFeatureManagementVersion, d as logEvent, g as updateFeatureManagementUser, h as subscribeFeatureManagement, i as getFeatureGate, l as getLayer, n as getExperiment, o as getFeatureParameterStore, r as getFeatureDynamicConfig, s as getIsFeatureManagementInitialized, t as assignExperimentOnce } from "./feature-management-Dw96qEMs.esm.js";
2
- export { assignExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, subscribeFeatureManagement, updateFeatureManagementUser };
1
+ import { _ as updateFeatureManagementUser, a as getFeatureGate, c as getIsFeatureManagementInitialized, f as logEvent, g as subscribeFeatureManagement, i as getFeatureDynamicConfig, n as assignExperimentOnce, o as getFeatureManagementVersion, r as getExperiment, s as getFeatureParameterStore, t as ONBOARDING_WEB_SDK_PARAMETER_STORE, u as getLayer } from "./feature-management-CFRmD8Nr.esm.js";
2
+ export { ONBOARDING_WEB_SDK_PARAMETER_STORE, assignExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, subscribeFeatureManagement, updateFeatureManagementUser };
@@ -1,2 +1,2 @@
1
- import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-BzaX4TvX.esm.js";
1
+ import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-C4eefgNT.esm.js";
2
2
  export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
3
3
  import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
4
4
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
@@ -1,11 +1,11 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
3
+ import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ethtfu2b.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
5
5
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
8
- import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
8
+ import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
9
9
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
10
10
  import { BrowserQRCodeReader } from "@zxing/browser";
11
11
  //#region src/modules/fiscal-qr/fiscalQrConstants.ts
package/dist/flow.d.ts CHANGED
@@ -9,7 +9,7 @@ import { t as AuthenticationConfig } from "./types-CrUhpMDP.js";
9
9
  import { r as DocumentCaptureConfig } from "./types-B4BObr_7.js";
10
10
  import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
11
11
  import { t as EkybConfig } from "./types-BfHiko5D.js";
12
- import { c as IdCaptureConfig } from "./types-C2n-6lCx.js";
12
+ import { c as IdCaptureConfig } from "./types-4-pU2Nhm.js";
13
13
  import { r as MandatoryConsentConfig } from "./types-BX_XkMsQ.js";
14
14
  import { t as IdOcrConfig } from "./types-CJ7Yl9K-2.js";
15
15
  import { t as RedirectToMobileConfig } from "./types-DPIDuhut2.js";
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
- import { m as addEvent } from "./events-CMFCCu1H.esm.js";
2
- import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-CPti9am-.esm.js";
1
+ import { v as addEvent } from "./events-ethtfu2b.esm.js";
2
+ import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-ZgW3UGcz.esm.js";
3
3
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BdZR6HyE.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-fagPe5Ct.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-D_DJ1dNA.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CVKUUVl2.esm.js";
7
7
  //#region src/modules/flow/noOpFlowModuleMachine.ts
8
8
  const noOpFlowModuleMachine = setup({}).createMachine({
9
9
  id: "noOpFlowModule",
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
- import { r as toIncodeApiError } from "./apiError-GA6MbJpI.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-CzR7Y6Ua.esm.js";
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
6
6
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,9 +1,9 @@
1
- import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
1
+ import { _ as updateFeatureManagementUser } from "./feature-management-CFRmD8Nr.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DEd0CQ74.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-B3g2uAsl.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-GA6MbJpI.esm.js";
6
- import "./session-Ccob4IUP.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-CzR7Y6Ua.esm.js";
6
+ import "./session-XugVyrIq.esm.js";
7
7
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
8
8
  //#region src/modules/flow/dashboardConfig.ts
9
9
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-DW27-LTL.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-Cz3Q6az0.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-oLdeMbdy.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-CSDKlrHE.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-Cz3Q6az0.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-CSDKlrHE.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
3
  import { r as isIOS, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
4
- import { n as isConnectivityError } from "./apiError-GA6MbJpI.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-CzR7Y6Ua.esm.js";
5
5
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -0,0 +1,16 @@
1
+ import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
2
+ //#region src/internal/device/getBrowser.ts
3
+ function getBrowser() {
4
+ const userAgent = getUserAgent();
5
+ if (!userAgent) return "other";
6
+ const ua = userAgent.toLowerCase();
7
+ if (ua.includes("edg/") || ua.includes("edgios/")) return "edge";
8
+ if (ua.includes("samsungbrowser/")) return "samsung_browser";
9
+ if (ua.includes("opr/") || ua.includes("opera") || ua.includes("opios/") || ua.includes("opt/")) return "opera";
10
+ if (ua.includes("chrome") || ua.includes("crios")) return "chrome";
11
+ if (ua.includes("firefox") || ua.includes("fxios")) return "firefox";
12
+ if (ua.includes("safari")) return "safari";
13
+ return "other";
14
+ }
15
+ //#endregion
16
+ export { getBrowser as t };
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CtG3bIdM.esm.js";
package/dist/home.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { c as createManager, o as createActor, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  //#region src/modules/home/homeStateMachine.ts
4
4
  const homeMachine = setup({ types: {
@@ -1,6 +1,6 @@
1
1
  import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
2
2
  import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-s08FLvEh.esm.js";
3
- import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-Drs6frVO.esm.js";
3
+ import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-HuMeVQrh.esm.js";
4
4
  //#region src/modules/id-ocr/idOcrCpfUtils.ts
5
5
  function formatCPF(value) {
6
6
  const digits = value.replace(/\D/g, "").slice(0, 11);
@@ -1,3 +1,3 @@
1
1
  import { t as idVerificationMachine } from "./idVerificationStateMachine-tAF7pvC8.esm.js";
2
- import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-Df97Bf0n.esm.js";
2
+ import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-6R_G7Y-3.esm.js";
3
3
  export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
package/dist/id.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
2
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
3
3
  import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
4
- import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, M as DetectionOrientation, O as MANUAL_UPLOAD_MAX_RETRIES, P as IdCaptureSettings, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-C2n-6lCx.js";
5
- import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-C-WjmsN4.js";
4
+ import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, M as DetectionOrientation, O as MANUAL_UPLOAD_MAX_RETRIES, P as IdCaptureSettings, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-4-pU2Nhm.js";
5
+ import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-B2w2CGuV.js";
6
6
  //#region src/modules/id/idCaptureOnlyManager.d.ts
7
7
  type IdCaptureOnlyManager = IdCaptureManager;
8
8
  /**