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

nanode

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanode - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

6

dist/util/converter.js

@@ -33,7 +33,7 @@ "use strict";

case 'mrai':
return value.shiftedBy(-30).toFixed(15);
return value.shiftedBy(-30).toFixed(15, 1);
case 'krai':
return value.shiftedBy(-27).toFixed(12);
return value.shiftedBy(-27).toFixed(12, 1);
case 'rai':
return value.shiftedBy(-24).toFixed(9);
return value.shiftedBy(-24).toFixed(9, 1);
default:

@@ -40,0 +40,0 @@ throw new Error("Unknown output unit " + output_unit);

{
"name": "nanode",
"version": "2.2.0",
"description": "Dead simple, promise-based client for interacting and building services on top of the NANO network.",
"version": "2.2.1",
"description":
"Dead simple, promise-based client for interacting and building services on top of the NANO network.",
"main": "./dist/index.js",

@@ -6,0 +7,0 @@ "types": "./dist/index.d.ts",

@@ -36,7 +36,7 @@ import BigNumber from 'bignumber.js'

case 'mrai':
return value.shiftedBy(-30).toFixed(15)
return value.shiftedBy(-30).toFixed(15, 1)
case 'krai':
return value.shiftedBy(-27).toFixed(12)
return value.shiftedBy(-27).toFixed(12, 1)
case 'rai':
return value.shiftedBy(-24).toFixed(9)
return value.shiftedBy(-24).toFixed(9, 1)
default:

@@ -43,0 +43,0 @@ throw new Error(`Unknown output unit ${output_unit}`)

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