@ledgerhq/cryptoassets
Advanced tools
Comparing version 5.47.2 to 5.47.3
@@ -139,3 +139,3 @@ import { listFiatCurrencies, getFiatCurrencyByTicker, hasFiatCurrencyTicker } from "./fiats"; | ||
test("all USDT are countervalue enabled", () => { | ||
const tokens = listTokens().filter(t => t.ticker === "USDT"); | ||
const tokens = listTokens().filter(t => t.ticker === "USDT" && !t.parentCurrency.isTestnetFor); | ||
expect(tokens.map(t => t.id).sort()).toMatchSnapshot(); | ||
@@ -142,0 +142,0 @@ expect(tokens.every(t => t.disableCountervalue === false)).toBe(true); |
@@ -1,2 +0,2 @@ | ||
import { getCryptoCurrencyById, findCryptoCurrencyByTicker } from "./currencies"; | ||
import { getCryptoCurrencyById } from "./currencies"; | ||
import erc20tokens from "../data/erc20"; | ||
@@ -3,0 +3,0 @@ import trc10tokens from "../data/trc10"; |
@@ -144,3 +144,3 @@ "use strict"; | ||
test("all USDT are countervalue enabled", () => { | ||
const tokens = (0, _tokens.listTokens)().filter(t => t.ticker === "USDT"); | ||
const tokens = (0, _tokens.listTokens)().filter(t => t.ticker === "USDT" && !t.parentCurrency.isTestnetFor); | ||
expect(tokens.map(t => t.id).sort()).toMatchSnapshot(); | ||
@@ -147,0 +147,0 @@ expect(tokens.every(t => t.disableCountervalue === false)).toBe(true); |
{ | ||
"name": "@ledgerhq/cryptoassets", | ||
"version": "5.47.2", | ||
"version": "5.47.3", | ||
"description": "Ledger crypto-assets list", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "dec36c24f86953d3bf94ce2c29a194b591ec98e1" | ||
"gitHead": "b0baa13f445384d9b86f898ac72e13cbbaab01a0" | ||
} |
@@ -173,3 +173,5 @@ import { | ||
test("all USDT are countervalue enabled", () => { | ||
const tokens = listTokens().filter((t) => t.ticker === "USDT"); | ||
const tokens = listTokens().filter( | ||
(t) => t.ticker === "USDT" && !t.parentCurrency.isTestnetFor | ||
); | ||
expect(tokens.map((t) => t.id).sort()).toMatchSnapshot(); | ||
@@ -176,0 +178,0 @@ expect(tokens.every((t) => t.disableCountervalue === false)).toBe(true); |
// @flow | ||
import type { TokenCurrency, CryptoCurrency } from "./types"; | ||
import { | ||
getCryptoCurrencyById, | ||
findCryptoCurrencyByTicker, | ||
} from "./currencies"; | ||
import { getCryptoCurrencyById } from "./currencies"; | ||
@@ -8,0 +5,0 @@ import erc20tokens from "../data/erc20"; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2594278
17075