@formo/analytics 2.0.0-alpha.4 → 2.0.0-alpha.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formo/analytics",
3
- "version": "2.0.0-alpha.4",
3
+ "version": "2.0.0-alpha.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/getformo/sdk.git"
@@ -481,12 +481,11 @@ export class FormoAnalytics implements IFormoAnalytics {
481
481
  method: 'eth_accounts',
482
482
  });
483
483
 
484
+ console.log('accounts:', accounts);
484
485
  if (accounts && accounts.length > 0 && accounts[0]) {
485
486
  this.handleAccountConnected(accounts[0]);
486
487
  return accounts && accounts.length > 0 && accounts[0];
487
488
  }
488
-
489
- return '';
490
489
  } catch (error) {
491
490
  console.error('Failed to fetch connected address:', error);
492
491
  return '';