@finatic/client 0.0.131 → 0.0.132

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
@@ -3684,7 +3684,7 @@ class FinaticConnect extends EventEmitter {
3684
3684
  this.BROKER_LIST_CACHE_DURATION = 1000 * 60 * 60 * 24; // 24 hours in milliseconds
3685
3685
  this.currentSessionState = null;
3686
3686
  this.options = options;
3687
- this.baseUrl = options.baseUrl || 'http://localhost:8000';
3687
+ this.baseUrl = options.baseUrl || 'https://api.finatic.dev';
3688
3688
  this.apiClient = MockFactory.createApiClient(this.baseUrl, deviceInfo);
3689
3689
  this.portalUI = new PortalUI(this.baseUrl);
3690
3690
  this.deviceInfo = deviceInfo;
@@ -3835,7 +3835,7 @@ class FinaticConnect extends EventEmitter {
3835
3835
  if (!FinaticConnect.instance) {
3836
3836
  const connectOptions = {
3837
3837
  token,
3838
- baseUrl: options?.baseUrl || 'http://localhost:8000',
3838
+ baseUrl: options?.baseUrl || 'https://api.finatic.dev',
3839
3839
  onSuccess: undefined,
3840
3840
  onError: undefined,
3841
3841
  onClose: undefined,