@rango-dev/provider-ledger 0.10.1-next.1 → 0.10.1-next.3

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-ledger",
3
- "version": "0.10.1-next.1",
3
+ "version": "0.10.1-next.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -27,8 +27,8 @@
27
27
  "@ledgerhq/hw-transport-webhid": "^6.28.6",
28
28
  "@ledgerhq/types-cryptoassets": "^7.11.0",
29
29
  "@ledgerhq/types-devices": "^6.24.0",
30
- "@rango-dev/signer-solana": "^0.35.0",
31
- "@rango-dev/wallets-shared": "^0.40.1-next.1",
30
+ "@rango-dev/signer-solana": "^0.35.1-next.0",
31
+ "@rango-dev/wallets-shared": "^0.40.1-next.3",
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,7 +5,7 @@ import type {
5
5
  WalletInfo,
6
6
  } from '@rango-dev/wallets-shared';
7
7
 
8
- import { Namespace, Networks, WalletTypes } from '@rango-dev/wallets-shared';
8
+ import { Networks, WalletTypes } from '@rango-dev/wallets-shared';
9
9
  import { type BlockchainMeta, type SignerFactory } from 'rango-types';
10
10
 
11
11
  import {
@@ -26,10 +26,10 @@ export const connect: Connect = async ({ namespaces }) => {
26
26
  const results: ProviderConnectResult[] = [];
27
27
 
28
28
  const solanaNamespace = namespaces?.find(
29
- (namespaceItem) => namespaceItem.namespace === Namespace.Solana
29
+ (namespaceItem) => namespaceItem.namespace === 'Solana'
30
30
  );
31
31
  const evmNamespace = namespaces?.find(
32
- (namespaceItem) => namespaceItem.namespace === Namespace.Evm
32
+ (namespaceItem) => namespaceItem.namespace === 'EVM'
33
33
  );
34
34
 
35
35
  if (solanaNamespace) {
@@ -93,7 +93,7 @@ export const getWalletInfo: (allBlockChains: BlockchainMeta[]) => WalletInfo = (
93
93
  },
94
94
  color: 'black',
95
95
  supportedChains,
96
- namespaces: [Namespace.Evm, Namespace.Solana],
96
+ namespaces: ['EVM', 'Solana'],
97
97
  singleNamespace: true,
98
98
  showOnMobile: false,
99
99
  needsDerivationPath: true,