@incodetech/core 0.0.0-dev-20260402-728ce7f → 0.0.0-dev-20260403-eccc51c

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 (89) hide show
  1. package/dist/{BaseWasmProvider-BFXU7jj8.esm.js → BaseWasmProvider--AzPfwOm.esm.js} +4 -4
  2. package/dist/{Manager-9L3Rmc6X.esm.js → Manager-C6AGXEq_.esm.js} +4 -3
  3. package/dist/{StreamCanvasCapture-BowJVbkC.esm.js → StreamCanvasCapture-DkpkIgyL.esm.js} +6 -6
  4. package/dist/{WasmUtilProvider-DctESPCy.esm.js → WasmUtilProvider-BonqBWdj.esm.js} +1 -1
  5. package/dist/{addressSearch-uoJHvUT9.esm.js → addressSearch-DC5By0cC.esm.js} +4 -4
  6. package/dist/antifraud.d.ts +57 -0
  7. package/dist/antifraud.esm.js +77 -0
  8. package/dist/authentication.d.ts +9 -9
  9. package/dist/authentication.esm.js +13 -13
  10. package/dist/{authenticationManager-xQrUkboA.esm.js → authenticationManager-B4gSCgrO.esm.js} +6 -6
  11. package/dist/{authenticationManager-B5Yv9bDw.d.ts → authenticationManager-Bd10YGSO.d.ts} +2 -2
  12. package/dist/{backCameraStream-BJwEXNl4.esm.js → backCameraStream-DF_d7hTz.esm.js} +50 -21
  13. package/dist/consent.d.ts +55 -55
  14. package/dist/consent.esm.js +3 -3
  15. package/dist/curp-validation.d.ts +5 -5
  16. package/dist/curp-validation.esm.js +3 -3
  17. package/dist/{deepsightLoader-D2MKmB5z.esm.js → deepsightLoader-DKgEdLIS.esm.js} +7 -7
  18. package/dist/{deepsightService-CWnhwXLw.d.ts → deepsightService-Ciu0atv5.d.ts} +2 -2
  19. package/dist/document-capture.d.ts +73 -73
  20. package/dist/document-capture.esm.js +8 -7
  21. package/dist/document-upload.d.ts +50 -50
  22. package/dist/document-upload.esm.js +8 -7
  23. package/dist/ekyb.d.ts +3 -3
  24. package/dist/ekyb.esm.js +9 -9
  25. package/dist/ekyc.d.ts +3 -3
  26. package/dist/ekyc.esm.js +5 -5
  27. package/dist/email.d.ts +3 -3
  28. package/dist/email.esm.js +5 -5
  29. package/dist/{emailManager-BIq6pJa8.d.ts → emailManager-BQPIJR_O.d.ts} +2 -2
  30. package/dist/{emailManager-JowzcrAP.esm.js → emailManager-CpAwvP3v.esm.js} +5 -5
  31. package/dist/{endpoints-DEXxYYFi.esm.js → endpoints-CI5-28jT.esm.js} +2 -1
  32. package/dist/extensibility.d.ts +13 -13
  33. package/dist/extensibility.esm.js +20 -20
  34. package/dist/face-match.d.ts +1 -1
  35. package/dist/face-match.esm.js +3 -3
  36. package/dist/{faceCaptureManagerFactory-CN5-GRxP.d.ts → faceCaptureManagerFactory-CdwpYykv.d.ts} +6 -6
  37. package/dist/{faceCaptureSetup-Bq4TPX5D.esm.js → faceCaptureSetup-DbXgtcp7.esm.js} +11 -11
  38. package/dist/flow.d.ts +6 -6
  39. package/dist/flow.esm.js +8 -8
  40. package/dist/{flowCompletionService-CUT-cibE.esm.js → flowCompletionService-TnWijsSw.esm.js} +2 -2
  41. package/dist/{flowServices-Bi3F1654.esm.js → flowServices-CO2sIR3D.esm.js} +3 -3
  42. package/dist/geolocation.d.ts +2 -2
  43. package/dist/geolocation.esm.js +4 -4
  44. package/dist/government-validation.d.ts +2 -2
  45. package/dist/government-validation.esm.js +4 -4
  46. package/dist/id.d.ts +9 -9
  47. package/dist/id.esm.js +15 -15
  48. package/dist/{idCaptureManager-DlZXRwne.esm.js → idCaptureManager-DaLU1ug7.esm.js} +53 -24
  49. package/dist/{idCaptureManager-B1RWflj0.d.ts → idCaptureManager-IdqsAASp.d.ts} +14 -6
  50. package/dist/index.d.ts +10 -9
  51. package/dist/index.esm.js +16 -16
  52. package/dist/{lib-B5byelWf.esm.js → lib-i-4qLKdG.esm.js} +1 -1
  53. package/dist/mandatory-consent.d.ts +60 -60
  54. package/dist/mandatory-consent.esm.js +3 -3
  55. package/dist/phone.d.ts +3 -3
  56. package/dist/phone.esm.js +5 -5
  57. package/dist/{phoneManager-zIENJkK4.esm.js → phoneManager-BAPHSXx8.esm.js} +5 -5
  58. package/dist/{phoneManager-Ba66ysK2.d.ts → phoneManager-DA8WUJtl.d.ts} +2 -2
  59. package/dist/redirect-to-mobile.d.ts +2 -2
  60. package/dist/redirect-to-mobile.esm.js +4 -4
  61. package/dist/selfie.d.ts +9 -9
  62. package/dist/selfie.esm.js +13 -13
  63. package/dist/{selfieManager-DSEpKb7Q.esm.js → selfieManager-BSkzncsa.esm.js} +4 -4
  64. package/dist/{selfieManager-BnfnTPcx.d.ts → selfieManager-Dft5wZQ_.d.ts} +2 -2
  65. package/dist/{session-Cr89qxxK.esm.js → session-OglUYC9l.esm.js} +5 -5
  66. package/dist/session.d.ts +1 -1
  67. package/dist/session.esm.js +3 -3
  68. package/dist/signature.d.ts +2 -2
  69. package/dist/signature.esm.js +3 -3
  70. package/dist/{stats-D4C7iDy1.esm.js → stats-BVigf5Rn.esm.js} +1 -1
  71. package/dist/stats.esm.js +2 -2
  72. package/dist/{types-BWGxcjiZ.d.ts → types-CiLyvJGb.d.ts} +1 -1
  73. package/dist/{types-BX1ZlbSR.d.ts → types-D8Y1faI5.d.ts} +1 -1
  74. package/package.json +5 -1
  75. /package/dist/{Actor-phIcsUhv.d.ts → Actor-By8WNHi-.d.ts} +0 -0
  76. /package/dist/{BrowserEnvironmentProvider-DApG6lNu.esm.js → BrowserEnvironmentProvider-BECjyw3_.esm.js} +0 -0
  77. /package/dist/{BrowserTimerProvider-CRhCvln7.esm.js → BrowserTimerProvider-CIqH6hJp.esm.js} +0 -0
  78. /package/dist/{Manager-BndLda4_.d.ts → Manager-CCT_-HuZ.d.ts} +0 -0
  79. /package/dist/{StateMachine-CGAi8x_b.d.ts → StateMachine-CM_aOfNL.d.ts} +0 -0
  80. /package/dist/{api-3fZO5bmj.esm.js → api-C2uzxrpN.esm.js} +0 -0
  81. /package/dist/{browserSimulation-zWJAZ1vA.esm.js → browserSimulation-DYAk0Ipe.esm.js} +0 -0
  82. /package/dist/{camera-Dv2WEhGe.d.ts → camera-6XJdOeBF.d.ts} +0 -0
  83. /package/dist/{camera-D-MPXRbZ.esm.js → camera-DAuRUvnp.esm.js} +0 -0
  84. /package/dist/{chunk-Boje8faD.esm.js → chunk-D6hkk-hd.esm.js} +0 -0
  85. /package/dist/{displayErrors-DzzB3fcR.d.ts → displayErrors-CGJwvrTl.d.ts} +0 -0
  86. /package/dist/{flowCompletionService-C_CShl_d.d.ts → flowCompletionService-BOd4Rk8n.d.ts} +0 -0
  87. /package/dist/{id-Dv0it9CY.esm.js → id-CzDAG_kM.esm.js} +0 -0
  88. /package/dist/{index-CuY8tqBC.d.ts → index-BuVKc9bv.d.ts} +0 -0
  89. /package/dist/{platform-B3nGssGZ.esm.js → platform-DdhkonXk.esm.js} +0 -0
