New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@exodus/models

Package Overview
Dependencies
Maintainers
0
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/models - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

2.2.0 / 2019-08-06
------------------
- Handle `tx.feeAmount` for NEO being a GAS currency
- Remove `fee-estimator`
2.1.1 / 2019-07-26

@@ -2,0 +8,0 @@ ------------------

6

lib/index.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.UtxoCollection = exports.TxSet = exports.Tx = exports.getFeeEstimator = exports.AddressSet = exports.Address = void 0;
exports.UtxoCollection = exports.TxSet = exports.Tx = exports.AddressSet = exports.Address = void 0;

@@ -17,4 +17,2 @@ var _address = _interopRequireDefault(require("./address"));

var _feeEstimator = _interopRequireDefault(require("./utxo-collection/fee-estimator"));
var _utxoCollection = _interopRequireDefault(require("./utxo-collection"));

@@ -28,4 +26,2 @@

exports.AddressSet = AddressSet;
const getFeeEstimator = _feeEstimator.default;
exports.getFeeEstimator = getFeeEstimator;
const Tx = _tx.default;

@@ -32,0 +28,0 @@ exports.Tx = Tx;

@@ -56,2 +56,3 @@ "use strict";

if (String(json.feeAmount).endsWith('BTC')) coinName = 'bitcoin';
if (String(json.feeAmount).endsWith('GAS')) coinName = 'neogas';
tx.feeAmount = parseCurrency(json.feeAmount, coinName);

@@ -58,0 +59,0 @@ } else if (json.feeAmount && !json.coinName && (0, _currency.isNumberUnit)(json.feeAmount)) {

{
"name": "@exodus/models",
"version": "2.1.1",
"version": "2.2.0",
"description": "Exodus models",

@@ -17,4 +17,3 @@ "main": "lib/index.js",

"lodash": "^4.17.11",
"proxy-freeze": "^1.0.0",
"varuint-bitcoin": "^1.1.0"
"proxy-freeze": "^1.0.0"
},

@@ -21,0 +20,0 @@ "devDependencies": {

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