Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@ledgerhq/cryptoassets

Package Overview
Dependencies
Maintainers
21
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/cryptoassets - npm Package Compare versions

Comparing version 11.0.0 to 11.0.1-hotfix.0

6

CHANGELOG.md
# @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 @@

2

lib-es/tokens.d.ts
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

2

lib-es/tokens.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc