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

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.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/mod.ts",
@@ -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
+ };