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.mjs
CHANGED
|
@@ -2864,7 +2864,7 @@ var KycClient = class extends BaseClient {
|
|
|
2864
2864
|
* @example
|
|
2865
2865
|
* ```typescript
|
|
2866
2866
|
* const result = await client.submitVerification({
|
|
2867
|
-
* reference: "
|
|
2867
|
+
* reference: "4d2aff34-ab86-422d-992e-50b1234a5b67",
|
|
2868
2868
|
* email: "customer@example.com",
|
|
2869
2869
|
* country: "US",
|
|
2870
2870
|
* document: {
|
|
@@ -2896,7 +2896,7 @@ var KycClient = class extends BaseClient {
|
|
|
2896
2896
|
*
|
|
2897
2897
|
* @example
|
|
2898
2898
|
* ```typescript
|
|
2899
|
-
* const kyc = await client.getKycRequest("
|
|
2899
|
+
* const kyc = await client.getKycRequest("550e8400-e29b-41d4-a716-446655440000");
|
|
2900
2900
|
* console.log(`Status: ${kyc.status}, ID Verified: ${kyc.id_verified}`);
|
|
2901
2901
|
* ```
|
|
2902
2902
|
*/
|
|
@@ -2971,7 +2971,7 @@ var KycClient = class extends BaseClient {
|
|
|
2971
2971
|
* @example
|
|
2972
2972
|
* ```typescript
|
|
2973
2973
|
* await client.requestAdditionalDocuments({
|
|
2974
|
-
* id: "
|
|
2974
|
+
* id: "550e8400-e29b-41d4-a716-446655440000",
|
|
2975
2975
|
* document_types: ["address", "document_two"],
|
|
2976
2976
|
* message: "Please provide proof of address and secondary ID"
|
|
2977
2977
|
* });
|
|
@@ -2992,7 +2992,7 @@ var KycClient = class extends BaseClient {
|
|
|
2992
2992
|
*
|
|
2993
2993
|
* @example
|
|
2994
2994
|
* ```typescript
|
|
2995
|
-
* const proofs = await client.getProofDownloadURLs("
|
|
2995
|
+
* const proofs = await client.getProofDownloadURLs("550e8400-e29b-41d4-a716-446655440000");
|
|
2996
2996
|
* proofs.forEach(proof => {
|
|
2997
2997
|
* console.log(`${proof.type}: ${proof.url} (expires: ${proof.expires_at})`);
|
|
2998
2998
|
* });
|