@rango-dev/wallets-react 0.48.1-next.4 → 0.48.1-next.5

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/wallets-react",
3
- "version": "0.48.1-next.4",
3
+ "version": "0.48.1-next.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -35,16 +35,17 @@
35
35
  "react-dom": "^17.0.0 || ^18.0.0"
36
36
  },
37
37
  "dependencies": {
38
+ "@hub3js/bip122": "^0.2.1",
38
39
  "@hub3js/core": "^0.62.0",
39
40
  "@hub3js/evm": "^0.5.0",
40
- "@hub3js/namespaces": "^0.4.0",
41
+ "@hub3js/namespaces": "^0.5.1",
41
42
  "@hub3js/solana": "^0.5.0",
42
43
  "@hub3js/std": "^0.4.0",
43
44
  "@hub3js/sui": "^0.4.0",
44
45
  "@hub3js/tvm": "^0.4.0",
45
- "@rango-dev/internal-blockchains": "^0.1.1-next.1",
46
+ "@rango-dev/internal-blockchains": "^0.1.1-next.2",
46
47
  "@rango-dev/logging-core": "^0.14.0",
47
- "@rango-dev/wallets-core": "^0.61.1-next.1",
48
+ "@rango-dev/wallets-core": "^0.61.1-next.2",
48
49
  "caip": "^1.1.1",
49
50
  "rango-types": "^0.5.0",
50
51
  "ts-results": "^3.3.0"
@@ -2,16 +2,16 @@ import type { AllProxiedNamespaces } from './types.js';
2
2
  import type { Accounts, AccountsWithActiveChain } from '@hub3js/std/types';
3
3
  import type { Result } from 'ts-results';
4
4
 
5
- import { CAIP_NAMESPACE as CAIP_TON_NAMESPACE } from '@hub3js/tvm';
6
- import { legacyFormatAddressWithNetwork as formatAddressWithNetwork } from '@rango-dev/wallets-core/legacy';
7
- import { CAIP_TRON_CHAIN_ID } from '@rango-dev/wallets-core/namespaces/tron';
8
5
  import {
9
6
  CAIP_BITCOIN_CHAIN_ID,
10
7
  CAIP_BITCOINCASH_CHAIN_ID,
11
8
  CAIP_DOGECOIN_CHAIN_ID,
12
9
  CAIP_LITECOIN_CHAIN_ID,
13
10
  CAIP_ZCASH_CHAIN_ID,
14
- } from '@rango-dev/wallets-core/namespaces/utxo';
11
+ } from '@hub3js/bip122';
12
+ import { CAIP_NAMESPACE as CAIP_TON_NAMESPACE } from '@hub3js/tvm';
13
+ import { legacyFormatAddressWithNetwork as formatAddressWithNetwork } from '@rango-dev/wallets-core/legacy';
14
+ import { CAIP_TRON_CHAIN_ID } from '@rango-dev/wallets-core/namespaces/tron';
15
15
  import { AccountId, type ChainIdParams } from 'caip';
16
16
  import { Err, Ok } from 'ts-results';
17
17
 
package/src/hub/utils.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { AllProxiedNamespaces } from './types.js';
2
+ import type { UtxoActions } from '@hub3js/bip122';
2
3
  import type { Hub, Provider, ProxiedNamespace } from '@hub3js/core';
3
4
  import type { Event } from '@hub3js/core/store';
4
5
  import type {
@@ -12,7 +13,6 @@ import type {
12
13
  LegacyEventHandler as WalletEventHandler,
13
14
  LegacyWalletType as WalletType,
14
15
  } from '@rango-dev/wallets-core/legacy';
15
- import type { UtxoActions } from '@rango-dev/wallets-core/namespaces/utxo';
16
16
 
17
17
  import { pickVersion, type VersionedProviders } from '@hub3js/core/utils';
18
18
  import {