package/dist/ekyb.esm.js CHANGED
@@ -1,12 +1,12 @@
1
- import "./browserSimulation-zWJAZ1vA.esm.js";
2
- import { t as api } from "./api-3fZO5bmj.esm.js";
3
- import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-9L3Rmc6X.esm.js";
4
- import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
5
- import "./session-Cr89qxxK.esm.js";
6
- import "./BrowserEnvironmentProvider-DApG6lNu.esm.js";
7
- import "./BrowserTimerProvider-CRhCvln7.esm.js";
8
- import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-uoJHvUT9.esm.js";
9
- import { t as getFlow } from "./flowServices-Bi3F1654.esm.js";
1
+ import "./browserSimulation-DYAk0Ipe.esm.js";
2
+ import { t as api } from "./api-C2uzxrpN.esm.js";
3
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-C6AGXEq_.esm.js";
4
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
5
+ import "./session-OglUYC9l.esm.js";
6
+ import "./BrowserEnvironmentProvider-BECjyw3_.esm.js";
7
+ import "./BrowserTimerProvider-CIqH6hJp.esm.js";
8
+ import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-DC5By0cC.esm.js";
9
+ import { t as getFlow } from "./flowServices-CO2sIR3D.esm.js";
10
10
 
11
11
  //#region src/modules/ekyb/ekybConstants.ts
12
12
  const UBO_INPUT_LIMIT = 8;
package/dist/ekyc.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import "./Actor-phIcsUhv.js";
2
- import { t as Manager } from "./Manager-BndLda4_.js";
3
- import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-DzzB3fcR.js";
1
+ import "./Actor-By8WNHi-.js";
2
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
3
+ import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-CGJwvrTl.js";
4
4
 
5
5
  //#region src/modules/ekyc/types.d.ts
6
6
  type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
package/dist/ekyc.esm.js CHANGED
@@ -1,8 +1,8 @@
1
- import { t as api } from "./api-3fZO5bmj.esm.js";
2
- import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-9L3Rmc6X.esm.js";
3
- import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
4
- import "./BrowserTimerProvider-CRhCvln7.esm.js";
5
- import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-uoJHvUT9.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-C6AGXEq_.esm.js";
3
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
4
+ import "./BrowserTimerProvider-CIqH6hJp.esm.js";
5
+ import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-DC5By0cC.esm.js";
6
6
 
7
7
  //#region src/modules/ekyc/ekycConsts.ts
8
8
  const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
