@ledgerhq/live-common 34.49.0-nightly.0 → 34.49.0-nightly.2

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.
Files changed (73) hide show
  1. package/lib/account/formatters.d.ts.map +1 -1
  2. package/lib/account/formatters.js +1 -27
  3. package/lib/account/formatters.js.map +1 -1
  4. package/lib/bot/index.js +1 -1
  5. package/lib/bot/index.js.map +1 -1
  6. package/lib/crypto/index.d.ts +1 -1
  7. package/lib/crypto/index.d.ts.map +1 -1
  8. package/lib/crypto/index.js +2 -5
  9. package/lib/crypto/index.js.map +1 -1
  10. package/lib/customImage/errors.d.ts +0 -6
  11. package/lib/customImage/errors.d.ts.map +1 -1
  12. package/lib/customImage/errors.js +1 -3
  13. package/lib/customImage/errors.js.map +1 -1
  14. package/lib/deposit/type.d.ts +1 -0
  15. package/lib/deposit/type.d.ts.map +1 -1
  16. package/lib/deposit/type.js.map +1 -1
  17. package/lib/e2e/index.d.ts +2 -19
  18. package/lib/e2e/index.d.ts.map +1 -1
  19. package/lib/env.react.d.ts +1 -1
  20. package/lib/env.react.d.ts.map +1 -1
  21. package/lib/exchange/providers/swap.d.ts.map +1 -1
  22. package/lib/exchange/providers/swap.js +2 -1
  23. package/lib/exchange/providers/swap.js.map +1 -1
  24. package/lib/featureFlags/defaultFeatures.d.ts.map +1 -1
  25. package/lib/featureFlags/defaultFeatures.js +1 -15
  26. package/lib/featureFlags/defaultFeatures.js.map +1 -1
  27. package/lib/featureFlags/useFeature.d.ts +1 -1
  28. package/lib/featureFlags/useFeature.d.ts.map +1 -1
  29. package/lib/modularDrawer/__mocks__/dada.mock.d.ts +10 -0
  30. package/lib/modularDrawer/__mocks__/dada.mock.d.ts.map +1 -1
  31. package/lib/modularDrawer/__mocks__/dada.mock.js +10 -0
  32. package/lib/modularDrawer/__mocks__/dada.mock.js.map +1 -1
  33. package/lib-es/account/formatters.d.ts.map +1 -1
  34. package/lib-es/account/formatters.js +1 -27
  35. package/lib-es/account/formatters.js.map +1 -1
  36. package/lib-es/bot/index.js +1 -1
  37. package/lib-es/bot/index.js.map +1 -1
  38. package/lib-es/crypto/index.d.ts +1 -1
  39. package/lib-es/crypto/index.d.ts.map +1 -1
  40. package/lib-es/crypto/index.js +2 -2
  41. package/lib-es/crypto/index.js.map +1 -1
  42. package/lib-es/customImage/errors.d.ts +0 -6
  43. package/lib-es/customImage/errors.d.ts.map +1 -1
  44. package/lib-es/customImage/errors.js +0 -2
  45. package/lib-es/customImage/errors.js.map +1 -1
  46. package/lib-es/deposit/type.d.ts +1 -0
  47. package/lib-es/deposit/type.d.ts.map +1 -1
  48. package/lib-es/deposit/type.js.map +1 -1
  49. package/lib-es/e2e/index.d.ts +2 -19
  50. package/lib-es/e2e/index.d.ts.map +1 -1
  51. package/lib-es/env.react.d.ts +1 -1
  52. package/lib-es/env.react.d.ts.map +1 -1
  53. package/lib-es/exchange/providers/swap.d.ts.map +1 -1
  54. package/lib-es/exchange/providers/swap.js +2 -1
  55. package/lib-es/exchange/providers/swap.js.map +1 -1
  56. package/lib-es/featureFlags/defaultFeatures.d.ts.map +1 -1
  57. package/lib-es/featureFlags/defaultFeatures.js +1 -15
  58. package/lib-es/featureFlags/defaultFeatures.js.map +1 -1
  59. package/lib-es/featureFlags/useFeature.d.ts +1 -1
  60. package/lib-es/featureFlags/useFeature.d.ts.map +1 -1
  61. package/lib-es/modularDrawer/__mocks__/dada.mock.d.ts +10 -0
  62. package/lib-es/modularDrawer/__mocks__/dada.mock.d.ts.map +1 -1
  63. package/lib-es/modularDrawer/__mocks__/dada.mock.js +10 -0
  64. package/lib-es/modularDrawer/__mocks__/dada.mock.js.map +1 -1
  65. package/package.json +48 -49
  66. package/src/account/formatters.ts +2 -40
  67. package/src/bot/index.ts +1 -1
  68. package/src/crypto/index.ts +2 -2
  69. package/src/customImage/errors.ts +0 -4
  70. package/src/deposit/type.ts +1 -0
  71. package/src/exchange/providers/swap.ts +2 -1
  72. package/src/featureFlags/defaultFeatures.ts +2 -15
  73. package/src/modularDrawer/__mocks__/dada.mock.ts +10 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ledgerhq/live-common",
