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

@exodus/currency

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/currency - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

lib/util.js

5

CHANGELOG.md

@@ -0,1 +1,6 @@

0.1.2 / 2018-11-14
------------------
- explicitly support numbers represented as hex strings
0.1.1 / 2018-11-11

@@ -2,0 +7,0 @@ ------------------

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

var _util = require("./util");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -39,2 +41,6 @@

if (typeof num === 'string' && num.startsWith('0x')) {
num = (0, _util.hexToNum)(num);
}
this._number = (0, _bigRational.default)(num);

@@ -41,0 +47,0 @@ this.unit = unit;

2

package.json
{
"name": "@exodus/currency",
"version": "0.1.1",
"version": "0.1.2",
"description": "Currency support.",

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

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