vesant-sdk 1.7.0-dev.059da4f → 1.7.0-dev.117915b
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/{client-ZNdnpWe7.d.mts → client-B0qhE2kr.d.mts} +1 -1
- package/dist/{client-DoMSYMMR.d.ts → client-DF7hlMEz.d.ts} +13 -0
- package/dist/{client-DMIRx7Tu.d.mts → client-DrjgZoH_.d.mts} +13 -0
- package/dist/{client-C3DCmGe9.d.ts → client-DtH2RLuy.d.ts} +1 -1
- package/dist/compliance/index.d.mts +2 -2
- package/dist/compliance/index.d.ts +2 -2
- package/dist/compliance/index.js +0 -3
- package/dist/compliance/index.js.map +1 -1
- package/dist/compliance/index.mjs +0 -3
- package/dist/compliance/index.mjs.map +1 -1
- package/dist/geolocation/index.d.mts +2 -2
- package/dist/geolocation/index.d.ts +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -13
- package/dist/index.mjs.map +1 -1
- package/dist/kyc/core.js.map +1 -1
- package/dist/kyc/core.mjs.map +1 -1
- package/dist/kyc/index.d.mts +29 -0
- package/dist/kyc/index.d.ts +29 -0
- package/dist/kyc/index.js.map +1 -1
- package/dist/kyc/index.mjs.map +1 -1
- package/dist/react.d.mts +4 -2
- package/dist/react.d.ts +4 -2
- package/dist/react.js +112 -73
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +112 -73
- package/dist/react.mjs.map +1 -1
- package/dist/tax/index.d.mts +1 -24
- package/dist/tax/index.d.ts +1 -24
- package/dist/tax/index.js +1 -10
- package/dist/tax/index.js.map +1 -1
- package/dist/tax/index.mjs +1 -10
- package/dist/tax/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeviceFingerprintRequest, L as LocationVerification, V as ValidateCipherTextResponse, a as LocationRequest, G as GeolocationClient, b as LocationRequestFilters, c as LocationRequestListResponse } from './client-
|
|
1
|
+
import { D as DeviceFingerprintRequest, L as LocationVerification, V as ValidateCipherTextResponse, a as LocationRequest, G as GeolocationClient, b as LocationRequestFilters, c as LocationRequestListResponse } from './client-DrjgZoH_.mjs';
|
|
2
2
|
import { RiskProfileClient } from './risk-profile/index.mjs';
|
|
3
3
|
import { V as VesantConfig, R as RequestOptions } from './client-BolQlL5e.mjs';
|
|
4
4
|
import { C as CustomerProfile } from './types-BOFaMQxI.mjs';
|
|
@@ -212,6 +212,19 @@ interface ValidateCipherTextResponse {
|
|
|
212
212
|
geofence_evaluation?: GeofenceEvaluation;
|
|
213
213
|
record_id?: string;
|
|
214
214
|
gps_required?: boolean;
|
|
215
|
+
/**
|
|
216
|
+
* IP-derived location the GPS coordinates were cross-validated against.
|
|
217
|
+
* `location` carries the GPS-derived city when GPS was provided, so this is
|
|
218
|
+
* what explains a gps_ip_location_mismatch risk factor.
|
|
219
|
+
*/
|
|
220
|
+
ip_location?: {
|
|
221
|
+
country?: string;
|
|
222
|
+
country_iso?: string;
|
|
223
|
+
city?: string;
|
|
224
|
+
region?: string;
|
|
225
|
+
latitude: number;
|
|
226
|
+
longitude: number;
|
|
227
|
+
};
|
|
215
228
|
}
|
|
216
229
|
interface VerifyIPRequest {
|
|
217
230
|
ip_address: string;
|
|
@@ -212,6 +212,19 @@ interface ValidateCipherTextResponse {
|
|
|
212
212
|
geofence_evaluation?: GeofenceEvaluation;
|
|
213
213
|
record_id?: string;
|
|
214
214
|
gps_required?: boolean;
|
|
215
|
+
/**
|
|
216
|
+
* IP-derived location the GPS coordinates were cross-validated against.
|
|
217
|
+
* `location` carries the GPS-derived city when GPS was provided, so this is
|
|
218
|
+
* what explains a gps_ip_location_mismatch risk factor.
|
|
219
|
+
*/
|
|
220
|
+
ip_location?: {
|
|
221
|
+
country?: string;
|
|
222
|
+
country_iso?: string;
|
|
223
|
+
city?: string;
|
|
224
|
+
region?: string;
|
|
225
|
+
latitude: number;
|
|
226
|
+
longitude: number;
|
|
227
|
+
};
|
|
215
228
|
}
|
|
216
229
|
interface VerifyIPRequest {
|
|
217
230
|
ip_address: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeviceFingerprintRequest, L as LocationVerification, V as ValidateCipherTextResponse, a as LocationRequest, G as GeolocationClient, b as LocationRequestFilters, c as LocationRequestListResponse } from './client-
|
|
1
|
+
import { D as DeviceFingerprintRequest, L as LocationVerification, V as ValidateCipherTextResponse, a as LocationRequest, G as GeolocationClient, b as LocationRequestFilters, c as LocationRequestListResponse } from './client-DF7hlMEz.js';
|
|
2
2
|
import { RiskProfileClient } from './risk-profile/index.js';
|
|
3
3
|
import { V as VesantConfig, R as RequestOptions } from './client-BolQlL5e.js';
|
|
4
4
|
import { C as CustomerProfile } from './types-UGyDl1fd.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as BlockReason } from '../types-CBQRNL-l.mjs';
|
|
2
|
-
export { C as ComplianceClient, a as ComplianceLocationRequestInput, b as ComplianceLocationRequestResult, c as CurrencyRates, D as DEFAULT_CURRENCY_RATES, E as EventVerificationRequest, d as EventVerificationResponse, L as LoginVerificationRequest, e as LoginVerificationResponse, R as RegistrationVerificationRequest, f as RegistrationVerificationResponse, T as TransactionRiskResult, g as TransactionVerificationRequest, h as TransactionVerificationResponse } from '../client-
|
|
3
|
-
export { p as CreateLocationRequestRequest, H as LocationCaptureRequest, I as LocationCaptureResponse, a as LocationRequest, K as LocationRequestChannel, b as LocationRequestFilters, c as LocationRequestListResponse, M as LocationRequestResult, N as LocationRequestStatus, O as LocationShareInfo, R as ResendLocationRequestRequest } from '../client-
|
|
2
|
+
export { C as ComplianceClient, a as ComplianceLocationRequestInput, b as ComplianceLocationRequestResult, c as CurrencyRates, D as DEFAULT_CURRENCY_RATES, E as EventVerificationRequest, d as EventVerificationResponse, L as LoginVerificationRequest, e as LoginVerificationResponse, R as RegistrationVerificationRequest, f as RegistrationVerificationResponse, T as TransactionRiskResult, g as TransactionVerificationRequest, h as TransactionVerificationResponse } from '../client-B0qhE2kr.mjs';
|
|
3
|
+
export { p as CreateLocationRequestRequest, H as LocationCaptureRequest, I as LocationCaptureResponse, a as LocationRequest, K as LocationRequestChannel, b as LocationRequestFilters, c as LocationRequestListResponse, M as LocationRequestResult, N as LocationRequestStatus, O as LocationShareInfo, R as ResendLocationRequestRequest } from '../client-DrjgZoH_.mjs';
|
|
4
4
|
import '../risk-profile/index.mjs';
|
|
5
5
|
import '../client-BolQlL5e.mjs';
|
|
6
6
|
import '../types-BOFaMQxI.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as BlockReason } from '../types-CBQRNL-l.js';
|
|
2
|
-
export { C as ComplianceClient, a as ComplianceLocationRequestInput, b as ComplianceLocationRequestResult, c as CurrencyRates, D as DEFAULT_CURRENCY_RATES, E as EventVerificationRequest, d as EventVerificationResponse, L as LoginVerificationRequest, e as LoginVerificationResponse, R as RegistrationVerificationRequest, f as RegistrationVerificationResponse, T as TransactionRiskResult, g as TransactionVerificationRequest, h as TransactionVerificationResponse } from '../client-
|
|
3
|
-
export { p as CreateLocationRequestRequest, H as LocationCaptureRequest, I as LocationCaptureResponse, a as LocationRequest, K as LocationRequestChannel, b as LocationRequestFilters, c as LocationRequestListResponse, M as LocationRequestResult, N as LocationRequestStatus, O as LocationShareInfo, R as ResendLocationRequestRequest } from '../client-
|
|
2
|
+
export { C as ComplianceClient, a as ComplianceLocationRequestInput, b as ComplianceLocationRequestResult, c as CurrencyRates, D as DEFAULT_CURRENCY_RATES, E as EventVerificationRequest, d as EventVerificationResponse, L as LoginVerificationRequest, e as LoginVerificationResponse, R as RegistrationVerificationRequest, f as RegistrationVerificationResponse, T as TransactionRiskResult, g as TransactionVerificationRequest, h as TransactionVerificationResponse } from '../client-DtH2RLuy.js';
|
|
3
|
+
export { p as CreateLocationRequestRequest, H as LocationCaptureRequest, I as LocationCaptureResponse, a as LocationRequest, K as LocationRequestChannel, b as LocationRequestFilters, c as LocationRequestListResponse, M as LocationRequestResult, N as LocationRequestStatus, O as LocationShareInfo, R as ResendLocationRequestRequest } from '../client-DF7hlMEz.js';
|
|
4
4
|
import '../risk-profile/index.js';
|
|
5
5
|
import '../client-BolQlL5e.js';
|
|
6
6
|
import '../types-UGyDl1fd.js';
|
package/dist/compliance/index.js
CHANGED
|
@@ -1714,9 +1714,6 @@ var ComplianceClient = class {
|
|
|
1714
1714
|
if (cipherTextResult.risk?.is_blocked) {
|
|
1715
1715
|
blockReasons.push(...cipherTextResult.risk.block_reasons_structured ?? []);
|
|
1716
1716
|
}
|
|
1717
|
-
if (cipherTextResult.risk?.location_mismatch) {
|
|
1718
|
-
blockReasons.push(sdkReasons.gpsIPMismatch());
|
|
1719
|
-
}
|
|
1720
1717
|
}
|
|
1721
1718
|
if (geoVerification.gps_required && !cipherTextResult) {
|
|
1722
1719
|
blockReasons.push(sdkReasons.gpsRequired());
|