@ledgerhq/live-wallet 0.16.0-nightly.20251120023735 → 0.16.0-nightly.20251121023744

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,6 +1,6 @@
1
1
  # @ledgerhq/live-wallet
2
2
 
3
- ## 0.16.0-nightly.20251120023735
3
+ ## 0.16.0-nightly.20251121023744
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -8,13 +8,13 @@
8
8
 
9
9
  ### Patch Changes
10
10
 
11
- - Updated dependencies [[`74a340b`](https://github.com/LedgerHQ/ledger-live/commit/74a340b258589c9c37476103029eb036b930616c), [`a6bc24e`](https://github.com/LedgerHQ/ledger-live/commit/a6bc24ee988b98bf82f807ac5ce731ba79813901), [`b69c97d`](https://github.com/LedgerHQ/ledger-live/commit/b69c97d979ba97154c9abfda6abfc2a36becee4f), [`544721d`](https://github.com/LedgerHQ/ledger-live/commit/544721d198454526ef83516619d59c881ba34eb9), [`fe81926`](https://github.com/LedgerHQ/ledger-live/commit/fe81926afeb2df8e917e6bd1e4cbab13f09647fd), [`1c6f5f5`](https://github.com/LedgerHQ/ledger-live/commit/1c6f5f5843349b1955f7ca466f98cbe4ffcdaddf), [`b4a4e16`](https://github.com/LedgerHQ/ledger-live/commit/b4a4e160aae6fd64f944ab25633f6931dc4358d3), [`d5d838a`](https://github.com/LedgerHQ/ledger-live/commit/d5d838a23e00edd53293843781c559c41db4e854), [`9f61dcf`](https://github.com/LedgerHQ/ledger-live/commit/9f61dcf6163fd66657e5be732c28bea623a40515), [`903ea9c`](https://github.com/LedgerHQ/ledger-live/commit/903ea9cdacf704a0119de2803a4f409b775391a5), [`938b970`](https://github.com/LedgerHQ/ledger-live/commit/938b970e15118dc706c759a3bec27dc01c3dd268), [`c40e9da`](https://github.com/LedgerHQ/ledger-live/commit/c40e9da68452fe9827b9435ff2d162291186be73), [`02ef98f`](https://github.com/LedgerHQ/ledger-live/commit/02ef98faeb13c182ef255e06a43c39abeb55ecc7), [`c0b5b9f`](https://github.com/LedgerHQ/ledger-live/commit/c0b5b9f4cdcb2ea3e15419cbf3d1a14f725c3e6a), [`6d0c6b2`](https://github.com/LedgerHQ/ledger-live/commit/6d0c6b2eda60049d8eebda5de2c54e8f0be7d009), [`70049be`](https://github.com/LedgerHQ/ledger-live/commit/70049bed0cd0a8c7a9e4947a63af82061dad46c0), [`0d33751`](https://github.com/LedgerHQ/ledger-live/commit/0d33751bb2ae599d0d26ce6a8efdbe01757f12fb), [`5b41dd5`](https://github.com/LedgerHQ/ledger-live/commit/5b41dd56e024a5d03ba0e49084113c04887395db), [`aadcec6`](https://github.com/LedgerHQ/ledger-live/commit/aadcec66847b800f79452ba1df09149e0a1cb9e8), [`eb5a17e`](https://github.com/LedgerHQ/ledger-live/commit/eb5a17e4db336eaa871eaeb52ffa5248e0f78bec), [`53deeef`](https://github.com/LedgerHQ/ledger-live/commit/53deeef592b7d566b4e7a636fa34d7ad59dd43ad), [`ed8532b`](https://github.com/LedgerHQ/ledger-live/commit/ed8532bad754ca2b5f1788c6e92f4646b775ec79), [`9659a34`](https://github.com/LedgerHQ/ledger-live/commit/9659a34d9998d5c4dff8618bf6cef7d16403680d), [`c70f6a8`](https://github.com/LedgerHQ/ledger-live/commit/c70f6a8370056b6fd8f236205471359d6f9b846f)]:
12
- - @ledgerhq/types-live@6.89.0-nightly.20251120023735
13
- - @ledgerhq/cryptoassets@13.33.0-nightly.20251120023735
14
- - @ledgerhq/coin-framework@6.9.0-nightly.20251120023735
15
- - @ledgerhq/live-env@2.21.0-nightly.20251120023735
16
- - @ledgerhq/ledger-key-ring-protocol@0.8.0-nightly.20251120023735
17
- - @ledgerhq/live-network@2.1.1-nightly.20251120023735
11
+ - Updated dependencies [[`74a340b`](https://github.com/LedgerHQ/ledger-live/commit/74a340b258589c9c37476103029eb036b930616c), [`a6bc24e`](https://github.com/LedgerHQ/ledger-live/commit/a6bc24ee988b98bf82f807ac5ce731ba79813901), [`b69c97d`](https://github.com/LedgerHQ/ledger-live/commit/b69c97d979ba97154c9abfda6abfc2a36becee4f), [`544721d`](https://github.com/LedgerHQ/ledger-live/commit/544721d198454526ef83516619d59c881ba34eb9), [`fe81926`](https://github.com/LedgerHQ/ledger-live/commit/fe81926afeb2df8e917e6bd1e4cbab13f09647fd), [`1c6f5f5`](https://github.com/LedgerHQ/ledger-live/commit/1c6f5f5843349b1955f7ca466f98cbe4ffcdaddf), [`b4a4e16`](https://github.com/LedgerHQ/ledger-live/commit/b4a4e160aae6fd64f944ab25633f6931dc4358d3), [`927ae64`](https://github.com/LedgerHQ/ledger-live/commit/927ae64db0bb04af54e25623655a001a68e0f2d3), [`d5d838a`](https://github.com/LedgerHQ/ledger-live/commit/d5d838a23e00edd53293843781c559c41db4e854), [`9f61dcf`](https://github.com/LedgerHQ/ledger-live/commit/9f61dcf6163fd66657e5be732c28bea623a40515), [`903ea9c`](https://github.com/LedgerHQ/ledger-live/commit/903ea9cdacf704a0119de2803a4f409b775391a5), [`938b970`](https://github.com/LedgerHQ/ledger-live/commit/938b970e15118dc706c759a3bec27dc01c3dd268), [`c40e9da`](https://github.com/LedgerHQ/ledger-live/commit/c40e9da68452fe9827b9435ff2d162291186be73), [`02ef98f`](https://github.com/LedgerHQ/ledger-live/commit/02ef98faeb13c182ef255e06a43c39abeb55ecc7), [`c0b5b9f`](https://github.com/LedgerHQ/ledger-live/commit/c0b5b9f4cdcb2ea3e15419cbf3d1a14f725c3e6a), [`6d0c6b2`](https://github.com/LedgerHQ/ledger-live/commit/6d0c6b2eda60049d8eebda5de2c54e8f0be7d009), [`70049be`](https://github.com/LedgerHQ/ledger-live/commit/70049bed0cd0a8c7a9e4947a63af82061dad46c0), [`0d33751`](https://github.com/LedgerHQ/ledger-live/commit/0d33751bb2ae599d0d26ce6a8efdbe01757f12fb), [`5b41dd5`](https://github.com/LedgerHQ/ledger-live/commit/5b41dd56e024a5d03ba0e49084113c04887395db), [`aadcec6`](https://github.com/LedgerHQ/ledger-live/commit/aadcec66847b800f79452ba1df09149e0a1cb9e8), [`eb5a17e`](https://github.com/LedgerHQ/ledger-live/commit/eb5a17e4db336eaa871eaeb52ffa5248e0f78bec), [`53deeef`](https://github.com/LedgerHQ/ledger-live/commit/53deeef592b7d566b4e7a636fa34d7ad59dd43ad), [`ed8532b`](https://github.com/LedgerHQ/ledger-live/commit/ed8532bad754ca2b5f1788c6e92f4646b775ec79), [`9659a34`](https://github.com/LedgerHQ/ledger-live/commit/9659a34d9998d5c4dff8618bf6cef7d16403680d), [`c70f6a8`](https://github.com/LedgerHQ/ledger-live/commit/c70f6a8370056b6fd8f236205471359d6f9b846f)]:
12
+ - @ledgerhq/types-live@6.89.0-nightly.20251121023744
13
+ - @ledgerhq/cryptoassets@13.33.0-nightly.20251121023744
14
+ - @ledgerhq/coin-framework@6.9.0-nightly.20251121023744
15
+ - @ledgerhq/live-env@2.21.0-nightly.20251121023744
16
+ - @ledgerhq/ledger-key-ring-protocol@0.8.0-nightly.20251121023744
17
+ - @ledgerhq/live-network@2.1.1-nightly.20251121023744
18
18
 
19
19
  ## 0.15.0
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/live-wallet",
3
- "version": "0.16.0-nightly.20251120023735",
3
+ "version": "0.16.0-nightly.20251121023744",
4
4
  "description": "Ledger Live wallet",
5
5
  "keywords": [
6
6
  "Ledger"
@@ -28,15 +28,15 @@
28
28
  "pako": "^2.0.4",
29
29
  "rxjs": "7",
30
30
  "zod": "^3.22.4",
31
- "@ledgerhq/coin-framework": "6.9.0-nightly.20251120023735",
32
- "@ledgerhq/cryptoassets": "13.33.0-nightly.20251120023735",
33
- "@ledgerhq/live-env": "2.21.0-nightly.20251120023735",
34
- "@ledgerhq/live-network": "2.1.1-nightly.20251120023735",
31
+ "@ledgerhq/coin-framework": "6.9.0-nightly.20251121023744",
32
+ "@ledgerhq/cryptoassets": "13.33.0-nightly.20251121023744",
33
+ "@ledgerhq/live-env": "2.21.0-nightly.20251121023744",
34
+ "@ledgerhq/live-network": "2.1.1-nightly.20251121023744",
35
35
  "@ledgerhq/live-promise": "0.1.1",
36
36
  "@ledgerhq/logs": "6.13.0",
37
- "@ledgerhq/ledger-key-ring-protocol": "0.8.0-nightly.20251120023735",
37
+ "@ledgerhq/ledger-key-ring-protocol": "0.8.0-nightly.20251121023744",
38
38
  "@ledgerhq/types-cryptoassets": "7.30.0",
39
- "@ledgerhq/types-live": "6.89.0-nightly.20251120023735"
39
+ "@ledgerhq/types-live": "6.89.0-nightly.20251121023744"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/jest": "^29.5.10",
@@ -1,7 +1,6 @@
1
1
  import type { Account, AccountRaw } from "@ledgerhq/types-live";
2
2
  import { fromAccountRaw } from "@ledgerhq/coin-framework/serialization/account";
3
- import { setCryptoAssetsStore } from "@ledgerhq/coin-framework/crypto-assets/index";
4
- import type { CryptoAssetsStore } from "@ledgerhq/types-live";
3
+ import { setupMockCryptoAssetsStore } from "@ledgerhq/cryptoassets/cal-client/test-helpers";
5
4
  import {
6
5
  importAccountsReduce,
7
6
  type ImportItem,
@@ -9,13 +8,9 @@ import {
9
8
  type SyncNewAccountsOutput,
10
9
  } from "./importAccounts";
11
10
 
12
- // Mock crypto assets store for testing
13
- // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
14
- setCryptoAssetsStore({
15
- findTokenById: async (_: string) => undefined,
16
- findTokenByAddressInCurrency: async (_: string, __: string) => undefined,
17
- getTokensSyncHash: () => Promise.resolve("0"),
18
- } as unknown as CryptoAssetsStore);
11
+ setupMockCryptoAssetsStore({
12
+ getTokensSyncHash: async () => "0",
13
+ });
19
14
 
20
15
  // Mock account factory using fromAccountRaw for proper Account structure
21
16
  const createMockAccount = async (
@@ -1,13 +1,11 @@
1
1
  // TODO rewrite the test
2
2
 
3
3
  import type { AccountRaw } from "@ledgerhq/types-live";
4
- import type { TokenCurrency } from "@ledgerhq/types-cryptoassets";
5
4
  import { sortAccountsComparatorFromOrder } from "./ordering";
6
5
  import { setSupportedCurrencies } from "@ledgerhq/coin-framework/currencies/index";
7
6
  import { fromAccountRaw } from "@ledgerhq/coin-framework/serialization/account";
8
7
  import { WalletState, accountRawToAccountUserData } from "./store";
9
- import { setCryptoAssetsStore } from "@ledgerhq/coin-framework/crypto-assets/index";
10
- import type { CryptoAssetsStore } from "@ledgerhq/types-live";
8
+ import { setupMockCryptoAssetsStore } from "@ledgerhq/cryptoassets/cal-client/test-helpers";
11
9
 
12
10
  setSupportedCurrencies(["ethereum"]);
13
11
 
@@ -88,12 +86,10 @@ const raws: AccountRaw[] = [
88
86
  balance: "4000000000000000000",
89
87
  },
90
88
  ];
91
- // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
92
- setCryptoAssetsStore({
93
- findTokenById: async (): Promise<TokenCurrency | undefined> => undefined,
94
- findTokenByAddressInCurrency: async (): Promise<TokenCurrency | undefined> => undefined,
95
- getTokensSyncHash: () => Promise.resolve("0"),
96
- } as CryptoAssetsStore);
89
+
90
+ setupMockCryptoAssetsStore({
91
+ getTokensSyncHash: async () => "0",
92
+ });
97
93
 
98
94
  let accounts: Awaited<ReturnType<typeof fromAccountRaw>>[];
99
95
  const walletState: WalletState = {