@rango-dev/widget-embedded 0.0.0-experimental-961127c9-20260613 → 0.0.0-experimental-01e2a135-20260613

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.0.0-experimental-961127c9-20260613",
3
+ "version": "0.0.0-experimental-01e2a135-20260613",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -12,7 +12,7 @@ import {
12
12
  legacyFormatAddressWithNetwork as formatAddressWithNetwork,
13
13
  legacyReadAccountAddress as readAccountAddress,
14
14
  } from '@rango-dev/wallets-core/legacy';
15
- import { Events, useWallets } from '@rango-dev/wallets-react';
15
+ import { Events } from '@rango-dev/wallets-react';
16
16
  import { type Network } from '@rango-dev/wallets-shared';
17
17
  import { isEvmBlockchain } from 'rango-sdk';
18
18
 
@@ -44,7 +44,6 @@ export function useUpdates(params: UseUpdatesParams): UseUpdates {
44
44
  blockchains,
45
45
  } = useAppStore();
46
46
 
47
- const { getWalletInfo } = useWallets();
48
47
  const { onConnectWalletHandler, onDisconnectWalletHandler } = params;
49
48
  const evmBasedChainNames = blockchains()
50
49
  .filter(isEvmBlockchain)
@@ -79,7 +78,7 @@ export function useUpdates(params: UseUpdatesParams): UseUpdates {
79
78
 
80
79
  if (data.length) {
81
80
  void newWalletConnected(data, info.namespace, state.derivationPath, {
82
- walletName: getWalletInfo(type)?.name,
81
+ walletName: type,
83
82
  });
84
83
  }
85
84
  };