3
3
  "description": "Common ground for the Ledger Live apps",
4
- "version": "34.49.0-nightly.0",
4
+ "version": "34.49.0-nightly.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/LedgerHQ/ledger-live.git"
@@ -157,7 +157,7 @@
157
157
  "rlp": "^3.0.0",
158
158
  "rxjs": "^7.8.1",
159
159
  "semver": "^7.3.5",
160
- "sha.js": "^2.4.11",
160
+ "@noble/hashes": "1.8.0",
161
161
  "triple-beam": "^1.3.0",
162
162
  "tsx": "^4.7.1",
163
163
  "usehooks-ts": "^2.13.0",
@@ -166,49 +166,49 @@
166
166
  "xstate": "^5.19.2",
167
167
  "yargs": "^17.0.0",
168
168
  "zod": "^3.22.4",
169
- "@ledgerhq/coin-algorand": "^0.10.2-nightly.0",
170
- "@ledgerhq/coin-aptos": "^3.3.1-nightly.0",
171
- "@ledgerhq/coin-bitcoin": "^0.22.1-nightly.0",
172
- "@ledgerhq/coin-canton": "^0.5.1-nightly.0",
173
- "@ledgerhq/coin-cardano": "^0.12.2-nightly.0",
174
- "@ledgerhq/coin-casper": "^2.1.2-nightly.0",
175
- "@ledgerhq/coin-celo": "^1.4.1-nightly.0",
176
- "@ledgerhq/coin-cosmos": "^0.17.2-nightly.0",
177
- "@ledgerhq/coin-evm": "^2.31.0-nightly.0",
178
- "@ledgerhq/coin-filecoin": "^1.12.1-nightly.0",
179
- "@ledgerhq/coin-framework": "^6.4.1-nightly.0",
180
- "@ledgerhq/coin-hedera": "^1.11.2-nightly.0",
181
- "@ledgerhq/coin-icon": "^0.12.2-nightly.0",
182
- "@ledgerhq/coin-internet_computer": "^1.8.2-nightly.0",
183
- "@ledgerhq/coin-kaspa": "^1.1.1-nightly.0",
184
- "@ledgerhq/coin-mina": "^1.2.2-nightly.0",
185
- "@ledgerhq/coin-multiversx": "^0.5.2-nightly.0",
186
- "@ledgerhq/coin-near": "^0.13.2-nightly.0",
187
- "@ledgerhq/coin-polkadot": "^6.10.1-nightly.0",
188
- "@ledgerhq/coin-solana": "^0.33.1-nightly.0",
189
- "@ledgerhq/coin-stacks": "^0.9.2-nightly.0",
190
- "@ledgerhq/coin-stellar": "^6.4.1-nightly.0",
191
- "@ledgerhq/coin-sui": "^0.13.1-nightly.0",
192
- "@ledgerhq/coin-tezos": "^6.5.0-nightly.0",
193
- "@ledgerhq/coin-ton": "^0.14.2-nightly.0",
194
- "@ledgerhq/coin-tron": "^5.4.1-nightly.0",
195
- "@ledgerhq/coin-vechain": "^2.9.2-nightly.0",
196
- "@ledgerhq/coin-xrp": "^7.4.1-nightly.0",
169
+ "@ledgerhq/coin-algorand": "^0.10.2-nightly.2",
170
+ "@ledgerhq/coin-aptos": "^3.3.1-nightly.2",
171
+ "@ledgerhq/coin-bitcoin": "^0.22.1-nightly.2",
172
+ "@ledgerhq/coin-canton": "^0.5.1-nightly.2",
173
+ "@ledgerhq/coin-cardano": "^0.12.2-nightly.2",
174
+ "@ledgerhq/coin-casper": "^2.1.2-nightly.2",
175
+ "@ledgerhq/coin-celo": "^1.4.1-nightly.2",
176
+ "@ledgerhq/coin-cosmos": "^0.17.2-nightly.2",
177
+ "@ledgerhq/coin-evm": "^2.31.0-nightly.2",
178
+ "@ledgerhq/coin-filecoin": "^1.12.1-nightly.2",
179
+ "@ledgerhq/coin-framework": "^6.4.1-nightly.2",
180
+ "@ledgerhq/coin-hedera": "^1.11.2-nightly.2",
181
+ "@ledgerhq/coin-icon": "^0.12.2-nightly.2",
182
+ "@ledgerhq/coin-internet_computer": "^1.8.2-nightly.2",
183
+ "@ledgerhq/coin-kaspa": "^1.1.1-nightly.2",
184
+ "@ledgerhq/coin-mina": "^1.2.2-nightly.2",
185
+ "@ledgerhq/coin-multiversx": "^0.5.2-nightly.2",
186
+ "@ledgerhq/coin-near": "^0.13.2-nightly.2",
187
+ "@ledgerhq/coin-polkadot": "^6.10.1-nightly.2",
188
+ "@ledgerhq/coin-solana": "^0.33.1-nightly.2",
189
+ "@ledgerhq/coin-stacks": "^0.9.2-nightly.2",
190
+ "@ledgerhq/coin-stellar": "^6.4.1-nightly.2",
191
+ "@ledgerhq/coin-sui": "^0.13.1-nightly.2",
192
+ "@ledgerhq/coin-tezos": "^6.5.0-nightly.2",
193
+ "@ledgerhq/coin-ton": "^0.14.2-nightly.2",
194
+ "@ledgerhq/coin-tron": "^5.4.1-nightly.2",
195
+ "@ledgerhq/coin-vechain": "^2.9.2-nightly.2",
196
+ "@ledgerhq/coin-xrp": "^7.4.1-nightly.2",
197
197
  "@ledgerhq/crypto-icons-ui": "^1.19.0-nightly.1",
