@rango-dev/wallets-core 0.60.0 → 0.60.1-next.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ # [0.60.0](https://github.com/rango-exchange/rango-client/compare/wallets-core@0.59.0...wallets-core@0.60.0) (2026-07-07)
2
+
3
+
4
+ ### Features
5
+
6
+ * add support for hyperliquid transactions ([88630bc](https://github.com/rango-exchange/rango-client/commit/88630bcf6dfa67d57e6cd002da4106142785946f))
7
+ * migrate ctrl(formerly xdefi) wallet ([c621ee8](https://github.com/rango-exchange/rango-client/commit/c621ee85eb9c6ee4ca548e0fbf5bd8b3e285513c))
8
+ * remove Cosmos blockchain support ([2b51ea3](https://github.com/rango-exchange/rango-client/commit/2b51ea3aa202f3ea049492ed90d00d97c552a490))
9
+
10
+
11
+
1
12
  # [0.59.0](https://github.com/rango-exchange/rango-client/compare/wallets-core@0.58.1...wallets-core@0.59.0) (2026-05-31)
2
13
 
3
14
 
@@ -1,8 +1,11 @@
1
1
  import type { Accounts } from '../../types/accounts.js';
2
2
  import type { AutoImplementedActionsByRecommended, CommonActions } from '../common/types.js';
3
3
  export interface UtxoActions extends AutoImplementedActionsByRecommended, CommonActions {
4
- connect: () => Promise<Accounts>;
4
+ connect: (options?: ConnectOptions) => Promise<Accounts>;
5
5
  canEagerConnect: () => Promise<boolean>;
6
6
  }
7
7
  export type ProviderAPI = Record<string, any>;
8
+ export type ConnectOptions = {
9
+ derivationPath?: string;
10
+ };
8
11
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/namespaces/utxo/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EACV,mCAAmC,EACnC,aAAa,EACd,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,WACf,SAAQ,mCAAmC,EACzC,aAAa;IACf,OAAO,EAAE,MAAM,OAAO,CAAC,QAAQ,CAAC,CAAC;IACjC,eAAe,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACzC;AAGD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/namespaces/utxo/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EACV,mCAAmC,EACnC,aAAa,EACd,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,WACf,SAAQ,mCAAmC,EACzC,aAAa;IACf,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IACzD,eAAe,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACzC;AAGD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAO9C,MAAM,MAAM,cAAc,GAAG;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/wallets-core",
3
- "version": "0.60.0",
3
+ "version": "0.60.1-next.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/mod.ts",
package/readme.md CHANGED
@@ -2,3 +2,32 @@
2
2
 
3
3
  Core package for handling web3 wallets supported by Rango
4
4
 
5
+ > **⚠️ Deprecated — this package is being split up and moved to [hub3js](https://github.com/rango-exchange/hub3js).**
6
+ >
7
+ > Most of what lives here now ships as focused `@hub3js/*` packages. New code should import
8
+ > from those instead. The subpaths marked "not migrated yet" below are still served from this
9
+ > package and will keep working until their replacements are released.
10
+
11
+ ## Migrating imports
12
+
13
+ | Old | New |
14
+ | --- | --- |
15
+ | `@rango-dev/wallets-core` | `@hub3js/core` |
16
+ | `.../store` | `@hub3js/core/store` |
17
+ | `.../utils` | `@hub3js/core/utils` |
18
+ | `.../namespaces/common` | `@hub3js/namespaces` + `@hub3js/std` |
19
+ | `.../namespaces/evm` | `@hub3js/evm` |
20
+ | `.../namespaces/solana` | `@hub3js/solana` |
21
+ | `.../namespaces/starknet` | `@hub3js/starknet` |
22
+ | `.../namespaces/stellar` | `@hub3js/stellar` |
23
+ | `.../namespaces/sui` | `@hub3js/sui` |
24
+ | `.../namespaces/ton` | `@hub3js/tvm` |
25
+ | `.../namespaces/xrpl` | `@hub3js/xrpl` |
26
+ | `.../namespaces/tron`, `.../namespaces/utxo`, `.../legacy` | Not migrated yet — still served from this package |
27
+
28
+ A couple of things worth noting:
29
+
30
+ - The `ton` namespace is published as **`@hub3js/tvm`**, not `@hub3js/ton`.
31
+ - `.../namespaces/common` was split in two: the shared operators, builders, hooks and types
32
+ became `@hub3js/std` (imported via subpaths such as `@hub3js/std/operators` and
33
+ `@hub3js/std/types`), while the namespace registry types moved to `@hub3js/namespaces`.
@@ -7,9 +7,18 @@ import type {
7
7
  export interface UtxoActions
8
8
  extends AutoImplementedActionsByRecommended,
9
9
  CommonActions {
10
- connect: () => Promise<Accounts>;
10
+ connect: (options?: ConnectOptions) => Promise<Accounts>;
11
11
  canEagerConnect: () => Promise<boolean>;
12
12
  }
13
13
 
14
14
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
15
15
  export type ProviderAPI = Record<string, any>;
16
+
17
+ /*
18
+ * Hardware wallets (e.g. Trezor) need to know which derivation path / address type to
19
+ * connect. Injected UTXO wallets ignore this. Optional so existing providers are
20
+ * unaffected.
21
+ */
22
+ export type ConnectOptions = {
23
+ derivationPath?: string;
24
+ };