@incodetech/core 0.0.0-dev-20260803-e2b5d35d → 0.0.0-dev-20260803-bc311d6e

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 (58) hide show
  1. package/dist/ae-signature.d.ts +3 -2
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-C_08gwg2.esm.js → apiError-DayXRMcE.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-D76jxYNX.esm.js → authenticationManager-Ci3cN0mo.esm.js} +2 -2
  6. package/dist/{authenticationStateMachine-CJILuEbH.esm.js → authenticationStateMachine-BiaLinvh.esm.js} +2 -2
  7. package/dist/{deepsightLoader-DqEfPplN.esm.js → deepsightLoader-DveLheaa.esm.js} +3 -3
  8. package/dist/document-capture.d.ts +1 -1
  9. package/dist/{documentCaptureManager-pEqMY_Oo.d.ts → documentCaptureManager-trL8jFh6.d.ts} +1 -1
  10. package/dist/dynamic-forms.esm.js +2 -2
  11. package/dist/{dynamicFormsManager-BHfeedY2.esm.js → dynamicFormsManager-TYmruB9C.esm.js} +1 -1
  12. package/dist/{dynamicFormsStateMachine-BeKhow9E.esm.js → dynamicFormsStateMachine-BnljwziI.esm.js} +1 -1
  13. package/dist/ekyb.esm.js +3 -3
  14. package/dist/{ekybManager-3pPpvD6Z.esm.js → ekybManager-CU0ty0EZ.esm.js} +1 -1
  15. package/dist/{ekybStateMachine-BH8TaB7v.esm.js → ekybStateMachine-DY0mmNQI.esm.js} +1 -1
  16. package/dist/electronic-signature.d.ts +3 -3
  17. package/dist/electronic-signature.esm.js +2 -2
  18. package/dist/{index-DGcdhk8Y.d.ts → electronicSignatureManager-CcUXQZS7.d.ts} +62 -26
  19. package/dist/{electronicSignatureManager-DHC0bqr9.esm.js → electronicSignatureManager-cHybD5Bw.esm.js} +40 -21
  20. package/dist/extensibility.d.ts +4 -2
  21. package/dist/extensibility.esm.js +10 -9
  22. package/dist/{faceCaptureManagerFactory-DqQCDsDY.esm.js → faceCaptureManagerFactory-CTnjKSuy.esm.js} +1 -1
  23. package/dist/{faceCaptureSetup-5Ye-LXbB.esm.js → faceCaptureSetup-BqNYf1pp.esm.js} +2 -2
  24. package/dist/flow.d.ts +1 -1
  25. package/dist/flow.esm.js +3 -3
  26. package/dist/{flowCompletionService-DEO2OqAI.esm.js → flowCompletionService-BUo_9js9.esm.js} +1 -1
  27. package/dist/{flowServices-D6T8fwIf.esm.js → flowServices-2jR_i-zB.esm.js} +3 -3
  28. package/dist/geolocation.esm.js +2 -2
  29. package/dist/{geolocationManager-IbghOO6X.esm.js → geolocationManager-BJvADFnB.esm.js} +1 -1
  30. package/dist/{geolocationStateMachine-B5WkRLnz.esm.js → geolocationStateMachine-D3l-iyse.esm.js} +1 -1
  31. package/dist/id-selfie-flow.esm.js +6 -6
  32. package/dist/id.esm.js +3 -3
  33. package/dist/{idCaptureManager-C_q4C_aV.esm.js → idCaptureManager-CGT4KB0h.esm.js} +1 -1
  34. package/dist/{idCaptureServices-DlnEwYJJ.esm.js → idCaptureServices-CMx3jKjy.esm.js} +2 -2
  35. package/dist/{idCaptureStateMachine-CKJ_aV6s.esm.js → idCaptureStateMachine-CnDRERtP.esm.js} +7 -7
  36. package/dist/index.esm.js +1 -1
  37. package/dist/{onDeviceFaceResults-D53Rr_B1.esm.js → onDeviceFaceResults-ByRVrIZM.esm.js} +3 -3
  38. package/dist/personhood.esm.js +3 -3
  39. package/dist/qe-signature.d.ts +3 -2
  40. package/dist/qe-signature.esm.js +1 -1
  41. package/dist/{recordingService-Dv5Ztm5Y.esm.js → recordingService-bLW4t4fk.esm.js} +1 -1
  42. package/dist/{runChildModule-Dh9HjxbH.esm.js → runChildModule-CriMT1_h.esm.js} +1 -1
  43. package/dist/selfie.esm.js +4 -4
  44. package/dist/{selfieManager-CwLK0icS.esm.js → selfieManager-Dv5mrAHo.esm.js} +2 -2
  45. package/dist/{selfieStateMachine-C1ErWDmF.esm.js → selfieStateMachine-BmL5Aaw7.esm.js} +2 -2
  46. package/dist/{session-DvCKSn2k.esm.js → session-CovTsiwy.esm.js} +4 -4
  47. package/dist/session.esm.js +4 -4
  48. package/dist/{sessionInitializer-DR77TDcE.esm.js → sessionInitializer-BELcYwn_.esm.js} +2 -2
  49. package/dist/{setup-DSLbrjHG.esm.js → setup-C76snDxk.esm.js} +4 -4
  50. package/dist/trueSight-CAjW60Rg.esm.js +1 -0
  51. package/dist/{trueSightService-PXOP5bS9.esm.js → trueSightService-BqpWNWDp.esm.js} +11 -8
  52. package/dist/{types-DWaEoU0I.d.ts → types-DVmXIdzW.d.ts} +20 -2
  53. package/dist/video-selfie.esm.js +3 -3
  54. package/dist/{videoSelfieCameraWarmer-BLrAyxUW.esm.js → videoSelfieCameraWarmer-D1AF8Kdr.esm.js} +2 -2
  55. package/dist/wasm.esm.js +1 -1
  56. package/dist/workflow.esm.js +14 -14
  57. package/package.json +3 -3
  58. package/dist/trueSight-CGZ_9YL1.esm.js +0 -1