198
- "@ledgerhq/cryptoassets": "^13.28.1-nightly.0",
199
- "@ledgerhq/device-core": "^0.6.4-nightly.0",
198
+ "@ledgerhq/cryptoassets": "^13.28.1-nightly.2",
199
+ "@ledgerhq/device-core": "^0.6.4-nightly.2",
200
200
  "@ledgerhq/devices": "8.5.2-nightly.0",
201
201
  "@ledgerhq/errors": "^6.25.0",
202
202
  "@ledgerhq/hw-app-algorand": "^6.31.7-nightly.0",
203
203
  "@ledgerhq/hw-app-aptos": "^6.34.7-nightly.0",
204
204
  "@ledgerhq/hw-app-btc": "^10.11.1-nightly.0",
205
- "@ledgerhq/hw-app-celo": "^6.34.4-nightly.0",
205
+ "@ledgerhq/hw-app-celo": "^6.34.4-nightly.2",
206
206
  "@ledgerhq/hw-app-cosmos": "^6.32.7-nightly.0",
207
- "@ledgerhq/hw-app-eth": "^6.45.19-nightly.0",
207
+ "@ledgerhq/hw-app-eth": "^6.45.19-nightly.2",
208
208
  "@ledgerhq/hw-app-exchange": "^0.13.3-nightly.1",
209
209
  "@ledgerhq/hw-app-hedera": "^1.2.7-nightly.0",
210
210
  "@ledgerhq/hw-app-icon": "^1.3.7-nightly.0",
211
- "@ledgerhq/hw-app-kaspa": "^1.3.0-nightly.1",
211
+ "@ledgerhq/hw-app-kaspa": "^1.3.0-nightly.2",
212
212
  "@ledgerhq/hw-app-multiversx": "^6.25.2-nightly.0",
213
213
  "@ledgerhq/hw-app-near": "^6.31.7-nightly.0",
