@ellipticltd/aml-utils 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -138,7 +138,7 @@ const validations = {
138
138
  isAddress(str) {
139
139
  const network =
140
140
  process.env.BITCOIN_NETWORK === 'testnet' ? 'testnet' : 'livenet';
141
- return addressValidator(str, network);
141
+ return addressValidator.validate(str.trim(), 'BTC', network);
142
142
  },
143
143
  isHDPublicKey(str) {
144
144
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ellipticltd/aml-utils",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Utilities, helpers, validations, type-checking, etc",
5
5
  "engines": {
6
6
  "node": "10.1.0",