@sekyro/web 0.1.0-rc.19 → 0.1.0-rc.20

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 (54) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +8 -0
  3. package/dist/camera-trait-45MJTW4K.js +1 -0
  4. package/dist/{capture-session-doc-VXWWQEP4.js → capture-session-doc-QA4DOFRF.js} +1 -1
  5. package/dist/{capture-session-v3-Cs4yV3HJ.d.cts → capture-session-v3-CNL-GX11.d.cts} +1 -1
  6. package/dist/{capture-session-v3-CFSVWYzi.d.ts → capture-session-v3-DaBqN8fO.d.ts} +1 -1
  7. package/dist/chunk-5ZKQHFFW.js +1 -0
  8. package/dist/{chunk-ZPXL26BF.js → chunk-FGOVIGGL.js} +1 -1
  9. package/dist/{chunk-RNJA5GDF.js → chunk-IG466TOP.js} +1 -1
  10. package/dist/{chunk-4GJXUVZK.js → chunk-KHR4U2SZ.js} +1 -1
  11. package/dist/chunk-KZBBB5B2.js +1 -0
  12. package/dist/chunk-NJML6FMD.js +1 -0
  13. package/dist/chunk-TQB3URP2.js +1 -0
  14. package/dist/{chunk-ZO6IHP2I.js → chunk-U6S7SCBY.js} +1 -1
  15. package/dist/{chunk-6K4D3U6Q.js → chunk-W2WD7PR2.js} +1 -1
  16. package/dist/chunk-XCKE2MJL.js +1 -0
  17. package/dist/chunk-ZLWH4RBO.js +1 -0
  18. package/dist/client/index.cjs +1 -1
  19. package/dist/client/index.d.cts +6 -71
  20. package/dist/client/index.d.ts +6 -71
  21. package/dist/client/index.js +1 -1
  22. package/dist/core/index.cjs +1 -1
  23. package/dist/core/index.d.cts +3 -3
  24. package/dist/core/index.d.ts +3 -3
  25. package/dist/core/index.js +1 -1
  26. package/dist/{create-document-capture-FVSQPUF6.js → create-document-capture-GJXBQMTC.js} +1 -1
  27. package/dist/{create-portrait-capture-INDCF65X.js → create-portrait-capture-MOS2D7CL.js} +1 -1
  28. package/dist/{create-verification-1BrMZqPJ.d.cts → create-verification-BBOUYpga.d.cts} +113 -22
  29. package/dist/{create-verification-CuoYJ3kj.d.ts → create-verification-COpe2hxf.d.ts} +113 -22
  30. package/dist/{icao-gate-BSbyqLUh.d.ts → icao-gate-CEGvJR3q.d.ts} +19 -9
  31. package/dist/{icao-gate-D-wePfoV.d.cts → icao-gate-l40OU6x1.d.cts} +19 -9
  32. package/dist/icao-policy-BgI1Y870.d.ts +71 -0
  33. package/dist/icao-policy-C7fIdRzo.d.cts +71 -0
  34. package/dist/index.cjs +1 -1
  35. package/dist/index.d.cts +7 -7
  36. package/dist/index.d.ts +7 -7
  37. package/dist/index.js +1 -1
  38. package/dist/internal/index.cjs +1 -1
  39. package/dist/internal/index.d.cts +6 -6
  40. package/dist/internal/index.d.ts +6 -6
  41. package/dist/internal/index.js +1 -1
  42. package/dist/plan-runner-35655N4Z.js +1 -0
  43. package/dist/print-AYSCRSZB.js +1 -0
  44. package/dist/{types-DPl0hsmI.d.cts → types-Dpfg2cO8.d.cts} +149 -11
  45. package/dist/{types-DPl0hsmI.d.ts → types-Dpfg2cO8.d.ts} +149 -11
  46. package/dist/upload-file-UYXOHCRG.js +1 -0
  47. package/package.json +3 -2
  48. package/sbom.cdx.json +46 -7
  49. package/dist/chunk-5Y3UST3W.js +0 -1
  50. package/dist/chunk-64V55KD7.js +0 -1
  51. package/dist/chunk-JUEOHNVW.js +0 -1
  52. package/dist/chunk-L45YTRJJ.js +0 -1
  53. package/dist/chunk-PLH6ZR6J.js +0 -1
  54. package/dist/plan-runner-WEUIMCYU.js +0 -1
