@incodetech/core 2.2.0-rc.4 → 2.2.0-rc.6

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 (112) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-DwRmdjYk.esm.js → BrowserDiagnosticsCryptoProvider-Ce3rctBe.esm.js} +1 -1
  2. package/dist/{IFeatureManagementCapability-DdEUp6tB.d.ts → IFeatureManagementCapability-De8wpbGh.d.ts} +2 -0
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/antifraud.esm.js +1 -1
  5. package/dist/{antifraudManager-B8Plzf7a.esm.js → antifraudManager-BMZvuxv0.esm.js} +1 -1
  6. package/dist/{apiError-CWAYfHJx.esm.js → apiError-BSXFYi4z.esm.js} +1 -1
  7. package/dist/authentication.esm.js +2 -2
  8. package/dist/{authenticationManager-BtG6sanV.esm.js → authenticationManager-DYqYkfs6.esm.js} +3 -3
  9. package/dist/{authenticationStateMachine-DzZyEZ2E.esm.js → authenticationStateMachine-9tP0fEe0.esm.js} +2 -2
  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-uhDPdU6i.d.ts → consentManager-3Pbtj-RV.d.ts} +4 -4
  14. package/dist/{consentManager-BApTlfA0.esm.js → consentManager-DyBXdkFn.esm.js} +1 -1
  15. package/dist/cross-document-data-match.esm.js +1 -1
  16. package/dist/{crossDocumentDataMatchManager-OmYvyung.esm.js → crossDocumentDataMatchManager-pNkutndd.esm.js} +1 -1
  17. package/dist/curp-validation.esm.js +1 -1
  18. package/dist/{curpValidationManager-UZxcrsrz.esm.js → curpValidationManager-DEesnLee.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-DI4NhU6c.esm.js → deepsightLoader-CraWVfCs.esm.js} +3 -3
  22. package/dist/document-capture.esm.js +1 -1
  23. package/dist/document-upload.d.ts +4 -4
  24. package/dist/document-upload.esm.js +1 -1
  25. package/dist/{documentCaptureManager-DszmcU-l.esm.js → documentCaptureManager-DwM7AmEJ.esm.js} +1 -1
  26. package/dist/dynamic-forms.esm.js +2 -2
  27. package/dist/{dynamicFormsManager-CPOoXPtJ.esm.js → dynamicFormsManager-CXkZG8c6.esm.js} +2 -2
  28. package/dist/{dynamicFormsStateMachine-Bcm-rNC9.esm.js → dynamicFormsStateMachine-Cl3kW4E7.esm.js} +1 -1
  29. package/dist/ekyb.esm.js +3 -3
  30. package/dist/{ekybManager-mCkV31Oj.esm.js → ekybManager-BY8ijn3M.esm.js} +2 -2
  31. package/dist/{ekybStateMachine-Wm57dq6z.esm.js → ekybStateMachine-Cyv8iPyH.esm.js} +1 -1
  32. package/dist/ekyc.esm.js +1 -1
  33. package/dist/{ekycManager-oTstTJuL.esm.js → ekycManager-CasdX1Ou.esm.js} +1 -1
  34. package/dist/electronic-signature.esm.js +1 -1
  35. package/dist/{electronicSignatureManager-Cv-gCnFB.esm.js → electronicSignatureManager-CAHjq6JR.esm.js} +2 -2
  36. package/dist/email.esm.js +1 -1
  37. package/dist/{emailManager-tE-YvNtS.esm.js → emailManager-NLzaP12q.esm.js} +1 -1
  38. package/dist/{events-CxfNJVZW.esm.js → events-DYiyoSlx.esm.js} +5 -6
  39. package/dist/events.d.ts +11 -9
  40. package/dist/events.esm.js +1 -1
  41. package/dist/extensibility.d.ts +2 -2
  42. package/dist/extensibility.esm.js +26 -26
  43. package/dist/face-match.esm.js +1 -1
  44. package/dist/{faceCaptureManagerFactory-DkWV2Rxi.esm.js → faceCaptureManagerFactory-BdAtEQUX.esm.js} +2 -2
  45. package/dist/{faceCaptureSetup-BIz5kXo1.esm.js → faceCaptureSetup-BUNskJhm.esm.js} +2 -2
  46. package/dist/{faceMatchManager-BXp2WUT-.esm.js → faceMatchManager-DEVhhdf4.esm.js} +1 -1
  47. package/dist/{feature-management-DS_Nj5Gg.esm.js → feature-management-Bo_xbwQa.esm.js} +31 -40
  48. package/dist/feature-management.d.ts +41 -33
  49. package/dist/feature-management.esm.js +1 -1
  50. package/dist/field-comparison.esm.js +1 -1
  51. package/dist/{fieldComparisonManager-DhnYdYZ2.esm.js → fieldComparisonManager-BRYsIi34.esm.js} +1 -1
  52. package/dist/fiscal-qr.esm.js +1 -1
  53. package/dist/flow.esm.js +4 -4
  54. package/dist/{flowCompletionService-B29w-H-l.esm.js → flowCompletionService-J_2XiDZG.esm.js} +1 -1
  55. package/dist/{flowServices-CoQO_OEM.esm.js → flowServices-BydHVxc7.esm.js} +4 -4
  56. package/dist/geolocation.esm.js +2 -2
  57. package/dist/{geolocationManager-D2ColsD6.esm.js → geolocationManager-BF_JcCgS.esm.js} +2 -2
  58. package/dist/{geolocationStateMachine-B5grSpwG.esm.js → geolocationStateMachine-rYPrOUyM.esm.js} +1 -1
  59. package/dist/government-validation.esm.js +1 -1
  60. package/dist/home.esm.js +1 -1
  61. package/dist/id-ocr.esm.js +1 -1
  62. package/dist/id-selfie-flow.esm.js +6 -6
  63. package/dist/id-verification.esm.js +1 -1
  64. package/dist/id.esm.js +5 -5
  65. package/dist/{idCaptureManager-DhBKQbx1.esm.js → idCaptureManager-C5zp-Xje.esm.js} +3 -3
  66. package/dist/{idCaptureServices-BDuNFO5R.esm.js → idCaptureServices-28d5mDGM.esm.js} +7 -7
  67. package/dist/{idCaptureStateMachine-B_xeDDoe.esm.js → idCaptureStateMachine-3jTqEo76.esm.js} +10 -10
  68. package/dist/{idOcrManager-CvJZhmBR.esm.js → idOcrManager-D_2k-6Vv.esm.js} +1 -1
  69. package/dist/{idVerificationManager-CduNXhWd.esm.js → idVerificationManager-DdlrWSSB.esm.js} +1 -1
  70. package/dist/identity-reuse.esm.js +1 -1
  71. package/dist/{identityReuseManager-D5vXknnJ.esm.js → identityReuseManager-CzLZNgdh.esm.js} +1 -1
  72. package/dist/index.d.ts +1 -1
  73. package/dist/index.esm.js +1 -1
  74. package/dist/{invokeOnCaptureCallback-1m1VJ3Q4.esm.js → invokeOnCaptureCallback-GpvMuz9o.esm.js} +1 -1
  75. package/dist/mandatory-consent.d.ts +1 -1
  76. package/dist/mandatory-consent.esm.js +1 -1
  77. package/dist/{mandatoryConsentManager-BeELm1zS.esm.js → mandatoryConsentManager-CEIkNukS.esm.js} +1 -1
  78. package/dist/{mandatoryConsentManager-B29kR0XA.d.ts → mandatoryConsentManager-DyPzUmsZ.d.ts} +4 -4
  79. package/dist/{onDeviceFaceResults-DW0YQBwI.esm.js → onDeviceFaceResults-CTinxa9H.esm.js} +3 -3
  80. package/dist/personhood.esm.js +4 -4
  81. package/dist/phone.esm.js +1 -1
  82. package/dist/{phoneManager-Cpiai2IM.esm.js → phoneManager-B_03mKyi.esm.js} +1 -1
  83. package/dist/qe-signature.esm.js +1 -1
  84. package/dist/{recordingService-DYqJAAtL.esm.js → recordingService-DtWTn91V.esm.js} +1 -1
  85. package/dist/redirect-to-mobile.esm.js +1 -1
  86. package/dist/{redirectToMobileManager-C0dfc7f6.esm.js → redirectToMobileManager-Bgo6eqri.esm.js} +1 -1
  87. package/dist/{runChildModule-2tv2p_6N.esm.js → runChildModule-Bl5F16W9.esm.js} +2 -2
  88. package/dist/sdkVersion-DEks9mOi.esm.js +4 -0
  89. package/dist/selfie.esm.js +6 -6
  90. package/dist/{selfieManager-BTIS_iOp.esm.js → selfieManager-D1jZ1_6k.esm.js} +3 -3
  91. package/dist/{selfieStateMachine-BPLgLxe5.esm.js → selfieStateMachine-CW_c5AnO.esm.js} +2 -2
  92. package/dist/{session-BbXw3RJ2.esm.js → session-ChIfu6mP.esm.js} +4 -4
  93. package/dist/session.esm.js +4 -4
  94. package/dist/{sessionInitializer-BdF3rTD7.esm.js → sessionInitializer-BFJAT3u0.esm.js} +5 -4
  95. package/dist/{setup-DywQeePQ.d.ts → setup-BgoWtvIS.d.ts} +13 -1
  96. package/dist/{setup-JmDFaxnz.esm.js → setup-CcxP8TVK.esm.js} +7 -6
  97. package/dist/signature.esm.js +1 -1
  98. package/dist/{signatureManager-DdPgcmou.esm.js → signatureManager-DoACIR02.esm.js} +1 -1
  99. package/dist/trueSight-CAaztf3O.esm.js +1 -0
  100. package/dist/{trueSightService-TOH-YH6W.esm.js → trueSightService-B49-Eq-5.esm.js} +4 -6
  101. package/dist/trust-graph.esm.js +1 -1
  102. package/dist/video-selfie.esm.js +3 -3
  103. package/dist/{videoSelfieCameraWarmer-BbuNmW08.esm.js → videoSelfieCameraWarmer-qld900rY.esm.js} +2 -2
  104. package/dist/wasm.d.ts +1 -1
  105. package/dist/wasm.esm.js +1 -1
  106. package/dist/watchlist-for-business.esm.js +1 -1
  107. package/dist/watchlist.esm.js +1 -1
  108. package/dist/{watchlistManager-CjSMmbyq.esm.js → watchlistManager-CPBZnFYj.esm.js} +1 -1
  109. package/dist/workflow.d.ts +4 -4
  110. package/dist/workflow.esm.js +16 -16
  111. package/package.json +1 -1
  112. package/dist/trueSight-bfTk8-o5.esm.js +0 -1
