@colony/colony-js-contract-client
Advanced tools
Comparing version 1.5.0 to 1.5.2
@@ -126,2 +126,15 @@ 'use strict'; | ||
} | ||
}, | ||
// Either a valid address, or an empty address to indicate ether | ||
// (0x0 or 0x0000000000000000000000000000000000000000) | ||
tokenAddress: { | ||
validate: function validate(value) { | ||
return (0, _colonyJsUtils.isValidAddress)(value) || (0, _colonyJsUtils.isEmptyHexString)(value); | ||
}, | ||
convertInput: function convertInput(value) { | ||
return value; | ||
}, | ||
convertOutput: function convertOutput(value) { | ||
return value; | ||
} | ||
} | ||
@@ -128,0 +141,0 @@ }; |
{ | ||
"name": "@colony/colony-js-contract-client", | ||
"version": "1.5.0", | ||
"version": "1.5.2", | ||
"description": "Method-like interface for Smart Contracts", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1159264
6119