package/dist/index.d.cts CHANGED
@@ -1,12 +1,12 @@
1
- import { D as DocumentCaptureOptions, a as DocumentCaptureHandle, P as PortraitCaptureOptions, b as PortraitCaptureHandle } from './create-verification-1BrMZqPJ.cjs';
2
- export { A as AcceptedDocumentsLike, C as CameraFacing, c as CaptureChannel, d as CaptureEngineId, e as CaptureError, f as CaptureErrorDetail, g as CaptureErrorKind, h as CaptureErrorPhase, i as CaptureState, j as CapturedArtifacts, k as CapturedDocument, l as CapturedPortrait, m as ChoiceOptionSnapshot, n as ChoiceSnapshot, o as ChoiceStepHandle, p as ContactChoiceSnapshot, q as ContactChoiceStepHandle, r as DEFAULT_API_ORIGIN, s as DOCUMENT_TYPE_ORDER, t as DeriveStepEnv, u as DocumentCaptureEvents, v as DocumentCaptureState, w as DocumentFeedback, x as DocumentFeedbackKey, y as DocumentGateUpdate, z as DocumentGuide, B as DocumentGuideMeasure, E as DocumentLiveMrzOptions, F as DocumentMrzUpdate, G as DocumentPoint, H as DocumentQuad, I as DocumentReticle, J as DocumentScanPhase, K as DocumentScanUpdate, L as DocumentSide, M as DocumentSnapshot, N as DocumentStepHandle, O as EidSnapshot, Q as EidStepHandle, R as EmailOtpSnapshot, S as EmailOtpStepHandle, T as EmailSource, U as GateHint, V as GateUpdate, W as ISSUER_CODES, X as IdentitySummarySnapshot, Y as IdentitySummaryStepHandle, Z as InLaneSwitch, _ as LivePhotoGateUpdate, $ as LivePhotoPlan, a0 as LivenessAssetsStatus, a1 as LivenessCaptureEvents, a2 as LivenessCaptureHandle, a3 as LivenessCaptureOptions, a4 as LivenessSnapshot, a5 as LivenessStartOptions, a6 as LivenessStepHandle, a7 as MethodSnapshot, a8 as MethodStepHandle, a9 as MobileRequiredSnapshot, aa as MobileRequiredStepHandle, ab as OtpChannel, ac as OtpNumberSource, ad as PLATFORM_UNSUPPORTED, ae as PhoneOtpSnapshot, af as PhoneOtpStepHandle, ag as PlanChoiceSnapshot, ah as PortraitCaptureEvents, ai as PortraitCaptureState, aj as PortraitGateUpdate, ak as PortraitSnapshot, al as PortraitStartOptions, am as PortraitStepHandle, an as PreloadLivenessAssetsOptions, ao as ProcessingSnapshot, ap as ProcessingStepHandle, aq as ReasonCode, ar as RegistrySnapshot, as as RegistrySource, at as RegistryStepHandle, au as ResultDisplay, av as ResultSnapshot, aw as ResultStepHandle, ax as SdkFailureReason, ay as StepAttempts, az as StepContext, aA as StepSnapshot, aB as UnsupportedReason, aC as UnsupportedSnapshot, aD as UnsupportedStepHandle, aE as Verification, aF as VerificationBusy, aG as VerificationEvents, aH as VerificationLocale, aI as VerificationOptions, aJ as VerificationResult, aK as VerificationStatus, aL as VerificationStep, aM as WEB_IDENTITY_METHODS, aN as acceptedIssuers, aO as acceptedTypesFor, aP as cameraUnavailableCauseOf, aQ as createLivenessCapture, aR as createVerification, aS as deriveStep, aT as flagOf, aU as getLivenessAssetsStatus, aV as laneOf, aW as otherOptions, aX as preloadLivenessAssets, aY as releaseLivenessAssets, aZ as resolveAcceptedDocuments, a_ as sectionOf, a$ as subscribeLivenessAssets } from './create-verification-1BrMZqPJ.cjs';
3
- import { S as ScreenRampColour } from './types-DPl0hsmI.cjs';
4
- export { A as AcceptedDocumentType, i as AgeEstimationReason, b as CameraUnavailableCause, c as CaptureIssueReport, j as CaptureMode, k as CaptureProvenance, l as CheckReason, m as CheckState, f as CheckType, n as ContactChannel, D as DecisionReason, o as DocReason, E as EidAfterPass, p as EidAuthInput, q as EidReason, r as EmailOtpReason, F as FaceMatchReason, s as HostedAcceptedDocuments, t as HostedBranding, u as HostedBrandingColorKey, v as HostedCaptureTuning, a as HostedConsentView, w as HostedDocumentCaptureTuning, x as HostedDocumentScanTuning, y as HostedEidView, z as HostedEmailOtpView, G as HostedFlowRef, J as HostedIcaoPolicy, K as HostedIntegrity, L as HostedLivePhotoTuning, N as HostedLivenessCaptureTuning, O as HostedNativeCaptureTuning, Q as HostedOcrTuning, T as HostedOtpView, U as HostedPlanView, V as HostedPortraitView, H as HostedSessionView, W as HostedStepView, X as HostedVoiceLocale, Y as HostedVoiceView, Z as IcaoCaptureTuning, h as IcaoCriterion, _ as IcaoReportEntry, I as IdentityConfirmDecision, $ as IdentityMethod, a0 as IdentitySummarySource, a1 as IdentitySummaryView, a2 as LivenessReason, a3 as MatchReason, a4 as MethodChoiceView, a5 as NationalEidOption, a6 as NfcChipReason, a7 as NfcStepView, a8 as OtpChoiceView, a9 as PhoneCountryRule, aa as PhoneFormat, ab as PhoneOtpReason, ac as PlanAttempts, ad as PlanChoiceKind, ae as PlanChoiceOption, af as PlanChoiceView, ag as PlanSectionView, ah as PlanStepView, ai as PolicyFailureReason, aj as PopulationReason, ak as PortraitIcaoInput, al as PortraitIcaoReason, am as ResolvedCaptureMode, an as RetakeHint, ao as ScreenRampChallenge, ap as ScreenRampRendered, aq as ScreenRampReport, ar as SessionFailureReason, as as SessionOutcome, at as SessionStatus, au as StepSection, av as VerificationAssurance, aw as VerificationLevel } from './types-DPl0hsmI.cjs';
1
+ import { D as DocumentCaptureOptions, a as DocumentCaptureHandle, P as PortraitCaptureOptions, b as PortraitCaptureHandle } from './create-verification-BBOUYpga.cjs';
2
+ export { A as AcceptedDocumentsLike, C as CameraFacing, c as CaptureChannel, d as CaptureEngineId, e as CaptureError, f as CaptureErrorDetail, g as CaptureErrorKind, h as CaptureErrorPhase, i as CaptureState, j as CapturedArtifacts, k as CapturedDocument, l as CapturedPortrait, m as ChoiceOptionSnapshot, n as ChoiceSnapshot, o as ChoiceStepHandle, p as ContactChoiceSnapshot, q as ContactChoiceStepHandle, r as DEFAULT_API_ORIGIN, s as DOCUMENT_TYPE_ORDER, t as DeriveStepEnv, u as DocumentCaptureEvents, v as DocumentCaptureState, w as DocumentFeedback, x as DocumentFeedbackKey, y as DocumentGateUpdate, z as DocumentGuide, B as DocumentGuideMeasure, E as DocumentLiveMrzOptions, F as DocumentMrzUpdate, G as DocumentPoint, H as DocumentQuad, I as DocumentReticle, J as DocumentScanPhase, K as DocumentScanUpdate, L as DocumentSide, M as DocumentSnapshot, N as DocumentStepHandle, O as EidSnapshot, Q as EidStepHandle, R as EmailOtpSnapshot, S as EmailOtpStepHandle, T as EmailSource, U as GateHint, V as GateUpdate, W as ISSUER_CODES, X as IdentitySummarySnapshot, Y as IdentitySummaryStepHandle, Z as InLaneSwitch, _ as LivePhotoGateUpdate, $ as LivePhotoPlan, a0 as LivenessAssetsStatus, a1 as LivenessCaptureEvents, a2 as LivenessCaptureHandle, a3 as LivenessCaptureOptions, a4 as LivenessSnapshot, a5 as LivenessStartOptions, a6 as LivenessStepHandle, a7 as MethodSnapshot, a8 as MethodStepHandle, a9 as MobileRequiredSnapshot, aa as MobileRequiredStepHandle, ab as OtpChannel, ac as OtpNumberSource, ad as PLATFORM_UNSUPPORTED, ae as PhoneOtpSnapshot, af as PhoneOtpStepHandle, ag as PhotoSourceState, ah as PlanChoiceSnapshot, ai as PortraitCaptureEvents, aj as PortraitCaptureState, ak as PortraitGateUpdate, al as PortraitSnapshot, am as PortraitStartOptions, an as PortraitStepHandle, ao as PreloadLivenessAssetsOptions, ap as ProcessingSnapshot, aq as ProcessingStepHandle, ar as ReasonCode, as as RegistrySnapshot, at as RegistrySource, au as RegistryStepHandle, av as ResultDisplay, aw as ResultSnapshot, ax as ResultStepHandle, ay as SdkFailureReason, az as StepAttempts, aA as StepContext, aB as StepSnapshot, aC as UnsupportedReason, aD as UnsupportedSnapshot, aE as UnsupportedStepHandle, aF as Verification, aG as VerificationBusy, aH as VerificationEvents, aI as VerificationLocale, aJ as VerificationOptions, aK as VerificationResult, aL as VerificationStatus, aM as VerificationStep, aN as WEB_IDENTITY_METHODS, aO as acceptedIssuers, aP as acceptedTypesFor, aQ as cameraUnavailableCauseOf, aR as createLivenessCapture, aS as createVerification, aT as deriveStep, aU as flagOf, aV as getLivenessAssetsStatus, aW as laneOf, aX as otherOptions, aY as preloadLivenessAssets, aZ as releaseLivenessAssets, a_ as resolveAcceptedDocuments, a$ as sectionOf, b0 as subscribeLivenessAssets } from './create-verification-BBOUYpga.cjs';
3
+ import { aG as ScreenRampColour } from './types-Dpfg2cO8.cjs';
4
+ export { A as AcceptedDocumentType, aH as AgeEstimationReason, aI as CameraUnavailableCause, aJ as CaptureIssueReport, b as CaptureMode, aK as CaptureProvenance, f as CheckReason, g as CheckState, h as CheckType, k as ContactChannel, D as DecisionReason, n as DocReason, E as EidAfterPass, p as EidAuthInput, q as EidReason, s as EmailOtpReason, t as FaceMatchReason, H as HostedAcceptedDocuments, aL as HostedBranding, aM as HostedBrandingColorKey, u as HostedCaptureTuning, v as HostedConsentView, w as HostedDocumentCaptureTuning, x as HostedDocumentScanTuning, y as HostedDocumentsView, z as HostedEidView, B as HostedEmailOtpView, G as HostedFlowRef, I as HostedIcaoPolicy, J as HostedIntegrity, K as HostedLivePhotoTuning, aN as HostedLivenessCaptureTuning, L as HostedNativeCaptureTuning, M as HostedOcrTuning, N as HostedOtpView, O as HostedPlanView, P as HostedPortraitPendingFix, Q as HostedPortraitView, R as HostedSessionView, S as HostedStepView, T as HostedVoiceLocale, U as HostedVoiceView, aO as IcaoCaptureTuning, V as IcaoCriterion, W as IcaoReportEntry, X as IdentityConfirmDecision, Y as IdentityMethod, Z as IdentitySummarySource, _ as IdentitySummaryView, a1 as LivenessReason, a2 as MatchReason, a4 as MethodChoiceView, a5 as NationalEidOption, a6 as NfcChipReason, a7 as NfcStepView, a8 as OtpChoiceView, a9 as PhoneCountryRule, aa as PhoneFormat, ac as PhoneOtpReason, ad as PhotoSource, ae as PhotoSourcePick, af as PlanAttempts, ag as PlanChoiceKind, ah as PlanChoiceOption, ai as PlanChoiceView, aj as PlanSectionView, ak as PlanStepView, al as PolicyFailureReason, an as PopulationReason, ao as PortraitFix, ap as PortraitFixReviewInput, aq as PortraitIcaoInput, ar as PortraitIcaoReason, as as PortraitOutputFormat, aw as ResolvedCaptureMode, aP as RetakeHint, aQ as ScreenRampChallenge, aR as ScreenRampRendered, aS as ScreenRampReport, ax as SessionFailureReason, ay as SessionOutcome, az as SessionStatus, aC as StepSection, aE as VerificationAssurance, aF as VerificationLevel } from './types-Dpfg2cO8.cjs';
5
5
  export { OpenHostedOptions, PopupBlocked, PopupHandle, SEKYRO_EVENTS, SekyroEvent, SekyroEventName, openHosted } from './popup/index.cjs';
