cgs-compliance-sdk 2.0.3 → 2.0.5

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.mjs CHANGED
@@ -908,6 +908,7 @@ function useAlerts(client, options = {}) {
908
908
  }
909
909
  };
910
910
  }
911
+ return void 0;
911
912
  }, [options.pollInterval, fetchAlerts]);
912
913
  return {
913
914
  alerts,
@@ -1337,6 +1338,22 @@ var RiskProfileClient = class extends BaseClient {
1337
1338
  }
1338
1339
  };
1339
1340
 
1341
+ // src/compliance/types.ts
1342
+ var DEFAULT_CURRENCY_RATES = {
1343
+ USD: 1,
1344
+ EUR: 1.1,
1345
+ GBP: 1.27,
1346
+ CAD: 0.74,
1347
+ AUD: 0.66,
1348
+ JPY: 67e-4,
1349
+ CHF: 1.13,
1350
+ CNY: 0.14,
1351
+ INR: 0.012,
1352
+ BRL: 0.2,
1353
+ MXN: 0.058,
1354
+ ZAR: 0.055
1355
+ };
1356
+
1340
1357
  // src/compliance/client.ts
1341
1358
  var ComplianceClient = class {
1342
1359
  constructor(config) {
@@ -1358,7 +1375,6 @@ var ComplianceClient = class {
1358
1375
  apiKey: this.config.apiKey,
1359
1376
  headers: this.config.headers,
1360
1377
  timeout: this.config.timeout,
1361
- retries: this.config.retries,
1362
1378
  debug: this.config.debug
1363
1379
  });
1364
1380
  this.riskClient = new RiskProfileClient({
@@ -1367,7 +1383,6 @@ var ComplianceClient = class {
1367
1383
  apiKey: this.config.apiKey,
1368
1384
  headers: this.config.headers,
1369
1385
  timeout: this.config.timeout,
1370
- retries: this.config.retries,
1371
1386
  debug: this.config.debug
1372
1387
  });
1373
1388
  this.currencyRates = DEFAULT_CURRENCY_RATES;
@@ -1769,22 +1784,6 @@ var ComplianceClient = class {
1769
1784
  }
1770
1785
  };
1771
1786
 
1772
- // src/compliance/types.ts
1773
- var DEFAULT_CURRENCY_RATES2 = {
1774
- USD: 1,
1775
- EUR: 1.1,
1776
- GBP: 1.27,
1777
- CAD: 0.74,
1778
- AUD: 0.66,
1779
- JPY: 67e-4,
1780
- CHF: 1.13,
1781
- CNY: 0.14,
1782
- INR: 0.012,
1783
- BRL: 0.2,
1784
- MXN: 0.058,
1785
- ZAR: 0.055
1786
- };
1787
-
1788
- export { AuthenticationError, BaseClient, CGSError, ComplianceBlockedError, ComplianceClient, ComplianceError, DEFAULT_CURRENCY_RATES2 as DEFAULT_CURRENCY_RATES, GeolocationClient, NetworkError, RateLimitError, RiskProfileClient, ServiceUnavailableError, TimeoutError, ValidationError, createDeviceFingerprint, getBrowserInfo, useAlerts, useDashboardMetrics, useGeolocation };
1787
+ export { AuthenticationError, BaseClient, CGSError, ComplianceBlockedError, ComplianceClient, ComplianceError, DEFAULT_CURRENCY_RATES, GeolocationClient, NetworkError, RateLimitError, RiskProfileClient, ServiceUnavailableError, TimeoutError, ValidationError, createDeviceFingerprint, getBrowserInfo, useAlerts, useDashboardMetrics, useGeolocation };
1789
1788
  //# sourceMappingURL=index.mjs.map
1790
1789
  //# sourceMappingURL=index.mjs.map