214
214
  "@ledgerhq/hw-app-polkadot": "^6.34.7-nightly.0",
@@ -216,26 +216,25 @@
216
216
  "@ledgerhq/hw-app-sui": "^1.4.0",
217
217
  "@ledgerhq/hw-app-tezos": "^6.31.7-nightly.0",
218
218
  "@ledgerhq/hw-app-trx": "^6.31.7-nightly.0",
219
- "@ledgerhq/hw-app-vet": "^0.5.17-nightly.0",
219
+ "@ledgerhq/hw-app-vet": "^0.5.17-nightly.2",
220
220
  "@ledgerhq/hw-app-xrp": "^6.32.5-nightly.0",
221
221
  "@ledgerhq/hw-transport": "^6.31.11-nightly.0",
222
222
  "@ledgerhq/hw-transport-mocker": "^6.29.11-nightly.0",
223
- "@ledgerhq/ledger-cal-service": "^1.5.0-nightly.0",
223
+ "@ledgerhq/ledger-cal-service": "^1.5.0-nightly.1",
224
224
  "@ledgerhq/live-config": "^3.2.0",
225
- "@ledgerhq/live-countervalues": "^0.7.2-nightly.0",
226
- "@ledgerhq/live-countervalues-react": "^0.6.1-nightly.0",
225
+ "@ledgerhq/live-countervalues": "^0.7.2-nightly.2",
226
+ "@ledgerhq/live-countervalues-react": "^0.6.1-nightly.2",
227
227
  "@ledgerhq/live-dmk-shared": "^0.12.4-nightly.1",
228
- "@ledgerhq/live-env": "^2.17.0-nightly.0",
228
+ "@ledgerhq/live-env": "^2.17.0-nightly.1",
229
229
  "@ledgerhq/live-hooks": "0.1.0",
230
- "@ledgerhq/live-network": "^2.0.18-nightly.0",
231
- "@ledgerhq/live-nft": "^0.8.21-nightly.0",
230
+ "@ledgerhq/live-network": "^2.0.18-nightly.1",
232
231
  "@ledgerhq/live-promise": "^0.1.1",
233
- "@ledgerhq/live-signer-canton": "^0.3.1-nightly.0",
234
- "@ledgerhq/live-signer-evm": "^0.7.6-nightly.0",
235
- "@ledgerhq/live-signer-solana": "^0.5.6-nightly.0",
236
- "@ledgerhq/live-wallet": "^0.14.1-nightly.0",
232
+ "@ledgerhq/live-signer-canton": "^0.3.1-nightly.2",
233
+ "@ledgerhq/live-signer-evm": "^0.7.6-nightly.2",
234
+ "@ledgerhq/live-signer-solana": "^0.5.6-nightly.2",
235
+ "@ledgerhq/live-wallet": "^0.14.1-nightly.2",
237
236
  "@ledgerhq/logs": "^6.13.0",
238
- "@ledgerhq/speculos-transport": "^0.2.11-nightly.0",
237
+ "@ledgerhq/speculos-transport": "^0.2.11-nightly.1",
239
238
  "@ledgerhq/wallet-api-acre-module": "^0.7.0-nightly.0",
240
239
  "@ledgerhq/wallet-api-exchange-module": "^0.16.0"
241
240
  },
@@ -285,10 +284,10 @@
285
284
  "undici": "6.19.2",
286
285
  "uuid": "^8.3.2",
287
286
  "ws": "7",
288
- "@ledgerhq/device-react": "^0.2.45-nightly.0",
287
+ "@ledgerhq/device-react": "^0.2.45-nightly.2",
289
288
  "@ledgerhq/types-cryptoassets": "^7.27.0-nightly.0",
290
289
  "@ledgerhq/types-devices": "^6.27.0",
291
- "@ledgerhq/types-live": "^6.85.0-nightly.0"
290
+ "@ledgerhq/types-live": "^6.85.0-nightly.2"
292
291
  },