6
- export { HostedApiError, HostedErrorDetails, HostedErrorIssue, KNOWN_CODES, KnownCode, icaoPolicyOf, isKnownCode } from './client/index.cjs';
7
- export { H as HeadPose, I as IcaoCoachKey, a as IcaoCriterionState, b as IcaoGateCriterion, c as IcaoGateSummary, d as IcaoGateUpdate } from './icao-gate-D-wePfoV.cjs';
6
+ export { H as HostedApiError, a as HostedErrorDetails, b as HostedErrorIssue, K as KNOWN_CODES, c as KnownCode, i as icaoPolicyOf, d as isKnownCode } from './icao-policy-C7fIdRzo.cjs';
7
+ export { c as HeadPose, I as IcaoCoachKey, d as IcaoCriterionState, e as IcaoGateCriterion, f as IcaoGateSummary, g as IcaoGateUpdate } from './icao-gate-l40OU6x1.cjs';
8
8
  import './detect-worker-DclNxkZT.cjs';
9
- import './capture-session-v3-Cs4yV3HJ.cjs';
9
+ import './capture-session-v3-CNL-GX11.cjs';
10
10
 
11
11
  /** Each colour holds for 400 ms (the service measures the mean chroma per segment). */
12
12
  declare const SCREEN_RAMP_SEGMENT_MS = 400;
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { D as DocumentCaptureOptions, a as DocumentCaptureHandle, P as PortraitCaptureOptions, b as PortraitCaptureHandle } from './create-verification-CuoYJ3kj.js';
2
- export { A as AcceptedDocumentsLike, C as CameraFacing, c as CaptureChannel, d as CaptureEngineId, e as CaptureError, f as CaptureErrorDetail, g as CaptureErrorKind, h as CaptureErrorPhase, i as CaptureState, j as CapturedArtifacts, k as CapturedDocument, l as CapturedPortrait, m as ChoiceOptionSnapshot, n as ChoiceSnapshot, o as ChoiceStepHandle, p as ContactChoiceSnapshot, q as ContactChoiceStepHandle, r as DEFAULT_API_ORIGIN, s as DOCUMENT_TYPE_ORDER, t as DeriveStepEnv, u as DocumentCaptureEvents, v as DocumentCaptureState, w as DocumentFeedback, x as DocumentFeedbackKey, y as DocumentGateUpdate, z as DocumentGuide, B as DocumentGuideMeasure, E as DocumentLiveMrzOptions, F as DocumentMrzUpdate, G as DocumentPoint, H as DocumentQuad, I as DocumentReticle, J as DocumentScanPhase, K as DocumentScanUpdate, L as DocumentSide, M as DocumentSnapshot, N as DocumentStepHandle, O as EidSnapshot, Q as EidStepHandle, R as EmailOtpSnapshot, S as EmailOtpStepHandle, T as EmailSource, U as GateHint, V as GateUpdate, W as ISSUER_CODES, X as IdentitySummarySnapshot, Y as IdentitySummaryStepHandle, Z as InLaneSwitch, _ as LivePhotoGateUpdate, $ as LivePhotoPlan, a0 as LivenessAssetsStatus, a1 as LivenessCaptureEvents, a2 as LivenessCaptureHandle, a3 as LivenessCaptureOptions, a4 as LivenessSnapshot, a5 as LivenessStartOptions, a6 as LivenessStepHandle, a7 as MethodSnapshot, a8 as MethodStepHandle, a9 as MobileRequiredSnapshot, aa as MobileRequiredStepHandle, ab as OtpChannel, ac as OtpNumberSource, ad as PLATFORM_UNSUPPORTED, ae as PhoneOtpSnapshot, af as PhoneOtpStepHandle, ag as PlanChoiceSnapshot, ah as PortraitCaptureEvents, ai as PortraitCaptureState, aj as PortraitGateUpdate, ak as PortraitSnapshot, al as PortraitStartOptions, am as PortraitStepHandle, an as PreloadLivenessAssetsOptions, ao as ProcessingSnapshot, ap as ProcessingStepHandle, aq as ReasonCode, ar as RegistrySnapshot, as as RegistrySource, at as RegistryStepHandle, au as ResultDisplay, av as ResultSnapshot, aw as ResultStepHandle, ax as SdkFailureReason, ay as StepAttempts, az as StepContext, aA as StepSnapshot, aB as UnsupportedReason, aC as UnsupportedSnapshot, aD as UnsupportedStepHandle, aE as Verification, aF as VerificationBusy, aG as VerificationEvents, aH as VerificationLocale, aI as VerificationOptions, aJ as VerificationResult, aK as VerificationStatus, aL as VerificationStep, aM as WEB_IDENTITY_METHODS, aN as acceptedIssuers, aO as acceptedTypesFor, aP as cameraUnavailableCauseOf, aQ as createLivenessCapture, aR as createVerification, aS as deriveStep, aT as flagOf, aU as getLivenessAssetsStatus, aV as laneOf, aW as otherOptions, aX as preloadLivenessAssets, aY as releaseLivenessAssets, aZ as resolveAcceptedDocuments, a_ as sectionOf, a$ as subscribeLivenessAssets } from './create-verification-CuoYJ3kj.js';
3
- import { S as ScreenRampColour } from './types-DPl0hsmI.js';
4
- export { A as AcceptedDocumentType, i as AgeEstimationReason, b as CameraUnavailableCause, c as CaptureIssueReport, j as CaptureMode, k as CaptureProvenance, l as CheckReason, m as CheckState, f as CheckType, n as ContactChannel, D as DecisionReason, o as DocReason, E as EidAfterPass, p as EidAuthInput, q as EidReason, r as EmailOtpReason, F as FaceMatchReason, s as HostedAcceptedDocuments, t as HostedBranding, u as HostedBrandingColorKey, v as HostedCaptureTuning, a as HostedConsentView, w as HostedDocumentCaptureTuning, x as HostedDocumentScanTuning, y as HostedEidView, z as HostedEmailOtpView, G as HostedFlowRef, J as HostedIcaoPolicy, K as HostedIntegrity, L as HostedLivePhotoTuning, N as HostedLivenessCaptureTuning, O as HostedNativeCaptureTuning, Q as HostedOcrTuning, T as HostedOtpView, U as HostedPlanView, V as HostedPortraitView, H as HostedSessionView, W as HostedStepView, X as HostedVoiceLocale, Y as HostedVoiceView, Z as IcaoCaptureTuning, h as IcaoCriterion, _ as IcaoReportEntry, I as IdentityConfirmDecision, $ as IdentityMethod, a0 as IdentitySummarySource, a1 as IdentitySummaryView, a2 as LivenessReason, a3 as MatchReason, a4 as MethodChoiceView, a5 as NationalEidOption, a6 as NfcChipReason, a7 as NfcStepView, a8 as OtpChoiceView, a9 as PhoneCountryRule, aa as PhoneFormat, ab as PhoneOtpReason, ac as PlanAttempts, ad as PlanChoiceKind, ae as PlanChoiceOption, af as PlanChoiceView, ag as PlanSectionView, ah as PlanStepView, ai as PolicyFailureReason, aj as PopulationReason, ak as PortraitIcaoInput, al as PortraitIcaoReason, am as ResolvedCaptureMode, an as RetakeHint, ao as ScreenRampChallenge, ap as ScreenRampRendered, aq as ScreenRampReport, ar as SessionFailureReason, as as SessionOutcome, at as SessionStatus, au as StepSection, av as VerificationAssurance, aw as VerificationLevel } from './types-DPl0hsmI.js';
1
+ import { D as DocumentCaptureOptions, a as DocumentCaptureHandle, P as PortraitCaptureOptions, b as PortraitCaptureHandle } from './create-verification-COpe2hxf.js';
2
+ export { A as AcceptedDocumentsLike, C as CameraFacing, c as CaptureChannel, d as CaptureEngineId, e as CaptureError, f as CaptureErrorDetail, g as CaptureErrorKind, h as CaptureErrorPhase, i as CaptureState, j as CapturedArtifacts, k as CapturedDocument, l as CapturedPortrait, m as ChoiceOptionSnapshot, n as ChoiceSnapshot, o as ChoiceStepHandle, p as ContactChoiceSnapshot, q as ContactChoiceStepHandle, r as DEFAULT_API_ORIGIN, s as DOCUMENT_TYPE_ORDER, t as DeriveStepEnv, u as DocumentCaptureEvents, v as DocumentCaptureState, w as DocumentFeedback, x as DocumentFeedbackKey, y as DocumentGateUpdate, z as DocumentGuide, B as DocumentGuideMeasure, E as DocumentLiveMrzOptions, F as DocumentMrzUpdate, G as DocumentPoint, H as DocumentQuad, I as DocumentReticle, J as DocumentScanPhase, K as DocumentScanUpdate, L as DocumentSide, M as DocumentSnapshot, N as DocumentStepHandle, O as EidSnapshot, Q as EidStepHandle, R as EmailOtpSnapshot, S as EmailOtpStepHandle, T as EmailSource, U as GateHint, V as GateUpdate, W as ISSUER_CODES, X as IdentitySummarySnapshot, Y as IdentitySummaryStepHandle, Z as InLaneSwitch, _ as LivePhotoGateUpdate, $ as LivePhotoPlan, a0 as LivenessAssetsStatus, a1 as LivenessCaptureEvents, a2 as LivenessCaptureHandle, a3 as LivenessCaptureOptions, a4 as LivenessSnapshot, a5 as LivenessStartOptions, a6 as LivenessStepHandle, a7 as MethodSnapshot, a8 as MethodStepHandle, a9 as MobileRequiredSnapshot, aa as MobileRequiredStepHandle, ab as OtpChannel, ac as OtpNumberSource, ad as PLATFORM_UNSUPPORTED, ae as PhoneOtpSnapshot, af as PhoneOtpStepHandle, ag as PhotoSourceState, ah as PlanChoiceSnapshot, ai as PortraitCaptureEvents, aj as PortraitCaptureState, ak as PortraitGateUpdate, al as PortraitSnapshot, am as PortraitStartOptions, an as PortraitStepHandle, ao as PreloadLivenessAssetsOptions, ap as ProcessingSnapshot, aq as ProcessingStepHandle, ar as ReasonCode, as as RegistrySnapshot, at as RegistrySource, au as RegistryStepHandle, av as ResultDisplay, aw as ResultSnapshot, ax as ResultStepHandle, ay as SdkFailureReason, az as StepAttempts, aA as StepContext, aB as StepSnapshot, aC as UnsupportedReason, aD as UnsupportedSnapshot, aE as UnsupportedStepHandle, aF as Verification, aG as VerificationBusy, aH as VerificationEvents, aI as VerificationLocale, aJ as VerificationOptions, aK as VerificationResult, aL as VerificationStatus, aM as VerificationStep, aN as WEB_IDENTITY_METHODS, aO as acceptedIssuers, aP as acceptedTypesFor, aQ as cameraUnavailableCauseOf, aR as createLivenessCapture, aS as createVerification, aT as deriveStep, aU as flagOf, aV as getLivenessAssetsStatus, aW as laneOf, aX as otherOptions, aY as preloadLivenessAssets, aZ as releaseLivenessAssets, a_ as resolveAcceptedDocuments, a$ as sectionOf, b0 as subscribeLivenessAssets } from './create-verification-COpe2hxf.js';
3
+ import { aG as ScreenRampColour } from './types-Dpfg2cO8.js';
4
+ export { A as AcceptedDocumentType, aH as AgeEstimationReason, aI as CameraUnavailableCause, aJ as CaptureIssueReport, b as CaptureMode, aK as CaptureProvenance, f as CheckReason, g as CheckState, h as CheckType, k as ContactChannel, D as DecisionReason, n as DocReason, E as EidAfterPass, p as EidAuthInput, q as EidReason, s as EmailOtpReason, t as FaceMatchReason, H as HostedAcceptedDocuments, aL as HostedBranding, aM as HostedBrandingColorKey, u as HostedCaptureTuning, v as HostedConsentView, w as HostedDocumentCaptureTuning, x as HostedDocumentScanTuning, y as HostedDocumentsView, z as HostedEidView, B as HostedEmailOtpView, G as HostedFlowRef, I as HostedIcaoPolicy, J as HostedIntegrity, K as HostedLivePhotoTuning, aN as HostedLivenessCaptureTuning, L as HostedNativeCaptureTuning, M as HostedOcrTuning, N as HostedOtpView, O as HostedPlanView, P as HostedPortraitPendingFix, Q as HostedPortraitView, R as HostedSessionView, S as HostedStepView, T as HostedVoiceLocale, U as HostedVoiceView, aO as IcaoCaptureTuning, V as IcaoCriterion, W as IcaoReportEntry, X as IdentityConfirmDecision, Y as IdentityMethod, Z as IdentitySummarySource, _ as IdentitySummaryView, a1 as LivenessReason, a2 as MatchReason, a4 as MethodChoiceView, a5 as NationalEidOption, a6 as NfcChipReason, a7 as NfcStepView, a8 as OtpChoiceView, a9 as PhoneCountryRule, aa as PhoneFormat, ac as PhoneOtpReason, ad as PhotoSource, ae as PhotoSourcePick, af as PlanAttempts, ag as PlanChoiceKind, ah as PlanChoiceOption, ai as PlanChoiceView, aj as PlanSectionView, ak as PlanStepView, al as PolicyFailureReason, an as PopulationReason, ao as PortraitFix, ap as PortraitFixReviewInput, aq as PortraitIcaoInput, ar as PortraitIcaoReason, as as PortraitOutputFormat, aw as ResolvedCaptureMode, aP as RetakeHint, aQ as ScreenRampChallenge, aR as ScreenRampRendered, aS as ScreenRampReport, ax as SessionFailureReason, ay as SessionOutcome, az as SessionStatus, aC as StepSection, aE as VerificationAssurance, aF as VerificationLevel } from './types-Dpfg2cO8.js';
5
5
  export { OpenHostedOptions, PopupBlocked, PopupHandle, SEKYRO_EVENTS, SekyroEvent, SekyroEventName, openHosted } from './popup/index.js';
