vesant-sdk 1.7.0-dev.972b614 → 1.7.0-dev.9b89b96
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/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/dist/kyc/core.js +9 -5
- package/dist/kyc/core.js.map +1 -1
- package/dist/kyc/core.mjs +9 -5
- package/dist/kyc/core.mjs.map +1 -1
- package/dist/kyc/index.d.mts +8 -4
- package/dist/kyc/index.d.ts +8 -4
- package/dist/kyc/index.js +9 -5
- package/dist/kyc/index.js.map +1 -1
- package/dist/kyc/index.mjs +9 -5
- package/dist/kyc/index.mjs.map +1 -1
- package/dist/react.js +2 -2
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +2 -2
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2773,13 +2773,17 @@ var KycClient = class extends BaseClient {
|
|
|
2773
2773
|
});
|
|
2774
2774
|
}
|
|
2775
2775
|
/**
|
|
2776
|
-
* Look up the current state of a Event-Based Face Verification session by its
|
|
2777
|
-
*
|
|
2776
|
+
* Look up the current state of a Event-Based Face Verification session by its
|
|
2777
|
+
* session token. Useful for desktop pollers waiting on the mobile handoff.
|
|
2778
2778
|
*
|
|
2779
|
-
*
|
|
2779
|
+
* The lookup is scoped by the unguessable, server-issued session token (not
|
|
2780
|
+
* the enumerable forward reference): the endpoint is public/unauthenticated,
|
|
2781
|
+
* and scoping by the token is what prevents cross-tenant status reads.
|
|
2782
|
+
*
|
|
2783
|
+
* @param token - The session token returned by `createEventBasedFaceVerificationSession`.
|
|
2780
2784
|
*/
|
|
2781
|
-
async getEventBasedFaceVerificationSessionStatus(
|
|
2782
|
-
return this.requestWithRetry(`/api/v1/kyc/face/verify/${encodeURIComponent(
|
|
2785
|
+
async getEventBasedFaceVerificationSessionStatus(token) {
|
|
2786
|
+
return this.requestWithRetry(`/api/v1/kyc/face/verify/${encodeURIComponent(token)}`, {
|
|
2783
2787
|
method: "GET",
|
|
2784
2788
|
headers: this.getUserHeaders()
|
|
2785
2789
|
});
|