293
292
  "scripts": {
294
293
  "build": "zx ./scripts/build-ts.mjs",
@@ -4,24 +4,15 @@ import {
4
4
  getOperationAmountNumber,
5
5
  getOperationAmountNumberWithInternals,
6
6
  } from "@ledgerhq/coin-framework/operation";
7
- import { nftsByCollections } from "@ledgerhq/live-nft";
8
7
  import { getDefaultAccountName } from "@ledgerhq/live-wallet/accountName";
9
8
  import type { Unit } from "@ledgerhq/types-cryptoassets";
10
- import type { Account, Operation, ProtoNFT } from "@ledgerhq/types-live";
9
+ import type { Account, Operation } from "@ledgerhq/types-live";
11
10
  import { BigNumber } from "bignumber.js";
12
11
  import invariant from "invariant";
13
12
  import { formatCurrencyUnit } from "../currencies";
14
13
  import { toAccountRaw } from "./serialization";
15
14
  import { getAccountBridge } from "../bridge";
16
15
 
17
- const styling = {
18
- bold: (str: string) => `\x1b[1m${str}\x1b[22m`,
19
- underline: (str: string) => `\x1b[4m${str}\x1b[24m`,
20
- cyan: (str: string) => `\x1b[36m${str}\x1b[37m`,
21
- magenta: (str: string) => `\x1b[35m${str}\x1b[37m`,
22
- reverse: (str: string) => `\x1b[7m${str}\x1b[27m`,
23
- };
24
-
25
16
  const isSignificantAccount = acc =>
26
17
  acc.balance.gt(10 ** (getAccountCurrency(acc).units[0].magnitude - 6));
27
18
 
@@ -77,8 +68,7 @@ function maybeDisplaySumOfOpsIssue(ops, balance, unit) {
77
68
  }
78
69
 
79
70
  const cliFormat = (account, level?: string) => {
80
- const { id, name, freshAddress, freshAddressPath, derivationMode, index, operations, nfts } =
81
- account;
71
+ const { id, name, freshAddress, freshAddressPath, derivationMode, index, operations } = account;
82
72
  const tag = getTagDerivationMode(account.currency, derivationMode);
83
73
  const balance = formatCurrencyUnit(getAccountCurrency(account).units[0], account.balance, {
84
74
  showCode: true,
@@ -122,34 +112,6 @@ const cliFormat = (account, level?: string) => {
122
112
  )
123
113
  .join("\n");
124
114
 
125
- if (nfts?.length) {
126
- const NFTCollections = nftsByCollections(nfts);
127
-
128
- str += "\n";
129
- str += `NFT Collections (${Object.keys(NFTCollections).length}) `;
130
- str += "\n";
131
-
132
- str += Object.entries(NFTCollections)
133
- .map(([contract, nfts]: [string, ProtoNFT[]]) => {
134
- const tokenName = nfts?.[0]?.metadata?.tokenName;
135
- const { bold, magenta, cyan, reverse } = styling;
136
-
137
- return (
138
- `${bold(tokenName ?? "Unknown Collection Name")} (${magenta(contract)}): ` +
139
- nfts
140
- .map(t =>
141
- t?.metadata?.nftName
142
- ? `\n ${t.amount}x ${reverse(` ${t?.metadata?.nftName} `)} ${cyan(
143
- "#" + t.tokenId,
144
- )}`
145
- : `\n ${t.amount}x ${cyan("#" + t.tokenId)}`,
146
- )
147
- .join()
148
- );
149
- })
150
- .join("\n");
151
- }
152
-
153
115
  if (level === "basic") return str;
154
116
  str += "\nOPERATIONS (" + operations.length + ")";
155
117
  str += operations
package/src/bot/index.ts CHANGED
@@ -714,7 +714,7 @@ export async function bot({ disabled, filter }: Arg = {}): Promise<void> {
714
714
  const serializedReport: MinimalSerializedReport = {
715
715
  results: results.map(convertSpecReport),
716
716
  environment: BOT_ENVIRONMENT,
717
- seedHash: sha256(getEnv("SEED")),
717
+ seedHash: sha256(getEnv("SEED")).toString("hex"),
718
718
  };
719
719
 
720
720
  await Promise.all([
@@ -1,5 +1,5 @@
1
- import sha from "sha.js";
1
+ import { sha256 as nobleSha256 } from "@noble/hashes/sha256";
2
2
 
3
3
  export function sha256(buffer: Buffer | string) {
4
- return sha("sha256").update(buffer).digest();
4
+ return Buffer.from(nobleSha256(buffer));
5
5
  }
@@ -4,16 +4,12 @@ export const ImageLoadFromGalleryError = createCustomErrorClass("ImageLoadFromGa
4
4
 
5
5
  export const ImageLoadFromFileError = createCustomErrorClass("ImageLoadFromFileError");
6
6
 
7
- export const ImageLoadFromNftError = createCustomErrorClass("ImageLoadFromNftError");
8
-
9
7
  export const ImageIncorrectFileTypeError = createCustomErrorClass("ImageIncorrectFileTypeError");
10
8
 
11
9
  export const ImageDownloadError = createCustomErrorClass("ImageDownloadError");
12
10
 
13
11
  export const ImageTooLargeError = createCustomErrorClass("ImageTooLargeError");
14
12
 
15
- export const NFTMetadataLoadingError = createCustomErrorClass("NFTMetadataLoadingError");
16
-
17
13
  export const ImageSizeLoadingError = createCustomErrorClass("ImageSizeLoadingError");
18
14
 
19
15
  export const ImageCropError = createCustomErrorClass("ImageCropError");
@@ -25,6 +25,7 @@ export type GroupedCurrency = {
25
25
  export type CurrenciesByProviderId = {
26
26
  currenciesByNetwork: CryptoOrTokenCurrency[];
27
27
  providerId: string;
28
+ metaCurrencyId?: string;
28
29
  };
29
30
 
30
31
  export type GroupedCurrencies = {
@@ -226,7 +226,8 @@ const DEFAULT_SWAP_PROVIDERS: Record<string, ProviderConfig & Partial<Additional
226
226
  };
227
227
 
228
228
  export const dexProvidersContractAddress: { [key: string]: string } = {
229
- "0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD": "Uniswap",
229
+ "0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad": "Uniswap",
230
+ "0x111111125421ca6dc452d289314280a0f8842a65": "1inch",
230
231
  };
231
232
 
232
233
  export const termsOfUse: { [key: string]: string } = {
@@ -111,6 +111,7 @@ export const DEFAULT_FEATURES: Features = {
111
111
  ptxServiceCtaExchangeDrawer: DEFAULT_FEATURE,
112
112
  ptxServiceCtaScreens: DEFAULT_FEATURE,
113
113
  ptxSwapReceiveTRC20WithoutTrx: DEFAULT_FEATURE,
114
+ ptxSwapconfirmSwapOnDevice: DEFAULT_FEATURE,
114
115
  disableNftLedgerMarket: DEFAULT_FEATURE,
115
116
  disableNftRaribleOpensea: DEFAULT_FEATURE,
116
117
  disableNftSend: DEFAULT_FEATURE,
@@ -465,13 +466,7 @@ export const DEFAULT_FEATURES: Features = {
465
466
  ptxSwapExodusProvider: DEFAULT_FEATURE,
466
467
 
467
468
  myLedgerDisplayAppDeveloperName: DEFAULT_FEATURE,
468
- nftsFromSimplehash: {
469
- ...DEFAULT_FEATURE,
470
- params: {
471
- threshold: 75,
472
- staleTime: 1000 * 60 * 15,
473
- },
474
- },
469
+
475
470
  marketperformanceWidgetDesktop: {
476
471
  enabled: false,
477
472
  params: {
@@ -498,7 +493,6 @@ export const DEFAULT_FEATURES: Features = {
498
493
  refreshTime: 3, //nb minutes
499
494
  },
500
495
  },
501
- spamReportNfts: DEFAULT_FEATURE,
502
496
  lldWalletSync: {
503
497
  ...DEFAULT_FEATURE,
504
498
  params: {
@@ -515,13 +509,9 @@ export const DEFAULT_FEATURES: Features = {
515
509
  learnMoreLink: "",
516
510
  },
517
511
  },
518
- lldNftsGalleryNewArch: DEFAULT_FEATURE,
519
- lldnewArchOrdinals: DEFAULT_FEATURE,
520
512
  enableAppsBackup: DEFAULT_FEATURE,
521
513
  web3hub: DEFAULT_FEATURE,
522
514
  llmMarketQuickActions: DEFAULT_FEATURE,
523
- spamFilteringTx: DEFAULT_FEATURE,
524
- lldSpamFilteringTx: DEFAULT_FEATURE,
525
515
  llmMemoTag: DEFAULT_FEATURE,
526
516
  lldMemoTag: DEFAULT_FEATURE,
527
517
  ldmkTransport: {
@@ -602,8 +592,6 @@ export const DEFAULT_FEATURES: Features = {
602
592
  },
603
593
  llmThai: DEFAULT_FEATURE,
604
594
  lldThai: DEFAULT_FEATURE,
605
- lldSolanaNfts: DEFAULT_FEATURE,
606
- llmSolanaNfts: DEFAULT_FEATURE,
607
595
  largemoverLandingpage: DEFAULT_FEATURE,
608
596
  llmMmkvMigration: {
609
597
  ...DEFAULT_FEATURE,
@@ -639,7 +627,6 @@ export const DEFAULT_FEATURES: Features = {
639
627
  backendEnvironment: "PROD",
640
628
  },
641
629
  },
642
- llNftSupport: DEFAULT_FEATURE,
643
630
  llNftEntryPoint: {
644
631
  ...DEFAULT_FEATURE,
645
632
  params: {
@@ -1,6 +1,7 @@
1
1
  export const expectedAssetsSorted = [
2
2
  {
3
3
  id: "bitcoin",
4
+ metaCurrencyId: "bitcoin",
4
5
  ticker: "BTC",
5
6
  name: "Bitcoin",
6
7
  assetsIds: {
@@ -9,6 +10,7 @@ export const expectedAssetsSorted = [
9
10
  },
10
11
  {
11
12
  id: "ethereum",
13
+ metaCurrencyId: "urn:crypto:meta-currency:ethereum",
12
14
  ticker: "ETH",
13
15
  name: "Ethereum",
14
16
  assetsIds: {
@@ -26,6 +28,7 @@ export const expectedAssetsSorted = [
26
28
  },
27
29
  {
28
30
  id: "ripple",
31
+ metaCurrencyId: "ripple",
29
32
  ticker: "XRP",
30
33
  name: "Ripple",
31
34
  assetsIds: {
@@ -34,6 +37,7 @@ export const expectedAssetsSorted = [
34
37
  },
35
38
  {
36
39
  id: "ethereum/erc20/usd_tether__erc20_",
40
+ metaCurrencyId: "urn:crypto:meta-currency:tether",
37
41
  ticker: "USDT",
38
42
  name: "Tether USD",
39
43
  assetsIds: {
@@ -57,6 +61,7 @@ export const expectedAssetsSorted = [
57
61
  },
58
62
  {
59
63
  id: "bsc",
64
+ metaCurrencyId: "urn:crypto:meta-currency:binancecoin",
60
65
  ticker: "BNB",
61
66
  name: "Binance Smart Chain",
62
67
  assetsIds: {
@@ -67,6 +72,7 @@ export const expectedAssetsSorted = [
67
72
  },
68
73
  {
69
74
  id: "solana",
75
+ metaCurrencyId: "solana",
70
76
  ticker: "SOL",
71
77
  name: "Solana",
72
78
  assetsIds: {
@@ -75,6 +81,7 @@ export const expectedAssetsSorted = [
75
81
  },
76
82
  {
77
83
  id: "ethereum/erc20/usd__coin",
84
+ metaCurrencyId: "urn:crypto:meta-currency:usd_coin",
78
85
  ticker: "USDC",
79
86
  name: "USD Coin",
80
87
  assetsIds: {
@@ -104,6 +111,7 @@ export const expectedAssetsSorted = [
104
111
  },
105
112
  {
106
113
  id: "ethereum/erc20/steth",
114
+ metaCurrencyId: "ethereum/erc20/steth",
107
115
  ticker: "stETH",
108
116
  name: "LIDO Staked ETH",
109
117
  assetsIds: {
@@ -112,6 +120,7 @@ export const expectedAssetsSorted = [
112
120
  },
113
121
  {
114
122
  id: "tron",
123
+ metaCurrencyId: "tron",
115
124
  ticker: "TRX",
116
125
  name: "Tron",
117
126
  assetsIds: {
@@ -120,6 +129,7 @@ export const expectedAssetsSorted = [
120
129
  },
121
130
  {
122
131
  id: "dogecoin",
132
+ metaCurrencyId: "dogecoin",
123
133
  ticker: "DOGE",
124
134
  name: "Dogecoin",
125
135
  assetsIds: {