package/dist/email.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import "./Actor-phIcsUhv.js";
2
- import "./Manager-BndLda4_.js";
3
- import { a as emailMachine, n as EmailState, o as EmailConfig, r as createEmailManager, t as EmailManager } from "./emailManager-BIq6pJa8.js";
1
+ import "./Actor-By8WNHi-.js";
2
+ import "./Manager-CCT_-HuZ.js";
3
+ import { a as emailMachine, n as EmailState, o as EmailConfig, r as createEmailManager, t as EmailManager } from "./emailManager-BQPIJR_O.js";
4
4
  export { type EmailConfig, type EmailManager, type EmailState, createEmailManager, emailMachine };
package/dist/email.esm.js CHANGED
@@ -1,7 +1,7 @@
1
- import "./api-3fZO5bmj.esm.js";
2
- import "./Manager-9L3Rmc6X.esm.js";
3
- import "./endpoints-DEXxYYFi.esm.js";
4
- import "./BrowserTimerProvider-CRhCvln7.esm.js";
5
- import { r as emailMachine, t as createEmailManager } from "./emailManager-JowzcrAP.esm.js";
1
+ import "./api-C2uzxrpN.esm.js";
2
+ import "./Manager-C6AGXEq_.esm.js";
3
+ import "./endpoints-CI5-28jT.esm.js";
4
+ import "./BrowserTimerProvider-CIqH6hJp.esm.js";
5
+ import { r as emailMachine, t as createEmailManager } from "./emailManager-CpAwvP3v.esm.js";
6
6
 
7
7
  export { createEmailManager, emailMachine };
@@ -1,5 +1,5 @@
1
- import { t as ActorRefFrom } from "./Actor-phIcsUhv.js";
2
- import { t as Manager } from "./Manager-BndLda4_.js";
1
+ import { t as ActorRefFrom } from "./Actor-By8WNHi-.js";
2
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
3
3
 
4
4
  //#region src/modules/email/types.d.ts
5
5
 
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-3fZO5bmj.esm.js";
2
- import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, x as fromCallback, y as setup } from "./Manager-9L3Rmc6X.esm.js";
3
- import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
4
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CRhCvln7.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, x as fromCallback, y as setup } from "./Manager-C6AGXEq_.esm.js";
3
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
4
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CIqH6hJp.esm.js";
5
5
 
6
6
  //#region src/modules/email/emailServices.ts
