New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/types-cryptoassets

Package Overview
Dependencies
Maintainers
20
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/types-cryptoassets - npm Package Compare versions

Comparing version 7.1.0 to 7.2.0-nightly.0

6

CHANGELOG.md
# @ledgerhq/types-cryptoassets
## 7.2.0-nightly.0
### Minor Changes
- [#3153](https://github.com/LedgerHQ/ledger-live/pull/3153) [`cec978f36e`](https://github.com/LedgerHQ/ledger-live/commit/cec978f36e5841ce3f8d117530e13902590596c3) Thanks [@lambertkevin](https://github.com/lambertkevin)! - Adding support for new EVM chains, including Layer 2s like Optimism & Arbitrum
## 7.1.0

@@ -4,0 +10,0 @@

18

lib-es/index.d.ts
import { CoinType } from "./slip44";
export declare type CryptoCurrencyId = "aeternity" | "aion" | "akroma" | "algorand" | "ark" | "atheios" | "avalanche_c_chain" | "banano" | "bitcoin" | "bitcoin_cash" | "bitcoin_gold" | "bitcoin_private" | "bsc" | "callisto" | "cardano" | "cardano_testnet" | "celo" | "clubcoin" | "cosmos" | "cosmos_testnet" | "dash" | "decred" | "dexon" | "ellaism" | "dogecoin" | "digibyte" | "energywebchain" | "eos" | "elastos" | "elrond" | "ethereum" | "ethereum_classic" | "ether1" | "ethergem" | "ethersocial" | "expanse" | "factom" | "fic" | "flow" | "game_credits" | "gochain" | "groestlcoin" | "hcash" | "hedera" | "helium" | "hpb" | "hycon" | "icon" | "icp" | "iota" | "juno" | "iov" | "kin" | "komodo" | "kusama" | "lbry" | "litecoin" | "lisk" | "mix" | "monero" | "moonriver" | "musicoin" | "nano" | "nem" | "neo" | "nervos" | "nimiq" | "nix" | "nos" | "ontology" | "particl" | "peercoin" | "pirl" | "pivx" | "poa" | "polkadot" | "polygon" | "poswallet" | "qrl" | "qtum" | "ravencoin" | "ripple" | "rise" | "reosc" | "resistance" | "solana" | "stakenet" | "stratis" | "stealthcoin" | "stellar" | "osmosis" | "shyft" | "tezos" | "thundercore" | "tomo" | "tron" | "ubiq" | "vechain" | "vertcoin" | "viacoin" | "wanchain" | "waves" | "zcash" | "zclassic" | "zcoin" | "zencash" | "zilliqa" | "crypto_org" | "bitcoin_testnet" | "ethereum_ropsten" | "ethereum_goerli" | "stacks" | "crypto_org_croeseid" | "solana_testnet" | "solana_devnet" | "filecoin" | "arbitrum" | "cronos" | "fantom" | "flare" | "songbird" | "moonbeam" | "near";
export type CryptoCurrencyId = "aeternity" | "aion" | "akroma" | "algorand" | "ark" | "atheios" | "avalanche_c_chain" | "banano" | "bitcoin" | "bitcoin_cash" | "bitcoin_gold" | "bitcoin_private" | "bsc" | "callisto" | "cardano" | "cardano_testnet" | "celo" | "clubcoin" | "cosmos" | "cosmos_testnet" | "dash" | "decred" | "dexon" | "ellaism" | "dogecoin" | "digibyte" | "eos" | "elastos" | "elrond" | "ethereum" | "ethereum_classic" | "ether1" | "ethergem" | "ethersocial" | "expanse" | "factom" | "fic" | "flow" | "game_credits" | "gochain" | "groestlcoin" | "hcash" | "hedera" | "helium" | "hpb" | "hycon" | "icon" | "icp" | "iota" | "juno" | "iov" | "kin" | "komodo" | "kusama" | "lbry" | "litecoin" | "lisk" | "mix" | "monero" | "moonriver" | "musicoin" | "nano" | "nem" | "neo" | "nervos" | "nimiq" | "nix" | "nos" | "ontology" | "particl" | "peercoin" | "pirl" | "pivx" | "poa" | "polkadot" | "polygon" | "poswallet" | "qrl" | "qtum" | "ravencoin" | "ripple" | "rise" | "reosc" | "resistance" | "solana" | "stakenet" | "stratis" | "stealthcoin" | "stellar" | "osmosis" | "shyft" | "tezos" | "thundercore" | "tomo" | "tron" | "ubiq" | "vechain" | "vertcoin" | "viacoin" | "wanchain" | "waves" | "zcash" | "zclassic" | "zcoin" | "zencash" | "zilliqa" | "crypto_org" | "bitcoin_testnet" | "ethereum_ropsten" | "ethereum_goerli" | "stacks" | "crypto_org_croeseid" | "solana_testnet" | "solana_devnet" | "filecoin" | "arbitrum" | "arbitrum_goerli" | "cronos" | "fantom" | "flare" | "songbird" | "moonbeam" | "near" | "rsk" | "bittorrent" | "kava_evm" | "evmos_evm" | "optimism" | "optimism_goerli" | "energy_web" | "astar" | "metis" | "boba" | "moonriver" | "velas_evm" | "syscoin";
/**
*
*/
export declare type Unit = {
export type Unit = {
name: string;

@@ -16,3 +16,3 @@ code: string;

*/
declare type CurrencyCommon = {
type CurrencyCommon = {
name: string;

@@ -30,3 +30,3 @@ ticker: string;

*/
export declare type TokenCurrency = CurrencyCommon & {
export type TokenCurrency = CurrencyCommon & {
type: "TokenCurrency";

@@ -42,3 +42,3 @@ id: string;

*/
export declare type FiatCurrency = CurrencyCommon & {
export type FiatCurrency = CurrencyCommon & {
type: "FiatCurrency";

@@ -49,3 +49,3 @@ };

*/
export declare type ExplorerView = {
export type ExplorerView = {
tx?: string;

@@ -58,3 +58,3 @@ address?: string;

*/
export declare type CryptoCurrency = CurrencyCommon & {
export type CryptoCurrency = CurrencyCommon & {
type: "CryptoCurrency";

@@ -99,5 +99,5 @@ id: CryptoCurrencyId | "LBRY" | "groestcoin" | "osmo";

*/
export declare type Currency = FiatCurrency | CryptoCurrency | TokenCurrency;
export declare type CryptoOrTokenCurrency = CryptoCurrency | TokenCurrency;
export type Currency = FiatCurrency | CryptoCurrency | TokenCurrency;
export type CryptoOrTokenCurrency = CryptoCurrency | TokenCurrency;
export { CoinType };
//# sourceMappingURL=index.d.ts.map
import { CoinType } from "./slip44";
export declare type CryptoCurrencyId = "aeternity" | "aion" | "akroma" | "algorand" | "ark" | "atheios" | "avalanche_c_chain" | "banano" | "bitcoin" | "bitcoin_cash" | "bitcoin_gold" | "bitcoin_private" | "bsc" | "callisto" | "cardano" | "cardano_testnet" | "celo" | "clubcoin" | "cosmos" | "cosmos_testnet" | "dash" | "decred" | "dexon" | "ellaism" | "dogecoin" | "digibyte" | "energywebchain" | "eos" | "elastos" | "elrond" | "ethereum" | "ethereum_classic" | "ether1" | "ethergem" | "ethersocial" | "expanse" | "factom" | "fic" | "flow" | "game_credits" | "gochain" | "groestlcoin" | "hcash" | "hedera" | "helium" | "hpb" | "hycon" | "icon" | "icp" | "iota" | "juno" | "iov" | "kin" | "komodo" | "kusama" | "lbry" | "litecoin" | "lisk" | "mix" | "monero" | "moonriver" | "musicoin" | "nano" | "nem" | "neo" | "nervos" | "nimiq" | "nix" | "nos" | "ontology" | "particl" | "peercoin" | "pirl" | "pivx" | "poa" | "polkadot" | "polygon" | "poswallet" | "qrl" | "qtum" | "ravencoin" | "ripple" | "rise" | "reosc" | "resistance" | "solana" | "stakenet" | "stratis" | "stealthcoin" | "stellar" | "osmosis" | "shyft" | "tezos" | "thundercore" | "tomo" | "tron" | "ubiq" | "vechain" | "vertcoin" | "viacoin" | "wanchain" | "waves" | "zcash" | "zclassic" | "zcoin" | "zencash" | "zilliqa" | "crypto_org" | "bitcoin_testnet" | "ethereum_ropsten" | "ethereum_goerli" | "stacks" | "crypto_org_croeseid" | "solana_testnet" | "solana_devnet" | "filecoin" | "arbitrum" | "cronos" | "fantom" | "flare" | "songbird" | "moonbeam" | "near";
export type CryptoCurrencyId = "aeternity" | "aion" | "akroma" | "algorand" | "ark" | "atheios" | "avalanche_c_chain" | "banano" | "bitcoin" | "bitcoin_cash" | "bitcoin_gold" | "bitcoin_private" | "bsc" | "callisto" | "cardano" | "cardano_testnet" | "celo" | "clubcoin" | "cosmos" | "cosmos_testnet" | "dash" | "decred" | "dexon" | "ellaism" | "dogecoin" | "digibyte" | "eos" | "elastos" | "elrond" | "ethereum" | "ethereum_classic" | "ether1" | "ethergem" | "ethersocial" | "expanse" | "factom" | "fic" | "flow" | "game_credits" | "gochain" | "groestlcoin" | "hcash" | "hedera" | "helium" | "hpb" | "hycon" | "icon" | "icp" | "iota" | "juno" | "iov" | "kin" | "komodo" | "kusama" | "lbry" | "litecoin" | "lisk" | "mix" | "monero" | "moonriver" | "musicoin" | "nano" | "nem" | "neo" | "nervos" | "nimiq" | "nix" | "nos" | "ontology" | "particl" | "peercoin" | "pirl" | "pivx" | "poa" | "polkadot" | "polygon" | "poswallet" | "qrl" | "qtum" | "ravencoin" | "ripple" | "rise" | "reosc" | "resistance" | "solana" | "stakenet" | "stratis" | "stealthcoin" | "stellar" | "osmosis" | "shyft" | "tezos" | "thundercore" | "tomo" | "tron" | "ubiq" | "vechain" | "vertcoin" | "viacoin" | "wanchain" | "waves" | "zcash" | "zclassic" | "zcoin" | "zencash" | "zilliqa" | "crypto_org" | "bitcoin_testnet" | "ethereum_ropsten" | "ethereum_goerli" | "stacks" | "crypto_org_croeseid" | "solana_testnet" | "solana_devnet" | "filecoin" | "arbitrum" | "arbitrum_goerli" | "cronos" | "fantom" | "flare" | "songbird" | "moonbeam" | "near" | "rsk" | "bittorrent" | "kava_evm" | "evmos_evm" | "optimism" | "optimism_goerli" | "energy_web" | "astar" | "metis" | "boba" | "moonriver" | "velas_evm" | "syscoin";
/**
*
*/
export declare type Unit = {
export type Unit = {
name: string;

@@ -16,3 +16,3 @@ code: string;

*/
declare type CurrencyCommon = {
type CurrencyCommon = {
name: string;

@@ -30,3 +30,3 @@ ticker: string;

*/
export declare type TokenCurrency = CurrencyCommon & {
export type TokenCurrency = CurrencyCommon & {
type: "TokenCurrency";

@@ -42,3 +42,3 @@ id: string;

*/
export declare type FiatCurrency = CurrencyCommon & {
export type FiatCurrency = CurrencyCommon & {
type: "FiatCurrency";

@@ -49,3 +49,3 @@ };

*/
export declare type ExplorerView = {
export type ExplorerView = {
tx?: string;

@@ -58,3 +58,3 @@ address?: string;

*/
export declare type CryptoCurrency = CurrencyCommon & {
export type CryptoCurrency = CurrencyCommon & {
type: "CryptoCurrency";

@@ -99,5 +99,5 @@ id: CryptoCurrencyId | "LBRY" | "groestcoin" | "osmo";

*/
export declare type Currency = FiatCurrency | CryptoCurrency | TokenCurrency;
export declare type CryptoOrTokenCurrency = CryptoCurrency | TokenCurrency;
export type Currency = FiatCurrency | CryptoCurrency | TokenCurrency;
export type CryptoOrTokenCurrency = CryptoCurrency | TokenCurrency;
export { CoinType };
//# sourceMappingURL=index.d.ts.map
"use strict";
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CoinType = void 0;
var slip44_1 = require("./slip44");
exports.CoinType = slip44_1.CoinType;
const slip44_1 = require("./slip44");
Object.defineProperty(exports, "CoinType", { enumerable: true, get: function () { return slip44_1.CoinType; } });
//# sourceMappingURL=index.js.map
"use strict";
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CoinType = void 0;

@@ -4,0 +4,0 @@ // As defined here: https://github.com/satoshilabs/slips/blob/master/slip-0044.md

{
"name": "@ledgerhq/types-cryptoassets",
"version": "7.1.0",
"version": "7.2.0-nightly.0",
"description": "Ledger types for crypto assets and tokens",

@@ -28,7 +28,6 @@ "keywords": [

"jest": "^28.1.1",
"rimraf": "^4.1.2",
"rimraf": "^4.4.1",
"source-map-support": "^0.5.21",
"ts-jest": "^28.0.5",
"ts-node": "^10.4.0",
"typescript": "^4"
"ts-node": "^10.4.0"
},

@@ -35,0 +34,0 @@ "scripts": {

@@ -32,3 +32,2 @@ import { CoinType } from "./slip44";

| "digibyte"
| "energywebchain"
| "eos"

@@ -124,2 +123,3 @@ | "elastos"

| "arbitrum"
| "arbitrum_goerli"
| "cronos"

@@ -130,3 +130,16 @@ | "fantom"

| "moonbeam"
| "near";
| "near"
| "rsk"
| "bittorrent"
| "kava_evm"
| "evmos_evm"
| "optimism"
| "optimism_goerli"
| "energy_web"
| "astar"
| "metis"
| "boba"
| "moonriver"
| "velas_evm"
| "syscoin";

@@ -133,0 +146,0 @@ /**

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

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