6
- export { HostedApiError, HostedErrorDetails, HostedErrorIssue, KNOWN_CODES, KnownCode, icaoPolicyOf, isKnownCode } from './client/index.js';
7
- export { H as HeadPose, I as IcaoCoachKey, a as IcaoCriterionState, b as IcaoGateCriterion, c as IcaoGateSummary, d as IcaoGateUpdate } from './icao-gate-BSbyqLUh.js';
6
+ export { H as HostedApiError, a as HostedErrorDetails, b as HostedErrorIssue, K as KNOWN_CODES, c as KnownCode, i as icaoPolicyOf, d as isKnownCode } from './icao-policy-BgI1Y870.js';
7
+ export { c as HeadPose, I as IcaoCoachKey, d as IcaoCriterionState, e as IcaoGateCriterion, f as IcaoGateSummary, g as IcaoGateUpdate } from './icao-gate-CEGvJR3q.js';
8
8
  import './detect-worker-DclNxkZT.js';
9
- import './capture-session-v3-CFSVWYzi.js';
9
+ import './capture-session-v3-DaBqN8fO.js';
10
10
 
11
11
  /** Each colour holds for 400 ms (the service measures the mean chroma per segment). */
12
12
  declare const SCREEN_RAMP_SEGMENT_MS = 400;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{a as ee,c as te}from"./chunk-U6TYL2IJ.js";import{a as Y,f as z,h as W,i as f,j as y,k as h,l as R,m as P,n as J,o as q,p as Q,q as X,r as j,t as $}from"./chunk-L45YTRJJ.js";import{A as S,z as C}from"./chunk-64V55KD7.js";import{e as G,f as U,g as B,h as K,o as F}from"./chunk-6K4D3U6Q.js";import{b as x,c as b,d as V}from"./chunk-GT2ZLGF7.js";import{g as O,h as I,i as N,j as T}from"./chunk-ZPXL26BF.js";import"./chunk-FUHDOEBP.js";import"./chunk-POIQGEZM.js";import"./chunk-CQ7SKLMC.js";import"./chunk-FPXL63KZ.js";import{a as w,b as k,c as _,g as Z}from"./chunk-5Y3UST3W.js";import"./chunk-JUEOHNVW.js";import"./chunk-OKWG3PVH.js";function oe(e){if(e==="permission")return"denied";if(e==="notfound"||e==="insecure"||e==="unsupported")return"no_camera"}var re=/^[A-Z0-9][A-Z0-9 -]{0,39}$/,ne=Object.freeze({normalize:e=>e.trim().toUpperCase().replace(/\s+/g," "),check:e=>re.test(e),registrySources:Object.freeze([]),describe:"number must be 1 to 40 letters, digits, spaces or hyphens"});function ie(e){return typeof e=="string"&&/^\d{10}$/.test(e)&&Number(e)%97===1}var ae=Object.freeze({normalize:e=>e.trim(),check:e=>ie(e),registrySources:Object.freeze(["MR.anrpts"]),describe:"number must be the 10-digit Mauritanian national ID number with a valid check digit"}),se=Object.freeze({"MR:national_id":ae});function m(e,t){return se[`${e.toUpperCase()}:${t}`]??ne}var pe=Object.freeze({MRT:"MR"});function v(e,t){let r=e.trim().toUpperCase();return m(pe[r]??r,t)}function ue(e){let t=v(e.issuingCountry,e.type);return t.check(t.normalize(e.number))}function de(e){return m("MR","national_id").check(e)}function g(e){let t="";for(let r of e){let n=r.codePointAt(0)??0;n>=1632&&n<=1641?t+=String(n-1632):n>=1776&&n<=1785?t+=String(n-1776):r!==" "&&r!=="-"&&r!==" "&&(t+=r)}return t}function ce(e){return g(e)}var Le=f,Oe=y,Ie=h,Ne=R,Te=P;var M=()=>import("./create-document-capture-FVSQPUF6.js");function E(e){let t=null,r=null,n=!1,u=null,l=null,d=[],i=(o,s)=>{o.off=s.on(o.event,o.handler)},a=()=>(r??(r=M().then(o=>{if(n)return null;let s=o.createDocumentCaptureInternal(e,{}).handle;for(let c of d)c.removed||i(c,s);return u!==null&&s.setSide(u),l!==null&&s.setGuide(l.guide),t=s,s})),r),p=()=>a().catch(()=>{if(r=null,!n)for(let o of d)!o.removed&&o.event==="error"&&o.handler({kind:"generic",retryable:!0});return null});return{get state(){return t?.state??"idle"},on:(o,s)=>{let c={event:o,handler:s,off:null,removed:!1};return d.push(c),t!==null&&i(c,t),()=>{c.removed=!0,c.off?.()}},start:async()=>{let o=await p();o!==null&&!n&&await o.start()},retry:()=>{t!==null?t.retry():p().then(o=>o?.start())},setSide:o=>{t!==null?t.setSide(o):u=o},shutter:()=>t?.shutter(),setTorch:o=>t?.setTorch(o),focusAt:(o,s)=>t?.focusAt(o,s),setGuide:o=>{t!==null?t.setGuide(o):l={guide:o}},destroy:()=>{n=!0,t?.destroy(),t=null,d.length=0}}}function H(){M().then(e=>e.warmDocumentCapture()).catch(()=>{})}function Ue(e){return E(e)}function Be(){H()}var A=()=>import("./create-portrait-capture-INDCF65X.js");function D(e){let t=null,r=null,n=!1,u=[],l=(i,a)=>{i.off=a.on(i.event,i.handler)},d=()=>(r??(r=A().then(i=>{if(n)return null;let a=i.createPortraitCaptureInternal(e).handle;for(let p of u)p.removed||l(p,a);return t=a,a})),r);return{get state(){return t?.state??"idle"},get captureMode(){return t?.captureMode??"self"},get facingMode(){return t?.facingMode??"user"},on:(i,a)=>{let p={event:i,handler:a,off:null,removed:!1};return u.push(p),t!==null&&l(p,t),()=>{p.removed=!0,p.off?.()}},start:async i=>{let a=await d();a!==null&&!n&&await a.start(i)},retry:()=>{t!==null?t.retry():d().then(i=>i?.start())},switchCamera:()=>t?.switchCamera()??!1,destroy:()=>{n=!0,t?.destroy(),t=null,u.length=0}}}function L(){A().then(e=>e.warmPortraitCapture()).catch(()=>{})}function _e(e){return D(e)}function Ze(){L()}export{Y as DEFAULT_API_ORIGIN,Le as DOCUMENT_TYPE_ORDER,_ as HostedApiError,W as ISSUER_CODES,C as InvalidInputError,w as KNOWN_CODES,S as OtpInputError,q as PLATFORM_UNSUPPORTED,N as SCREEN_RAMP_COLOURS,I as SCREEN_RAMP_END_MS,O as SCREEN_RAMP_SEGMENT_MS,ee as SEKYRO_EVENTS,J as WEB_IDENTITY_METHODS,Ie as acceptedIssuers,Oe as acceptedTypesFor,oe as cameraUnavailableCauseOf,Ue as createDocumentCapture,F as createLivenessCapture,_e as createPortraitCapture,z as createVerification,$ as deriveStep,Te as flagOf,U as getLivenessAssetsStatus,V as hasMultipleCameras,Z as icaoPolicyOf,k as isKnownCode,ue as isValidIdNumber,de as isValidNni,X as laneOf,g as normalizeDigits,ce as normalizeNni,te as openHosted,j as otherOptions,G as preloadLivenessAssets,x as queryCameraPermission,K as releaseLivenessAssets,Ne as resolveAcceptedDocuments,T as screenRampColourValue,Q as sectionOf,b as subscribeCameraPermission,B as subscribeLivenessAssets,Be as warmDocumentCapture,Ze as warmPortraitCapture};
