@ledgerhq/cryptoassets
Advanced tools
Comparing version 11.0.0 to 11.0.1-hotfix.0
# @ledgerhq/cryptoassets | ||
## 11.0.1-hotfix.0 | ||
### Patch Changes | ||
- [#5115](https://github.com/LedgerHQ/ledger-live/pull/5115) [`fbeebfe04b`](https://github.com/LedgerHQ/ledger-live/commit/fbeebfe04b297b33ec258440b694cdfb6213af24) Thanks [@lambertkevin](https://github.com/lambertkevin)! - Reordering bsc & binance_beacon_chain to avoid errors while sorting by market cap due to token collision | ||
## 11.0.0 | ||
@@ -4,0 +10,0 @@ |
import type { CryptoCurrency, TokenCurrency } from "@ledgerhq/types-cryptoassets"; | ||
import { BEP20Token } from "./data/bep20"; | ||
import { ERC20Token } from "./data/erc20"; | ||
@@ -44,3 +45,4 @@ import { PolygonERC20Token } from "./data/polygon-erc20"; | ||
export declare function convertERC20([parentCurrencyId, token, ticker, magnitude, name, ledgerSignature, contractAddress, disableCountervalue, delisted,]: ERC20Token | PolygonERC20Token): TokenCurrency; | ||
export declare function convertBEP20([parentCurrencyId, token, ticker, magnitude, name, ledgerSignature, contractAddress, disableCountervalue, delisted,]: BEP20Token): TokenCurrency; | ||
export {}; | ||
//# sourceMappingURL=tokens.d.ts.map |
@@ -220,3 +220,3 @@ import { getCryptoCurrencyById } from "./currencies"; | ||
} | ||
function convertBEP20([parentCurrencyId, token, ticker, magnitude, name, ledgerSignature, contractAddress, disableCountervalue, delisted,]) { | ||
export function convertBEP20([parentCurrencyId, token, ticker, magnitude, name, ledgerSignature, contractAddress, disableCountervalue, delisted,]) { | ||
const parentCurrency = getCryptoCurrencyById(parentCurrencyId); | ||
@@ -223,0 +223,0 @@ return { |
import type { CryptoCurrency, TokenCurrency } from "@ledgerhq/types-cryptoassets"; | ||
import { BEP20Token } from "./data/bep20"; | ||
import { ERC20Token } from "./data/erc20"; | ||
@@ -44,3 +45,4 @@ import { PolygonERC20Token } from "./data/polygon-erc20"; | ||
export declare function convertERC20([parentCurrencyId, token, ticker, magnitude, name, ledgerSignature, contractAddress, disableCountervalue, delisted,]: ERC20Token | PolygonERC20Token): TokenCurrency; | ||
export declare function convertBEP20([parentCurrencyId, token, ticker, magnitude, name, ledgerSignature, contractAddress, disableCountervalue, delisted,]: BEP20Token): TokenCurrency; | ||
export {}; | ||
//# sourceMappingURL=tokens.d.ts.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.convertERC20 = exports.addTokens = exports.getTokenById = exports.hasTokenId = exports.findTokenByAddressInCurrency = exports.findTokenByAddress = exports.findTokenById = exports.findTokenByTicker = exports.listTokenTypesForCryptoCurrency = exports.listTokensForCryptoCurrency = exports.listTokens = exports.__clearAllLists = exports.createTokenHash = void 0; | ||
exports.convertBEP20 = exports.convertERC20 = exports.addTokens = exports.getTokenById = exports.hasTokenId = exports.findTokenByAddressInCurrency = exports.findTokenByAddress = exports.findTokenById = exports.findTokenByTicker = exports.listTokenTypesForCryptoCurrency = exports.listTokensForCryptoCurrency = exports.listTokens = exports.__clearAllLists = exports.createTokenHash = void 0; | ||
const currencies_1 = require("./currencies"); | ||
@@ -262,2 +262,3 @@ const asa_1 = __importDefault(require("./data/asa")); | ||
} | ||
exports.convertBEP20 = convertBEP20; | ||
function convertAlgorandASATokens([id, abbr, name, contractAddress, precision, enableCountervalues,]) { | ||
@@ -264,0 +265,0 @@ return { |
{ | ||
"name": "@ledgerhq/cryptoassets", | ||
"version": "11.0.0", | ||
"version": "11.0.1-hotfix.0", | ||
"description": "Ledger crypto-assets list", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -267,3 +267,3 @@ import type { CryptoCurrency, TokenCurrency } from "@ledgerhq/types-cryptoassets"; | ||
function convertBEP20([ | ||
export function convertBEP20([ | ||
parentCurrencyId, | ||
@@ -270,0 +270,0 @@ token, |
Sorry, the diff of this file is not supported yet
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 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 too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
40699407
141987
1