@rango-dev/widget-embedded 0.28.3-next.1 → 0.28.3-next.2
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.28.3-next.
|
|
3
|
+
"version": "0.28.3-next.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@lingui/core": "4.2.1",
|
|
26
26
|
"@lingui/react": "4.2.1",
|
|
27
27
|
"@rango-dev/logging-core": "^0.3.1-next.1",
|
|
28
|
-
"@rango-dev/provider-all": "^0.33.3-next.
|
|
28
|
+
"@rango-dev/provider-all": "^0.33.3-next.1",
|
|
29
29
|
"@rango-dev/queue-manager-core": "^0.26.0",
|
|
30
30
|
"@rango-dev/queue-manager-rango-preset": "^0.33.3-next.0",
|
|
31
31
|
"@rango-dev/queue-manager-react": "^0.26.0",
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
}
|
|
56
|
-
}
|
|
56
|
+
}
|
|
@@ -56,7 +56,8 @@ export function useWalletList(params: Params) {
|
|
|
56
56
|
|
|
57
57
|
wallets = detectMobileScreens()
|
|
58
58
|
? wallets.filter(
|
|
59
|
-
(wallet) =>
|
|
59
|
+
(wallet) =>
|
|
60
|
+
wallet.showOnMobile !== false && state(wallet.type).installed
|
|
60
61
|
)
|
|
61
62
|
: wallets;
|
|
62
63
|
|
|
@@ -137,9 +138,11 @@ export function useWalletList(params: Params) {
|
|
|
137
138
|
const isEvmWalletInstalledExceptDefault = wallets.filter(
|
|
138
139
|
(wallet) =>
|
|
139
140
|
wallet.state != WalletState.NOT_INSTALLED &&
|
|
140
|
-
![
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
![
|
|
142
|
+
WalletTypes.DEFAULT,
|
|
143
|
+
WalletTypes.WALLET_CONNECT_2,
|
|
144
|
+
WalletTypes.LEDGER,
|
|
145
|
+
].includes(wallet.type as WalletTypes) &&
|
|
143
146
|
getWalletInfo(wallet.type).supportedChains.filter(
|
|
144
147
|
(blockchain) => blockchain.type == 'EVM'
|
|
145
148
|
).length > 0
|