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

@xchainjs/xchain-util

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xchainjs/xchain-util - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

6

CHANGELOG.md

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

# v.0.2.5 (2021-03-04)
### Breaking change
- Update `formatAssetAmountCurrency` to remove bracket.
# v.0.2.4 (2021-03-01)

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

2

lib/index.esm.js

@@ -528,3 +528,3 @@ import BigNumber from 'bignumber.js';

return AssetCurrencySymbol.USD + " " + amountFormatted;
return amountFormatted + " (" + ticker + ")";
return amountFormatted + " " + ticker;
}

@@ -531,0 +531,0 @@ return "$ " + amountFormatted;

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

return exports.AssetCurrencySymbol.USD + " " + amountFormatted;
return amountFormatted + " (" + ticker + ")";
return amountFormatted + " " + ticker;
}

@@ -534,0 +534,0 @@ return "$ " + amountFormatted;

{
"name": "@xchainjs/xchain-util",
"version": "0.2.4",
"version": "0.2.5",
"description": "Helper utilities for XChain clients",

@@ -5,0 +5,0 @@ "keywords": [

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