7
7
  async function fetchEmail(signal) {
@@ -119,7 +119,7 @@ const emailMachine = setup({
119
119
  hasPrefill: ({ context }) => context.config.prefill,
120
120
  hasOtpVerification: ({ context }) => context.config.otpVerification,
121
121
  isValidEmail: ({ context }) => context.isValid,
122
- hasAttemptsRemaining: ({ context }) => context.attemptsRemaining > 0,
122
+ hasAttemptsRemaining: ({ context }) => context.attemptsRemaining > 1,
123
123
  canResend: ({ context }) => !context.resendTimerActive
124
124
  }
125
125
  }).createMachine({
@@ -61,7 +61,8 @@ const endpoints = {
61
61
  qrRefreshUuid: "/omni/qr/refresh",
62
62
  addSignature: "/omni/add/signature",
63
63
  addSignatureV2: "/omni/add/signature/v2",
64
- addInitials: "/omni/add/initial"
64
+ addInitials: "/omni/add/initial",
65
+ processAntifraud: "/omni/process/antifraud"
65
66
  };
66
67
 
67
68
  //#endregion
@@ -1,16 +1,16 @@
1
- import { r as fromPromise } from "./StateMachine-CGAi8x_b.js";
2
- import { n as createActor } from "./Actor-phIcsUhv.js";
3
- import { i as WasmUtilConfig, n as IWasmUtilCapability, o as IStorageCapability, r as VirtualCameraCheckOutput } from "./deepsightService-CWnhwXLw.js";
4
- import { S as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-B1RWflj0.js";
5
- import "./camera-Dv2WEhGe.js";
6
- import "./types-BWGxcjiZ.js";
7
- import "./types-BX1ZlbSR.js";
8
- import "./Manager-BndLda4_.js";
9
- import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-CN5-GRxP.js";
10
- import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BnfnTPcx.js";
11
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-B5Yv9bDw.js";
12
- import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-BIq6pJa8.js";
13
- import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-Ba66ysK2.js";
1
+ import { r as fromPromise } from "./StateMachine-CM_aOfNL.js";
2
+ import { n as createActor } from "./Actor-By8WNHi-.js";
3
+ import { i as WasmUtilConfig, n as IWasmUtilCapability, o as IStorageCapability, r as VirtualCameraCheckOutput } from "./deepsightService-Ciu0atv5.js";
4
+ import { S as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-IdqsAASp.js";
5
+ import "./camera-6XJdOeBF.js";
6
+ import "./types-CiLyvJGb.js";
7
+ import "./types-D8Y1faI5.js";
8
+ import "./Manager-CCT_-HuZ.js";
9
+ import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-CdwpYykv.js";
10
+ import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-Dft5wZQ_.js";
11
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-Bd10YGSO.js";
12
+ import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-BQPIJR_O.js";
13
+ import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-DA8WUJtl.js";
14
14
 
15
15
  //#region src/modules/authentication/authenticationUploadService.d.ts
16
16
  type AuthenticationUploadResponse = {
@@ -1,23 +1,23 @@
1
- import "./platform-B3nGssGZ.esm.js";
2
- import "./BaseWasmProvider-BFXU7jj8.esm.js";
3
- import { f as BrowserStorageProvider } from "./StreamCanvasCapture-BowJVbkC.esm.js";
4
- import "./browserSimulation-zWJAZ1vA.esm.js";
5
- import "./api-3fZO5bmj.esm.js";
6
- import { C as createActor, S as fromPromise } from "./Manager-9L3Rmc6X.esm.js";
7
- import "./endpoints-DEXxYYFi.esm.js";
8
- import { c as FingerprintProvider, l as getDeviceFingerprintInfo, s as IpifyProvider, t as getDisableIpify } from "./session-Cr89qxxK.esm.js";
9
- import "./BrowserEnvironmentProvider-DApG6lNu.esm.js";
10
- import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-DlZXRwne.esm.js";
11
- import "./BrowserTimerProvider-CRhCvln7.esm.js";
12
- import "./camera-D-MPXRbZ.esm.js";
13
- import "./stats-D4C7iDy1.esm.js";
14
- import "./backCameraStream-BJwEXNl4.esm.js";
15
- import { t as WasmUtilProvider } from "./WasmUtilProvider-DctESPCy.esm.js";
16
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Bq4TPX5D.esm.js";
17
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-xQrUkboA.esm.js";
18
- import { n as createEmailManagerFromActor } from "./emailManager-JowzcrAP.esm.js";
19
- import { n as createSelfieManagerFromActor } from "./selfieManager-DSEpKb7Q.esm.js";
20
- import { n as createPhoneManagerFromActor } from "./phoneManager-zIENJkK4.esm.js";
1
+ import "./platform-DdhkonXk.esm.js";
2
+ import "./BaseWasmProvider--AzPfwOm.esm.js";
3
+ import { f as BrowserStorageProvider } from "./StreamCanvasCapture-DkpkIgyL.esm.js";
4
+ import "./browserSimulation-DYAk0Ipe.esm.js";
5
+ import "./api-C2uzxrpN.esm.js";
6
+ import { C as createActor, S as fromPromise } from "./Manager-C6AGXEq_.esm.js";
7
+ import "./endpoints-CI5-28jT.esm.js";
8
+ import { c as FingerprintProvider, l as getDeviceFingerprintInfo, s as IpifyProvider, t as getDisableIpify } from "./session-OglUYC9l.esm.js";
9
+ import "./BrowserEnvironmentProvider-BECjyw3_.esm.js";
10
+ import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-DaLU1ug7.esm.js";
11
+ import "./BrowserTimerProvider-CIqH6hJp.esm.js";
12
+ import "./camera-DAuRUvnp.esm.js";
13
+ import "./stats-BVigf5Rn.esm.js";
14
+ import "./backCameraStream-DF_d7hTz.esm.js";
15
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-BonqBWdj.esm.js";
16
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DbXgtcp7.esm.js";
17
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-B4gSCgrO.esm.js";
18
+ import { n as createEmailManagerFromActor } from "./emailManager-CpAwvP3v.esm.js";
19
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BSkzncsa.esm.js";
20
+ import { n as createPhoneManagerFromActor } from "./phoneManager-BAPHSXx8.esm.js";
21
21
 
22
22
  //#region src/internal/fingerprint/fingerprintApi.ts
23
23
  async function getFingerprint(disableIpify) {
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-BndLda4_.js";
1
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
2
2
 
3
3
  //#region src/modules/face-match/types.d.ts
4
4
 
@@ -1,6 +1,6 @@
1
- import { t as api } from "./api-3fZO5bmj.esm.js";
2
- import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-9L3Rmc6X.esm.js";
3
- import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-C6AGXEq_.esm.js";
3
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
4
4
 
5
5
  //#region src/modules/face-match/faceMatchServices.ts
6
6
  /**
@@ -1,9 +1,9 @@
1
- import { a as WasmPipeline, n as StateMachine, t as AnyStateMachine } from "./StateMachine-CGAi8x_b.js";
2
- import { t as ActorRefFrom } from "./Actor-phIcsUhv.js";
3
- import { a as StreamCanvasCapture, c as PermissionResult, f as IMLProviderCapability, l as PermissionStatus, m as IncodeCanvas, n as IWasmUtilCapability, o as IStorageCapability, p as MLProviderConfig, t as DeepsightService, u as IRecordingCapability } from "./deepsightService-CWnhwXLw.js";
4
- import { t as CameraStream } from "./camera-Dv2WEhGe.js";
5
- import { r as FlowModuleConfig, t as Flow } from "./types-BX1ZlbSR.js";
6
- import { t as Manager } from "./Manager-BndLda4_.js";
1
+ import { a as WasmPipeline, n as StateMachine, t as AnyStateMachine } from "./StateMachine-CM_aOfNL.js";
2
+ import { t as ActorRefFrom } from "./Actor-By8WNHi-.js";
3
+ import { a as StreamCanvasCapture, c as PermissionResult, f as IMLProviderCapability, l as PermissionStatus, m as IncodeCanvas, n as IWasmUtilCapability, o as IStorageCapability, p as MLProviderConfig, t as DeepsightService, u as IRecordingCapability } from "./deepsightService-Ciu0atv5.js";
4
+ import { t as CameraStream } from "./camera-6XJdOeBF.js";
5
+ import { r as FlowModuleConfig, t as Flow } from "./types-D8Y1faI5.js";
6
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
7
7
 
8
8
  //#region src/modules/authentication/authenticationStateMachine.d.ts
9
9
  declare const _authenticationMachine: AnyStateMachine;
@@ -1,12 +1,12 @@
1
- import { a as isIPhone14OrHigher, n as isDesktop, r as isIOS, t as isAndroid } from "./platform-B3nGssGZ.esm.js";
2
- import { i as IncodeCanvas, l as mlWasmJSApi_default, t as BaseWasmProvider, u as WasmPipelineType } from "./BaseWasmProvider-BFXU7jj8.esm.js";
3
- import { a as uploadDeepsightVideo, c as requestPermission, i as stopRecording$1, l as StreamCanvasProcessingSession, n as createRecordingSession, o as OpenViduRecordingProvider, p as getDeviceClass, r as startRecording, s as checkPermission, t as StreamCanvasCapture, u as flagFaceManualReview } from "./StreamCanvasCapture-BowJVbkC.esm.js";
4
- import { r as getToken, t as api } from "./api-3fZO5bmj.esm.js";
5
- import { S as fromPromise, b as assign, s as createManagerInstrumentation, t as createManager, x as fromCallback, y as setup } from "./Manager-9L3Rmc6X.esm.js";
6
- import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
7
- import { i as stopCameraStream, r as requestCameraAccess } from "./camera-D-MPXRbZ.esm.js";
8
- import { t as addDeviceStats } from "./stats-D4C7iDy1.esm.js";
9
- import { n as getDesktopCameraStream, t as getBackCameraStream } from "./backCameraStream-BJwEXNl4.esm.js";
1
+ import { a as isIPhone14OrHigher, n as isDesktop, r as isIOS, t as isAndroid } from "./platform-DdhkonXk.esm.js";
2
+ import { i as IncodeCanvas, l as mlWasmJSApi_default, t as BaseWasmProvider, u as WasmPipelineType } from "./BaseWasmProvider--AzPfwOm.esm.js";
3
+ import { a as uploadDeepsightVideo, c as requestPermission, i as stopRecording$1, l as StreamCanvasProcessingSession, n as createRecordingSession, o as OpenViduRecordingProvider, p as getDeviceClass, r as startRecording, s as checkPermission, t as StreamCanvasCapture, u as flagFaceManualReview } from "./StreamCanvasCapture-DkpkIgyL.esm.js";
4
+ import { r as getToken, t as api } from "./api-C2uzxrpN.esm.js";
5
+ import { S as fromPromise, b as assign, s as createManagerInstrumentation, t as createManager, x as fromCallback, y as setup } from "./Manager-C6AGXEq_.esm.js";
6
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
7
+ import { i as stopCameraStream, r as requestCameraAccess } from "./camera-DAuRUvnp.esm.js";
8
+ import { t as addDeviceStats } from "./stats-BVigf5Rn.esm.js";
9
+ import { n as getDesktopCameraStream, t as getBackCameraStream } from "./backCameraStream-DF_d7hTz.esm.js";
10
10
 
11
11
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
12
12
  function getPermissionStatus(snapshot) {
@@ -413,7 +413,7 @@ async function initializeCamera(params) {
413
413
  });
414
414
  await params.deepsightService.performPrcCheck({ constraints: { video: prcConstraints.video } });
415
415
  return {
416
- stream: config.assistedOnboarding ? await getBackCameraStream() : await getFrontCameraStream(config.cameraResolution),
416
+ stream: config.assistedOnboarding ? (await getBackCameraStream()).stream : await getFrontCameraStream(config.cameraResolution),
417
417
  provider
418
418
  };
419
419
  }
@@ -543,7 +543,7 @@ async function stopRecording(session) {
543
543
  }
544
544
  }
545
545
  async function initializeDeepsightSession(options) {
546
- const { loadDeepsightSession } = await import("./deepsightLoader-D2MKmB5z.esm.js");
546
+ const { loadDeepsightSession } = await import("./deepsightLoader-DKgEdLIS.esm.js");
547
547
  return loadDeepsightSession({
548
548
  ds: options.ds,
549
549
  storage: options.storage
package/dist/flow.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { a as WasmPipeline, t as AnyStateMachine } from "./StateMachine-CGAi8x_b.js";
2
- import "./camera-Dv2WEhGe.js";
3
- import "./types-BWGxcjiZ.js";
4
- import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-BX1ZlbSR.js";
5
- import { t as Manager } from "./Manager-BndLda4_.js";
6
- import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-C_CShl_d.js";
1
+ import { a as WasmPipeline, t as AnyStateMachine } from "./StateMachine-CM_aOfNL.js";
2
+ import "./camera-6XJdOeBF.js";
3
+ import "./types-CiLyvJGb.js";
4
+ import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-D8Y1faI5.js";
5
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
6
+ import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-BOd4Rk8n.js";
7
7
 
8
8
  //#region src/modules/flow/flowUtils.d.ts
9
9
 
package/dist/flow.esm.js CHANGED
@@ -1,11 +1,11 @@
1
- import "./browserSimulation-zWJAZ1vA.esm.js";
2
- import "./api-3fZO5bmj.esm.js";
3
- import { C as createActor, S as fromPromise, b as assign, s as createManagerInstrumentation, t as createManager, x as fromCallback, y as setup } from "./Manager-9L3Rmc6X.esm.js";
4
- import "./endpoints-DEXxYYFi.esm.js";
5
- import "./session-Cr89qxxK.esm.js";
6
- import "./BrowserEnvironmentProvider-DApG6lNu.esm.js";
7
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-Bi3F1654.esm.js";
8
- import { t as getFinishStatus } from "./flowCompletionService-CUT-cibE.esm.js";
1
+ import "./browserSimulation-DYAk0Ipe.esm.js";
2
+ import "./api-C2uzxrpN.esm.js";
3
+ import { C as createActor, S as fromPromise, b as assign, s as createManagerInstrumentation, t as createManager, x as fromCallback, y as setup } from "./Manager-C6AGXEq_.esm.js";
4
+ import "./endpoints-CI5-28jT.esm.js";
5
+ import "./session-OglUYC9l.esm.js";
6
+ import "./BrowserEnvironmentProvider-BECjyw3_.esm.js";
7
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-CO2sIR3D.esm.js";
8
+ import { t as getFinishStatus } from "./flowCompletionService-TnWijsSw.esm.js";
9
9
 
10
10
  //#region src/modules/flow/flowStateMachine.ts
11
11
  const flowMachine = setup({
@@ -1,5 +1,5 @@
1
- import { t as api } from "./api-3fZO5bmj.esm.js";
2
- import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
3
3
 
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
@@ -1,6 +1,6 @@
1
- import { t as api } from "./api-3fZO5bmj.esm.js";
2
- import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
3
- import { i as initializeSession, r as getSessionFingerprintResult } from "./session-Cr89qxxK.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
3
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./session-OglUYC9l.esm.js";
4
4
 
5
5
  //#region src/modules/flow/flowUtils.ts
6
6
  const WASM_MODULE_PIPELINES = {
@@ -1,5 +1,5 @@
1
- import "./Actor-phIcsUhv.js";
2
- import { t as Manager } from "./Manager-BndLda4_.js";
1
+ import "./Actor-By8WNHi-.js";
2
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
3
3
 
4
4
  //#region ../infra/src/capabilities/IGeolocationCapability.d.ts
5
5
  type GeolocationCoords = {
@@ -1,7 +1,7 @@
1
- import { r as isIOS, t as isAndroid } from "./platform-B3nGssGZ.esm.js";
2
- import { t as api } from "./api-3fZO5bmj.esm.js";
3
- import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-9L3Rmc6X.esm.js";
4
- import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
1
+ import { r as isIOS, t as isAndroid } from "./platform-DdhkonXk.esm.js";
2
+ import { t as api } from "./api-C2uzxrpN.esm.js";
3
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-C6AGXEq_.esm.js";
4
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
5
5
 
6
6
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
7
7
  var BrowserGeolocationProvider = class {
@@ -1,5 +1,5 @@
1
- import "./Actor-phIcsUhv.js";
2
- import { t as Manager } from "./Manager-BndLda4_.js";
1
+ import "./Actor-By8WNHi-.js";
2
+ import { t as Manager } from "./Manager-CCT_-HuZ.js";
3
3
 
4
4
  //#region src/modules/government-validation/types.d.ts
5
5
  type GovernmentValidationConfig = {
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-3fZO5bmj.esm.js";
2
- import { C as createActor, S as fromPromise, b as assign, s as createManagerInstrumentation, t as createManager, x as fromCallback, y as setup } from "./Manager-9L3Rmc6X.esm.js";
3
- import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
4
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CRhCvln7.esm.js";
1
+ import { t as api } from "./api-C2uzxrpN.esm.js";
2
+ import { C as createActor, S as fromPromise, b as assign, s as createManagerInstrumentation, t as createManager, x as fromCallback, y as setup } from "./Manager-C6AGXEq_.esm.js";
3
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
4
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CIqH6hJp.esm.js";
5
5
 
6
6
  //#region src/modules/government-validation/governmentValidationServices.ts
7
7
  async function processGovernmentValidation(signal) {
package/dist/id.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import "./StateMachine-CGAi8x_b.js";
2
- import "./Actor-phIcsUhv.js";
3
- import { c as PermissionResult, l as PermissionStatus } from "./deepsightService-CWnhwXLw.js";
4
- import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-B1RWflj0.js";
5
- import { t as CameraStream } from "./camera-Dv2WEhGe.js";
6
- import "./types-BWGxcjiZ.js";
7
- import "./types-BX1ZlbSR.js";
8
- import "./Manager-BndLda4_.js";
9
- import "./index-CuY8tqBC.js";
1
+ import "./StateMachine-CM_aOfNL.js";
2
+ import "./Actor-By8WNHi-.js";
3
+ import { c as PermissionResult, l as PermissionStatus } from "./deepsightService-Ciu0atv5.js";
4
+ import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-IdqsAASp.js";
5
+ import { t as CameraStream } from "./camera-6XJdOeBF.js";
6
+ import "./types-CiLyvJGb.js";
7
+ import "./types-D8Y1faI5.js";
8
+ import "./Manager-CCT_-HuZ.js";
9
+ import "./index-BuVKc9bv.js";
10
10
  export { CameraStream, CaptureIdResponse, CapturedImage, CreateIdCaptureActorOptions, DetectionArea, DetectionOrientation, DetectionStatus, ID_ERROR_CODES, IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, IdCaptureMachine, IdCaptureManager, IdCaptureMode, IdCaptureSettings, IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, PermissionResult, PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
package/dist/id.esm.js CHANGED
@@ -1,17 +1,17 @@
1
- import "./platform-B3nGssGZ.esm.js";
2
- import "./BaseWasmProvider-BFXU7jj8.esm.js";
3
- import "./StreamCanvasCapture-BowJVbkC.esm.js";
4
- import "./browserSimulation-zWJAZ1vA.esm.js";
5
- import "./api-3fZO5bmj.esm.js";
6
- import "./Manager-9L3Rmc6X.esm.js";
7
- import "./endpoints-DEXxYYFi.esm.js";
8
- import "./session-Cr89qxxK.esm.js";
9
- import "./BrowserEnvironmentProvider-DApG6lNu.esm.js";
10
- import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-DlZXRwne.esm.js";
11
- import "./BrowserTimerProvider-CRhCvln7.esm.js";
12
- import "./camera-D-MPXRbZ.esm.js";
13
- import "./stats-D4C7iDy1.esm.js";
14
- import "./backCameraStream-BJwEXNl4.esm.js";
15
- import "./id-Dv0it9CY.esm.js";
1
+ import "./platform-DdhkonXk.esm.js";
2
+ import "./BaseWasmProvider--AzPfwOm.esm.js";
3
+ import "./StreamCanvasCapture-DkpkIgyL.esm.js";
4
+ import "./browserSimulation-DYAk0Ipe.esm.js";
5
+ import "./api-C2uzxrpN.esm.js";
6
+ import "./Manager-C6AGXEq_.esm.js";
7
+ import "./endpoints-CI5-28jT.esm.js";
8
+ import "./session-OglUYC9l.esm.js";
9
+ import "./BrowserEnvironmentProvider-BECjyw3_.esm.js";
10
+ import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-DaLU1ug7.esm.js";
11
+ import "./BrowserTimerProvider-CIqH6hJp.esm.js";
12
+ import "./camera-DAuRUvnp.esm.js";
13
+ import "./stats-BVigf5Rn.esm.js";
14
+ import "./backCameraStream-DF_d7hTz.esm.js";
15
+ import "./id-CzDAG_kM.esm.js";
16
16
 
17
17
  export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
@@ -1,13 +1,13 @@
1
- import { n as isDesktop } from "./platform-B3nGssGZ.esm.js";
2
- import { d as IdCaptureModelType, i as IncodeCanvas, l as mlWasmJSApi_default, o as getWindowDimensions, t as BaseWasmProvider, u as WasmPipelineType } from "./BaseWasmProvider-BFXU7jj8.esm.js";
3
- import { c as requestPermission, d as flagIdManualReview, f as BrowserStorageProvider, i as stopRecording$1, l as StreamCanvasProcessingSession, n as createRecordingSession, o as OpenViduRecordingProvider, p as getDeviceClass, r as startRecording, s as checkPermission, t as StreamCanvasCapture } from "./StreamCanvasCapture-BowJVbkC.esm.js";
4
- import { r as getToken, t as api } from "./api-3fZO5bmj.esm.js";
5
- import { C as createActor, S as fromPromise, b as assign, i as eventScreenNames, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, v as revokeObjectURL, x as fromCallback, y as setup } from "./Manager-9L3Rmc6X.esm.js";
6
- import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
7
- import { t as getDisableIpify } from "./session-Cr89qxxK.esm.js";
8
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CRhCvln7.esm.js";
9
- import { t as addDeviceStats } from "./stats-D4C7iDy1.esm.js";
10
- import { t as getBackCameraStream } from "./backCameraStream-BJwEXNl4.esm.js";
1
+ import { n as isDesktop } from "./platform-DdhkonXk.esm.js";
2
+ import { d as IdCaptureModelType, i as IncodeCanvas, l as mlWasmJSApi_default, o as getWindowDimensions, t as BaseWasmProvider, u as WasmPipelineType } from "./BaseWasmProvider--AzPfwOm.esm.js";
3
+ import { c as requestPermission, d as flagIdManualReview, f as BrowserStorageProvider, i as stopRecording$1, l as StreamCanvasProcessingSession, n as createRecordingSession, o as OpenViduRecordingProvider, p as getDeviceClass, r as startRecording, s as checkPermission, t as StreamCanvasCapture } from "./StreamCanvasCapture-DkpkIgyL.esm.js";
4
+ import { r as getToken, t as api } from "./api-C2uzxrpN.esm.js";
5
+ import { C as createActor, S as fromPromise, b as assign, i as eventScreenNames, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, v as revokeObjectURL, x as fromCallback, y as setup } from "./Manager-C6AGXEq_.esm.js";
6
+ import { t as endpoints } from "./endpoints-CI5-28jT.esm.js";
7
+ import { t as getDisableIpify } from "./session-OglUYC9l.esm.js";
8
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CIqH6hJp.esm.js";
9
+ import { t as addDeviceStats } from "./stats-BVigf5Rn.esm.js";
10
+ import { t as getBackCameraStream } from "./backCameraStream-DF_d7hTz.esm.js";
11
11
 
12
12
  //#region src/modules/id/idCaptureHelpers.ts
13
13
  /**
@@ -296,14 +296,19 @@ async function initializeIdCapture(params) {
296
296
  if (deepsightService) try {
297
297
  await deepsightService.performPrcCheck({ constraints: getPrcCameraConstraints() });
298
298
  } catch {}
299
- const stream = await getIdCameraStream();
300
- if (deepsightService) {
301
- const videoTrack = stream.getVideoTracks()[0];
302
- if (videoTrack) deepsightService.metadata.updateCameraInfo(videoTrack);
299
+ const { stream, fallbackLevel } = await getIdCameraStream();
300
+ const videoTrack = stream.getVideoTracks()[0];
301
+ let captureResolution;
302
+ if (videoTrack) {
303
+ const settings = videoTrack.getSettings();
304
+ if (typeof settings.width === "number" && typeof settings.height === "number") captureResolution = `${settings.width}x${settings.height}`;
303
305
  }
306
+ if (deepsightService && videoTrack) deepsightService.metadata.updateCameraInfo(videoTrack);
304
307
  return {
305
308
  stream,
306
- provider
309
+ provider,
310
+ captureResolution,
311
+ cameraFallbackLevel: fallbackLevel
307
312
  };
308
313
  }
309
314
  function stopStream(stream) {
@@ -729,7 +734,11 @@ const uploadIdImageActor = fromPromise(async ({ input, signal }) => {
729
734
  } catch {}
730
735
  const imageData = input.canvas?.getImageData() ?? void 0;
731
736
  const logs = input.deepsightService?.getPipelineState() ?? "";
732
- input.dependencies?.trackCaptureAttemptFinished?.({ logs });
737
+ input.dependencies?.trackCaptureAttemptFinished?.({
738
+ logs,
739
+ resolution: input.captureResolution,
740
+ fallbackLevel: input.cameraFallbackLevel
741
+ });
733
742
  return uploadIdImage({
734
743
  image,
735
744
  type: input.type,
@@ -778,7 +787,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
778
787
  });
779
788
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
780
789
  if (!input.dependencies) return;
781
- const { loadDeepsightSession } = await import("./deepsightLoader-D2MKmB5z.esm.js");
790
+ const { loadDeepsightSession } = await import("./deepsightLoader-DKgEdLIS.esm.js");
782
791
  return loadDeepsightSession({
783
792
  ds: input.ds,
784
793
  storage: input.dependencies.storage,
@@ -829,6 +838,12 @@ function getStreamFromEvent(event) {
829
838
  function getProviderFromEvent(event) {
830
839
  if ("output" in event) return event.output.provider;
831
840
  }
841
+ function getCaptureResolutionFromEvent(event) {
842
+ if ("output" in event) return event.output.captureResolution;
843
+ }
844
+ function getCameraFallbackLevelFromEvent(event) {
845
+ if ("output" in event) return event.output.cameraFallbackLevel;
846
+ }
832
847
  function getFrameCapturerFromEvent(event) {
833
848
  if ("output" in event) {
834
849
  const output = event.output;
@@ -859,7 +874,9 @@ function getResetContextValues(context) {
859
874
  uploadProgress: void 0,
860
875
  currentMode,
861
876
  selectedDocumentType: void 0,
862
- manualCaptureTriggered: false
877
+ manualCaptureTriggered: false,
878
+ captureResolution: void 0,
879
+ cameraFallbackLevel: void 0
863
880
  };
864
881
  }
865
882
  function getClearUploadFailureValues(context) {
@@ -1118,7 +1135,9 @@ const _idCaptureMachine = setup({
1118
1135
  previewImageUrl: void 0,
1119
1136
  uploadProgress: void 0,
1120
1137
  manualCaptureTriggered: false,
1121
- attemptsRemaining: context.config.captureAttempts
1138
+ attemptsRemaining: context.config.captureAttempts,
1139
+ captureResolution: void 0,
1140
+ cameraFallbackLevel: void 0
1122
1141
  };
1123
1142
  }),
1124
1143
  resetForFrontCapture: assign(({ context }) => {
@@ -1137,7 +1156,9 @@ const _idCaptureMachine = setup({
1137
1156
  previewImageUrl: void 0,
1138
1157
  uploadProgress: void 0,
1139
1158
  manualCaptureTriggered: false,
1140
- attemptsRemaining: context.config.captureAttempts
1159
+ attemptsRemaining: context.config.captureAttempts,
1160
+ captureResolution: void 0,
1161
+ cameraFallbackLevel: void 0
1141
1162
  };
1142
1163
  }),
1143
1164
  prepareForBackCapture: assign(({ context }) => {
@@ -1160,7 +1181,9 @@ const _idCaptureMachine = setup({
1160
1181
  setStreamAndCapturer: assign({
1161
1182
  stream: ({ event }) => getStreamFromEvent(event),
1162
1183
  provider: ({ event }) => getProviderFromEvent(event),
1163
- frameCapturer: ({ event }) => getFrameCapturerFromEvent(event)
1184
+ frameCapturer: ({ event }) => getFrameCapturerFromEvent(event),
1185
+ captureResolution: ({ event }) => getCaptureResolutionFromEvent(event),
1186
+ cameraFallbackLevel: ({ event }) => getCameraFallbackLevelFromEvent(event)
1164
1187
  }),
1165
1188
  trackTutorialId: () => {
1166
1189
  /* @__PURE__ */ performTrackTutorialId();
@@ -1191,7 +1214,9 @@ const _idCaptureMachine = setup({
1191
1214
  return {
1192
1215
  stream: void 0,
1193
1216
  provider: void 0,
1194
- frameCapturer: void 0
1217
+ frameCapturer: void 0,
1218
+ captureResolution: void 0,
1219
+ cameraFallbackLevel: void 0
1195
1220
  };
1196
1221
  }),
1197
1222
  decrementAttemptsRemaining: assign(({ context }) => ({ attemptsRemaining: context.attemptsRemaining - 1 })),
@@ -1281,7 +1306,9 @@ const _idCaptureMachine = setup({
1281
1306
  dependencies: input.dependencies,
1282
1307
  disableIpify: getDisableIpify(),
1283
1308
  deepsightInitAttempted: false,
1284
- availableDocumentTypes: getAvailableDocumentTypes(input.config)
1309
+ availableDocumentTypes: getAvailableDocumentTypes(input.config),
1310
+ captureResolution: void 0,
1311
+ cameraFallbackLevel: void 0
1285
1312
  };
1286
1313
  },
1287
1314
  on: {
@@ -1695,7 +1722,9 @@ const _idCaptureMachine = setup({
1695
1722
  stream: context.stream,
1696
1723
  isSecondId: context.config.isSecondId ?? false,
1697
1724
  onlyFront: context.config.onlyFront,
1698
- dependencies: context.dependencies
1725
+ dependencies: context.dependencies,
1726
+ captureResolution: context.captureResolution,
1727
+ cameraFallbackLevel: context.cameraFallbackLevel
1699
1728
  };
1700
1729
  },
1701
1730
  onDone: {