@incodetech/core 0.0.0-dev-20260817-acfa6f73 → 0.0.0-dev-20260817-941e76d2

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 (115) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-Bm4ZX5t3.esm.js → BrowserDiagnosticsCryptoProvider-CPcF1K4D.esm.js} +1 -1
  2. package/dist/{BrowserStorageProvider-k-FDkC4W.esm.js → BrowserStorageProvider-C8847M9W.esm.js} +1 -1
  3. package/dist/FaceDetectionProvider-Cn1wS-sA.d.ts +95 -0
  4. package/dist/{IIdCaptureCapability-DHTT3FC2.d.ts → IIdCaptureCapability-DDWlQzhi.d.ts} +2 -32
  5. package/dist/IWasmUtilCapability-5-Pncgma.d.ts +149 -0
  6. package/dist/{MotionSensorProvider-DGiV77J_.esm.js → MotionSensorProvider-CxTjgXe6.esm.js} +1 -1
  7. package/dist/ae-signature.esm.js +1 -1
  8. package/dist/{apiError-B3T64yxT.esm.js → apiError-B3TI9TK9.esm.js} +1 -1
  9. package/dist/authentication.d.ts +3 -3
  10. package/dist/authentication.esm.js +2 -2
  11. package/dist/{authenticationManager-CVURxKl7.esm.js → authenticationManager-BL7RvcC8.esm.js} +4 -4
  12. package/dist/{authenticationManager-D8DEugXP.d.ts → authenticationManager-Cb4b4dgt.d.ts} +1 -1
  13. package/dist/{authenticationStateMachine-B-0XBXp-.esm.js → authenticationStateMachine-D1XsBKTx.esm.js} +2 -2
  14. package/dist/avatar.d.ts +1 -2
  15. package/dist/camera.esm.js +1 -1
  16. package/dist/createFaceAvatar-pUEkdk4X.d.ts +489 -0
  17. package/dist/curp-validation.d.ts +1 -1
  18. package/dist/{curpValidationManager-BxWhpCLA.d.ts → curpValidationManager-C_TQjX2P.d.ts} +1 -1
  19. package/dist/{deepsightLoader-C9G0gmwl.esm.js → deepsightLoader-BnU_V6rk.esm.js} +6 -6
  20. package/dist/{deepsightService-DLVQS_RH.d.ts → deepsightService-Dr7sNZ5r.d.ts} +2 -1
  21. package/dist/document-capture.d.ts +2 -2
  22. package/dist/document-capture.esm.js +2 -2
  23. package/dist/document-upload.d.ts +4 -4
  24. package/dist/{documentCaptureManager-CaXWUo_N.esm.js → documentCaptureManager-D7A4k-GE.esm.js} +1 -1
  25. package/dist/{documentCaptureManager-Bvipl_tY.d.ts → documentCaptureManager-DlGYd-sJ.d.ts} +67 -67
  26. package/dist/{documentCaptureStateMachine-DpWiaUPB.esm.js → documentCaptureStateMachine-fk7MDfSZ.esm.js} +2 -2
  27. package/dist/dynamic-forms.d.ts +2 -2
  28. package/dist/dynamic-forms.esm.js +2 -2
  29. package/dist/{dynamicFormsManager-CIFvUb6Q.esm.js → dynamicFormsManager-CH1eSNvy.esm.js} +1 -1
  30. package/dist/{dynamicFormsManager-fhK0yINk.d.ts → dynamicFormsManager-DhveFHPS.d.ts} +1 -1
  31. package/dist/{dynamicFormsStateMachine-C8_koaQ2.esm.js → dynamicFormsStateMachine-D144f-2m.esm.js} +1 -1
  32. package/dist/ekyb.d.ts +1 -1
  33. package/dist/ekyb.esm.js +3 -3
  34. package/dist/{ekybManager-DvHK24Ai.esm.js → ekybManager-BBJwCOsR.esm.js} +1 -1
  35. package/dist/{ekybStateMachine-Bd9SGUOZ.esm.js → ekybStateMachine-jym81TFF.esm.js} +1 -1
  36. package/dist/electronic-signature.esm.js +1 -1
  37. package/dist/{electronicSignatureManager-DdhVjAVe.esm.js → electronicSignatureManager-CWYfI4hO.esm.js} +1 -1
  38. package/dist/extensibility.d.ts +14 -12
  39. package/dist/extensibility.esm.js +12 -12
  40. package/dist/{faceCaptureManagerFactory-fq0Rl3ik.d.ts → faceCaptureManagerFactory-CKyaVKsu.d.ts} +17 -45
  41. package/dist/{faceCaptureManagerFactory-9X4WspD-.esm.js → faceCaptureManagerFactory-DysNuSGO.esm.js} +3 -3
  42. package/dist/{faceCaptureSetup-D1xDWdEi.esm.js → faceCaptureSetup-DXCPmEv2.esm.js} +4 -4
  43. package/dist/flow-events.d.ts +1 -1
  44. package/dist/flow.d.ts +8 -8
  45. package/dist/flow.esm.js +3 -3
  46. package/dist/{flowCompletionService-CBCd4sTT.esm.js → flowCompletionService-DvWL2nH-.esm.js} +1 -1
  47. package/dist/{flowServices-Clyz_AFS.esm.js → flowServices-CAz3XO92.esm.js} +3 -3
  48. package/dist/geolocation.esm.js +2 -2
  49. package/dist/{geolocationManager-Dnp8XTcy.esm.js → geolocationManager-CPwKn86Q.esm.js} +1 -1
  50. package/dist/{geolocationStateMachine-BBMCEfv9.esm.js → geolocationStateMachine-Cm28EW1O.esm.js} +1 -1
  51. package/dist/home.d.ts +1 -1
  52. package/dist/id-selfie-flow.d.ts +3 -2
  53. package/dist/id-selfie-flow.esm.js +8 -8
  54. package/dist/id.d.ts +3 -3
  55. package/dist/id.esm.js +4 -4
  56. package/dist/{idCaptureDefaults-WeHbQM7W.esm.js → idCaptureDefaults-Dowxd3J3.esm.js} +4 -3
  57. package/dist/{idCaptureManager-BG07OgVe.esm.js → idCaptureManager-BuFn4xQl.esm.js} +5 -5
  58. package/dist/{idCaptureManager-DVWM-L4V.d.ts → idCaptureManager-DlCqj6R1.d.ts} +4 -4
  59. package/dist/{idCaptureServices-CqRJOcig.esm.js → idCaptureServices-Bn656NFx.esm.js} +3 -3
  60. package/dist/{idCaptureStateMachine-DhnmhN0s.esm.js → idCaptureStateMachine-CBpdXe7D.esm.js} +9 -9
  61. package/dist/{index-Bivs6yJF.d.ts → index-BwudEtre.d.ts} +1 -1
  62. package/dist/index.d.ts +1 -1
  63. package/dist/index.esm.js +1 -1
  64. package/dist/mandatory-consent.d.ts +2 -2
  65. package/dist/{mandatoryConsentManager-CVxw-noP.d.ts → mandatoryConsentManager-BZpKPJ1b.d.ts} +1 -1
  66. package/dist/{onDeviceFaceResults-DnxtQAz3.esm.js → onDeviceFaceResults-DT9SoUq7.esm.js} +4 -4
  67. package/dist/{permissionGuards-D2OgV9XX.esm.js → permissionGuards-BEgOUwwQ.esm.js} +1 -1
  68. package/dist/{permissionServices-B7sMtZ8f.esm.js → permissionServices-BPUkbztJ.esm.js} +2 -2
  69. package/dist/personhood.d.ts +5 -4
  70. package/dist/personhood.esm.js +6 -6
  71. package/dist/qe-signature.esm.js +1 -1
  72. package/dist/{recordingService-0VWL71An.esm.js → recordingService-DgwNVrR4.esm.js} +1 -1
  73. package/dist/{runChildModule-Dlr2Kwvn.esm.js → runChildModule-BCd-d039.esm.js} +1 -1
  74. package/dist/{safeStorage-Ep56I-f_.esm.js → safeStorage-2nOSCCnG.esm.js} +43 -70
  75. package/dist/selfie.d.ts +4 -4
  76. package/dist/selfie.esm.js +6 -6
  77. package/dist/{selfieManager-CsFpBfry.esm.js → selfieManager-DfeUZfgL.esm.js} +4 -4
  78. package/dist/{selfieManager-DlAKn0rp.d.ts → selfieManager-Dxj984_L.d.ts} +2 -11
  79. package/dist/{selfieStateMachine-DWDmcet8.esm.js → selfieStateMachine-CHSNxzhO.esm.js} +2 -2
  80. package/dist/{session-BuGZN95Y.esm.js → session-CuM9od2S.esm.js} +4 -4
  81. package/dist/session.d.ts +1 -9
  82. package/dist/session.esm.js +4 -4
  83. package/dist/{sessionInitializer-ShclX9vD.esm.js → sessionInitializer-D_B-8Ujt.esm.js} +2 -2
  84. package/dist/{setup-DywQeePQ.d.ts → setup-BwA7zG5D.d.ts} +19 -31
  85. package/dist/{setup-1lLa3WHQ.esm.js → setup-y1bXyMoz.esm.js} +14 -8
  86. package/dist/trueSight-lNCajJAf.esm.js +1 -0
  87. package/dist/{trueSightService-CNuiVjvN.esm.js → trueSightService-zTWODJoh.esm.js} +4 -4
  88. package/dist/{types-GqIocZi-.d.ts → types-BUdX2CB-.d.ts} +5 -4
  89. package/dist/{types-8LPRL1Ni2.d.ts → types-BlrYfFj3.d.ts} +1 -1
  90. package/dist/types-OehE3PKn.d.ts +6 -0
  91. package/dist/{types-Cyiwbg-r.d.ts → types-RMhiEIm9.d.ts} +4 -80
  92. package/dist/types-W5OCjqmi.d.ts +10 -0
  93. package/dist/{types-CRw2IBPn.d.ts → types-s0fF3TpX.d.ts} +1 -0
  94. package/dist/video-selfie.d.ts +3 -3
  95. package/dist/video-selfie.esm.js +4 -4
  96. package/dist/{videoSelfieCameraWarmer-C95ZbuSU.esm.js → videoSelfieCameraWarmer-Da9lJmK8.esm.js} +4 -4
  97. package/dist/{videoSelfieStepDetector-TyrYWahm.d.ts → videoSelfieStepDetector-Bw5t6XCU.d.ts} +4 -3
  98. package/dist/warmup-CXHBgvFC.d.ts +117 -0
  99. package/dist/wasm.d.ts +23 -5
  100. package/dist/wasm.esm.js +31 -4
  101. package/dist/{wasmDefaults-DTUrftxR.esm.js → wasmDefaults-BrwMccqW.esm.js} +27 -12
  102. package/dist/{wasmDsFlagSync-BqUCwLY8.esm.js → wasmDsFlagSync-Dd7Yj25O.esm.js} +1 -1
  103. package/dist/{wasmWebClient-DM8lkb0z.esm.js → wasmWebClient-BzFsDjU6.esm.js} +82 -22
  104. package/dist/workflow.d.ts +5 -5
  105. package/dist/workflow.esm.js +15 -15
  106. package/package.json +1 -1
  107. package/dist/FaceDetectionProvider-Mh6q3EbA.d.ts +0 -349
  108. package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +0 -23
  109. package/dist/IStorageCapability-ORkQfK3F.d.ts +0 -242
  110. package/dist/createFaceAvatar-BEj18KXi.d.ts +0 -50
  111. package/dist/trueSight-BxA2W2OB.esm.js +0 -1
  112. package/dist/types-C2JzKH_L.d.ts +0 -6
  113. package/dist/warmup-Dv2alr2-.d.ts +0 -82
  114. /package/dist/{types-BSBzhHRH.d.ts → types-BSBzhHRH2.d.ts} +0 -0
  115. /package/dist/{types-DelMqZLe2.d.ts → types-DelMqZLe.d.ts} +0 -0
