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.mjs
CHANGED
|
@@ -2771,13 +2771,17 @@ var KycClient = class extends BaseClient {
|
|
|
2771
2771
|
});
|
|
2772
2772
|
}
|
|
2773
2773
|
/**
|
|
2774
|
-
* Look up the current state of a Event-Based Face Verification session by its
|
|
2775
|
-
*
|
|
2774
|
+
* Look up the current state of a Event-Based Face Verification session by its
|
|
2775
|
+
* session token. Useful for desktop pollers waiting on the mobile handoff.
|
|
2776
2776
|
*
|
|
2777
|
-
*
|
|
2777
|
+
* The lookup is scoped by the unguessable, server-issued session token (not
|
|
2778
|
+
* the enumerable forward reference): the endpoint is public/unauthenticated,
|
|
2779
|
+
* and scoping by the token is what prevents cross-tenant status reads.
|
|
2780
|
+
*
|
|
2781
|
+
* @param token - The session token returned by `createEventBasedFaceVerificationSession`.
|
|
2778
2782
|
*/
|
|
2779
|
-
async getEventBasedFaceVerificationSessionStatus(
|
|
2780
|
-
return this.requestWithRetry(`/api/v1/kyc/face/verify/${encodeURIComponent(
|
|
2783
|
+
async getEventBasedFaceVerificationSessionStatus(token) {
|
|
2784
|
+
return this.requestWithRetry(`/api/v1/kyc/face/verify/${encodeURIComponent(token)}`, {
|
|
2781
2785
|
method: "GET",
|
|
2782
2786
|
headers: this.getUserHeaders()
|
|
2783
2787
|
});
|