@@ -1,21 +1,22 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-DR77TDcE.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-BELcYwn_.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 createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-cHybD5Bw.esm.js";
6
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-C4_d-1a0.esm.js";
7
- import { t as faceCaptureMachine } from "./faceCaptureSetup-5Ye-LXbB.esm.js";
8
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-D76jxYNX.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BqNYf1pp.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Ci3cN0mo.esm.js";
9
10
  import { n as createConsentManagerFromActor } from "./consentManager-lG6fCXOk.esm.js";
10
11
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-B5bnUpSo.esm.js";
11
12
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CYkSBXCF.esm.js";
12
13
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-5shMxTaf.esm.js";
13
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BHfeedY2.esm.js";
14
- import { n as createEkybManagerFromActor } from "./ekybManager-3pPpvD6Z.esm.js";
14
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-TYmruB9C.esm.js";
15
+ import { n as createEkybManagerFromActor } from "./ekybManager-CU0ty0EZ.esm.js";
15
16
  import { n as createEkycManagerFromActor } from "./ekycManager-BnPKaiV_.esm.js";
16
17
  import { n as createEmailManagerFromActor } from "./emailManager-D-3pYOas.esm.js";
17
- import { n as createSelfieManagerFromActor } from "./selfieManager-CwLK0icS.esm.js";
18
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-C_q4C_aV.esm.js";
18
+ import { n as createSelfieManagerFromActor } from "./selfieManager-Dv5mrAHo.esm.js";
19
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CGT4KB0h.esm.js";
19
20
  import { n as createPhoneManagerFromActor } from "./phoneManager-SONkmpec.esm.js";
20
21
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-QakKGrF0.esm.js";
21
22
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CUVKNTFa.esm.js";
@@ -24,7 +25,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
24
25
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-DWGed-91.esm.js";
25
26
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-B7EYFwY_.esm.js";
26
27
  import { n as createSignatureManagerFromActor } from "./signatureManager-BpstxH7R.esm.js";
