@ellipticltd/aml-utils 0.12.0 → 0.12.1

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.
@@ -301,7 +301,7 @@ const validations = {
301
301
  },
302
302
  tezos: {
303
303
  isAddress(str) {
304
- return addressValidator.validate(str, 'xtz');
304
+ return str[0] !== 'o' && addressValidator.validate(str, 'xtz');
305
305
  },
306
306
  isTxHash(str) {
307
307
  return str.length === 51;
@@ -306,7 +306,7 @@ const validations = {
306
306
  },
307
307
  tezos: {
308
308
  isAddress(str) {
309
- return addressValidator.validate(str, 'xtz');
309
+ return str[0] !== 'o' && addressValidator.validate(str, 'xtz');
310
310
  },
311
311
  isTxHash(str) {
312
312
  return str.length === 51;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ellipticltd/aml-utils",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Utilities, helpers, validations, type-checking, etc",
5
5
  "engines": {
6
6
  "node": "10.1.0",