@rango-dev/widget-embedded 0.60.2-next.7 → 0.60.2-next.9
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.60.2-next.
|
|
3
|
+
"version": "0.60.2-next.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"@lingui/core": "4.2.1",
|
|
29
29
|
"@lingui/react": "4.2.1",
|
|
30
30
|
"@rango-dev/logging-core": "^0.12.2-next.0",
|
|
31
|
-
"@rango-dev/provider-all": "^0.62.2-next.
|
|
31
|
+
"@rango-dev/provider-all": "^0.62.2-next.5",
|
|
32
32
|
"@rango-dev/queue-manager-core": "^0.33.0",
|
|
33
|
-
"@rango-dev/queue-manager-rango-preset": "^0.62.1-next.
|
|
33
|
+
"@rango-dev/queue-manager-rango-preset": "^0.62.1-next.5",
|
|
34
34
|
"@rango-dev/queue-manager-react": "^0.33.0",
|
|
35
35
|
"@rango-dev/signer-solana": "^0.48.0",
|
|
36
|
-
"@rango-dev/ui": "^0.63.1-next.
|
|
37
|
-
"@rango-dev/wallets-core": "^0.59.1-next.
|
|
38
|
-
"@rango-dev/wallets-react": "^0.46.1-next.
|
|
39
|
-
"@rango-dev/wallets-shared": "^0.60.1-next.
|
|
36
|
+
"@rango-dev/ui": "^0.63.1-next.4",
|
|
37
|
+
"@rango-dev/wallets-core": "^0.59.1-next.2",
|
|
38
|
+
"@rango-dev/wallets-react": "^0.46.1-next.4",
|
|
39
|
+
"@rango-dev/wallets-shared": "^0.60.1-next.3",
|
|
40
40
|
"bignumber.js": "^9.1.1",
|
|
41
41
|
"copy-to-clipboard": "^3.3.3",
|
|
42
42
|
"crypto-browserify": "^3.12.1",
|
|
@@ -161,7 +161,7 @@ export function Detached(props: PropTypes) {
|
|
|
161
161
|
<MessageBox
|
|
162
162
|
type="info"
|
|
163
163
|
title={i18n.t(`Connect {wallet}`, {
|
|
164
|
-
wallet: targetWallet.
|
|
164
|
+
wallet: targetWallet.title,
|
|
165
165
|
})}
|
|
166
166
|
description={i18n.t(
|
|
167
167
|
'This wallet supports multiple chains. Choose which chains you’d like to connect or disconnect.'
|
package/src/utils/wallets.ts
CHANGED
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
import { legacyReadAccountAddress as readAccountAddress } from '@rango-dev/wallets-core/legacy';
|
|
24
24
|
import {
|
|
25
25
|
detectInstallLink,
|
|
26
|
+
HYPERLIQUID_SIGN_NETWORK,
|
|
26
27
|
isEvmAddress,
|
|
27
28
|
Networks,
|
|
28
29
|
} from '@rango-dev/wallets-shared';
|
|
@@ -223,6 +224,14 @@ export function prepareAccountsForWalletStore(
|
|
|
223
224
|
*/
|
|
224
225
|
addAccount(network, address.toLowerCase());
|
|
225
226
|
});
|
|
227
|
+
|
|
228
|
+
const shouldAddHyperliquidAccount = evmChainsSupportedByWallet.includes(
|
|
229
|
+
HYPERLIQUID_SIGN_NETWORK
|
|
230
|
+
);
|
|
231
|
+
|
|
232
|
+
if (shouldAddHyperliquidAccount) {
|
|
233
|
+
addAccount(Networks.HYPERLIQUID, address.toLowerCase());
|
|
234
|
+
}
|
|
226
235
|
}
|
|
227
236
|
} else {
|
|
228
237
|
addAccount(network, address);
|