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