@sekyro/web 0.1.0-rc.17 → 0.1.0-rc.18
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 +6 -0
- package/dist/{capture-session-doc-TATPATSZ.js → capture-session-doc-IE5VPYWC.js} +1 -1
- package/dist/{chunk-QBPD7FRF.js → chunk-D42NBRSV.js} +1 -1
- package/dist/{chunk-TWB4LTCE.js → chunk-DNB3R4PI.js} +1 -1
- package/dist/chunk-G2HL2ZWH.js +1 -0
- package/dist/chunk-JDTZK3A7.js +1 -0
- package/dist/{chunk-4RS4LP7D.js → chunk-KBKCYDZQ.js} +1 -1
- package/dist/{chunk-GYNWLJYW.js → chunk-OG4QAJ3M.js} +1 -1
- package/dist/chunk-SVNAHPQU.js +1 -0
- package/dist/{chunk-SDWHJJ4W.js → chunk-VCUOPQFA.js} +1 -1
- package/dist/{chunk-ULMH32G5.js → chunk-ZMO2ZQAS.js} +1 -1
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.js +1 -1
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.js +1 -1
- package/dist/{create-document-capture-5FJI57YI.js → create-document-capture-35HFVNC3.js} +1 -1
- package/dist/{create-verification-CNCMU1kK.d.ts → create-verification-C_fx3n4A.d.ts} +15 -1
- package/dist/{create-verification-CIwl0NIg.d.cts → create-verification-DiH7QRdv.d.cts} +15 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/internal/index.cjs +1 -1
- package/dist/internal/index.d.cts +2 -2
- package/dist/internal/index.d.ts +2 -2
- package/dist/internal/index.js +1 -1
- package/dist/{plan-runner-WRY4FOWW.js → plan-runner-YXTOSPDP.js} +1 -1
- package/package.json +1 -1
- package/sbom.cdx.json +7 -7
- package/dist/chunk-3SL74TFR.js +0 -1
- package/dist/chunk-J4NL62VQ.js +0 -1
- package/dist/chunk-MMTOOH32.js +0 -1
|
@@ -52,6 +52,7 @@ interface DeriveStepEnv {
|
|
|
52
52
|
isMobile?: boolean;
|
|
53
53
|
}
|
|
54
54
|
interface StepContext {
|
|
55
|
+
/** The session id as partners read it (`ses_...`): the reference shown on the result screen. */
|
|
55
56
|
sessionId: string;
|
|
56
57
|
orgName: string;
|
|
57
58
|
returning: boolean;
|
|
@@ -950,6 +951,10 @@ type ReasonCode = CheckReason | SessionFailureReason | SdkFailureReason | AgeEst
|
|
|
950
951
|
type VerificationStatus = "approved" | "rejected" | "review" | "retry" | "unavailable";
|
|
951
952
|
/** The verdict for this session / capture (`on('result')`). */
|
|
952
953
|
interface VerificationResult {
|
|
954
|
+
/**
|
|
955
|
+
* The session id in the form `sessions.create` returns and webhooks name
|
|
956
|
+
* (`ses_...`), so your server can match the result to its session.
|
|
957
|
+
*/
|
|
953
958
|
sessionId: string;
|
|
954
959
|
status: VerificationStatus;
|
|
955
960
|
/** Backend check or session-policy reason, or SDK-side reason for `unavailable`. */
|
|
@@ -978,7 +983,16 @@ interface VerificationResult {
|
|
|
978
983
|
level?: VerificationLevel;
|
|
979
984
|
/** How the level was proved, when the API reports it. */
|
|
980
985
|
assurance?: VerificationAssurance;
|
|
981
|
-
/**
|
|
986
|
+
/**
|
|
987
|
+
* The person the session is linked to, `per_` form (`per_<24 hex>`, as the
|
|
988
|
+
* API's `personId` and the `/people` routes name it), once that person has
|
|
989
|
+
* passed a verification (absent before that).
|
|
990
|
+
*/
|
|
991
|
+
personId?: string;
|
|
992
|
+
/**
|
|
993
|
+
* The same person as {@link VerificationResult.personId}, bare (24
|
|
994
|
+
* hexadecimal characters, no prefix), as the result token's `sub` names it.
|
|
995
|
+
*/
|
|
982
996
|
subjectId?: string;
|
|
983
997
|
}
|
|
984
998
|
/**
|
|
@@ -52,6 +52,7 @@ interface DeriveStepEnv {
|
|
|
52
52
|
isMobile?: boolean;
|
|
53
53
|
}
|
|
54
54
|
interface StepContext {
|
|
55
|
+
/** The session id as partners read it (`ses_...`): the reference shown on the result screen. */
|
|
55
56
|
sessionId: string;
|
|
56
57
|
orgName: string;
|
|
57
58
|
returning: boolean;
|
|
@@ -950,6 +951,10 @@ type ReasonCode = CheckReason | SessionFailureReason | SdkFailureReason | AgeEst
|
|
|
950
951
|
type VerificationStatus = "approved" | "rejected" | "review" | "retry" | "unavailable";
|
|
951
952
|
/** The verdict for this session / capture (`on('result')`). */
|
|
952
953
|
interface VerificationResult {
|
|
954
|
+
/**
|
|
955
|
+
* The session id in the form `sessions.create` returns and webhooks name
|
|
956
|
+
* (`ses_...`), so your server can match the result to its session.
|
|
957
|
+
*/
|
|
953
958
|
sessionId: string;
|
|
954
959
|
status: VerificationStatus;
|
|
955
960
|
/** Backend check or session-policy reason, or SDK-side reason for `unavailable`. */
|
|
@@ -978,7 +983,16 @@ interface VerificationResult {
|
|
|
978
983
|
level?: VerificationLevel;
|
|
979
984
|
/** How the level was proved, when the API reports it. */
|
|
980
985
|
assurance?: VerificationAssurance;
|
|
981
|
-
/**
|
|
986
|
+
/**
|
|
987
|
+
* The person the session is linked to, `per_` form (`per_<24 hex>`, as the
|
|
988
|
+
* API's `personId` and the `/people` routes name it), once that person has
|
|
989
|
+
* passed a verification (absent before that).
|
|
990
|
+
*/
|
|
991
|
+
personId?: string;
|
|
992
|
+
/**
|
|
993
|
+
* The same person as {@link VerificationResult.personId}, bare (24
|
|
994
|
+
* hexadecimal characters, no prefix), as the result token's `sub` names it.
|
|
995
|
+
*/
|
|
982
996
|
subjectId?: string;
|
|
983
997
|
}
|
|
984
998
|
/**
|