vesant-sdk 1.7.0-dev.b7f5c17 → 1.7.0-dev.c2e85f3
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/kyc/core.js +4 -4
- package/dist/kyc/core.js.map +1 -1
- package/dist/kyc/core.mjs +4 -4
- package/dist/kyc/core.mjs.map +1 -1
- package/dist/kyc/index.d.mts +25 -5
- package/dist/kyc/index.d.ts +25 -5
- package/dist/kyc/index.js +4 -4
- package/dist/kyc/index.js.map +1 -1
- package/dist/kyc/index.mjs +4 -4
- package/dist/kyc/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2866,7 +2866,7 @@ var KycClient = class extends BaseClient {
|
|
|
2866
2866
|
* @example
|
|
2867
2867
|
* ```typescript
|
|
2868
2868
|
* const result = await client.submitVerification({
|
|
2869
|
-
* reference: "
|
|
2869
|
+
* reference: "4d2aff34-ab86-422d-992e-50b1234a5b67",
|
|
2870
2870
|
* email: "customer@example.com",
|
|
2871
2871
|
* country: "US",
|
|
2872
2872
|
* document: {
|
|
@@ -2898,7 +2898,7 @@ var KycClient = class extends BaseClient {
|
|
|
2898
2898
|
*
|
|
2899
2899
|
* @example
|
|
2900
2900
|
* ```typescript
|
|
2901
|
-
* const kyc = await client.getKycRequest("
|
|
2901
|
+
* const kyc = await client.getKycRequest("550e8400-e29b-41d4-a716-446655440000");
|
|
2902
2902
|
* console.log(`Status: ${kyc.status}, ID Verified: ${kyc.id_verified}`);
|
|
2903
2903
|
* ```
|
|
2904
2904
|
*/
|
|
@@ -2973,7 +2973,7 @@ var KycClient = class extends BaseClient {
|
|
|
2973
2973
|
* @example
|
|
2974
2974
|
* ```typescript
|
|
2975
2975
|
* await client.requestAdditionalDocuments({
|
|
2976
|
-
* id: "
|
|
2976
|
+
* id: "550e8400-e29b-41d4-a716-446655440000",
|
|
2977
2977
|
* document_types: ["address", "document_two"],
|
|
2978
2978
|
* message: "Please provide proof of address and secondary ID"
|
|
2979
2979
|
* });
|
|
@@ -2994,7 +2994,7 @@ var KycClient = class extends BaseClient {
|
|
|
2994
2994
|
*
|
|
2995
2995
|
* @example
|
|
2996
2996
|
* ```typescript
|
|
2997
|
-
* const proofs = await client.getProofDownloadURLs("
|
|
2997
|
+
* const proofs = await client.getProofDownloadURLs("550e8400-e29b-41d4-a716-446655440000");
|
|
2998
2998
|
* proofs.forEach(proof => {
|
|
2999
2999
|
* console.log(`${proof.type}: ${proof.url} (expires: ${proof.expires_at})`);
|
|
3000
3000
|
* });
|