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

@coinify/currency

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coinify/currency - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "@coinify/currency",
"version": "1.0.2",
"version": "1.0.3",
"description": "Helper functions for managing amounts in different currencies",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -10,2 +10,3 @@ const CURRENCIES_NOT_DIVIDED_IN_HUNDREDS = {

BTC: 8,
BCH: 8,
ETH: 12 // We use Mwei as lowest subunit for ether because wei (18 decimals) is too much for integer

@@ -20,3 +21,3 @@ };

*/
const CRYPTO_CURRENCIES = [ 'BTC', 'ETH' ];
const CRYPTO_CURRENCIES = [ 'BTC', 'ETH', 'BCH' ];

@@ -23,0 +24,0 @@ /**

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