@ledgerhq/cryptoassets 13.33.0-nightly.20251115023630 → 13.33.0-nightly.20251119023741
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 +20 -3
- package/lib/cal-client/state-manager/api.d.ts +2906 -0
- package/lib/cal-client/state-manager/api.d.ts.map +1 -1
- package/lib/cal-client/state-manager/api.js +2 -2
- package/lib/cal-client/state-manager/api.js.map +1 -1
- package/lib-es/cal-client/state-manager/api.d.ts +2906 -0
- package/lib-es/cal-client/state-manager/api.d.ts.map +1 -1
- package/lib-es/cal-client/state-manager/api.js +1 -1
- package/lib-es/cal-client/state-manager/api.js.map +1 -1
- package/package.json +3 -3
- package/src/cal-client/state-manager/api.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ledgerhq/cryptoassets
|
|
2
2
|
|
|
3
|
-
## 13.33.0-nightly.
|
|
3
|
+
## 13.33.0-nightly.20251119023741
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -21,6 +21,23 @@
|
|
|
21
21
|
|
|
22
22
|
- [#12572](https://github.com/LedgerHQ/ledger-live/pull/12572) [`c0b5b9f`](https://github.com/LedgerHQ/ledger-live/commit/c0b5b9f4cdcb2ea3e15419cbf3d1a14f725c3e6a) Thanks [@gre-ledger](https://github.com/gre-ledger)! - Make legacy token initialization explicit instead of automatic. This prepares for the async migration by giving applications control over when tokens are loaded.
|
|
23
23
|
|
|
24
|
+
- [#12775](https://github.com/LedgerHQ/ledger-live/pull/12775) [`6d0c6b2`](https://github.com/LedgerHQ/ledger-live/commit/6d0c6b2eda60049d8eebda5de2c54e8f0be7d009) Thanks [@Justkant](https://github.com/Justkant)! - refactor(wallet-api): migrate to lazy account/currency loading pattern
|
|
25
|
+
|
|
26
|
+
Refactor Wallet & Platform APIs to lazy-load currencies/accounts via CAL API.
|
|
27
|
+
|
|
28
|
+
Highlights:
|
|
29
|
+
|
|
30
|
+
- Replace precomputed currency/account datasets with on-demand fetching (pagination supported).
|
|
31
|
+
- account.request: now uses currencyIds: string[]; removes Observable parameter; upfront ID mapping helper added.
|
|
32
|
+
- currency.list: dynamic token retrieval; supports patterns (** / family/** / specific); adds delisted warnings.
|
|
33
|
+
- Remove legacy hooks (useWalletAPIAccounts, useWalletAPICurrencies, useGetAccountIds); introduce useSetWalletAPIAccounts & useDAppManifestCurrencyIds.
|
|
34
|
+
- Async token/address lookup; simplified modular drawer (no accounts$ / observable registry).
|
|
35
|
+
- Desktop/mobile components now operate on currencyIds; streamlined account/currency selection flows.
|
|
36
|
+
- Platform API: async listing with minimatch filtering; dropped multiple filtering helpers.
|
|
37
|
+
- Added tracking for currency.list & account.list; fixed areCurrenciesFiltered logic (LIVE-23089).
|
|
38
|
+
- Package bumps: wallet-api-client ^1.12.5, wallet-api-core ^1.26.1, wallet-api-server ^2.0.0; unify bignumber.js 9.1.2.
|
|
39
|
+
Impact: lower memory, faster startup, improved scalability, clearer API surface.
|
|
40
|
+
|
|
24
41
|
- [#12675](https://github.com/LedgerHQ/ledger-live/pull/12675) [`9659a34`](https://github.com/LedgerHQ/ledger-live/commit/9659a34d9998d5c4dff8618bf6cef7d16403680d) Thanks [@semeano](https://github.com/semeano)! - Add Somnia coin
|
|
25
42
|
|
|
26
43
|
### Patch Changes
|
|
@@ -28,8 +45,8 @@
|
|
|
28
45
|
- [#12728](https://github.com/LedgerHQ/ledger-live/pull/12728) [`938b970`](https://github.com/LedgerHQ/ledger-live/commit/938b970e15118dc706c759a3bec27dc01c3dd268) Thanks [@jonezque](https://github.com/jonezque)! - feat: canton links for new explorer
|
|
29
46
|
|
|
30
47
|
- Updated dependencies [[`74a340b`](https://github.com/LedgerHQ/ledger-live/commit/74a340b258589c9c37476103029eb036b930616c), [`a6bc24e`](https://github.com/LedgerHQ/ledger-live/commit/a6bc24ee988b98bf82f807ac5ce731ba79813901), [`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), [`d5d838a`](https://github.com/LedgerHQ/ledger-live/commit/d5d838a23e00edd53293843781c559c41db4e854), [`903ea9c`](https://github.com/LedgerHQ/ledger-live/commit/903ea9cdacf704a0119de2803a4f409b775391a5), [`c40e9da`](https://github.com/LedgerHQ/ledger-live/commit/c40e9da68452fe9827b9435ff2d162291186be73), [`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), [`9659a34`](https://github.com/LedgerHQ/ledger-live/commit/9659a34d9998d5c4dff8618bf6cef7d16403680d), [`c70f6a8`](https://github.com/LedgerHQ/ledger-live/commit/c70f6a8370056b6fd8f236205471359d6f9b846f)]:
|
|
31
|
-
- @ledgerhq/types-live@6.89.0-nightly.
|
|
32
|
-
- @ledgerhq/live-env@2.21.0-nightly.
|
|
48
|
+
- @ledgerhq/types-live@6.89.0-nightly.20251119023741
|
|
49
|
+
- @ledgerhq/live-env@2.21.0-nightly.20251119023741
|
|
33
50
|
|
|
34
51
|
## 13.32.0
|
|
35
52
|
|