@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/widget-embedded",
3
- "version": "0.1.10-next.74",
3
+ "version": "0.1.10-next.76",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@rango-dev/provider-all": "^0.1.11-next.73",
30
- "@rango-dev/ui": "^0.1.10-next.74",
30
+ "@rango-dev/ui": "^0.1.10-next.75",
31
31
  "@rango-dev/wallets-core": "^0.1.11-next.73",
32
32
  "bignumber.js": "^9.1.1",
33
33
  "immer": "^9.0.19",
@@ -41,6 +41,5 @@
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
- },
45
- "gitHead": "038334e680f1172e7e861689eec7ca7b385f0a92"
44
+ }
46
45
  }
@@ -148,7 +148,7 @@ export function TokenInfo(props: PropTypes) {
148
148
  align="start"
149
149
  size="large"
150
150
  style={{ marginRight: '.5rem' }}>
151
- {loadingStatus === 'success' && chain ? chain.name : 'Chain'}
151
+ {loadingStatus === 'success' && chain ? chain.displayName : 'Chain'}
152
152
  </Button>
153
153
  <Button
154
154
  onClick={() => {
@@ -157,7 +157,10 @@ export function getSelectableWallets(
157
157
  walletType: account.walletType,
158
158
  chain: account.chain,
159
159
  image: getWalletInfo(account.walletType).img,
160
- selected: !!selectedWallets.find((wallet) => wallet.chain === account.chain),
160
+ name: getWalletInfo(account.walletType).name,
161
+ selected: !!selectedWallets.find(
162
+ (wallet) => wallet.chain === account.chain && wallet.walletType === account.walletType,
163
+ ),
161
164
  }));
162
165
 
163
166
  return requiredChains