@@ -1,4 +1,5 @@
1
1
  import { a as __toESM } from "./rolldown-runtime-FZ4Itg2g.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-DEks9mOi.esm.js";
2
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
3
4
  let currentEnvironment;
4
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -103,7 +104,8 @@ var FeatureManagementProvider = class FeatureManagementProvider {
103
104
  };
104
105
  this._user = this._getAdjustedUser({
105
106
  customIDs: config.customIDs,
106
- custom: config.custom
107
+ custom: config.custom,
108
+ appVersion: config.appVersion
107
109
  });
108
110
  const client = new module.StatsigClient(CLIENT_SDK_KEY, this._user, {
109
111
  environment: { tier: config.environment },
@@ -206,6 +208,7 @@ var FeatureManagementProvider = class FeatureManagementProvider {
206
208
  _getAdjustedUser(user) {
207
209
  const persistedUserCustomIDs = this._user.customIDs ?? {};
208
210
  const persistedUserCustom = this._user.custom ?? {};
211
+ const appVersion = user.appVersion ?? this._user.appVersion;
209
212
  return {
210
213
  customIDs: {
211
214
  ...persistedUserCustomIDs,
@@ -215,6 +218,7 @@ var FeatureManagementProvider = class FeatureManagementProvider {
215
218
  ...persistedUserCustom,
216
219
  ...user.custom
217
220
  },
221
+ ...appVersion !== void 0 ? { appVersion } : {},
218
222
  ...this._getRedactedFields()
219
223
  };
220
224
  }
@@ -454,7 +458,11 @@ function getIsFeatureManagementLocked() {
454
458
  function buildInitializeOptions(options) {
455
459
  const initializeOptions = { environment: options.environment ?? "production" };
456
460
  if (options.clientExperimentId) initializeOptions.customIDs = { client_experiment_id: options.clientExperimentId };
457
- if (options.custom) initializeOptions.custom = options.custom;
461
+ initializeOptions.custom = {
462
+ ...options.custom,
463
+ sdkVersion: SDK_VERSION
464
+ };
465
+ if (options.appVersion) initializeOptions.appVersion = options.appVersion;
458
466
  if (options.redactedUserInfo) initializeOptions.redactedUserInfo = options.redactedUserInfo;
459
467
  initializeOptions.disableStableId = options.disableStableId ?? true;
460
468
  initializeOptions.disablePersistence = options.disablePersistence ?? true;
@@ -467,18 +475,14 @@ const resolvedExperiments = /* @__PURE__ */ new Map();
467
475
  const exposedExperiments = /* @__PURE__ */ new Set();
468
476
  /**
469
477
  * Non-null fallback compared by reference. A `null` code fallback disables
470
- * Statsig validation; this sentinel distinguishes `unavailable` from console
471
- * `not_allocated`.
478
+ * Statsig's type validation, so `undefined`/`null` can never be used here.
479
+ * The `__unavailable` marker exists purely for debuggability: a genuinely
480
+ * not-allocated console payload is an empty object `{}`, which is otherwise
481
+ * indistinguishable from this sentinel by inspection (both resolve to code
482
+ * defaults with no assignment — the reference check is what actually
483
+ * matters at runtime).
472
484
  */
473
- const EXPERIMENT_UNAVAILABLE_SENTINEL = Object.freeze({
474
- schema: "v1",
475
- status: "not_allocated",
476
- arm: "",
477
- flagKey: "",
478
- experimentId: "",
479
- experimentName: "",
480
- params: {}
481
- });
485
+ const EXPERIMENT_UNAVAILABLE_SENTINEL = Object.freeze({ __unavailable: true });
482
486
  function isRecord(value) {
483
487
  return typeof value === "object" && value !== null;
484
488
  }
@@ -488,43 +492,26 @@ function defaultsResult(spec) {
488
492
  assignment: null
489
493
  };
490
494
  }
491
- function buildAssignment(payload) {
492
- const flagKey = payload.flagKey;
493
- const experimentId = payload.experimentId;
494
- const experimentName = payload.experimentName;
495
- const arm = payload.arm;
496
- if (typeof flagKey !== "string" || typeof experimentId !== "string" || typeof experimentName !== "string" || typeof arm !== "string" || !flagKey || !experimentId || !experimentName || !arm) return null;
497
- return {
498
- flagKey,
499
- experimentId,
500
- experimentName,
501
- variant: arm
502
- };
495
+ /** Non-empty record means reportable; nothing inside it is validated. */
496
+ function buildAssignment(analytics) {
497
+ if (!isRecord(analytics) || Object.keys(analytics).length === 0) return null;
498
+ return { ...analytics };
503
499
  }
504
500
  function evaluateExperimentPayload(spec, raw) {
505
501
  if (raw === EXPERIMENT_UNAVAILABLE_SENTINEL) return defaultsResult(spec);
506
- if (!isRecord(raw) || raw.schema !== "v1") return defaultsResult(spec);
507
- const status = raw.status;
508
- if (status !== "ongoing" && status !== "completed" && status !== "not_allocated") return defaultsResult(spec);
509
- if (status === "not_allocated") return defaultsResult(spec);
510
- const rawParams = isRecord(raw.params) ? raw.params : {};
511
- const parsedParams = spec.parseParams(rawParams);
512
- if (parsedParams === null) return defaultsResult(spec);
502
+ if (!isRecord(raw)) return defaultsResult(spec);
503
+ const parsedParams = spec.parseParams(raw);
513
504
  const params = {
514
505
  ...spec.defaults,
515
506
  ...parsedParams
516
507
  };
517
- if (status === "completed") return {
518
- params,
519
- assignment: null
520
- };
521
508
  if (!getFeatureGate(EXPERIMENT_ASSIGNED_ANALYTICS_EVENT_GATE).enabled) return {
522
509
  params,
523
510
  assignment: null
524
511
  };
525
512
  return {
526
513
  params,
527
- assignment: buildAssignment(raw)
514
+ assignment: buildAssignment(raw.analytics)
528
515
  };
529
516
  }
530
517
  /**
@@ -589,8 +576,9 @@ const enumParam = (defaultValue, allowed) => ({
589
576
  /**
590
577
  * Derives the `defaults` / `parseParams` half of an `ExperimentSpec` from a
591
578
  * schema. An omitted param keeps its code default (control users still get
592
- * shipped behavior); a present-but-invalid param rejects the whole payload so
593
- * a corrupt console edit can never produce a half-applied treatment.
579
+ * shipped behavior); a present-but-invalid param is skipped (falls back to
580
+ * its own default) rather than rejecting the whole payload, so a corrupt
581
+ * console edit to one key never disables the rest of the treatment.
594
582
  */
595
583
  function defineExperimentParams(schema) {
596
584
  const keys = Object.keys(schema);
@@ -604,7 +592,10 @@ function defineExperimentParams(schema) {
604
592
  for (const key of keys) {
605
593
  if (!(key in raw) || raw[key] === void 0) continue;
606
594
  const value = raw[key];
607
- if (!schema[key].isValid(value)) return null;
595
+ if (!schema[key].isValid(value)) {
596
+ console.warn(`[experiments] Invalid value for param "${key}" — falling back to its default.`);
597
+ continue;
598
+ }
608
599
  parsed[key] = value;
609
600
  }
610
601
  return parsed;
@@ -1,4 +1,4 @@
1
- import { a as FeatureManagementParameterStore, c as FeatureManagementRedactedUserInfo, i as FeatureManagementLayer, l as FeatureManagementUserUpdate, n as FeatureManagementExperiment, o as FeatureManagementParameterStoreEvaluationOptions, r as FeatureManagementGate, s as FeatureManagementReadStatus, t as FeatureManagementEventMetadata } from "./IFeatureManagementCapability-DdEUp6tB.js";
1
+ import { a as FeatureManagementParameterStore, c as FeatureManagementRedactedUserInfo, i as FeatureManagementLayer, l as FeatureManagementUserUpdate, n as FeatureManagementExperiment, o as FeatureManagementParameterStoreEvaluationOptions, r as FeatureManagementGate, s as FeatureManagementReadStatus, t as FeatureManagementEventMetadata } from "./IFeatureManagementCapability-De8wpbGh.js";
2
2
  //#region src/integrations/feature-management/featureManagement.d.ts
3
3
  /**
4
4
  * Name of the shared Statsig parameter store fronting SDK-module
@@ -78,31 +78,34 @@ declare function logEvent(name: string, value?: string | number, options?: {
78
78
  }): void;
79
79
  //#endregion
80
80
  //#region src/integrations/feature-management/experiments.d.ts
81
- /** Statsig object payload for a v1 experiment param. */
82
- type ExperimentTransportV1 = {
83
- schema: 'v1';
84
- status: 'ongoing' | 'completed' | 'not_allocated';
85
- arm: string;
86
- flagKey: string;
87
- experimentId: string;
88
- experimentName: string;
89
- params: Record<string, unknown>;
90
- };
81
+ /**
82
+ * Statsig object payload: declared params live at the root; `analytics` is
83
+ * an optional, code-unvalidated block spread verbatim into the
84
+ * `experimentsAssigned` event. Presence of a non-empty `analytics` record is
85
+ * the only reportability signal — there is no `schema`/`status`/`arm`
86
+ * discriminator.
87
+ */
88
+ type ExperimentTransport = {
89
+ analytics?: Record<string, unknown>;
90
+ } & Record<string, unknown>;
91
91
  type ExperimentSpec<P> = {
92
92
  storeParam: string;
93
93
  defaults: P;
94
- parseParams(raw: Record<string, unknown>): Partial<P> | null;
95
- };
96
- type ExperimentAssignedPayload = {
97
- flagKey: string;
98
- experimentId: string;
99
- experimentName: string;
100
- variant: string;
101
- conditions?: Record<string, boolean | number | string>;
94
+ parseParams(raw: Record<string, unknown>): Partial<P>;
102
95
  };
96
+ /**
97
+ * Verbatim copy of the console-supplied `analytics` block. Only `flagKey`
98
+ * (used elsewhere for reporting identity) is conventionally present — no
99
+ * field here is required or validated by the SDK.
100
+ */
101
+ type ExperimentAssignedPayload = Record<string, unknown>;
103
102
  type ResolvedExperiment<P> = {
104
103
  params: P;
105
- /** Null when not reportable: notAllocated, shipped, unavailable, or gate off. */
104
+ /**
105
+ * Null when not reportable: `analytics` absent/empty on the console
106
+ * payload, not allocated (`{}`), unavailable, or the
107
+ * `experiment_assigned_analytics_event` gate is off.
108
+ */
106
109
  assignment: ExperimentAssignedPayload | null;
107
110
  };
108
111
  type ResolveExperimentOptions = {
@@ -111,17 +114,15 @@ type ResolveExperimentOptions = {
111
114
  };
112
115
  /**
113
116
  * Non-null fallback compared by reference. A `null` code fallback disables
114
- * Statsig validation; this sentinel distinguishes `unavailable` from console
115
- * `not_allocated`.
117
+ * Statsig's type validation, so `undefined`/`null` can never be used here.
118
+ * The `__unavailable` marker exists purely for debuggability: a genuinely
119
+ * not-allocated console payload is an empty object `{}`, which is otherwise
120
+ * indistinguishable from this sentinel by inspection (both resolve to code
121
+ * defaults with no assignment — the reference check is what actually
122
+ * matters at runtime).
116
123
  */
117
124
  declare const EXPERIMENT_UNAVAILABLE_SENTINEL: Readonly<{
118
- schema: "v1";
119
- status: "not_allocated";
120
- arm: "";
121
- flagKey: "";
122
- experimentId: "";
123
- experimentName: "";
124
- params: {};
125
+ __unavailable: true;
125
126
  }>;
126
127
  /**
127
128
  * Resolves an object-shaped experiment param with exposure suppressed (phase 1).
@@ -149,7 +150,13 @@ type ExperimentParamDescriptor<T extends ExperimentParamValue> = {
149
150
  default: T;
150
151
  isValid: (value: unknown) => value is T;
151
152
  };
152
- type ExperimentParamsSchema = Record<string, ExperimentParamDescriptor<ExperimentParamValue>>;
153
+ type ExperimentParamsSchema = Record<string, ExperimentParamDescriptor<ExperimentParamValue>> & {
154
+ /**
155
+ * Reserved at the payload root for the pass-through analytics block — a
156
+ * param schema can never declare a param named `analytics`.
157
+ */
158
+ analytics?: never;
159
+ };
153
160
  /** The params map a schema implies — the single source of truth for `P`. */
154
161
  type InferExperimentParams<S extends ExperimentParamsSchema> = { [K in keyof S]: S[K] extends ExperimentParamDescriptor<infer T> ? T : never; };
155
162
  type NumberParamBounds = {
@@ -165,9 +172,10 @@ declare const enumParam: <const T extends readonly string[]>(defaultValue: T[num
165
172
  /**
166
173
  * Derives the `defaults` / `parseParams` half of an `ExperimentSpec` from a
167
174
  * schema. An omitted param keeps its code default (control users still get
168
- * shipped behavior); a present-but-invalid param rejects the whole payload so
169
- * a corrupt console edit can never produce a half-applied treatment.
175
+ * shipped behavior); a present-but-invalid param is skipped (falls back to
176
+ * its own default) rather than rejecting the whole payload, so a corrupt
177
+ * console edit to one key never disables the rest of the treatment.
170
178
  */
171
179
  declare function defineExperimentParams<S extends ExperimentParamsSchema>(schema: S): Pick<ExperimentSpec<InferExperimentParams<S>>, 'defaults' | 'parseParams'>;
172
180
  //#endregion
173
- export { EXPERIMENT_UNAVAILABLE_SENTINEL, type ExperimentAssignedPayload, type ExperimentParamDescriptor, type ExperimentParamValue, type ExperimentParamsSchema, type ExperimentSpec, type ExperimentTransportV1, type FeatureManagementExperiment, type FeatureManagementGate, type FeatureManagementLayer, type FeatureManagementParameterStore, type FeatureManagementParameterStoreEvaluationOptions, type FeatureManagementReadStatus, type FeatureManagementRedactedUserInfo, type FeatureManagementUserUpdate, type InferExperimentParams, type NumberParamBounds, ONBOARDING_WEB_SDK_PARAMETER_STORE, type ResolveExperimentOptions, type ResolvedExperiment, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
181
+ export { EXPERIMENT_UNAVAILABLE_SENTINEL, type ExperimentAssignedPayload, type ExperimentParamDescriptor, type ExperimentParamValue, type ExperimentParamsSchema, type ExperimentSpec, type ExperimentTransport, type FeatureManagementExperiment, type FeatureManagementGate, type FeatureManagementLayer, type FeatureManagementParameterStore, type FeatureManagementParameterStoreEvaluationOptions, type FeatureManagementReadStatus, type FeatureManagementRedactedUserInfo, type FeatureManagementUserUpdate, type InferExperimentParams, type NumberParamBounds, ONBOARDING_WEB_SDK_PARAMETER_STORE, type ResolveExperimentOptions, type ResolvedExperiment, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
@@ -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-DS_Nj5Gg.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-Bo_xbwQa.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
@@ -1,2 +1,2 @@
1
- import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-DhnYdYZ2.esm.js";
1
+ import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-BRYsIi34.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-CxfNJVZW.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.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,6 +1,6 @@
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 { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-CxfNJVZW.esm.js";
3
+ import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-DYiyoSlx.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.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";
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
- import { v as addEvent } from "./events-CxfNJVZW.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-CoQO_OEM.esm.js";
1
+ import { v as addEvent } from "./events-DYiyoSlx.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-BydHVxc7.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-B29w-H-l.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-2tv2p_6N.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-J_2XiDZG.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Bl5F16W9.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-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError } from "./apiError-CWAYfHJx.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-BSXFYi4z.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 { E as updateFeatureManagementUser } from "./feature-management-DS_Nj5Gg.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-Bo_xbwQa.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-BdF3rTD7.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BFJAT3u0.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-CWAYfHJx.esm.js";
6
- import "./session-BbXw3RJ2.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-BSXFYi4z.esm.js";
6
+ import "./session-ChIfu6mP.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-D2ColsD6.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-B5grSpwG.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-BF_JcCgS.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-rYPrOUyM.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-B5grSpwG.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-rYPrOUyM.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-CCzL3XD_.esm.js";
3
3
  import { i as isIOS, t as isAndroid } from "./platform-BJrm5nzZ.esm.js";
4
- import { n as isConnectivityError } from "./apiError-CWAYfHJx.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-BSXFYi4z.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
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.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-BYKYUdza.esm.js";
package/dist/home.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.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-Bq_e3l4E.esm.js";
3
- import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-CvJZhmBR.esm.js";
3
+ import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-D_2k-6Vv.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,17 +1,17 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-JmDFaxnz.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-CcxP8TVK.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-CoQO_OEM.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-BydHVxc7.esm.js";
5
5
  import { c as createManager, n as sendTo, 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
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-DW0YQBwI.esm.js";
7
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-CTinxa9H.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
9
  import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-C2PYBVsp.esm.js";
10
10
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-WeHbQM7W.esm.js";
12
- import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-BDuNFO5R.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-B29w-H-l.esm.js";
14
- import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-BbuNmW08.esm.js";
12
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-28d5mDGM.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-J_2XiDZG.esm.js";
14
+ import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-qld900rY.esm.js";
15
15
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
16
16
  /** Default autocapture window for the selfie step. */
17
17
  const SELFIE_AUTOCAPTURE_MS = 1e4;
@@ -1,3 +1,3 @@
1
1
  import { t as idVerificationMachine } from "./idVerificationStateMachine-GEQWUPU2.esm.js";
2
- import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-CduNXhWd.esm.js";
2
+ import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-DdlrWSSB.esm.js";
3
3
  export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
package/dist/id.esm.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
2
- import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
2
+ import { n as eventModuleNames } from "./events-DYiyoSlx.esm.js";
3
3
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-B_xeDDoe.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DhBKQbx1.esm.js";
7
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-BDuNFO5R.esm.js";
8
- import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-1m1VJ3Q4.esm.js";
5
+ import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-3jTqEo76.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-C5zp-Xje.esm.js";
7
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-28d5mDGM.esm.js";
8
+ import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-GpvMuz9o.esm.js";
9
9
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
10
10
  function buildSubImage(canvas) {
11
11
  if (!canvas) return void 0;
@@ -1,12 +1,12 @@
1
1
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-UvUcOSRb.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-B_xeDDoe.esm.js";
9
- import { m as resolveIdCaptureThresholds, p as resolveCaptureResultPreviewTreatment } from "./idCaptureServices-BDuNFO5R.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-3jTqEo76.esm.js";
9
+ import { m as resolveIdCaptureThresholds, p as resolveCaptureResultPreviewTreatment } from "./idCaptureServices-28d5mDGM.esm.js";
10
10
  //#region src/modules/id/digitalUpload/instrumentation.ts
11
11
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
12
12
  function isHoldingState(value) {
@@ -1,11 +1,11 @@
1
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DS_Nj5Gg.esm.js";
1
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-Bo_xbwQa.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
4
  import { r as isDesktop } from "./platform-BJrm5nzZ.esm.js";
5
- import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-DW0YQBwI.esm.js";
5
+ import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-CTinxa9H.esm.js";
6
6
  import { n as getBackCameraStream } from "./backCameraStream-CUeYm5eu.esm.js";
7
7
  import { t as getDeviceClass } from "./getDeviceClass-9y-kbVDw.esm.js";
8
- import { n as preloadOpenViduProvider } from "./recordingService-DYqJAAtL.esm.js";
8
+ import { n as preloadOpenViduProvider } from "./recordingService-DtWTn91V.esm.js";
9
9
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-WeHbQM7W.esm.js";
10
10
  //#region src/modules/id/idCameraStream.ts
11
11
  async function getIdCameraStream(deviceId) {
@@ -14,14 +14,14 @@ async function getIdCameraStream(deviceId) {
14
14
  //#endregion
15
15
  //#region src/modules/id/idCaptureExperiments.ts
16
16
  /**
17
- * IDC-05 — resolved by core because `framesAggregationInterval` feeds
17
+ * IDC-05 — resolved by core because `framesAggregationIntervalMs` feeds
18
18
  * `setThresholds` before detection can run.
19
19
  */
20
20
  const CAPTURE_RESULT_PREVIEW = {
21
- storeParam: "captureResultPreview",
21
+ storeParam: "idcExp05ShowResult",
22
22
  ...defineExperimentParams({
23
23
  showCaptureResultPreview: booleanParam(false),
24
- framesAggregationInterval: numberParam(DEFAULT_ID_CAPTURE_THRESHOLDS.framesAggregationInterval)
24
+ framesAggregationIntervalMs: numberParam(DEFAULT_ID_CAPTURE_THRESHOLDS.framesAggregationInterval)
25
25
  })
26
26
  };
27
27
  //#endregion
@@ -31,7 +31,7 @@ function resolveCaptureResultPreviewTreatment(config) {
31
31
  const { params } = resolveExperimentOnce(CAPTURE_RESULT_PREVIEW);
32
32
  return {
33
33
  mode: params.showCaptureResultPreview ? "result-preview" : "countdown",
34
- framesAggregationInterval: params.framesAggregationInterval
34
+ framesAggregationInterval: params.framesAggregationIntervalMs
35
35
  };
36
36
  }
37
37
  /**
@@ -1,18 +1,18 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
- import { s as exposeExperimentOnce } from "./feature-management-DS_Nj5Gg.esm.js";
2
+ import { s as exposeExperimentOnce } from "./feature-management-Bo_xbwQa.esm.js";
3
3
  import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
4
4
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-TOH-YH6W.esm.js";
6
- import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-CxfNJVZW.esm.js";
7
- import { t as getDisableIpify } from "./sessionInitializer-BdF3rTD7.esm.js";
8
- import "./trueSight-bfTk8-o5.esm.js";
5
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-B49-Eq-5.esm.js";
6
+ import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-DYiyoSlx.esm.js";
7
+ import { t as getDisableIpify } from "./sessionInitializer-BFJAT3u0.esm.js";
8
+ import "./trueSight-CAaztf3O.esm.js";
9
9
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
10
10
  import { t as isAndroid } from "./platform-BJrm5nzZ.esm.js";
11
- import "./session-BbXw3RJ2.esm.js";
11
+ import "./session-ChIfu6mP.esm.js";
12
12
  import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
13
13
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
14
14
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-UvUcOSRb.esm.js";
15
- import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-DW0YQBwI.esm.js";
15
+ import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-CTinxa9H.esm.js";
16
16
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
17
17
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
18
18
  import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
@@ -20,7 +20,7 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
20
20
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
21
21
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KINpmKtI.esm.js";
22
22
  import { n as flagIdManualReview } from "./manualReviewService-D4IkipnN.esm.js";
23
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as getIdCameraStream, h as CAPTURE_RESULT_PREVIEW, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-BDuNFO5R.esm.js";
23
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as getIdCameraStream, h as CAPTURE_RESULT_PREVIEW, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-28d5mDGM.esm.js";
24
24
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
25
25
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
26
26
  function isKnownFailReason(reason) {
@@ -1338,7 +1338,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1338
1338
  });
1339
1339
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1340
1340
  if (!input.dependencies) return;
1341
- const { loadDeepsightSession } = await import("./deepsightLoader-DI4NhU6c.esm.js");
1341
+ const { loadDeepsightSession } = await import("./deepsightLoader-CraWVfCs.esm.js");
1342
1342
  return loadDeepsightSession({
1343
1343
  ds: input.ds,
1344
1344
  storage: input.dependencies.storage,
@@ -1380,7 +1380,7 @@ function performReportCaptureResultPreviewAssignment(context) {
1380
1380
  if (context.config.supportsCaptureResultPreview !== true) return;
1381
1381
  const assignment = exposeExperimentOnce(CAPTURE_RESULT_PREVIEW);
1382
1382
  if (!assignment) return;
1383
- recordExperimentAssignmentOnce(eventModuleNames.idCapture, assignment);
1383
+ recordExperimentAssignmentOnce(eventModuleNames.idCapture, CAPTURE_RESULT_PREVIEW.storeParam, assignment);
1384
1384
  }
1385
1385
  function performStopMediaRecording(context) {
1386
1386
  if (context.recordingSession) stopRecording(context.recordingSession);
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { t as idOcrStateMachine } from "./idOcrStateMachine-Bq_e3l4E.esm.js";
4
4
  //#region src/modules/id-ocr/idOcrActor.ts
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { t as idVerificationMachine } from "./idVerificationStateMachine-GEQWUPU2.esm.js";
4
4
  //#region src/modules/id-verification/idVerificationActor.ts
@@ -1,3 +1,3 @@
1
1
  import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-AubRPhIi.esm.js";
2
- import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-D5vXknnJ.esm.js";
2
+ import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-CzLZNgdh.esm.js";
3
3
  export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as identityReuseMachine } from "./identityReuseStateMachine-AubRPhIi.esm.js";
4
4
  //#region src/modules/identity-reuse/identityReuseActor.ts
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as isConfigured, c as setup, o as reset, t as SetupOptions } from "./setup-DywQeePQ.js";
1
+ import { a as isConfigured, c as setup, o as reset, t as SetupOptions } from "./setup-BgoWtvIS.js";
2
2
  export { type SetupOptions, isConfigured, reset, setup };
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-JmDFaxnz.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-CcxP8TVK.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,4 +1,4 @@
1
- import { v as addEvent } from "./events-CxfNJVZW.esm.js";
1
+ import { v as addEvent } from "./events-DYiyoSlx.esm.js";
2
2
  //#region src/internal/captureOnly/invokeOnCaptureCallback.ts
3
3
  /**
4
4
  * Invokes an integrator-provided `onCapture` callback with the assembled
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-BX_XkMsQ2.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-B29kR0XA.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-DyPzUmsZ.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,3 +1,3 @@
1
1
  import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-zroQGzwb.esm.js";
2
- import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-BeELm1zS.esm.js";
2
+ import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-CEIkNukS.esm.js";
3
3
  export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };