vesant-sdk 1.7.0-dev.ac305d8 → 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.
Files changed (41) hide show
  1. package/dist/{client-ZNdnpWe7.d.mts → client-B0qhE2kr.d.mts} +1 -1
  2. package/dist/{client-DoMSYMMR.d.ts → client-DF7hlMEz.d.ts} +13 -0
  3. package/dist/{client-DMIRx7Tu.d.mts → client-DrjgZoH_.d.mts} +13 -0
  4. package/dist/{client-C3DCmGe9.d.ts → client-DtH2RLuy.d.ts} +1 -1
  5. package/dist/compliance/index.d.mts +2 -2
  6. package/dist/compliance/index.d.ts +2 -2
  7. package/dist/compliance/index.js +0 -3
  8. package/dist/compliance/index.js.map +1 -1
  9. package/dist/compliance/index.mjs +0 -3
  10. package/dist/compliance/index.mjs.map +1 -1
  11. package/dist/geolocation/index.d.mts +2 -2
  12. package/dist/geolocation/index.d.ts +2 -2
  13. package/dist/index.d.mts +3 -3
  14. package/dist/index.d.ts +3 -3
  15. package/dist/index.js +5 -17
  16. package/dist/index.js.map +1 -1
  17. package/dist/index.mjs +5 -17
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/kyc/core.js +4 -4
  20. package/dist/kyc/core.js.map +1 -1
  21. package/dist/kyc/core.mjs +4 -4
  22. package/dist/kyc/core.mjs.map +1 -1
  23. package/dist/kyc/index.d.mts +54 -5
  24. package/dist/kyc/index.d.ts +54 -5
  25. package/dist/kyc/index.js +4 -4
  26. package/dist/kyc/index.js.map +1 -1
  27. package/dist/kyc/index.mjs +4 -4
  28. package/dist/kyc/index.mjs.map +1 -1
  29. package/dist/react.d.mts +4 -2
  30. package/dist/react.d.ts +4 -2
  31. package/dist/react.js +112 -73
  32. package/dist/react.js.map +1 -1
  33. package/dist/react.mjs +112 -73
  34. package/dist/react.mjs.map +1 -1
  35. package/dist/tax/index.d.mts +1 -24
  36. package/dist/tax/index.d.ts +1 -24
  37. package/dist/tax/index.js +1 -10
  38. package/dist/tax/index.js.map +1 -1
  39. package/dist/tax/index.mjs +1 -10
  40. package/dist/tax/index.mjs.map +1 -1
  41. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1798,9 +1798,6 @@ var ComplianceClient = class {
1798
1798
  if (cipherTextResult.risk?.is_blocked) {
1799
1799
  blockReasons.push(...cipherTextResult.risk.block_reasons_structured ?? []);
1800
1800
  }
1801
- if (cipherTextResult.risk?.location_mismatch) {
1802
- blockReasons.push(sdkReasons.gpsIPMismatch());
1803
- }
1804
1801
  }
1805
1802
  if (geoVerification.gps_required && !cipherTextResult) {
1806
1803
  blockReasons.push(sdkReasons.gpsRequired());
@@ -2867,7 +2864,7 @@ var KycClient = class extends BaseClient {
2867
2864
  * @example
2868
2865
  * ```typescript
2869
2866
  * const result = await client.submitVerification({
2870
- * reference: "customer_123",
2867
+ * reference: "4d2aff34-ab86-422d-992e-50b1234a5b67",
2871
2868
  * email: "customer@example.com",
2872
2869
  * country: "US",
2873
2870
  * document: {
@@ -2899,7 +2896,7 @@ var KycClient = class extends BaseClient {
2899
2896
  *
2900
2897
  * @example
2901
2898
  * ```typescript
2902
- * const kyc = await client.getKycRequest("kyc_abc123");
2899
+ * const kyc = await client.getKycRequest("550e8400-e29b-41d4-a716-446655440000");
2903
2900
  * console.log(`Status: ${kyc.status}, ID Verified: ${kyc.id_verified}`);
2904
2901
  * ```
2905
2902
  */
@@ -2974,7 +2971,7 @@ var KycClient = class extends BaseClient {
2974
2971
  * @example
2975
2972
  * ```typescript
2976
2973
  * await client.requestAdditionalDocuments({
2977
- * id: "kyc_abc123",
2974
+ * id: "550e8400-e29b-41d4-a716-446655440000",
2978
2975
  * document_types: ["address", "document_two"],
2979
2976
  * message: "Please provide proof of address and secondary ID"
2980
2977
  * });
@@ -2995,7 +2992,7 @@ var KycClient = class extends BaseClient {
2995
2992
  *
2996
2993
  * @example
2997
2994
  * ```typescript
2998
- * const proofs = await client.getProofDownloadURLs("kyc_abc123");
2995
+ * const proofs = await client.getProofDownloadURLs("550e8400-e29b-41d4-a716-446655440000");
2999
2996
  * proofs.forEach(proof => {
3000
2997
  * console.log(`${proof.type}: ${proof.url} (expires: ${proof.expires_at})`);
3001
2998
  * });
@@ -3329,15 +3326,6 @@ var TaxClient = class extends BaseClient {
3329
3326
  { method: "POST" }
3330
3327
  );
3331
3328
  }
3332
- async requestTaxFormWithProfile(input) {
3333
- return this.request(
3334
- "/api/v1/tax/customer-tax-profiles/request-form-with-profile",
3335
- {
3336
- method: "POST",
3337
- body: JSON.stringify(input)
3338
- }
3339
- );
3340
- }
3341
3329
  async checkTINStatus(customerID) {
3342
3330
  return this.requestWithRetry(
3343
3331
  `/api/v1/tax/customer-tax-profiles/${customerID}/check-tin`,
@@ -3364,7 +3352,7 @@ var TaxClient = class extends BaseClient {
3364
3352
  }
3365
3353
  async getCustomerDocuments(customerID) {
3366
3354
  return this.request(
3367
- `/api/v1/tax/customer-tax-profiles/${customerID}/documents`
3355
+ `/api/v1/tm/customer-tax-profiles/${customerID}/documents`
3368
3356
  );
3369
3357
  }
3370
3358
  async downloadTaxForm(customerID, requestOptions) {