@sekyro/web 0.1.0-rc.38 → 0.1.0-rc.39
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.
- package/CHANGELOG.md +7 -0
- package/dist/{capture-session-doc-MGDYUASI.js → capture-session-doc-J4MIDQOS.js} +1 -1
- package/dist/{capture-session-v3-Z2KI_2p9.d.ts → capture-session-v3-BnRN9WuV.d.ts} +1 -1
- package/dist/{capture-session-v3-Dz-AQW52.d.cts → capture-session-v3-DjWqEJG0.d.cts} +1 -1
- package/dist/chunk-26XZRWBD.js +3 -0
- package/dist/chunk-3565JBSZ.js +1 -0
- package/dist/{chunk-TOISWBOX.js → chunk-3WQJI7UL.js} +1 -1
- package/dist/{chunk-PBWIMNSN.js → chunk-7FGOUBAN.js} +1 -1
- package/dist/{chunk-5AR5GTEJ.js → chunk-BRLQIJYF.js} +1 -1
- package/dist/{chunk-COZXZAD5.js → chunk-HMOOVRKA.js} +1 -1
- package/dist/{chunk-QTOMWAS6.js → chunk-P5OIQXVM.js} +1 -1
- package/dist/{chunk-TQQK7464.js → chunk-PNOGF72U.js} +1 -1
- package/dist/{chunk-IAKYKPL6.js → chunk-TGSMTRG5.js} +1 -1
- package/dist/{chunk-VMHFHHPP.js → chunk-UKYJYZZS.js} +1 -1
- package/dist/{chunk-XDB7L5KS.js → chunk-WI7GAUCH.js} +1 -1
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +1 -1
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/core/index.js +1 -1
- package/dist/create-document-capture-SMEKDBGF.js +1 -0
- package/dist/{create-verification-BG6A2iyO.d.cts → create-verification-BSOb3N6w.d.cts} +27 -4
- package/dist/{create-verification-2Qm_K28Y.d.ts → create-verification-C6Hoh_0h.d.ts} +27 -4
- package/dist/{detector-scanic-JC25DD3A.js → detector-scanic-P2RTEQUV.js} +1 -1
- package/dist/{icao-gate-QqtNED0V.d.ts → icao-gate-Bux2CcJc.d.ts} +1 -1
- package/dist/{icao-gate-Dyb0wGO3.d.cts → icao-gate-C-fkVe6r.d.cts} +1 -1
- package/dist/{icao-policy-iIBtqhbf.d.cts → icao-policy-B_daycJk.d.cts} +2 -2
- package/dist/{icao-policy-DsaRylAQ.d.ts → icao-policy-C5XcEwqj.d.ts} +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/internal/index.cjs +2 -2
- package/dist/internal/index.d.cts +6 -6
- package/dist/internal/index.d.ts +6 -6
- package/dist/internal/index.js +1 -1
- package/dist/{plan-runner-NWK4LZFI.js → plan-runner-ZVYJ3UI3.js} +1 -1
- package/dist/{types-Cy_SJtPf.d.cts → types-BUnFqG97.d.cts} +11 -1
- package/dist/{types-Cy_SJtPf.d.ts → types-BUnFqG97.d.ts} +11 -1
- package/package.json +1 -1
- package/sbom.cdx.json +19 -19
- package/dist/chunk-C4XDRRU5.js +0 -1
- package/dist/chunk-IOCOIZKE.js +0 -3
- package/dist/create-document-capture-KISF6XD3.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as Detector } from './detect-worker-CHqsPJoM.cjs';
|
|
2
|
-
import { A as AcceptedDocumentType, as as NationalEidOption, b9 as StepSection, bl as HostedBranding, aG as PlanSectionView, aD as PlanChoiceKind, ab as HostedSimulationView, m as ContactChannel, g as CheckReason, bp as RetakeHint, aA as PhotoSource, aB as PhotoSourcePick, aj as IdentityMethod, E as EidAfterPass, Y as HostedFormView, ak as IdentitySummarySource, Z as HostedIcaoPolicy, a0 as HostedNativeAppView, aw as PhoneCountryRule, ah as IcaoReportEntry, bo as IcaoCaptureTuning, a7 as HostedPortraitPendingFix, c as CaptureMode, a6 as HostedPoaRuleView, aM as PoaNameMatchMode, b3 as SessionReason, b1 as SessionDecidingStep, aa as HostedSessionView, ac as HostedStepView, aH as PlanStepView, a_ as ResolvedCaptureMode, J as FormIssueCode, bt as ScreenRampReport, bk as CaptureProvenance, I as FormInput, br as ScreenRampPaint, b2 as SessionFailureReason, bg as AgeEstimationReason, be as VerificationLevel, bd as VerificationAssurance, b0 as SandboxSimulation, ar as MethodChoiceView, bh as CameraUnavailableCause, bj as CaptureIssueReport, af as HostedVoiceView, bq as ScreenRampChallenge, b as AttestationInput, i as CheckType, by as PersonMask, aU as PortraitIcaoInput, Q as HostedChallengeView } from './types-
|
|
3
|
-
import { i as CaptureState$1, f as CaptureSessionV3Events, g as CaptureSessionV3Options, c as CaptureErrorKind$1, q as DeviceClass, b as CaptureArtifacts, ad as EngineErrorDetail, W as V3GateQuality, _ as V3TelemetryEvent } from './capture-session-v3-
|
|
4
|
-
import { f as IcaoGateSummary, g as IcaoGateUpdate, H as HostedClient, P as Point, p as IcaoGateScores, h as Box, m as IcaoFrameObservation, n as IcaoGate } from './icao-gate-
|
|
2
|
+
import { A as AcceptedDocumentType, as as NationalEidOption, b9 as StepSection, bl as HostedBranding, aG as PlanSectionView, aD as PlanChoiceKind, ab as HostedSimulationView, m as ContactChannel, g as CheckReason, bp as RetakeHint, aA as PhotoSource, aB as PhotoSourcePick, aj as IdentityMethod, E as EidAfterPass, Y as HostedFormView, ak as IdentitySummarySource, Z as HostedIcaoPolicy, a0 as HostedNativeAppView, aw as PhoneCountryRule, ah as IcaoReportEntry, bo as IcaoCaptureTuning, a7 as HostedPortraitPendingFix, c as CaptureMode, a6 as HostedPoaRuleView, aM as PoaNameMatchMode, b3 as SessionReason, b1 as SessionDecidingStep, aa as HostedSessionView, ac as HostedStepView, aH as PlanStepView, a_ as ResolvedCaptureMode, J as FormIssueCode, bt as ScreenRampReport, bk as CaptureProvenance, I as FormInput, br as ScreenRampPaint, b2 as SessionFailureReason, bg as AgeEstimationReason, be as VerificationLevel, bd as VerificationAssurance, b0 as SandboxSimulation, ar as MethodChoiceView, bh as CameraUnavailableCause, bj as CaptureIssueReport, af as HostedVoiceView, bq as ScreenRampChallenge, b as AttestationInput, i as CheckType, by as PersonMask, aU as PortraitIcaoInput, Q as HostedChallengeView } from './types-BUnFqG97.cjs';
|
|
3
|
+
import { i as CaptureState$1, f as CaptureSessionV3Events, g as CaptureSessionV3Options, c as CaptureErrorKind$1, q as DeviceClass, b as CaptureArtifacts, ad as EngineErrorDetail, W as V3GateQuality, _ as V3TelemetryEvent } from './capture-session-v3-DjWqEJG0.cjs';
|
|
4
|
+
import { f as IcaoGateSummary, g as IcaoGateUpdate, H as HostedClient, P as Point, p as IcaoGateScores, h as Box, m as IcaoFrameObservation, n as IcaoGate } from './icao-gate-C-fkVe6r.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Why a challenge produced no token (spec §4.5). `clock_wrong` (2026-11-15): the check refused the device's clock
|
|
@@ -97,6 +97,25 @@ interface InLaneSwitch {
|
|
|
97
97
|
current: string | null;
|
|
98
98
|
options: ChoiceOptionSnapshot[];
|
|
99
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* The in-lane switch targets a screen offers (bug 2026-11-16: « enter my Mauritanian NNI » under a Senegalese
|
|
102
|
+
* document). An option that serves only some countries (`countries`: a registry, a national eID) belongs to those
|
|
103
|
+
* countries: it is a row of their document type list (`methods`) and their screens' bottom switch, never offered on
|
|
104
|
+
* the country list or under another country's document. Options without `countries` serve every country. `issuer` is
|
|
105
|
+
* the picked document country (`null` on the country list), or `undefined` on a screen that is not a document screen
|
|
106
|
+
* (every option then stays).
|
|
107
|
+
*/
|
|
108
|
+
declare function laneOptionsFor(lane: InLaneSwitch, issuer: string | null | undefined): {
|
|
109
|
+
switchTo: ChoiceOptionSnapshot[];
|
|
110
|
+
methods: ChoiceOptionSnapshot[];
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* The row label of a country's own method on its document list, from the option's data: a registry's identifier name
|
|
114
|
+
* for that country in `locale` (else English), a national eID's provider name. `undefined`: the client's generic copy.
|
|
115
|
+
*/
|
|
116
|
+
declare function optionNameFor(option: ChoiceOptionSnapshot, issuer: string, locale: string): string | undefined;
|
|
117
|
+
/** The countries the open choice's country-restricted options serve (their type list shows them, documents or not). */
|
|
118
|
+
declare function laneCountries(lane: InLaneSwitch | undefined): string[];
|
|
100
119
|
/** The open choice of the view as an in-lane switch, `null` without one (locked, absent, or the choice itself current). */
|
|
101
120
|
declare function laneOf(view: HostedSessionView): InLaneSwitch | null;
|
|
102
121
|
/** The other options of an in-lane switch. */
|
|
@@ -261,6 +280,10 @@ interface ChoiceOptionSnapshot {
|
|
|
261
280
|
* directly next to Email (choose the option, then send with that channel). Absent on an older API.
|
|
262
281
|
*/
|
|
263
282
|
channels?: OtpChannel[];
|
|
283
|
+
/** The countries the option serves (`countries`); absent = every country. See {@link laneOptionsFor}. */
|
|
284
|
+
countries?: string[];
|
|
285
|
+
/** A registry option's identifier name per country then locale (`names`). See {@link optionNameFor}. */
|
|
286
|
+
names?: Record<string, Record<string, string>>;
|
|
264
287
|
}
|
|
265
288
|
/** `plan.choice` as a choice screen shows it. */
|
|
266
289
|
interface PlanChoiceSnapshot {
|
|
@@ -3843,4 +3866,4 @@ declare function createVerification(options: VerificationOptions): Verification;
|
|
|
3843
3866
|
/** {@link createVerification} with construction seams (tests / Sekyro AI-internal hosts). */
|
|
3844
3867
|
declare function createVerificationInternal(options: VerificationOptions, internals: VerificationInternals): Verification;
|
|
3845
3868
|
|
|
3846
|
-
export { type GateUpdate as $, type AcceptedDocumentsLike as A, type DocumentGuide as B, type CameraFacing as C, type DocumentCaptureOptions as D, type DocumentGuideMeasure as E, type FormIssue as F, type DocumentLiveMrzOptions as G, type DocumentMrzUpdate as H, type DocumentPoint as I, type DocumentQuad as J, type DocumentReticle as K, type DocumentScanPhase as L, type DocumentScanUpdate as M, type DocumentSide as N, type DocumentSnapshot as O, type PortraitCaptureOptions as P, type DocumentStepHandle as Q, type EidSnapshot as R, type EidStepHandle as S, type EmailOtpSnapshot as T, type EmailOtpStepHandle as U, type EmailSource as V, FORM_ANSWERS_INVALID as W, FormAnswersError as X, type FormSnapshot as Y, type FormStepHandle as Z, type GateHint as _, type DocumentCaptureHandle as a, cameraUnavailableCauseOf as a$, ISSUER_CODES as a0, type IdentitySummarySnapshot as a1, type IdentitySummaryStepHandle as a2, type InLaneSwitch as a3, type LivePhotoGateUpdate as a4, type LivePhotoPlan as a5, type LivenessAssetsStatus as a6, type LivenessCaptureEvents as a7, type LivenessCaptureHandle as a8, type LivenessCaptureOptions as a9, type ProofOfAddressSnapshot as aA, type ProofOfAddressStepHandle as aB, type ReasonCode as aC, type RegistrySnapshot as aD, type RegistrySource as aE, type RegistryStepHandle as aF, type ResultDisplay as aG, type ResultSnapshot as aH, type ResultStepHandle as aI, type SdkFailureReason as aJ, type StepAttempts as aK, type StepContext as aL, type StepSnapshot as aM, type UnsupportedReason as aN, type UnsupportedSnapshot as aO, type UnsupportedStepHandle as aP, type Verification as aQ, type VerificationBusy as aR, type VerificationEvents as aS, type VerificationLocale as aT, type VerificationOptions as aU, type VerificationResult as aV, type VerificationStatus as aW, type VerificationStep as aX, WEB_IDENTITY_METHODS as aY, acceptedIssuers as aZ, acceptedTypesFor as a_, type LivenessSnapshot as aa, type LivenessStartOptions as ab, type LivenessStepHandle as ac, type MethodSnapshot as ad, type MethodStepHandle as ae, type MobileRequiredSnapshot as af, type MobileRequiredStepHandle as ag, type NativeAppRequiredSnapshot as ah, type NativeAppRequiredStepHandle as ai, type OtpChannel as aj, type OtpNumberSource as ak, PLATFORM_UNSUPPORTED as al, type PageCaptureHandle as am, type PhoneOtpSnapshot as an, type PhoneOtpStepHandle as ao, type PhotoSourceState as ap, type PlanChoiceSnapshot as aq, type PortraitCaptureEvents as ar, type PortraitCaptureState as as, type PortraitGateUpdate as at, type PortraitSnapshot as au, type PortraitStartOptions as av, type PortraitStepHandle as aw, type PreloadLivenessAssetsOptions as ax, type ProcessingSnapshot as ay, type ProcessingStepHandle as az, type PortraitCaptureHandle as b,
|
|
3869
|
+
export { type GateUpdate as $, type AcceptedDocumentsLike as A, type DocumentGuide as B, type CameraFacing as C, type DocumentCaptureOptions as D, type DocumentGuideMeasure as E, type FormIssue as F, type DocumentLiveMrzOptions as G, type DocumentMrzUpdate as H, type DocumentPoint as I, type DocumentQuad as J, type DocumentReticle as K, type DocumentScanPhase as L, type DocumentScanUpdate as M, type DocumentSide as N, type DocumentSnapshot as O, type PortraitCaptureOptions as P, type DocumentStepHandle as Q, type EidSnapshot as R, type EidStepHandle as S, type EmailOtpSnapshot as T, type EmailOtpStepHandle as U, type EmailSource as V, FORM_ANSWERS_INVALID as W, FormAnswersError as X, type FormSnapshot as Y, type FormStepHandle as Z, type GateHint as _, type DocumentCaptureHandle as a, cameraUnavailableCauseOf as a$, ISSUER_CODES as a0, type IdentitySummarySnapshot as a1, type IdentitySummaryStepHandle as a2, type InLaneSwitch as a3, type LivePhotoGateUpdate as a4, type LivePhotoPlan as a5, type LivenessAssetsStatus as a6, type LivenessCaptureEvents as a7, type LivenessCaptureHandle as a8, type LivenessCaptureOptions as a9, type ProofOfAddressSnapshot as aA, type ProofOfAddressStepHandle as aB, type ReasonCode as aC, type RegistrySnapshot as aD, type RegistrySource as aE, type RegistryStepHandle as aF, type ResultDisplay as aG, type ResultSnapshot as aH, type ResultStepHandle as aI, type SdkFailureReason as aJ, type StepAttempts as aK, type StepContext as aL, type StepSnapshot as aM, type UnsupportedReason as aN, type UnsupportedSnapshot as aO, type UnsupportedStepHandle as aP, type Verification as aQ, type VerificationBusy as aR, type VerificationEvents as aS, type VerificationLocale as aT, type VerificationOptions as aU, type VerificationResult as aV, type VerificationStatus as aW, type VerificationStep as aX, WEB_IDENTITY_METHODS as aY, acceptedIssuers as aZ, acceptedTypesFor as a_, type LivenessSnapshot as aa, type LivenessStartOptions as ab, type LivenessStepHandle as ac, type MethodSnapshot as ad, type MethodStepHandle as ae, type MobileRequiredSnapshot as af, type MobileRequiredStepHandle as ag, type NativeAppRequiredSnapshot as ah, type NativeAppRequiredStepHandle as ai, type OtpChannel as aj, type OtpNumberSource as ak, PLATFORM_UNSUPPORTED as al, type PageCaptureHandle as am, type PhoneOtpSnapshot as an, type PhoneOtpStepHandle as ao, type PhotoSourceState as ap, type PlanChoiceSnapshot as aq, type PortraitCaptureEvents as ar, type PortraitCaptureState as as, type PortraitGateUpdate as at, type PortraitSnapshot as au, type PortraitStartOptions as av, type PortraitStepHandle as aw, type PreloadLivenessAssetsOptions as ax, type ProcessingSnapshot as ay, type ProcessingStepHandle as az, type PortraitCaptureHandle as b, DocFeedbackAggregator as b$, createLivenessCapture as b0, createVerification as b1, deriveStep as b2, flagOf as b3, getLivenessAssetsStatus as b4, laneCountries as b5, laneOf as b6, laneOptionsFor as b7, optionNameFor as b8, otherOptions as b9, type CaptureEngine as bA, CaptureSessionDoc as bB, type CaptureSessionDocEvents as bC, type CaptureSessionDocOptions as bD, type ChallengeAction as bE, ChallengeError as bF, DOC_ANALYSIS_DEFAULTS as bG, DOC_BLACK_FRAME_LUMA as bH, DOC_BLACK_FRAME_TICKS as bI, DOC_CADENCE_HZ as bJ, DOC_CAMERA_TUNING_DEFAULTS as bK, DOC_CATALOG as bL, DOC_DETECT_WIDTH as bM, DOC_FEEDBACK_STATES as bN, DOC_FIRST_FRAME_MS as bO, DOC_GATE_V1_DEFAULTS as bP, DOC_SHUTTER_DEFAULTS as bQ, type DeviceReadHint as bR, type DocArtifacts as bS, DocAssist as bT, type DocAssistEngine as bU, type DocAssistTick as bV, type DocCameraTuning as bW, type DocCaptureReport as bX, type DocCaptureVia as bY, type DocChecksPayload as bZ, type DocEngineLike as b_, preloadLivenessAssets as ba, releaseLivenessAssets as bb, resolveAcceptedDocuments as bc, sectionOf as bd, subscribeLivenessAssets as be, type SubmitRuntime as bf, type HostedClientLike as bg, type DocCatalogEntry as bh, type DeviceTier as bi, type LiveMrzTuning as bj, type TextLockTuning as bk, type OcrEngineClient as bl, type DocAssistReport as bm, type ReadyInfo as bn, type LoadFailure as bo, type OcrEngineOptions as bp, ANALYSIS_LONG_EDGE as bq, ASPECT_BANDS as br, AttestationError as bs, BLUR_REFUSE_SHARPNESS_MAX as bt, type BlurStatus as bu, CAPTURE_CANDIDATE_SPACING_MS as bv, CAPTURE_EXTRA_CANDIDATES as bw, CHALLENGE_EXECUTE_TIMEOUT_MS as bx, CHALLENGE_READY_TIMEOUT_MS as by, CLIP_MIME_ALLOWLIST as bz, type CaptureChannel as c, PROCESSING_POLL_DELAY_MS as c$, type DocFeedbackKey as c0, type DocFeedbackState as c1, type DocFormat as c2, type DocFrameAnalysis as c3, type DocFrameMeasures as c4, type DocGateQuality as c5, type DocGateThresholds as c6, type DocGateTick as c7, type DocGateTickInput as c8, DocGateV1 as c9, LANDMARKER_MODEL as cA, LENS_STORAGE_KEY as cB, LIVE_MRZ_DEFAULTS as cC, LIVE_PHOTO_IDLE_MS as cD, LIVE_PHOTO_MAX_HZ as cE, type LandmarkedFace as cF, type LandmarkerLike as cG, type LensSource as cH, type LightingStatus as cI, type LiveMrzCapture as cJ, type LiveMrzState as cK, type LivePhotoGate as cL, type LivePhotoKit as cM, type LivePhotoKitInternals as cN, type LivePhotoKitOptions as cO, type LivePhotoStill as cP, type LivenessCaptureInternalHandle as cQ, type LivenessCaptureInternals as cR, type LivenessFlowDeps as cS, type LivenessFlowOutcome as cT, MANUAL_SHUTTER_MS as cU, MR_DOC_CATALOG as cV, NO_REPORT_MS as cW, type OpenDocCameraDeps as cX, PORTRAIT_JPEG_QUALITY as cY, PRELOAD_BLAZE_INIT_TIMEOUT_MS as cZ, PRELOAD_BUDGET_MS as c_, type DocQuad as ca, type DocQuadPoint as cb, type DocShutterReason as cc, type DocShutterTuning as cd, type DocSide as ce, type DocumentCaptureController as cf, type DocumentCaptureInternals as cg, EMPTY_GUIDE_METRICS as ch, type EncodedDocument as ci, type ExecuteChallengeOptions as cj, FLIP_FILL_MIN as ck, FLIP_GAP_MS as cl, FLIP_TIMEOUT_MS as cm, type FocusCaps as cn, type FramingStatus as co, GUIDE_LOCK_DEFAULTS as cp, type GlareStatus as cq, type GrabbedFrame as cr, type GuideBlocker as cs, GuideLock as ct, type GuideLockTick as cu, type GuideLockTuning as cv, type GuideMetrics as cw, type GuideRect as cx, INFERENCE_RETRY_ATTEMPTS as cy, INFERENCE_RETRY_DEFAULT_S as cz, type CaptureEngineId as d, setPreloadLoaderForTests as d$, PROCESSING_POLL_MAX as d0, type PortraitCaptureController as d1, type PortraitCaptureInternals as d2, REGISTRY_RETRY_DELAY_MS as d3, type ReticleType as d4, SAME_FACE_MAX_DROPS as d5, type ScanEvent as d6, type ScanLayout as d7, type ScanNotice as d8, type ScanPhase as d9, focusOk as dA, guideQuad as dB, guideRegionInFrame as dC, initialScanState as dD, mapEngineState as dE, mapErrorKind as dF, mapGuidanceHint as dG, nextScanState as dH, observe as dI, openDocCamera as dJ, passportBandOf as dK, portraitMatchStep as dL, preloadedDetectorFactory as dM, quadAreaFrac as dN, quadBounds as dO, quadIou as dP, quadTiltRatio as dQ, randomUuid as dR, readStoredLens as dS, resetChallengeFrameForTests as dT, resetLivenessAssetsForTests as dU, resolveDocCameraTuning as dV, resolveDocShutterTuning as dW, resolveGuideLockTuning as dX, runLivenessFlow as dY, runSubmission as dZ, scannerFormatFor as d_, type ScanReport as da, type ScanSide as db, type ScanState as dc, type SubmitExecutor as dd, TEXT_LOCK_DEFAULTS as de, TRANSPORT_REPLAY_ATTEMPTS as df, TRANSPORT_REPLAY_DELAY_MS as dg, type VerificationInternals as dh, analyzeDocFrame as di, analyzeGuide as dj, aspectBand as dk, aspectFits as dl, buildDeviceReadHint as dm, coverPointToVideo as dn, createDocumentCaptureInternal as dp, createFaceLandmarker as dq, createLivePhotoKit as dr, createLivenessCaptureInternal as ds, createPortraitCaptureInternal as dt, createVerificationInternal as du, docZoomFor as dv, encodeDocumentImage as dw, executeChallenge as dx, facesOf as dy, feedbackVoteOf as dz, type CaptureError as e, settledHint as e0, singleShotFocusAt as e1, specularFraction as e2, supportsFocusMode as e3, warmDocDetector as e4, writeStoredLens as e5, type CaptureErrorDetail as f, type CaptureErrorKind as g, type CaptureErrorPhase as h, type CaptureState as i, type CapturedArtifacts as j, type CapturedDocument as k, type CapturedPortrait as l, type ChallengeErrorCode as m, type ChoiceOptionSnapshot as n, type ChoiceSnapshot as o, type ChoiceStepHandle as p, type ContactChoiceSnapshot as q, type ContactChoiceStepHandle as r, DEFAULT_API_ORIGIN as s, DOCUMENT_TYPE_ORDER as t, type DeriveStepEnv as u, type DocumentCaptureEvents as v, type DocumentCaptureState as w, type DocumentFeedback as x, type DocumentFeedbackKey as y, type DocumentGateUpdate as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as Detector } from './detect-worker-CHqsPJoM.js';
|
|
2
|
-
import { A as AcceptedDocumentType, as as NationalEidOption, b9 as StepSection, bl as HostedBranding, aG as PlanSectionView, aD as PlanChoiceKind, ab as HostedSimulationView, m as ContactChannel, g as CheckReason, bp as RetakeHint, aA as PhotoSource, aB as PhotoSourcePick, aj as IdentityMethod, E as EidAfterPass, Y as HostedFormView, ak as IdentitySummarySource, Z as HostedIcaoPolicy, a0 as HostedNativeAppView, aw as PhoneCountryRule, ah as IcaoReportEntry, bo as IcaoCaptureTuning, a7 as HostedPortraitPendingFix, c as CaptureMode, a6 as HostedPoaRuleView, aM as PoaNameMatchMode, b3 as SessionReason, b1 as SessionDecidingStep, aa as HostedSessionView, ac as HostedStepView, aH as PlanStepView, a_ as ResolvedCaptureMode, J as FormIssueCode, bt as ScreenRampReport, bk as CaptureProvenance, I as FormInput, br as ScreenRampPaint, b2 as SessionFailureReason, bg as AgeEstimationReason, be as VerificationLevel, bd as VerificationAssurance, b0 as SandboxSimulation, ar as MethodChoiceView, bh as CameraUnavailableCause, bj as CaptureIssueReport, af as HostedVoiceView, bq as ScreenRampChallenge, b as AttestationInput, i as CheckType, by as PersonMask, aU as PortraitIcaoInput, Q as HostedChallengeView } from './types-
|
|
3
|
-
import { i as CaptureState$1, f as CaptureSessionV3Events, g as CaptureSessionV3Options, c as CaptureErrorKind$1, q as DeviceClass, b as CaptureArtifacts, ad as EngineErrorDetail, W as V3GateQuality, _ as V3TelemetryEvent } from './capture-session-v3-
|
|
4
|
-
import { f as IcaoGateSummary, g as IcaoGateUpdate, H as HostedClient, P as Point, p as IcaoGateScores, h as Box, m as IcaoFrameObservation, n as IcaoGate } from './icao-gate-
|
|
2
|
+
import { A as AcceptedDocumentType, as as NationalEidOption, b9 as StepSection, bl as HostedBranding, aG as PlanSectionView, aD as PlanChoiceKind, ab as HostedSimulationView, m as ContactChannel, g as CheckReason, bp as RetakeHint, aA as PhotoSource, aB as PhotoSourcePick, aj as IdentityMethod, E as EidAfterPass, Y as HostedFormView, ak as IdentitySummarySource, Z as HostedIcaoPolicy, a0 as HostedNativeAppView, aw as PhoneCountryRule, ah as IcaoReportEntry, bo as IcaoCaptureTuning, a7 as HostedPortraitPendingFix, c as CaptureMode, a6 as HostedPoaRuleView, aM as PoaNameMatchMode, b3 as SessionReason, b1 as SessionDecidingStep, aa as HostedSessionView, ac as HostedStepView, aH as PlanStepView, a_ as ResolvedCaptureMode, J as FormIssueCode, bt as ScreenRampReport, bk as CaptureProvenance, I as FormInput, br as ScreenRampPaint, b2 as SessionFailureReason, bg as AgeEstimationReason, be as VerificationLevel, bd as VerificationAssurance, b0 as SandboxSimulation, ar as MethodChoiceView, bh as CameraUnavailableCause, bj as CaptureIssueReport, af as HostedVoiceView, bq as ScreenRampChallenge, b as AttestationInput, i as CheckType, by as PersonMask, aU as PortraitIcaoInput, Q as HostedChallengeView } from './types-BUnFqG97.js';
|
|
3
|
+
import { i as CaptureState$1, f as CaptureSessionV3Events, g as CaptureSessionV3Options, c as CaptureErrorKind$1, q as DeviceClass, b as CaptureArtifacts, ad as EngineErrorDetail, W as V3GateQuality, _ as V3TelemetryEvent } from './capture-session-v3-BnRN9WuV.js';
|
|
4
|
+
import { f as IcaoGateSummary, g as IcaoGateUpdate, H as HostedClient, P as Point, p as IcaoGateScores, h as Box, m as IcaoFrameObservation, n as IcaoGate } from './icao-gate-Bux2CcJc.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Why a challenge produced no token (spec §4.5). `clock_wrong` (2026-11-15): the check refused the device's clock
|
|
@@ -97,6 +97,25 @@ interface InLaneSwitch {
|
|
|
97
97
|
current: string | null;
|
|
98
98
|
options: ChoiceOptionSnapshot[];
|
|
99
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* The in-lane switch targets a screen offers (bug 2026-11-16: « enter my Mauritanian NNI » under a Senegalese
|
|
102
|
+
* document). An option that serves only some countries (`countries`: a registry, a national eID) belongs to those
|
|
103
|
+
* countries: it is a row of their document type list (`methods`) and their screens' bottom switch, never offered on
|
|
104
|
+
* the country list or under another country's document. Options without `countries` serve every country. `issuer` is
|
|
105
|
+
* the picked document country (`null` on the country list), or `undefined` on a screen that is not a document screen
|
|
106
|
+
* (every option then stays).
|
|
107
|
+
*/
|
|
108
|
+
declare function laneOptionsFor(lane: InLaneSwitch, issuer: string | null | undefined): {
|
|
109
|
+
switchTo: ChoiceOptionSnapshot[];
|
|
110
|
+
methods: ChoiceOptionSnapshot[];
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* The row label of a country's own method on its document list, from the option's data: a registry's identifier name
|
|
114
|
+
* for that country in `locale` (else English), a national eID's provider name. `undefined`: the client's generic copy.
|
|
115
|
+
*/
|
|
116
|
+
declare function optionNameFor(option: ChoiceOptionSnapshot, issuer: string, locale: string): string | undefined;
|
|
117
|
+
/** The countries the open choice's country-restricted options serve (their type list shows them, documents or not). */
|
|
118
|
+
declare function laneCountries(lane: InLaneSwitch | undefined): string[];
|
|
100
119
|
/** The open choice of the view as an in-lane switch, `null` without one (locked, absent, or the choice itself current). */
|
|
101
120
|
declare function laneOf(view: HostedSessionView): InLaneSwitch | null;
|
|
102
121
|
/** The other options of an in-lane switch. */
|
|
@@ -261,6 +280,10 @@ interface ChoiceOptionSnapshot {
|
|
|
261
280
|
* directly next to Email (choose the option, then send with that channel). Absent on an older API.
|
|
262
281
|
*/
|
|
263
282
|
channels?: OtpChannel[];
|
|
283
|
+
/** The countries the option serves (`countries`); absent = every country. See {@link laneOptionsFor}. */
|
|
284
|
+
countries?: string[];
|
|
285
|
+
/** A registry option's identifier name per country then locale (`names`). See {@link optionNameFor}. */
|
|
286
|
+
names?: Record<string, Record<string, string>>;
|
|
264
287
|
}
|
|
265
288
|
/** `plan.choice` as a choice screen shows it. */
|
|
266
289
|
interface PlanChoiceSnapshot {
|
|
@@ -3843,4 +3866,4 @@ declare function createVerification(options: VerificationOptions): Verification;
|
|
|
3843
3866
|
/** {@link createVerification} with construction seams (tests / Sekyro AI-internal hosts). */
|
|
3844
3867
|
declare function createVerificationInternal(options: VerificationOptions, internals: VerificationInternals): Verification;
|
|
3845
3868
|
|
|
3846
|
-
export { type GateUpdate as $, type AcceptedDocumentsLike as A, type DocumentGuide as B, type CameraFacing as C, type DocumentCaptureOptions as D, type DocumentGuideMeasure as E, type FormIssue as F, type DocumentLiveMrzOptions as G, type DocumentMrzUpdate as H, type DocumentPoint as I, type DocumentQuad as J, type DocumentReticle as K, type DocumentScanPhase as L, type DocumentScanUpdate as M, type DocumentSide as N, type DocumentSnapshot as O, type PortraitCaptureOptions as P, type DocumentStepHandle as Q, type EidSnapshot as R, type EidStepHandle as S, type EmailOtpSnapshot as T, type EmailOtpStepHandle as U, type EmailSource as V, FORM_ANSWERS_INVALID as W, FormAnswersError as X, type FormSnapshot as Y, type FormStepHandle as Z, type GateHint as _, type DocumentCaptureHandle as a, cameraUnavailableCauseOf as a$, ISSUER_CODES as a0, type IdentitySummarySnapshot as a1, type IdentitySummaryStepHandle as a2, type InLaneSwitch as a3, type LivePhotoGateUpdate as a4, type LivePhotoPlan as a5, type LivenessAssetsStatus as a6, type LivenessCaptureEvents as a7, type LivenessCaptureHandle as a8, type LivenessCaptureOptions as a9, type ProofOfAddressSnapshot as aA, type ProofOfAddressStepHandle as aB, type ReasonCode as aC, type RegistrySnapshot as aD, type RegistrySource as aE, type RegistryStepHandle as aF, type ResultDisplay as aG, type ResultSnapshot as aH, type ResultStepHandle as aI, type SdkFailureReason as aJ, type StepAttempts as aK, type StepContext as aL, type StepSnapshot as aM, type UnsupportedReason as aN, type UnsupportedSnapshot as aO, type UnsupportedStepHandle as aP, type Verification as aQ, type VerificationBusy as aR, type VerificationEvents as aS, type VerificationLocale as aT, type VerificationOptions as aU, type VerificationResult as aV, type VerificationStatus as aW, type VerificationStep as aX, WEB_IDENTITY_METHODS as aY, acceptedIssuers as aZ, acceptedTypesFor as a_, type LivenessSnapshot as aa, type LivenessStartOptions as ab, type LivenessStepHandle as ac, type MethodSnapshot as ad, type MethodStepHandle as ae, type MobileRequiredSnapshot as af, type MobileRequiredStepHandle as ag, type NativeAppRequiredSnapshot as ah, type NativeAppRequiredStepHandle as ai, type OtpChannel as aj, type OtpNumberSource as ak, PLATFORM_UNSUPPORTED as al, type PageCaptureHandle as am, type PhoneOtpSnapshot as an, type PhoneOtpStepHandle as ao, type PhotoSourceState as ap, type PlanChoiceSnapshot as aq, type PortraitCaptureEvents as ar, type PortraitCaptureState as as, type PortraitGateUpdate as at, type PortraitSnapshot as au, type PortraitStartOptions as av, type PortraitStepHandle as aw, type PreloadLivenessAssetsOptions as ax, type ProcessingSnapshot as ay, type ProcessingStepHandle as az, type PortraitCaptureHandle as b,
|
|
3869
|
+
export { type GateUpdate as $, type AcceptedDocumentsLike as A, type DocumentGuide as B, type CameraFacing as C, type DocumentCaptureOptions as D, type DocumentGuideMeasure as E, type FormIssue as F, type DocumentLiveMrzOptions as G, type DocumentMrzUpdate as H, type DocumentPoint as I, type DocumentQuad as J, type DocumentReticle as K, type DocumentScanPhase as L, type DocumentScanUpdate as M, type DocumentSide as N, type DocumentSnapshot as O, type PortraitCaptureOptions as P, type DocumentStepHandle as Q, type EidSnapshot as R, type EidStepHandle as S, type EmailOtpSnapshot as T, type EmailOtpStepHandle as U, type EmailSource as V, FORM_ANSWERS_INVALID as W, FormAnswersError as X, type FormSnapshot as Y, type FormStepHandle as Z, type GateHint as _, type DocumentCaptureHandle as a, cameraUnavailableCauseOf as a$, ISSUER_CODES as a0, type IdentitySummarySnapshot as a1, type IdentitySummaryStepHandle as a2, type InLaneSwitch as a3, type LivePhotoGateUpdate as a4, type LivePhotoPlan as a5, type LivenessAssetsStatus as a6, type LivenessCaptureEvents as a7, type LivenessCaptureHandle as a8, type LivenessCaptureOptions as a9, type ProofOfAddressSnapshot as aA, type ProofOfAddressStepHandle as aB, type ReasonCode as aC, type RegistrySnapshot as aD, type RegistrySource as aE, type RegistryStepHandle as aF, type ResultDisplay as aG, type ResultSnapshot as aH, type ResultStepHandle as aI, type SdkFailureReason as aJ, type StepAttempts as aK, type StepContext as aL, type StepSnapshot as aM, type UnsupportedReason as aN, type UnsupportedSnapshot as aO, type UnsupportedStepHandle as aP, type Verification as aQ, type VerificationBusy as aR, type VerificationEvents as aS, type VerificationLocale as aT, type VerificationOptions as aU, type VerificationResult as aV, type VerificationStatus as aW, type VerificationStep as aX, WEB_IDENTITY_METHODS as aY, acceptedIssuers as aZ, acceptedTypesFor as a_, type LivenessSnapshot as aa, type LivenessStartOptions as ab, type LivenessStepHandle as ac, type MethodSnapshot as ad, type MethodStepHandle as ae, type MobileRequiredSnapshot as af, type MobileRequiredStepHandle as ag, type NativeAppRequiredSnapshot as ah, type NativeAppRequiredStepHandle as ai, type OtpChannel as aj, type OtpNumberSource as ak, PLATFORM_UNSUPPORTED as al, type PageCaptureHandle as am, type PhoneOtpSnapshot as an, type PhoneOtpStepHandle as ao, type PhotoSourceState as ap, type PlanChoiceSnapshot as aq, type PortraitCaptureEvents as ar, type PortraitCaptureState as as, type PortraitGateUpdate as at, type PortraitSnapshot as au, type PortraitStartOptions as av, type PortraitStepHandle as aw, type PreloadLivenessAssetsOptions as ax, type ProcessingSnapshot as ay, type ProcessingStepHandle as az, type PortraitCaptureHandle as b, DocFeedbackAggregator as b$, createLivenessCapture as b0, createVerification as b1, deriveStep as b2, flagOf as b3, getLivenessAssetsStatus as b4, laneCountries as b5, laneOf as b6, laneOptionsFor as b7, optionNameFor as b8, otherOptions as b9, type CaptureEngine as bA, CaptureSessionDoc as bB, type CaptureSessionDocEvents as bC, type CaptureSessionDocOptions as bD, type ChallengeAction as bE, ChallengeError as bF, DOC_ANALYSIS_DEFAULTS as bG, DOC_BLACK_FRAME_LUMA as bH, DOC_BLACK_FRAME_TICKS as bI, DOC_CADENCE_HZ as bJ, DOC_CAMERA_TUNING_DEFAULTS as bK, DOC_CATALOG as bL, DOC_DETECT_WIDTH as bM, DOC_FEEDBACK_STATES as bN, DOC_FIRST_FRAME_MS as bO, DOC_GATE_V1_DEFAULTS as bP, DOC_SHUTTER_DEFAULTS as bQ, type DeviceReadHint as bR, type DocArtifacts as bS, DocAssist as bT, type DocAssistEngine as bU, type DocAssistTick as bV, type DocCameraTuning as bW, type DocCaptureReport as bX, type DocCaptureVia as bY, type DocChecksPayload as bZ, type DocEngineLike as b_, preloadLivenessAssets as ba, releaseLivenessAssets as bb, resolveAcceptedDocuments as bc, sectionOf as bd, subscribeLivenessAssets as be, type SubmitRuntime as bf, type HostedClientLike as bg, type DocCatalogEntry as bh, type DeviceTier as bi, type LiveMrzTuning as bj, type TextLockTuning as bk, type OcrEngineClient as bl, type DocAssistReport as bm, type ReadyInfo as bn, type LoadFailure as bo, type OcrEngineOptions as bp, ANALYSIS_LONG_EDGE as bq, ASPECT_BANDS as br, AttestationError as bs, BLUR_REFUSE_SHARPNESS_MAX as bt, type BlurStatus as bu, CAPTURE_CANDIDATE_SPACING_MS as bv, CAPTURE_EXTRA_CANDIDATES as bw, CHALLENGE_EXECUTE_TIMEOUT_MS as bx, CHALLENGE_READY_TIMEOUT_MS as by, CLIP_MIME_ALLOWLIST as bz, type CaptureChannel as c, PROCESSING_POLL_DELAY_MS as c$, type DocFeedbackKey as c0, type DocFeedbackState as c1, type DocFormat as c2, type DocFrameAnalysis as c3, type DocFrameMeasures as c4, type DocGateQuality as c5, type DocGateThresholds as c6, type DocGateTick as c7, type DocGateTickInput as c8, DocGateV1 as c9, LANDMARKER_MODEL as cA, LENS_STORAGE_KEY as cB, LIVE_MRZ_DEFAULTS as cC, LIVE_PHOTO_IDLE_MS as cD, LIVE_PHOTO_MAX_HZ as cE, type LandmarkedFace as cF, type LandmarkerLike as cG, type LensSource as cH, type LightingStatus as cI, type LiveMrzCapture as cJ, type LiveMrzState as cK, type LivePhotoGate as cL, type LivePhotoKit as cM, type LivePhotoKitInternals as cN, type LivePhotoKitOptions as cO, type LivePhotoStill as cP, type LivenessCaptureInternalHandle as cQ, type LivenessCaptureInternals as cR, type LivenessFlowDeps as cS, type LivenessFlowOutcome as cT, MANUAL_SHUTTER_MS as cU, MR_DOC_CATALOG as cV, NO_REPORT_MS as cW, type OpenDocCameraDeps as cX, PORTRAIT_JPEG_QUALITY as cY, PRELOAD_BLAZE_INIT_TIMEOUT_MS as cZ, PRELOAD_BUDGET_MS as c_, type DocQuad as ca, type DocQuadPoint as cb, type DocShutterReason as cc, type DocShutterTuning as cd, type DocSide as ce, type DocumentCaptureController as cf, type DocumentCaptureInternals as cg, EMPTY_GUIDE_METRICS as ch, type EncodedDocument as ci, type ExecuteChallengeOptions as cj, FLIP_FILL_MIN as ck, FLIP_GAP_MS as cl, FLIP_TIMEOUT_MS as cm, type FocusCaps as cn, type FramingStatus as co, GUIDE_LOCK_DEFAULTS as cp, type GlareStatus as cq, type GrabbedFrame as cr, type GuideBlocker as cs, GuideLock as ct, type GuideLockTick as cu, type GuideLockTuning as cv, type GuideMetrics as cw, type GuideRect as cx, INFERENCE_RETRY_ATTEMPTS as cy, INFERENCE_RETRY_DEFAULT_S as cz, type CaptureEngineId as d, setPreloadLoaderForTests as d$, PROCESSING_POLL_MAX as d0, type PortraitCaptureController as d1, type PortraitCaptureInternals as d2, REGISTRY_RETRY_DELAY_MS as d3, type ReticleType as d4, SAME_FACE_MAX_DROPS as d5, type ScanEvent as d6, type ScanLayout as d7, type ScanNotice as d8, type ScanPhase as d9, focusOk as dA, guideQuad as dB, guideRegionInFrame as dC, initialScanState as dD, mapEngineState as dE, mapErrorKind as dF, mapGuidanceHint as dG, nextScanState as dH, observe as dI, openDocCamera as dJ, passportBandOf as dK, portraitMatchStep as dL, preloadedDetectorFactory as dM, quadAreaFrac as dN, quadBounds as dO, quadIou as dP, quadTiltRatio as dQ, randomUuid as dR, readStoredLens as dS, resetChallengeFrameForTests as dT, resetLivenessAssetsForTests as dU, resolveDocCameraTuning as dV, resolveDocShutterTuning as dW, resolveGuideLockTuning as dX, runLivenessFlow as dY, runSubmission as dZ, scannerFormatFor as d_, type ScanReport as da, type ScanSide as db, type ScanState as dc, type SubmitExecutor as dd, TEXT_LOCK_DEFAULTS as de, TRANSPORT_REPLAY_ATTEMPTS as df, TRANSPORT_REPLAY_DELAY_MS as dg, type VerificationInternals as dh, analyzeDocFrame as di, analyzeGuide as dj, aspectBand as dk, aspectFits as dl, buildDeviceReadHint as dm, coverPointToVideo as dn, createDocumentCaptureInternal as dp, createFaceLandmarker as dq, createLivePhotoKit as dr, createLivenessCaptureInternal as ds, createPortraitCaptureInternal as dt, createVerificationInternal as du, docZoomFor as dv, encodeDocumentImage as dw, executeChallenge as dx, facesOf as dy, feedbackVoteOf as dz, type CaptureError as e, settledHint as e0, singleShotFocusAt as e1, specularFraction as e2, supportsFocusMode as e3, warmDocDetector as e4, writeStoredLens as e5, type CaptureErrorDetail as f, type CaptureErrorKind as g, type CaptureErrorPhase as h, type CaptureState as i, type CapturedArtifacts as j, type CapturedDocument as k, type CapturedPortrait as l, type ChallengeErrorCode as m, type ChoiceOptionSnapshot as n, type ChoiceSnapshot as o, type ChoiceStepHandle as p, type ContactChoiceSnapshot as q, type ContactChoiceStepHandle as r, DEFAULT_API_ORIGIN as s, DOCUMENT_TYPE_ORDER as t, type DeriveStepEnv as u, type DocumentCaptureEvents as v, type DocumentCaptureState as w, type DocumentFeedback as x, type DocumentFeedbackKey as y, type DocumentGateUpdate as z };
|