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

@ledgerhq/common

Package Overview
Dependencies
Maintainers
7
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/common - npm Package Compare versions

Comparing version 2.2.0-beta.9d29a5c6 to 2.3.0

3

lib/data/currency.js

@@ -24,2 +24,4 @@ "use strict";

console.warn("DEPRECATED: @ledgerhq/common/lib/data/currency : use @ledgerhq/currencies instead");
// This define utility to deal with currencies, units, countervalues

@@ -36,2 +38,3 @@

}
function getFiatUnit(fiat) {

@@ -38,0 +41,0 @@ var unit = _fiatUnits2.default[fiat];

3

lib/data/fiat-units.js

@@ -7,3 +7,5 @@ "use strict";

console.warn("DEPRECATED: @ledgerhq/common/lib/data/fiat-units : use @ledgerhq/currencies instead");
// inspired by https://github.com/smirzaei/currency-formatter/blob/master/currencies.json
var units = {

@@ -216,3 +218,2 @@ AED: { name: "Emirati Dirham", code: "AED", symbol: "د.إ.‏", magnitude: 2 },

};
for (var u in units) {

@@ -219,0 +220,0 @@ units[u].showAllDigits = true;

{
"name": "@ledgerhq/common",
"version": "2.2.0-beta.9d29a5c6",
"version": "2.3.0",
"description": "Ledger Hardware Wallet Common",

@@ -5,0 +5,0 @@ "keywords": [

<img src="https://user-images.githubusercontent.com/211411/34776833-6f1ef4da-f618-11e7-8b13-f0697901d6a8.png" height="100" />
## @ledgerhq/hw-common
## @ledgerhq/common

@@ -5,0 +5,0 @@ Library for Ledger Hardware Wallets.

@@ -5,2 +5,6 @@ //@flow

console.warn(
"DEPRECATED: @ledgerhq/common/lib/data/currency : use @ledgerhq/currencies instead"
);
// This define utility to deal with currencies, units, countervalues

@@ -7,0 +11,0 @@

//@flow
import type { Unit } from "./types";
console.warn(
"DEPRECATED: @ledgerhq/common/lib/data/fiat-units : use @ledgerhq/currencies instead"
);
// inspired by https://github.com/smirzaei/currency-formatter/blob/master/currencies.json

@@ -4,0 +7,0 @@ const units: { [key: string]: Unit } = {

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