@xchainjs/xchain-util
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -1,3 +0,7 @@ | ||
# v.x.x.x | ||
# v.0.2.4 (2021-03-01) | ||
### Update | ||
- Update `chainToString` to support Bitcoin cash. | ||
# v.0.2.3 (2021-02-09) | ||
@@ -4,0 +8,0 @@ |
@@ -15,2 +15,2 @@ import { Chain } from './types'; | ||
*/ | ||
export declare const chainToString: (chainId: Chain) => "Thorchain" | "Bitcoin" | "Litecoin" | "Ethereum" | "Binance Chain" | "Cosmos" | "Polkadot" | "unknown chain"; | ||
export declare const chainToString: (chainId: Chain) => "Thorchain" | "Bitcoin" | "Bitcoin Cash" | "Litecoin" | "Ethereum" | "Binance Chain" | "Cosmos" | "Polkadot" | "unknown chain"; |
@@ -182,2 +182,4 @@ import BigNumber from 'bignumber.js'; | ||
return 'Bitcoin'; | ||
case 'BCH': | ||
return 'Bitcoin Cash'; | ||
case 'LTC': | ||
@@ -184,0 +186,0 @@ return 'Litecoin'; |
@@ -190,2 +190,4 @@ 'use strict'; | ||
return 'Bitcoin'; | ||
case 'BCH': | ||
return 'Bitcoin Cash'; | ||
case 'LTC': | ||
@@ -192,0 +194,0 @@ return 'Litecoin'; |
{ | ||
"name": "@xchainjs/xchain-util", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Helper utilities for XChain clients", | ||
@@ -41,14 +41,3 @@ "keywords": [ | ||
"access": "public" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{js,ts}": [ | ||
"yarn lint", | ||
"git add" | ||
] | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
110934
1550
0