@ledgerhq/cryptoassets 13.32.0 → 13.33.0-nightly.20251108023448
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/.unimportedrc.json +7 -2
- package/CHANGELOG.md +20 -0
- package/lib/data/trc10.json +1 -1
- package/lib/data/trc20.json +1 -1
- package/lib/legacy/legacy-store.d.ts +0 -4
- package/lib/legacy/legacy-store.d.ts.map +1 -1
- package/lib/legacy/legacy-store.js +2 -6
- package/lib/legacy/legacy-store.js.map +1 -1
- package/lib/legacy/legacy-utils.d.ts.map +1 -1
- package/lib/legacy/legacy-utils.js +6 -1
- package/lib/legacy/legacy-utils.js.map +1 -1
- package/lib/tokens.d.ts +6 -16
- package/lib/tokens.d.ts.map +1 -1
- package/lib/tokens.js +6 -40
- package/lib/tokens.js.map +1 -1
- package/lib-es/data/trc10.json +1 -1
- package/lib-es/data/trc20.json +1 -1
- package/lib-es/legacy/legacy-store.d.ts +0 -4
- package/lib-es/legacy/legacy-store.d.ts.map +1 -1
- package/lib-es/legacy/legacy-store.js +2 -6
- package/lib-es/legacy/legacy-store.js.map +1 -1
- package/lib-es/legacy/legacy-utils.d.ts.map +1 -1
- package/lib-es/legacy/legacy-utils.js +6 -1
- package/lib-es/legacy/legacy-utils.js.map +1 -1
- package/lib-es/tokens.d.ts +6 -16
- package/lib-es/tokens.d.ts.map +1 -1
- package/lib-es/tokens.js +6 -23
- package/lib-es/tokens.js.map +1 -1
- package/package.json +3 -3
- package/src/backtest-tokenTypes.test.ts +5 -0
- package/src/currencies.test.ts +22 -8
- package/src/data/trc10.json +1 -1
- package/src/data/trc20.json +1 -1
- package/src/hooks.test.ts +9 -7
- package/src/legacy/legacy-store.ts +3 -7
- package/src/legacy/legacy-utils.ts +7 -2
- package/src/legacy/legacy.test.ts +15 -10
- package/src/tokens.test.ts +8 -10
- package/src/tokens.ts +5 -61
package/.unimportedrc.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"entry": [
|
|
2
|
+
"entry": [
|
|
3
|
+
"src/index.ts",
|
|
4
|
+
"src/hooks.ts",
|
|
5
|
+
"src/legacy/legacy-data.ts",
|
|
6
|
+
"src/crypto-assets-importer/index.ts"
|
|
7
|
+
],
|
|
3
8
|
"ignorePatterns": ["src/data/**/*.ts", "src/**/*.test.ts"],
|
|
4
|
-
"ignoreUnimported": ["src/data/**", "src/**/*.test.ts", "src/cal-client/**"],
|
|
9
|
+
"ignoreUnimported": ["src/data/**", "src/**/*.test.ts", "src/cal-client/**", "src/legacy/legacy-data.ts"],
|
|
5
10
|
"ignoreUnused": ["zod", "@reduxjs/toolkit"]
|
|
6
11
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @ledgerhq/cryptoassets
|
|
2
2
|
|
|
3
|
+
## 13.33.0-nightly.20251108023448
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#12572](https://github.com/LedgerHQ/ledger-live/pull/12572) [`74a340b`](https://github.com/LedgerHQ/ledger-live/commit/74a340b258589c9c37476103029eb036b930616c) Thanks [@gre-ledger](https://github.com/gre-ledger)! - BREAKING: CryptoAssetsStore interface is now fully async. All token lookup methods return Promises. Bot system and coin modules updated to support async token operations.
|
|
8
|
+
|
|
9
|
+
- [#12580](https://github.com/LedgerHQ/ledger-live/pull/12580) [`b69c97d`](https://github.com/LedgerHQ/ledger-live/commit/b69c97d979ba97154c9abfda6abfc2a36becee4f) Thanks [@gre-ledger](https://github.com/gre-ledger)! - Fix TRC10/TRC20 token duplication causing inconsistent lookups
|
|
10
|
+
|
|
11
|
+
- Eliminated 2,815 contract address conflicts between TRC10 and TRC20 tokens
|
|
12
|
+
- Prioritized TRC20 tokens when contract addresses exist in both files
|
|
13
|
+
- Ensured consistent token resolution for `byAddress` and `byId` lookups
|
|
14
|
+
- Aligned local data with backend CAL API behavior
|
|
15
|
+
|
|
16
|
+
- [#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.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 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), [`1c6f5f5`](https://github.com/LedgerHQ/ledger-live/commit/1c6f5f5843349b1955f7ca466f98cbe4ffcdaddf), [`d5d838a`](https://github.com/LedgerHQ/ledger-live/commit/d5d838a23e00edd53293843781c559c41db4e854), [`70049be`](https://github.com/LedgerHQ/ledger-live/commit/70049bed0cd0a8c7a9e4947a63af82061dad46c0), [`5b41dd5`](https://github.com/LedgerHQ/ledger-live/commit/5b41dd56e024a5d03ba0e49084113c04887395db), [`c70f6a8`](https://github.com/LedgerHQ/ledger-live/commit/c70f6a8370056b6fd8f236205471359d6f9b846f)]:
|
|
21
|
+
- @ledgerhq/types-live@6.89.0-nightly.20251108023448
|
|
22
|
+
|
|
3
23
|
## 13.32.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|