@rango-dev/provider-ledger 0.15.2-next.7 → 0.15.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/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/provider-ledger.build.json +1 -1
- package/package.json +2 -2
- package/src/index.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rango-dev/provider-ledger",
|
|
3
|
-
"version": "0.15.2-next.
|
|
3
|
+
"version": "0.15.2-next.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@ledgerhq/types-cryptoassets": "^7.11.0",
|
|
29
29
|
"@ledgerhq/types-devices": "^6.24.0",
|
|
30
30
|
"@rango-dev/signer-solana": "^0.39.1-next.3",
|
|
31
|
-
"@rango-dev/wallets-shared": "^0.44.2-next.
|
|
31
|
+
"@rango-dev/wallets-shared": "^0.44.2-next.9",
|
|
32
32
|
"@solana/web3.js": "^1.91.4",
|
|
33
33
|
"@types/w3c-web-hid": "^1.0.2",
|
|
34
34
|
"bs58": "^5.0.0",
|
package/src/index.ts
CHANGED
|
@@ -5,8 +5,6 @@ import type {
|
|
|
5
5
|
WalletInfo,
|
|
6
6
|
} from '@rango-dev/wallets-shared';
|
|
7
7
|
|
|
8
|
-
import { chains as evmChains } from '@rango-dev/wallets-core/namespaces/evm';
|
|
9
|
-
import { chains as solanaChains } from '@rango-dev/wallets-core/namespaces/solana';
|
|
10
8
|
import { Networks, WalletTypes } from '@rango-dev/wallets-shared';
|
|
11
9
|
import { type BlockchainMeta, type SignerFactory } from 'rango-types';
|
|
12
10
|
|
|
@@ -142,13 +140,15 @@ export const getWalletInfo: (allBlockChains: BlockchainMeta[]) => WalletInfo = (
|
|
|
142
140
|
label: 'EVM',
|
|
143
141
|
value: 'EVM',
|
|
144
142
|
id: 'ETH',
|
|
145
|
-
|
|
143
|
+
getSupportedChains: (allBlockchains: BlockchainMeta[]) =>
|
|
144
|
+
allBlockchains.filter((chain) => chain.name === Networks.ETHEREUM),
|
|
146
145
|
},
|
|
147
146
|
{
|
|
148
147
|
label: 'Solana',
|
|
149
148
|
value: 'Solana',
|
|
150
149
|
id: 'SOLANA',
|
|
151
|
-
|
|
150
|
+
getSupportedChains: (allBlockchains: BlockchainMeta[]) =>
|
|
151
|
+
allBlockchains.filter((chain) => chain.name === Networks.SOLANA),
|
|
152
152
|
},
|
|
153
153
|
],
|
|
154
154
|
},
|