1
+ import{a as ee,c as te}from"./chunk-U6TYL2IJ.js";import{a as Y,f as z,h as W,i as f,j as y,k as h,l as P,m as R,n as J,o as q,p as Q,q as X,r as j,t as $}from"./chunk-KZBBB5B2.js";import{C,D as S}from"./chunk-5ZKQHFFW.js";import{e as G,f as U,g as B,h as F,o as K}from"./chunk-W2WD7PR2.js";import{b as x,c as b,d as V}from"./chunk-GT2ZLGF7.js";import{g as O,h as I,i as N,j as T}from"./chunk-FGOVIGGL.js";import"./chunk-FUHDOEBP.js";import"./chunk-POIQGEZM.js";import"./chunk-CQ7SKLMC.js";import"./chunk-FPXL63KZ.js";import{a as w,b as k,c as _,h as Z}from"./chunk-NJML6FMD.js";import"./chunk-ZLWH4RBO.js";import"./chunk-OKWG3PVH.js";function oe(e){if(e==="permission")return"denied";if(e==="notfound"||e==="insecure"||e==="unsupported")return"no_camera"}var re=/^[A-Z0-9][A-Z0-9 -]{0,39}$/,ne=Object.freeze({normalize:e=>e.trim().toUpperCase().replace(/\s+/g," "),check:e=>re.test(e),registrySources:Object.freeze([]),describe:"number must be 1 to 40 letters, digits, spaces or hyphens"});function ie(e){return typeof e=="string"&&/^\d{10}$/.test(e)&&Number(e)%97===1}var ae=Object.freeze({normalize:e=>e.trim(),check:e=>ie(e),registrySources:Object.freeze(["MR.anrpts"]),describe:"number must be the 10-digit Mauritanian national ID number with a valid check digit"}),se=Object.freeze({"MR:national_id":ae});function m(e,t){return se[`${e.toUpperCase()}:${t}`]??ne}var pe=Object.freeze({MRT:"MR"});function v(e,t){let r=e.trim().toUpperCase();return m(pe[r]??r,t)}function ue(e){let t=v(e.issuingCountry,e.type);return t.check(t.normalize(e.number))}function de(e){return m("MR","national_id").check(e)}function g(e){let t="";for(let r of e){let n=r.codePointAt(0)??0;n>=1632&&n<=1641?t+=String(n-1632):n>=1776&&n<=1785?t+=String(n-1776):r!==" "&&r!=="-"&&r!==" "&&(t+=r)}return t}function ce(e){return g(e)}var Le=f,Oe=y,Ie=h,Ne=P,Te=R;var M=()=>import("./create-document-capture-GJXBQMTC.js");function E(e){let t=null,r=null,n=!1,u=null,l=null,d=[],i=(o,s)=>{o.off=s.on(o.event,o.handler)},a=()=>(r??(r=M().then(o=>{if(n)return null;let s=o.createDocumentCaptureInternal(e,{}).handle;for(let c of d)c.removed||i(c,s);return u!==null&&s.setSide(u),l!==null&&s.setGuide(l.guide),t=s,s})),r),p=()=>a().catch(()=>{if(r=null,!n)for(let o of d)!o.removed&&o.event==="error"&&o.handler({kind:"generic",retryable:!0});return null});return{get state(){return t?.state??"idle"},on:(o,s)=>{let c={event:o,handler:s,off:null,removed:!1};return d.push(c),t!==null&&i(c,t),()=>{c.removed=!0,c.off?.()}},start:async()=>{let o=await p();o!==null&&!n&&await o.start()},retry:()=>{t!==null?t.retry():p().then(o=>o?.start())},setSide:o=>{t!==null?t.setSide(o):u=o},shutter:()=>t?.shutter(),setTorch:o=>t?.setTorch(o),focusAt:(o,s)=>t?.focusAt(o,s),setGuide:o=>{t!==null?t.setGuide(o):l={guide:o}},destroy:()=>{n=!0,t?.destroy(),t=null,d.length=0}}}function H(){M().then(e=>e.warmDocumentCapture()).catch(()=>{})}function Ue(e){return E(e)}function Be(){H()}var D=()=>import("./create-portrait-capture-MOS2D7CL.js");function A(e){let t=null,r=null,n=!1,u=[],l=(i,a)=>{i.off=a.on(i.event,i.handler)},d=()=>(r??(r=D().then(i=>{if(n)return null;let a=i.createPortraitCaptureInternal(e).handle;for(let p of u)p.removed||l(p,a);return t=a,a})),r);return{get state(){return t?.state??"idle"},get captureMode(){return t?.captureMode??"self"},get facingMode(){return t?.facingMode??"user"},on:(i,a)=>{let p={event:i,handler:a,off:null,removed:!1};return u.push(p),t!==null&&l(p,t),()=>{p.removed=!0,p.off?.()}},start:async i=>{let a=await d();a!==null&&!n&&await a.start(i)},retry:()=>{t!==null?t.retry():d().then(i=>i?.start())},switchCamera:()=>t?.switchCamera()??!1,destroy:()=>{n=!0,t?.destroy(),t=null,u.length=0}}}function L(){D().then(e=>e.warmPortraitCapture()).catch(()=>{})}function _e(e){return A(e)}function Ze(){L()}export{Y as DEFAULT_API_ORIGIN,Le as DOCUMENT_TYPE_ORDER,_ as HostedApiError,W as ISSUER_CODES,C as InvalidInputError,w as KNOWN_CODES,S as OtpInputError,q as PLATFORM_UNSUPPORTED,N as SCREEN_RAMP_COLOURS,I as SCREEN_RAMP_END_MS,O as SCREEN_RAMP_SEGMENT_MS,ee as SEKYRO_EVENTS,J as WEB_IDENTITY_METHODS,Ie as acceptedIssuers,Oe as acceptedTypesFor,oe as cameraUnavailableCauseOf,Ue as createDocumentCapture,K as createLivenessCapture,_e as createPortraitCapture,z as createVerification,$ as deriveStep,Te as flagOf,U as getLivenessAssetsStatus,V as hasMultipleCameras,Z as icaoPolicyOf,k as isKnownCode,ue as isValidIdNumber,de as isValidNni,X as laneOf,g as normalizeDigits,ce as normalizeNni,te as openHosted,j as otherOptions,G as preloadLivenessAssets,x as queryCameraPermission,F as releaseLivenessAssets,Ne as resolveAcceptedDocuments,T as screenRampColourValue,Q as sectionOf,b as subscribeCameraPermission,B as subscribeLivenessAssets,Be as warmDocumentCapture,Ze as warmPortraitCapture};