@rango-dev/widget-embedded 0.1.10-next.74 → 0.1.10-next.76

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.
@@ -372,7 +372,8 @@ function getSelectableWallets(accounts, selectedWallets, getWalletInfo, required
372
372
  walletType: account.walletType,
373
373
  chain: account.chain,
374
374
  image: getWalletInfo(account.walletType).img,
375
- selected: !!selectedWallets.find(wallet => wallet.chain === account.chain)
375
+ name: getWalletInfo(account.walletType).name,
376
+ selected: !!selectedWallets.find(wallet => wallet.chain === account.chain && wallet.walletType === account.walletType)
376
377
  }));
377
378
  return requiredChains ? connectedWallets.filter(wallet => requiredChains.includes(wallet.chain)) : removeDuplicateWallets(connectedWallets, 'walletType');
378
379
  }
@@ -1671,7 +1672,7 @@ function TokenInfo(props) {
1671
1672
  style: {
1672
1673
  marginRight: '.5rem'
1673
1674
  }
1674
- }, loadingStatus === 'success' && chain ? chain.name : 'Chain'), React.createElement(Button, {
1675
+ }, loadingStatus === 'success' && chain ? chain.displayName : 'Chain'), React.createElement(Button, {
1675
1676
  onClick: () => {
1676
1677
  navigate(`/${props.type.toLowerCase()}-token`);
1677
1678
  },