@@ -1,14 +1,14 @@
1
1
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as sendTo, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-DnxtQAz3.esm.js";
4
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BPUkbztJ.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-DT9SoUq7.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-DQKaRise.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
9
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D2OgV9XX.esm.js";
9
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BEgOUwwQ.esm.js";
10
10
  import { n as flagFaceManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
11
- import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-0VWL71An.esm.js";
11
+ import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-DgwNVrR4.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`
@@ -1,2 +1,2 @@
1
- import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-Bivs6yJF.js";
1
+ import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-BwudEtre.js";
2
2
  export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
package/dist/flow.d.ts CHANGED
@@ -1,20 +1,20 @@
1
- import { n as WasmPipeline } from "./warmup-Dv2alr2-.js";
1
+ import { c as WasmPipeline } from "./warmup-CXHBgvFC.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
5
  import { a as ElectronicSignatureConfig } from "./types-DVmXIdzW.js";
6
6
  import { t as EkycConfig } from "./types-Bk_6dmDa.js";
7
- import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-CRw2IBPn.js";
8
- import { t as AuthenticationConfig } from "./types-C2JzKH_L.js";
9
- import { r as DocumentCaptureConfig } from "./types-DelMqZLe2.js";
10
- import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
7
+ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-s0fF3TpX.js";
8
+ import { t as AuthenticationConfig } from "./types-OehE3PKn.js";
9
+ import { r as DocumentCaptureConfig } from "./types-DelMqZLe.js";
10
+ import { t as DynamicFormsConfig } from "./types-BSBzhHRH2.js";
11
11
  import { t as EkybConfig } from "./types-BfHiko5D.js";
12
- import { c as IdCaptureConfig } from "./types-GqIocZi-.js";
13
- import { r as MandatoryConsentConfig } from "./types-8LPRL1Ni2.js";
12
+ import { c as IdCaptureConfig } from "./types-BUdX2CB-.js";
13
+ import { r as MandatoryConsentConfig } from "./types-BlrYfFj3.js";
14
14
  import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
15
15
  import { t as RedirectToMobileConfig } from "./types-DPIDuhut.js";
16
16
  import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
17
- import { o as FlowEventSubscribable } from "./index-Bivs6yJF.js";
17
+ import { o as FlowEventSubscribable } from "./index-BwudEtre.js";
18
18
  import { n as ModuleRegistry } from "./types-BfgmV7s7.js";
19
19
  //#region src/modules/flow/flowUtils.d.ts
20
20
  type NormalizeFlowModulesOptions = {
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
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-Clyz_AFS.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-CAz3XO92.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-CBCd4sTT.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Dlr2Kwvn.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DvWL2nH-.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BCd-d039.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-B3T64yxT.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-B3TI9TK9.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 { E as updateFeatureManagementUser } from "./feature-management-DS_Nj5Gg.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-ShclX9vD.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-D_B-8Ujt.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-B3T64yxT.esm.js";
6
- import "./session-BuGZN95Y.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-B3TI9TK9.esm.js";
6
+ import "./session-CuM9od2S.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-Dnp8XTcy.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-BBMCEfv9.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-CPwKn86Q.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-Cm28EW1O.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-BBMCEfv9.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-Cm28EW1O.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 { a as isIOS, t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
4
- import { n as isConnectivityError } from "./apiError-B3T64yxT.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-B3TI9TK9.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
package/dist/home.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { A as StateMachine, C as StateValue, a as ActorRefFromLogic, c as AnyEventObject, g as IsNotNever, h as InputFrom, k as MachineSnapshot, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
2
  import "./StateMachine-EDpYWy0i.js";
3
3
  import { t as Manager } from "./Manager-CQQ99QOI.js";
4
- import { t as EmptyConfig } from "./types-CRw2IBPn.js";
4
+ import { t as EmptyConfig } from "./types-s0fF3TpX.js";
5
5
  //#region src/modules/home/types.d.ts
6
6
  type HomeConfig = EmptyConfig;
7
7
  //#endregion
@@ -1,9 +1,10 @@
1
+ import "./warmup-CXHBgvFC.js";
1
2
  import "./StateMachine-EDpYWy0i.js";
2
3
  import "./Actor-iTq7YY48.js";
3
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
4
- import { t as DetectionOrientation } from "./IIdCaptureCapability-DHTT3FC2.js";
5
+ import { t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
5
6
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
6
- import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-TyrYWahm.js";
7
+ import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-Bw5t6XCU.js";
7
8
  //#region src/modules/id-selfie-flow/types.d.ts
8
9
  /**
9
10
  * The capture steps an ID + Selfie flow session can run, in flow order. A
@@ -1,17 +1,17 @@
1
- import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-1lLa3WHQ.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-y1bXyMoz.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-Clyz_AFS.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-CAz3XO92.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-DnxtQAz3.esm.js";
7
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-DT9SoUq7.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
9
  import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-ArUCoICg.esm.js";
10
10
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
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-CqRJOcig.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-CBCd4sTT.esm.js";
14
- import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-C95ZbuSU.esm.js";
11
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Dowxd3J3.esm.js";
12
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-Bn656NFx.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-DvWL2nH-.esm.js";
14
+ import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-Da9lJmK8.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.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
2
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
3
3
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
4
- import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DHTT3FC2.js";
5
- import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, O as MANUAL_UPLOAD_MAX_RETRIES, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-GqIocZi-.js";
6
- import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-DVWM-L4V.js";
4
+ import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
5
+ import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, O as MANUAL_UPLOAD_MAX_RETRIES, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-BUdX2CB-.js";
6
+ import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-DlCqj6R1.js";
7
7
  //#region src/modules/id/idCaptureOnlyManager.d.ts
8
8
  type IdCaptureOnlyManager = IdCaptureManager;
9
9
  /**
package/dist/id.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
1
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
2
2
  import { n as eventModuleNames } from "./events-CxfNJVZW.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-DhnmhN0s.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BG07OgVe.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-CqRJOcig.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-CBpdXe7D.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BuFn4xQl.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-Bn656NFx.esm.js";
8
8
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-1m1VJ3Q4.esm.js";
9
9
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
10
10
  function buildSubImage(canvas) {
@@ -1,5 +1,6 @@
1
- import { i as getBarcodeEnhanceModelUrl } from "./wasmDefaults-DTUrftxR.esm.js";
2
- import { a as getResolvedModelsBasePath, c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-Ep56I-f_.esm.js";
1
+ import { d as WASM_MODEL_FILES } from "./wasmWebClient-BzFsDjU6.esm.js";
2
+ import { i as getBarcodeEnhanceModelUrl } from "./wasmDefaults-BrwMccqW.esm.js";
3
+ import { a as getResolvedModelSource, c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-2nOSCCnG.esm.js";
3
4
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
4
5
  //#region ../infra/src/providers/wasm/IdCaptureProvider.ts
5
6
  var IdCaptureProvider = class extends BaseWasmProvider {
@@ -71,7 +72,7 @@ var IdCaptureProvider = class extends BaseWasmProvider {
71
72
  async setBarcodeEnhancementModel() {
72
73
  this.ensureInitialized();
73
74
  if (this.barcodeEnhancementModelLoaded) return true;
74
- const modelUrl = getBarcodeEnhanceModelUrl(getResolvedModelsBasePath());
75
+ const modelUrl = getResolvedModelSource(WASM_MODEL_FILES.barcode, "idCapture") ?? getBarcodeEnhanceModelUrl();
75
76
  const applied = await mlWasmJSApi_default.setIdBarcodeEnhancementModel(this.getPipelineType(), modelUrl);
76
77
  this.barcodeEnhancementModelLoaded = applied;
77
78
  return applied;
@@ -1,12 +1,12 @@
1
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
1
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.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
- import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
5
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Dd7Yj25O.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
- import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B7sMtZ8f.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-DhnmhN0s.esm.js";
9
- import { m as resolveIdCaptureThresholds, p as resolveCaptureResultPreviewTreatment } from "./idCaptureServices-CqRJOcig.esm.js";
7
+ import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-BPUkbztJ.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CBpdXe7D.esm.js";
9
+ import { m as resolveIdCaptureThresholds, p as resolveCaptureResultPreviewTreatment } from "./idCaptureServices-Bn656NFx.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) {
@@ -5,11 +5,11 @@ import "./Actor-iTq7YY48.js";
5
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
6
6
  import "./index-B8weJxmL.js";
7
7
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
8
- import { a as RegulationTypes } from "./types-CRw2IBPn.js";
8
+ import { a as RegulationTypes } from "./types-s0fF3TpX.js";
9
9
  import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
10
- import { t as DeepsightService } from "./deepsightService-DLVQS_RH.js";
11
- import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-DHTT3FC2.js";
12
- import { A as ManualUploadSide, C as RecordingSession, T as IAnalyticsCapability, a as DetectionArea, c as IdCaptureConfig, d as IdCaptureEvent, g as IdCaptureOutput, h as IdCaptureOnlyConfig, j as ManualUploadTab, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, t as AddBarcodeV3Response, u as IdCaptureDependencies, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-GqIocZi-.js";
10
+ import { t as DeepsightService } from "./deepsightService-Dr7sNZ5r.js";
11
+ import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
12
+ import { A as ManualUploadSide, C as RecordingSession, T as IAnalyticsCapability, a as DetectionArea, c as IdCaptureConfig, d as IdCaptureEvent, g as IdCaptureOutput, h as IdCaptureOnlyConfig, j as ManualUploadTab, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, t as AddBarcodeV3Response, u as IdCaptureDependencies, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-BUdX2CB-.js";
13
13
  //#region src/modules/id/idCaptureStateMachine.d.ts
14
14
  declare const idCaptureMachine: AnyStateMachine;
15
15
  type IdCaptureMachine = StateMachine<IdCaptureContext, IdCaptureEvent, any, any, any, any, any, any, any, IdCaptureInput, any, any, any, any>;
@@ -2,11 +2,11 @@ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as
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 { i as isDesktop } from "./platform-Q4r1nvWX.esm.js";
5
- import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-DnxtQAz3.esm.js";
5
+ import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-DT9SoUq7.esm.js";
6
6
  import { n as getBackCameraStream } from "./backCameraStream-BMGalshK.esm.js";
7
7
  import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
8
- import { n as preloadOpenViduProvider } from "./recordingService-0VWL71An.esm.js";
9
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-WeHbQM7W.esm.js";
8
+ import { n as preloadOpenViduProvider } from "./recordingService-DgwNVrR4.esm.js";
9
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Dowxd3J3.esm.js";
10
10
  //#region src/modules/id/idCameraStream.ts
11
11
  async function getIdCameraStream(deviceId) {
12
12
  return getBackCameraStream(deviceId);
@@ -2,25 +2,25 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
2
2
  import { s as exposeExperimentOnce } from "./feature-management-DS_Nj5Gg.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-CNuiVjvN.esm.js";
5
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-zTWODJoh.esm.js";
6
6
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-CxfNJVZW.esm.js";
7
- import { t as getDisableIpify } from "./sessionInitializer-ShclX9vD.esm.js";
8
- import "./trueSight-BxA2W2OB.esm.js";
7
+ import { t as getDisableIpify } from "./sessionInitializer-D_B-8Ujt.esm.js";
8
+ import "./trueSight-lNCajJAf.esm.js";
9
9
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
10
10
  import { t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
11
- import "./session-BuGZN95Y.esm.js";
11
+ import "./session-CuM9od2S.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
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
15
- import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-DnxtQAz3.esm.js";
14
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-BPUkbztJ.esm.js";
15
+ import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-DT9SoUq7.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";
19
19
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
20
20
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
21
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D2OgV9XX.esm.js";
21
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BEgOUwwQ.esm.js";
22
22
  import { r as flagIdManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.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-CqRJOcig.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-Bn656NFx.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) {
@@ -1284,7 +1284,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1284
1284
  });
1285
1285
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1286
1286
  if (!input.dependencies) return;
1287
- const { loadDeepsightSession } = await import("./deepsightLoader-C9G0gmwl.esm.js");
1287
+ const { loadDeepsightSession } = await import("./deepsightLoader-BnU_V6rk.esm.js");
1288
1288
  return loadDeepsightSession({
1289
1289
  ds: input.ds,
1290
1290
  storage: input.dependencies.storage,
@@ -1,5 +1,5 @@
1
1
  import "./Manager-CQQ99QOI.js";
2
- import { n as Flow } from "./types-CRw2IBPn.js";
2
+ import { n as Flow } from "./types-s0fF3TpX.js";
3
3
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
4
4
  //#region src/internal/flow-events/flowEvents.d.ts
5
5
  type FlowStartedEvent = {
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, l as setup, o as reset, t as SetupOptions } from "./setup-BwA7zG5D.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-1lLa3WHQ.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-y1bXyMoz.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
- import { r as MandatoryConsentConfig } from "./types-8LPRL1Ni2.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CVxw-noP.js";
1
+ import { r as MandatoryConsentConfig } from "./types-BlrYfFj3.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-BZpKPJ1b.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -2,7 +2,7 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
2
2
  import "./StateMachine-EDpYWy0i.js";
3
3
  import { t as Manager } from "./Manager-CQQ99QOI.js";
4
4
  import "./Actor-iTq7YY48.js";
5
- import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-8LPRL1Ni2.js";
5
+ import { n as MandatoryConsent, r as MandatoryConsentConfig, t as FetchMandatoryConsentResponse } from "./types-BlrYfFj3.js";
6
6
  //#region src/modules/mandatory-consent/mandatoryConsentStateMachine.d.ts
7
7
  type MandatoryConsentContext = {
8
8
  config: MandatoryConsentConfig;
@@ -1,8 +1,8 @@
1
- import { c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-Ep56I-f_.esm.js";
1
+ import { c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-2nOSCCnG.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-CNuiVjvN.esm.js";
3
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-zTWODJoh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import "./trueSight-BxA2W2OB.esm.js";
5
+ import "./trueSight-lNCajJAf.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { i as isDesktop, s as isIPhone14OrHigher } from "./platform-Q4r1nvWX.esm.js";
8
8
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
@@ -523,7 +523,7 @@ async function stopRecording(session) {
523
523
  }
524
524
  }
525
525
  async function initializeDeepsightSession(options) {
526
- const { loadDeepsightSession } = await import("./deepsightLoader-C9G0gmwl.esm.js");
526
+ const { loadDeepsightSession } = await import("./deepsightLoader-BnU_V6rk.esm.js");
527
527
  return loadDeepsightSession({
528
528
  ds: options.ds,
529
529
  storage: options.storage
@@ -1,4 +1,4 @@
1
- import { a as isWasmMotionPrimedForModule } from "./permissionServices-B7sMtZ8f.esm.js";
1
+ import { a as isWasmMotionPrimedForModule } from "./permissionServices-BPUkbztJ.esm.js";
2
2
  //#region src/internal/permissions/permissionGuards.ts
3
3
  function resolveStoredPermissionResult(fromEvent, fromContext) {
4
4
  if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
@@ -1,6 +1,6 @@
1
- import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
2
2
  import { n as isAndroidWebView } from "./platform-Q4r1nvWX.esm.js";
3
- import { t as MotionSensorProvider } from "./MotionSensorProvider-DGiV77J_.esm.js";
3
+ import { t as MotionSensorProvider } from "./MotionSensorProvider-CxTjgXe6.esm.js";
4
4
  import { a as stopCameraStream, o as clearCameraGrantedInDocument, r as requestCameraAccess, s as isCameraGrantedInDocument } from "./camera-_2sXMXiF.esm.js";
5
5
  //#region ../infra/src/media/permissions.ts
6
6
  async function queryPermission(name) {
@@ -3,11 +3,12 @@ import "./StateMachine-EDpYWy0i.js";
3
3
  import { t as Manager } from "./Manager-CQQ99QOI.js";
4
4
  import "./Actor-iTq7YY48.js";
5
5
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
6
- import { o as IncodeCanvas, t as IStorageCapability } from "./IStorageCapability-ORkQfK3F.js";
7
- import { t as FaceDetectionProvider } from "./FaceDetectionProvider-Mh6q3EbA.js";
8
- import { n as DetectionStatus, s as IWasmUtilCapability } from "./types-Cyiwbg-r.js";
6
+ import { y as IncodeCanvas } from "./createFaceAvatar-pUEkdk4X.js";
7
+ import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-5-Pncgma.js";
9
8
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
10
- import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-DLVQS_RH.js";
9
+ import { n as DetectionStatus } from "./types-RMhiEIm9.js";
10
+ import { t as FaceDetectionProvider } from "./FaceDetectionProvider-Cn1wS-sA.js";
11
+ import { n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-Dr7sNZ5r.js";
11
12
  //#region src/modules/personhood/types.d.ts
12
13
  /**
13
14
  * Head pose (degrees) computed per-frame from the WASM face detector.
@@ -1,16 +1,16 @@
1
- import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
2
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.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-CNuiVjvN.esm.js";
5
+ import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-zTWODJoh.esm.js";
6
6
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
7
- import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-ShclX9vD.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-D_B-8Ujt.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 { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
12
- import { i as requestPermission, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
13
- import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-DnxtQAz3.esm.js";
12
+ import { i as requestPermission, t as checkPermission } from "./permissionServices-BPUkbztJ.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-DT9SoUq7.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,4 +1,4 @@
1
- import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-DdhVjAVe.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-CWYfI4hO.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-Q4r1nvWX.esm.js";
2
- import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-DnxtQAz3.esm.js";
2
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-DT9SoUq7.esm.js";
3
3
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-vXDI73LZ.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-CNuiVjvN.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-zTWODJoh.esm.js";
3
3
  import { C as createEventBus } from "./events-CxfNJVZW.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";