@rango-dev/provider-walletconnect-2 0.1.1-next.3 → 0.1.1-next.4

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/provider-walletconnect-2",
3
- "version": "0.1.1-next.3",
3
+ "version": "0.1.1-next.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
@@ -21,7 +21,9 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@keplr-wallet/simple-fetch": "^0.12.14",
24
+ "@rango-dev/signer-cosmos": "^0.8.1-next.3",
24
25
  "@rango-dev/signer-evm": "^0.8.1-next.4",
26
+ "@rango-dev/signer-solana": "^0.8.1-next.1",
25
27
  "@rango-dev/wallets-shared": "^0.8.1-next.7",
26
28
  "@walletconnect/encoding": "^1.0.2",
27
29
  "@walletconnect/sign-client": "^2.8.1",
package/src/index.ts CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  WalletConfig,
10
10
  WalletInfo,
11
11
  } from '@rango-dev/wallets-shared';
12
- import { SignerFactory, BlockchainMeta } from 'rango-types';
12
+ import { SignerFactory, BlockchainMeta, evmBlockchains } from 'rango-types';
13
13
  import type { ISignClient } from '@walletconnect/types';
14
14
  import Client from '@walletconnect/sign-client';
15
15
 
@@ -181,12 +181,13 @@ export const getSigners: (provider: WCInstance) => SignerFactory = signer;
181
181
  export const getWalletInfo: (allBlockChains: BlockchainMeta[]) => WalletInfo = (
182
182
  allBlockChains
183
183
  ) => {
184
+ const evms = evmBlockchains(allBlockChains);
184
185
  return {
185
186
  name: 'WalletConnect',
186
187
  img: 'https://raw.githubusercontent.com/rango-exchange/rango-types/main/assets/icons/wallets/walletconnect.svg',
187
188
  installLink: '',
188
189
  color: '#b2dbff',
189
- supportedChains: allBlockChains,
190
+ supportedChains: evms,
190
191
  showOnMobile: true,
191
192
  mobileWallet: true,
192
193
  };