27
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-IbghOO6X.esm.js";
28
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-BJvADFnB.esm.js";
28
29
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-W8v-boCx.esm.js";
29
30
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Dnp-edw5.esm.js";
30
- 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, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
31
+ export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -1,7 +1,7 @@
1
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-5Ye-LXbB.esm.js";
4
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-BqNYf1pp.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 { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-3UAjhmjw.esm.js";
@@ -2,13 +2,13 @@ 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
4
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-D53Rr_B1.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-ByRVrIZM.esm.js";
6
6
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
7
7
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-AF92I3xf.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
9
9
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KNkc71eN.esm.js";
10
10
  import { t as flagFaceManualReview } from "./manualReviewService-D4IkipnN.esm.js";
11
- import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-Dv5Ztm5Y.esm.js";
11
+ import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-bLW4t4fk.esm.js";
12
12
  //#region src/internal/avatar/concealment.ts
13
13
  /**
14
14
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
package/dist/flow.d.ts CHANGED
@@ -2,7 +2,7 @@ import { n as WasmPipeline } from "./warmup-Dv2alr2-.js";
2
2
  import { A as StateMachine, _ as MachineContext, c as AnyEventObject, l as AnyStateMachine, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
3
3
  import "./StateMachine-EDpYWy0i.js";
4
4
  import { t as Manager } from "./Manager-CQQ99QOI.js";
5
- import { a as ElectronicSignatureConfig } from "./types-DWaEoU0I.js";
5
+ import { a as ElectronicSignatureConfig } from "./types-DVmXIdzW.js";
6
6
  import { t as EkycConfig } from "./types-Bk_6dmDa.js";
7
7
  import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-KPvmag_B.js";
8
8
  import { t as AuthenticationConfig } from "./types-EELWyWpd.js";
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
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-D6T8fwIf.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-2jR_i-zB.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-DEO2OqAI.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Dh9HjxbH.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BUo_9js9.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CriMT1_h.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-C_08gwg2.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-DayXRMcE.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
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-DR77TDcE.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BELcYwn_.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-C_08gwg2.esm.js";
6
- import "./session-DvCKSn2k.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-DayXRMcE.esm.js";
6
+ import "./session-CovTsiwy.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-IbghOO6X.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-B5WkRLnz.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-BJvADFnB.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-D3l-iyse.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
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-B5WkRLnz.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-D3l-iyse.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 { r as isIOS, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
4
- import { n as isConnectivityError } from "./apiError-C_08gwg2.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-DayXRMcE.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,17 +1,17 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-DSLbrjHG.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-C76snDxk.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-D6T8fwIf.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-2jR_i-zB.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-D53Rr_B1.esm.js";
7
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-ByRVrIZM.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
9
  import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-DggLa9pg.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-DrQe0hWr.esm.js";
12
- import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-DlnEwYJJ.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-DEO2OqAI.esm.js";
14
- import { a as delay, n as defaultAcquireCamera, o as isSelfieValidationError, r as CameraCompositor, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BLrAyxUW.esm.js";
12
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-CMx3jKjy.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-BUo_9js9.esm.js";
14
+ import { a as delay, n as defaultAcquireCamera, o as isSelfieValidationError, r as CameraCompositor, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-D1AF8Kdr.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;
package/dist/id.esm.js CHANGED
@@ -2,9 +2,9 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.e
2
2
  import { n as eventModuleNames } from "./events-ethtfu2b.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-CKJ_aV6s.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-C_q4C_aV.esm.js";
7
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DlnEwYJJ.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-CnDRERtP.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CGT4KB0h.esm.js";
7
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-CMx3jKjy.esm.js";
8
8
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DVtdZdpI.esm.js";
9
9
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
10
10
  function buildSubImage(canvas) {
@@ -5,7 +5,7 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
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-3UAjhmjw.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CKJ_aV6s.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CnDRERtP.esm.js";
9
9
  //#region src/modules/id/digitalUpload/instrumentation.ts
10
10
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
11
11
  function isHoldingState(value) {
@@ -1,10 +1,10 @@
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 { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
4
- import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-D53Rr_B1.esm.js";
4
+ import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-ByRVrIZM.esm.js";
5
5
  import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
7
- import { n as preloadOpenViduProvider } from "./recordingService-Dv5Ztm5Y.esm.js";
7
+ import { n as preloadOpenViduProvider } from "./recordingService-bLW4t4fk.esm.js";
8
8
  import { r as IdCaptureProvider } from "./idCaptureDefaults-DrQe0hWr.esm.js";
9
9
  //#region src/modules/id/idCameraStream.ts
10
10
  async function getIdCameraStream(deviceId) {
@@ -1,16 +1,16 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-PXOP5bS9.esm.js";
5
- import { t as getDisableIpify } from "./sessionInitializer-DR77TDcE.esm.js";
6
- import "./trueSight-CGZ_9YL1.esm.js";
4
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-BqpWNWDp.esm.js";
5
+ import { t as getDisableIpify } from "./sessionInitializer-BELcYwn_.esm.js";
6
+ import "./trueSight-CAjW60Rg.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
8
8
  import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
9
- import "./session-DvCKSn2k.esm.js";
9
+ import "./session-CovTsiwy.esm.js";
10
10
  import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
11
11
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
12
12
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
13
- import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-D53Rr_B1.esm.js";
13
+ import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-ByRVrIZM.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
16
16
  import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
@@ -19,7 +19,7 @@ import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js"
19
19
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KNkc71eN.esm.js";
20
20
  import { n as flagIdManualReview } from "./manualReviewService-D4IkipnN.esm.js";
21
21
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-DrQe0hWr.esm.js";
22
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, o as startRecordingSession, p as getIdCameraStream, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DlnEwYJJ.esm.js";
22
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, o as startRecordingSession, p as getIdCameraStream, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-CMx3jKjy.esm.js";
23
23
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
24
24
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
25
25
  function isKnownFailReason(reason) {
@@ -1316,7 +1316,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1316
1316
  });
1317
1317
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1318
1318
  if (!input.dependencies) return;
1319
- const { loadDeepsightSession } = await import("./deepsightLoader-DqEfPplN.esm.js");
1319
+ const { loadDeepsightSession } = await import("./deepsightLoader-DveLheaa.esm.js");
1320
1320
  return loadDeepsightSession({
1321
1321
  ds: input.ds,
1322
1322
  storage: input.dependencies.storage,
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-DSLbrjHG.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-C76snDxk.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,8 +1,8 @@
1
1
  import { c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-PXOP5bS9.esm.js";
3
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-BqpWNWDp.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import "./trueSight-CGZ_9YL1.esm.js";
5
+ import "./trueSight-CAjW60Rg.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { a as isIPhone14OrHigher, n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
8
8
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
@@ -521,7 +521,7 @@ async function stopRecording(session) {
521
521
  }
522
522
  }
523
523
  async function initializeDeepsightSession(options) {
524
- const { loadDeepsightSession } = await import("./deepsightLoader-DqEfPplN.esm.js");
524
+ const { loadDeepsightSession } = await import("./deepsightLoader-DveLheaa.esm.js");
525
525
  return loadDeepsightSession({
526
526
  ds: options.ds,
527
527
  storage: options.storage
@@ -2,15 +2,15 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-PXOP5bS9.esm.js";
5
+ import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-BqpWNWDp.esm.js";
6
6
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
7
- import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-DR77TDcE.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-BELcYwn_.esm.js";
8
8
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
9
9
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
10
10
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
11
11
  import { i as requestPermission, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
12
12
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
13
- import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-D53Rr_B1.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-ByRVrIZM.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
16
16
  //#region src/modules/personhood/personhoodServices.ts
@@ -1,6 +1,7 @@
1
1
  import { t as Manager } from "./Manager-CQQ99QOI.js";
2
- import { a as ElectronicSignatureConfig, g as getDefaultConsentChecks, i as ConsentKey, m as areAllConsented, r as ConsentChecks, s as ElectronicSignatureDocument, u as QE_CONSENT_KEYS } from "./types-DWaEoU0I.js";
3
- import { i as electronicSignatureMachine, n as ElectronicSignatureState } from "./index-DGcdhk8Y.js";
2
+ import { _ as getDefaultConsentChecks, a as ElectronicSignatureConfig, d as QE_CONSENT_KEYS, h as areAllConsented, i as ConsentKey, r as ConsentChecks, s as ElectronicSignatureDocument } from "./types-DVmXIdzW.js";
3
+ import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-CcUXQZS7.js";
4
+ import "./electronic-signature.js";
4
5
  //#region src/modules/qe-signature/index.d.ts
5
6
  type QeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
6
7
  declare function createQeSignatureManager(options: {
@@ -1,4 +1,4 @@
1
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DHC0bqr9.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-cHybD5Bw.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,5 +1,5 @@
1
1
  import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
2
- import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-D53Rr_B1.esm.js";
2
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-ByRVrIZM.esm.js";
3
3
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CUsftWlH.esm.js";
4
4
  //#region ../infra/src/media/VideoTrimmer.ts
5
5
  async function getDurationBySeek(videoBlob) {
@@ -1,5 +1,5 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-PXOP5bS9.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-BqpWNWDp.esm.js";
3
3
  import { C as createEventBus } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
@@ -3,11 +3,11 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.e
3
3
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-5Ye-LXbB.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DqQCDsDY.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BqNYf1pp.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CTnjKSuy.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-C1ErWDmF.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CwLK0icS.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-BmL5Aaw7.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Dv5mrAHo.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DVtdZdpI.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DqQCDsDY.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-C1ErWDmF.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CTnjKSuy.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-BmL5Aaw7.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-5Ye-LXbB.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D53Rr_B1.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-BqNYf1pp.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-ByRVrIZM.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
7
7
  /**
@@ -1,9 +1,9 @@
1
1
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
2
- import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-PXOP5bS9.esm.js";
3
- import "./sessionInitializer-DR77TDcE.esm.js";
2
+ import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-BqpWNWDp.esm.js";
3
+ import "./sessionInitializer-BELcYwn_.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import "./trueSight-CGZ_9YL1.esm.js";
6
- import { r as toIncodeApiError } from "./apiError-C_08gwg2.esm.js";
5
+ import "./trueSight-CAjW60Rg.esm.js";
6
+ import { r as toIncodeApiError } from "./apiError-DayXRMcE.esm.js";
7
7
  //#region src/internal/session/sessionService.ts
8
8
  /**
9
9
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,5 +1,5 @@
1
- import { i as initializeSession } from "./sessionInitializer-DR77TDcE.esm.js";
2
- import { t as IncodeApiError } from "./apiError-C_08gwg2.esm.js";
3
- import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-DvCKSn2k.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-DEO2OqAI.esm.js";
1
+ import { i as initializeSession } from "./sessionInitializer-BELcYwn_.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-DayXRMcE.esm.js";
3
+ import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-CovTsiwy.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-BUo_9js9.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
@@ -1,9 +1,9 @@
1
1
  import { _ as updateFeatureManagementUser } from "./feature-management-CFRmD8Nr.esm.js";
2
2
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection, v as SDK_VERSION } from "./trueSightService-PXOP5bS9.esm.js";
3
+ import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection, v as SDK_VERSION } from "./trueSightService-BqpWNWDp.esm.js";
4
4
  import { v as addEvent, y as getAnalyticsBatcher } from "./events-ethtfu2b.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
6
- import "./trueSight-CGZ_9YL1.esm.js";
6
+ import "./trueSight-CAjW60Rg.esm.js";
7
7
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-B0nFKawG.esm.js";
8
8
  import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
9
9
  import { r as isIOS } from "./platform-Cd_yWGNG.esm.js";
@@ -5,14 +5,14 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
5
5
  import { b as resetEnvironment, d as initializeFeatureManagement, h as resetFeatureManagementProviderInstance, l as getIsFeatureManagementLocked, m as resetFeatureManagement, p as optOutFeatureManagement, v as applyEnvironment, y as getEnvironment } from "./feature-management-CFRmD8Nr.esm.js";
6
6
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
7
7
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
8
- import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-PXOP5bS9.esm.js";
8
+ import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-BqpWNWDp.esm.js";
9
9
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ethtfu2b.esm.js";
10
- import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-DR77TDcE.esm.js";
10
+ import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-BELcYwn_.esm.js";
11
11
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
12
- import "./trueSight-CGZ_9YL1.esm.js";
12
+ import "./trueSight-CAjW60Rg.esm.js";
13
13
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
14
14
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
15
- import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-D6T8fwIf.esm.js";
15
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-2jR_i-zB.esm.js";
16
16
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
17
17
  var BrowserPageLifecycleProvider = class {
18
18
  sendBeacon(url, body, contentType = "application/json") {
@@ -0,0 +1 @@
1
+ import "./trueSightService-BqpWNWDp.esm.js";
@@ -54,7 +54,6 @@ const parseResponse = async (response, parseType) => {
54
54
  }
55
55
  return await response.text();
56
56
  };
57
- const DEFAULT_TIMEOUT$1 = 3e4;
58
57
  const requestWithXHR = (fullUrl, method, mergedHeaders, requestBody, timeout, signal, onUploadProgress) => {
59
58
  return new Promise((resolve, reject) => {
60
59
  const xhr = new XMLHttpRequest();
@@ -119,13 +118,14 @@ const createApi = (config) => {
119
118
  const client = {
120
119
  defaults,
121
120
  async request(requestConfig) {
122
- const { method = "GET", url, headers = {}, query, params, body, signal, timeout = config.timeout ?? DEFAULT_TIMEOUT$1, parse, onUploadProgress, keepalive } = requestConfig;
121
+ const { method = "GET", url, headers = {}, query, params, body, signal, timeout: timeoutOverride, parse, onUploadProgress, keepalive } = requestConfig;
123
122
  const fullUrl = buildUrl$1(defaults.baseURL, url, params ?? query);
124
123
  const mergedHeaders = {
125
124
  ...defaults.headers,
126
125
  ...headers
127
126
  };
128
127
  const requestBody = prepareBody$1(body);
128
+ const timeout = timeoutOverride ?? config.timeout;
129
129
  let finalHeaders = mergedHeaders;
130
130
  if (requestBody === null && (method === "POST" || method === "PUT" || method === "PATCH")) {
131
131
  const { "Content-Type": _, ...headersWithoutContentType } = mergedHeaders;
@@ -133,11 +133,13 @@ const createApi = (config) => {
133
133
  }
134
134
  if (onUploadProgress) {
135
135
  if (requestBody !== null && typeof ReadableStream !== "undefined" && requestBody instanceof ReadableStream) throw new Error("Upload progress tracking is not supported for ReadableStream bodies");
136
- return requestWithXHR(fullUrl, method, finalHeaders, requestBody, timeout, signal, onUploadProgress);
136
+ return requestWithXHR(fullUrl, method, finalHeaders, requestBody, timeout ?? 0, signal, onUploadProgress);
137
137
  }
138
138
  const controller = new AbortController();
139
- const abortSignal = signal ?? controller.signal;
140
- const timeoutId = setTimeout(() => controller.abort(), timeout);
139
+ if (signal) if (signal.aborted) controller.abort();
140
+ else signal.addEventListener("abort", () => controller.abort(), { once: true });
141
+ const abortSignal = controller.signal;
142
+ const timeoutId = timeout === void 0 ? void 0 : setTimeout(() => controller.abort(), timeout);
141
143
  try {
142
144
  const response = await fetch(fullUrl, {
143
145
  method,
@@ -228,6 +230,7 @@ const createApi = (config) => {
228
230
  };
229
231
  //#endregion
230
232
  //#region ../infra/src/http/createWasmApi.ts
233
+ const WASM_TIMEOUT_CEILING_MS = 36e5;
231
234
  const RSA_OAEP_SHA256_SCHEME = "RSA/NONE/OAEPWITHSHA-256ANDMGF1PADDING";
232
235
  /**
233
236
  * Builds the base set of HTTP headers that the WASM WebClient sends on every
@@ -255,7 +258,6 @@ var WasmHttpError = class extends Error {
255
258
  this.name = "WasmHttpError";
256
259
  }
257
260
  };
258
- const DEFAULT_TIMEOUT = 3e4;
259
261
  const HTTP_METHODS = /* @__PURE__ */ new Set([
260
262
  "GET",
261
263
  "POST",
@@ -329,7 +331,7 @@ const createWasmApi = async (config) => {
329
331
  const client = {
330
332
  defaults,
331
333
  async request(requestConfig) {
332
- const { method = "GET", url, headers: requestHeaders = {}, query, params, body, signal, timeout = config.timeout ?? DEFAULT_TIMEOUT, onUploadProgress, ie = false } = requestConfig;
334
+ const { method = "GET", url, headers: requestHeaders = {}, query, params, body, signal, timeout: timeoutOverride, onUploadProgress, ie = false } = requestConfig;
333
335
  const upperMethod = normalizeMethod(method);
334
336
  const requestParams = params ?? query;
335
337
  const fullUrl = buildUrl(defaults.baseURL, url, requestParams);
@@ -340,6 +342,7 @@ const createWasmApi = async (config) => {
340
342
  ...requestHeaders
341
343
  };
342
344
  const requestBody = prepareBody(body);
345
+ const timeout = timeoutOverride ?? config.timeout ?? WASM_TIMEOUT_CEILING_MS;
343
346
  const wasmProgress = onUploadProgress ? (progress) => {
344
347
  if (progress.total > 0) onUploadProgress(Math.round(progress.loaded / progress.total * 100));
345
348
  } : void 0;
@@ -724,7 +727,7 @@ function epochMsToIsoString(epochMs) {
724
727
  }
725
728
  //#endregion
726
729
  //#region src/internal/version/sdkVersion.ts
727
- const SDK_VERSION = "0.0.0-dev-20260803-e2b5d35d";
730
+ const SDK_VERSION = "0.0.0-dev-20260803-bc311d6e";
728
731
  //#endregion
729
732
  //#region src/internal/trueSight/recordBuilder.ts
730
733
  /**
@@ -35,9 +35,18 @@ type UnsignedDocsResponse = {
35
35
  documents: ElectronicSignatureDocument[];
36
36
  };
37
37
  type ElectronicSignatureErrorSource = 'upload' | 'fetchDocs' | 'signing';
38
+ /**
39
+ * Mutable in-memory holder for the document selected for upload.
40
+ *
41
+ * The actor and manager must share this exact object so `selectFile()` updates
42
+ * the bytes later consumed by the machine's upload actor.
43
+ */
44
+ type ElectronicSignatureFileDataHolder = {
45
+ current: ArrayBuffer | null;
46
+ };
38
47
  type ElectronicSignatureContext = {
39
48
  config: ElectronicSignatureConfig;
40
- getFileData: () => ArrayBuffer | null;
49
+ fileDataHolder: ElectronicSignatureFileDataHolder;
41
50
  documents: ElectronicSignatureDocument[];
42
51
  signedDocuments: SignedDocument[];
43
52
  fileName: string | null;
@@ -58,7 +67,16 @@ type ElectronicSignatureContext = {
58
67
  };
59
68
  type ElectronicSignatureInput = {
60
69
  config: ElectronicSignatureConfig;
70
+ fileDataHolder: ElectronicSignatureFileDataHolder;
71
+ getFileData?: never;
72
+ } | {
73
+ config: ElectronicSignatureConfig;
74
+ /**
75
+ * @deprecated Pass `fileDataHolder` so actor and manager ownership is
76
+ * explicit. Retained for existing direct machine integrations.
77
+ */
61
78
  getFileData: () => ArrayBuffer | null;
79
+ fileDataHolder?: never;
62
80
  };
63
81
  //#endregion
64
- export { ElectronicSignatureConfig as a, ElectronicSignatureInput as c, QeConsentKey as d, SignedDocument as f, getDefaultConsentChecks as g, getConsentKeys as h, ConsentKey as i, ElectronicSignatureVariant as l, areAllConsented as m, AeConsentKey as n, ElectronicSignatureContext as o, UnsignedDocsResponse as p, ConsentChecks as r, ElectronicSignatureDocument as s, AE_CONSENT_KEYS as t, QE_CONSENT_KEYS as u };
82
+ export { getDefaultConsentChecks as _, ElectronicSignatureConfig as a, ElectronicSignatureFileDataHolder as c, QE_CONSENT_KEYS as d, QeConsentKey as f, getConsentKeys as g, areAllConsented as h, ConsentKey as i, ElectronicSignatureInput as l, UnsignedDocsResponse as m, AeConsentKey as n, ElectronicSignatureContext as o, SignedDocument as p, ConsentChecks as r, ElectronicSignatureDocument as s, AE_CONSENT_KEYS as t, ElectronicSignatureVariant as u };
@@ -1,13 +1,13 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { c as abortVideoSelfieUpload, d as uploadVideoSelfiePart, l as completeVideoSelfieUpload, t as ensureWasmPipelines, u as initiateVideoSelfieUpload } from "./setup-DSLbrjHG.esm.js";
2
+ import { c as abortVideoSelfieUpload, d as uploadVideoSelfiePart, l as completeVideoSelfieUpload, t as ensureWasmPipelines, u as initiateVideoSelfieUpload } from "./setup-C76snDxk.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
6
- import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-D6T8fwIf.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-2jR_i-zB.esm.js";
7
7
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
9
9
  import { n as getSupportedMediaRecorderMimeType } from "./mediaRecorderOptions-CUsftWlH.esm.js";
10
- import { i as createDefaultStepDetector, n as defaultAcquireCamera, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BLrAyxUW.esm.js";
10
+ import { i as createDefaultStepDetector, n as defaultAcquireCamera, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-D1AF8Kdr.esm.js";
11
11
  //#region ../infra/src/providers/browser/MultipartRecordingProvider.ts
12
12
  /**
13
13
  * S3 multipart requires every part except the last to be at least 5 MB, so we