Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@coingecko/cryptoformat

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coingecko/cryptoformat - npm Package Compare versions

Comparing version
0.6.0
to
0.7.0
+1
-1
lib/cryptoformat.cjs.js

@@ -174,3 +174,3 @@ 'use strict';

let numberFormatOptions = { style: "decimal", notation: "compact", minimumFractionDigits: 0, maximumFractionDigits: 2 };
let numberFormatOptions = { style: "decimal", notation: "compact", minimumFractionDigits: 0, maximumFractionDigits: 3 };

@@ -177,0 +177,0 @@ // Currency symbol is supported if currency is Fiat/BTC/ETH.

@@ -170,3 +170,3 @@ // A map of supported currency codes to currency symbols.

let numberFormatOptions = { style: "decimal", notation: "compact", minimumFractionDigits: 0, maximumFractionDigits: 2 };
let numberFormatOptions = { style: "decimal", notation: "compact", minimumFractionDigits: 0, maximumFractionDigits: 3 };

@@ -173,0 +173,0 @@ // Currency symbol is supported if currency is Fiat/BTC/ETH.

@@ -176,3 +176,3 @@ (function (global, factory) {

let numberFormatOptions = { style: "decimal", notation: "compact", minimumFractionDigits: 0, maximumFractionDigits: 2 };
let numberFormatOptions = { style: "decimal", notation: "compact", minimumFractionDigits: 0, maximumFractionDigits: 3 };

@@ -179,0 +179,0 @@ // Currency symbol is supported if currency is Fiat/BTC/ETH.

{
"name": "@coingecko/cryptoformat",
"version": "0.6.0",
"version": "0.7.0",
"description": "Javascript library to format and display cryptocurrencies and fiat",

@@ -5,0 +5,0 @@ "main": "lib/cryptoformat.cjs.js",