@sekyro/web 0.1.0-rc.6 → 0.1.0-rc.7
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 +27 -0
- package/LICENSE +3 -3
- package/README.md +4 -4
- package/dist/chunk-B45J4KC3.js +1 -0
- package/dist/chunk-BMA36W2W.js +1 -0
- package/dist/chunk-FPXL63KZ.js +1 -0
- package/dist/chunk-IYUOYINS.js +1 -0
- package/dist/chunk-P7ECRN47.js +1 -0
- package/dist/chunk-SXZCL5NO.js +1 -0
- package/dist/chunk-YOB4ZTYN.js +1 -0
- package/dist/chunk-YQBK6OIM.js +1 -0
- package/dist/client/index.cjs +1 -357
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js +1 -15
- package/dist/core/index.cjs +1 -1639
- package/dist/core/index.js +1 -139
- package/dist/core/v3/detect-worker.cjs +1 -392
- package/dist/core/v3/detect-worker.js +1 -13
- package/dist/{create-verification-BKc9NFQj.d.cts → create-verification-C2JhOO6Y.d.cts} +94 -16
- package/dist/{create-verification-DjcMZHAQ.d.ts → create-verification-CGazwtAh.d.ts} +94 -16
- package/dist/detector-scanic-VQFFXKTL.js +1 -0
- package/dist/{hosted-client-DJXq_CB9.d.ts → hosted-client-kBeq-mnJ.d.cts} +164 -11
- package/dist/{hosted-client-DJXq_CB9.d.cts → hosted-client-kBeq-mnJ.d.ts} +164 -11
- package/dist/index.cjs +1 -3030
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -85
- package/dist/internal/index.cjs +1 -4439
- package/dist/internal/index.d.cts +10 -7
- package/dist/internal/index.d.ts +10 -7
- package/dist/internal/index.js +1 -657
- package/dist/popup/index.cjs +1 -76
- package/dist/popup/index.js +1 -11
- package/dist/scanic-ml-stub-KW7IZHUT.js +1 -0
- package/package.json +5 -8
- package/sbom.cdx.json +195 -0
- package/dist/chunk-MWNFSNMP.js +0 -52
- package/dist/chunk-MWNFSNMP.js.map +0 -1
- package/dist/chunk-NILNKLK6.js +0 -50
- package/dist/chunk-NILNKLK6.js.map +0 -1
- package/dist/chunk-NWF46H7K.js +0 -359
- package/dist/chunk-NWF46H7K.js.map +0 -1
- package/dist/chunk-R3SJQHYU.js +0 -1173
- package/dist/chunk-R3SJQHYU.js.map +0 -1
- package/dist/chunk-TG5IE552.js +0 -1128
- package/dist/chunk-TG5IE552.js.map +0 -1
- package/dist/chunk-WY6U7AIK.js +0 -193
- package/dist/chunk-WY6U7AIK.js.map +0 -1
- package/dist/chunk-YVFF4Q4G.js +0 -327
- package/dist/chunk-YVFF4Q4G.js.map +0 -1
- package/dist/client/index.cjs.map +0 -1
- package/dist/client/index.js.map +0 -1
- package/dist/core/index.cjs.map +0 -1
- package/dist/core/index.js.map +0 -1
- package/dist/core/v3/detect-worker.cjs.map +0 -1
- package/dist/core/v3/detect-worker.js.map +0 -1
- package/dist/detector-scanic-4C6IEW2K.js +0 -787
- package/dist/detector-scanic-4C6IEW2K.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/internal/index.cjs.map +0 -1
- package/dist/internal/index.js.map +0 -1
- package/dist/popup/index.cjs.map +0 -1
- package/dist/popup/index.js.map +0 -1
- package/dist/scanic-ml-stub-S2OZ6HEF.js +0 -10
- package/dist/scanic-ml-stub-S2OZ6HEF.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as DeviceClass, i as CaptureState, b as CaptureArtifacts, c as CaptureErrorKind } from '../capture-session-v3-UQU_WjO2.cjs';
|
|
2
|
-
export { C as CENTERED_FACTOR, a as CIRCLE_RADIUS_FACTOR, I as IN_CIRCLE_FACTOR } from '../capture-constraints-BujkZcfb.cjs';
|
|
3
|
-
import {
|
|
4
|
-
export { A as AttestationError,
|
|
5
|
-
import { C as CheckReason,
|
|
2
|
+
export { C as CENTERED_FACTOR, a as CIRCLE_RADIUS_FACTOR, I as IN_CIRCLE_FACTOR, d as detectIsMobile } from '../capture-constraints-BujkZcfb.cjs';
|
|
3
|
+
import { p as VerificationResult } from '../create-verification-C2JhOO6Y.cjs';
|
|
4
|
+
export { A as AttestationError, x as CLIP_MIME_ALLOWLIST, y as CaptureEngine, H as HostedClientLike, I as INFERENCE_RETRY_ATTEMPTS, z as INFERENCE_RETRY_DEFAULT_S, B as LivenessCaptureInternalHandle, E as LivenessCaptureInternals, F as LivenessFlowDeps, J as LivenessFlowOutcome, K as PRELOAD_BLAZE_INIT_TIMEOUT_MS, M as PRELOAD_BUDGET_MS, N as PROCESSING_POLL_DELAY_MS, O as PROCESSING_POLL_MAX, Q as REGISTRY_RETRY_DELAY_MS, T as SubmitExecutor, U as SubmitRuntime, W as TRANSPORT_REPLAY_ATTEMPTS, X as TRANSPORT_REPLAY_DELAY_MS, Y as VerificationInternals, Z as createLivenessCaptureInternal, _ as createVerificationInternal, $ as mapEngineState, a0 as mapErrorKind, a1 as mapGuidanceHint, a2 as preloadedDetectorFactory, a3 as randomUuid, a4 as resetLivenessAssetsForTests, a5 as runLivenessFlow, a6 as runSubmission, a7 as setPreloadLoaderForTests } from '../create-verification-C2JhOO6Y.cjs';
|
|
5
|
+
import { C as CheckReason, f as HostedSessionView, g as HostedStepView, q as SessionView, b as CheckType } from '../hosted-client-kBeq-mnJ.cjs';
|
|
6
6
|
import '../detect-worker-CKXHlXx9.cjs';
|
|
7
7
|
|
|
8
8
|
/** Physical geometry the scanner frames (ISO/IEC 7810 / ICAO 9303). */
|
|
@@ -368,18 +368,21 @@ declare function stepOf(view: HostedSessionView, checkType: CheckType): HostedSt
|
|
|
368
368
|
/**
|
|
369
369
|
* Fold a submit response (partner `SessionView`: no attemptsRemaining) into the
|
|
370
370
|
* hosted view: status/outcome/step states+reasons come from the response; the
|
|
371
|
-
* submitted check's `attemptsRemaining` is decremented locally
|
|
372
|
-
*
|
|
371
|
+
* submitted check's `attemptsRemaining` is decremented locally, as is a match
|
|
372
|
+
* executed decisively by a liveness bundle (one attempt per executed check).
|
|
373
|
+
* Same-key transport replays are resolved before this merge is called.
|
|
373
374
|
* This keeps the happy path free of extra `GET /hosted/session` round-trips.
|
|
374
375
|
*/
|
|
375
376
|
declare function mergeSessionView(prev: HostedSessionView, next: SessionView, submitted: CheckType): HostedSessionView;
|
|
376
377
|
/**
|
|
377
378
|
* Map the session view to the public result:
|
|
378
379
|
* - `completed/approved → approved`, `completed/review` or `review_pending → review`,
|
|
379
|
-
* `failed` or `completed/rejected → rejected` (reason
|
|
380
|
+
* `failed` or `completed/rejected → rejected` (session-policy reason takes
|
|
381
|
+
* precedence on a failed session; otherwise use the deciding step's reason);
|
|
380
382
|
* - `expired → unavailable` (no reason);
|
|
381
383
|
* - in flight: a biometric step parked at `input_required` with a retryable
|
|
382
384
|
* reason → `retry` when `autoRetry` and attempts remain, else `rejected`
|
|
385
|
+
* (`mobile_required` → `unavailable`: only a phone can capture it)
|
|
383
386
|
* (the partner opted out of retries — this capture was refused); a step in
|
|
384
387
|
* `review` with nothing executable left → `review`; otherwise `unavailable`
|
|
385
388
|
* (a non-biometric frontier the SDK cannot drive, or still processing).
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as DeviceClass, i as CaptureState, b as CaptureArtifacts, c as CaptureErrorKind } from '../capture-session-v3-Okq0EQHG.js';
|
|
2
|
-
export { C as CENTERED_FACTOR, a as CIRCLE_RADIUS_FACTOR, I as IN_CIRCLE_FACTOR } from '../capture-constraints-BujkZcfb.js';
|
|
3
|
-
import {
|
|
4
|
-
export { A as AttestationError,
|
|
5
|
-
import { C as CheckReason,
|
|
2
|
+
export { C as CENTERED_FACTOR, a as CIRCLE_RADIUS_FACTOR, I as IN_CIRCLE_FACTOR, d as detectIsMobile } from '../capture-constraints-BujkZcfb.js';
|
|
3
|
+
import { p as VerificationResult } from '../create-verification-CGazwtAh.js';
|
|
4
|
+
export { A as AttestationError, x as CLIP_MIME_ALLOWLIST, y as CaptureEngine, H as HostedClientLike, I as INFERENCE_RETRY_ATTEMPTS, z as INFERENCE_RETRY_DEFAULT_S, B as LivenessCaptureInternalHandle, E as LivenessCaptureInternals, F as LivenessFlowDeps, J as LivenessFlowOutcome, K as PRELOAD_BLAZE_INIT_TIMEOUT_MS, M as PRELOAD_BUDGET_MS, N as PROCESSING_POLL_DELAY_MS, O as PROCESSING_POLL_MAX, Q as REGISTRY_RETRY_DELAY_MS, T as SubmitExecutor, U as SubmitRuntime, W as TRANSPORT_REPLAY_ATTEMPTS, X as TRANSPORT_REPLAY_DELAY_MS, Y as VerificationInternals, Z as createLivenessCaptureInternal, _ as createVerificationInternal, $ as mapEngineState, a0 as mapErrorKind, a1 as mapGuidanceHint, a2 as preloadedDetectorFactory, a3 as randomUuid, a4 as resetLivenessAssetsForTests, a5 as runLivenessFlow, a6 as runSubmission, a7 as setPreloadLoaderForTests } from '../create-verification-CGazwtAh.js';
|
|
5
|
+
import { C as CheckReason, f as HostedSessionView, g as HostedStepView, q as SessionView, b as CheckType } from '../hosted-client-kBeq-mnJ.js';
|
|
6
6
|
import '../detect-worker-CKXHlXx9.js';
|
|
7
7
|
|
|
8
8
|
/** Physical geometry the scanner frames (ISO/IEC 7810 / ICAO 9303). */
|
|
@@ -368,18 +368,21 @@ declare function stepOf(view: HostedSessionView, checkType: CheckType): HostedSt
|
|
|
368
368
|
/**
|
|
369
369
|
* Fold a submit response (partner `SessionView`: no attemptsRemaining) into the
|
|
370
370
|
* hosted view: status/outcome/step states+reasons come from the response; the
|
|
371
|
-
* submitted check's `attemptsRemaining` is decremented locally
|
|
372
|
-
*
|
|
371
|
+
* submitted check's `attemptsRemaining` is decremented locally, as is a match
|
|
372
|
+
* executed decisively by a liveness bundle (one attempt per executed check).
|
|
373
|
+
* Same-key transport replays are resolved before this merge is called.
|
|
373
374
|
* This keeps the happy path free of extra `GET /hosted/session` round-trips.
|
|
374
375
|
*/
|
|
375
376
|
declare function mergeSessionView(prev: HostedSessionView, next: SessionView, submitted: CheckType): HostedSessionView;
|
|
376
377
|
/**
|
|
377
378
|
* Map the session view to the public result:
|
|
378
379
|
* - `completed/approved → approved`, `completed/review` or `review_pending → review`,
|
|
379
|
-
* `failed` or `completed/rejected → rejected` (reason
|
|
380
|
+
* `failed` or `completed/rejected → rejected` (session-policy reason takes
|
|
381
|
+
* precedence on a failed session; otherwise use the deciding step's reason);
|
|
380
382
|
* - `expired → unavailable` (no reason);
|
|
381
383
|
* - in flight: a biometric step parked at `input_required` with a retryable
|
|
382
384
|
* reason → `retry` when `autoRetry` and attempts remain, else `rejected`
|
|
385
|
+
* (`mobile_required` → `unavailable`: only a phone can capture it)
|
|
383
386
|
* (the partner opted out of retries — this capture was refused); a step in
|
|
384
387
|
* `review` with nothing executable left → `review`; otherwise `unavailable`
|
|
385
388
|
* (a non-biometric frontier the SDK cannot drive, or still processing).
|