Updated dist files.

This commit is contained in:
Richard Moore 2018-09-20 11:58:46 -04:00
parent 9d04f2c1eb
commit 829a56cc79
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295
9 changed files with 28 additions and 11 deletions

View File

@ -4872,6 +4872,7 @@ var utils = (function() {
getAddress: require('../utils/address').getAddress,
concat: convert.concat,
isHexString: convert.isHexString,
toUtf8Bytes: utf8.toUtf8Bytes,
toUtf8String: utf8.toUtf8String,
@ -5266,6 +5267,9 @@ var coderFixedBytes = function(coerceFunc, length, localName) {
name: name,
type: name,
encode: function(value) {
if (utils.isHexString(value) && (value.length % 2) !== 0) {
throw new Error('hex string cannot be odd-length');
}
try {
value = utils.arrayify(value);

File diff suppressed because one or more lines are too long

View File

@ -5074,6 +5074,7 @@ var utils = (function() {
getAddress: require('../utils/address').getAddress,
concat: convert.concat,
isHexString: convert.isHexString,
toUtf8Bytes: utf8.toUtf8Bytes,
toUtf8String: utf8.toUtf8String,
@ -5468,6 +5469,9 @@ var coderFixedBytes = function(coerceFunc, length, localName) {
name: name,
type: name,
encode: function(value) {
if (utils.isHexString(value) && (value.length % 2) !== 0) {
throw new Error('hex string cannot be odd-length');
}
try {
value = utils.arrayify(value);

File diff suppressed because one or more lines are too long

View File

@ -9159,6 +9159,7 @@ var utils = (function() {
getAddress: require('../utils/address').getAddress,
concat: convert.concat,
isHexString: convert.isHexString,
toUtf8Bytes: utf8.toUtf8Bytes,
toUtf8String: utf8.toUtf8String,
@ -9553,6 +9554,9 @@ var coderFixedBytes = function(coerceFunc, length, localName) {
name: name,
type: name,
encode: function(value) {
if (utils.isHexString(value) && (value.length % 2) !== 0) {
throw new Error('hex string cannot be odd-length');
}
try {
value = utils.arrayify(value);

File diff suppressed because one or more lines are too long

6
dist/ethers.js vendored
View File

@ -9927,7 +9927,7 @@ uuid.unparse = unparse;
module.exports = uuid;
},{"./rng":44}],46:[function(require,module,exports){
module.exports={"version":"3.0.27"}
module.exports={"version":"3.0.28"}
},{}],47:[function(require,module,exports){
'use strict';
@ -12046,6 +12046,7 @@ var utils = (function() {
getAddress: require('../utils/address').getAddress,
concat: convert.concat,
isHexString: convert.isHexString,
toUtf8Bytes: utf8.toUtf8Bytes,
toUtf8String: utf8.toUtf8String,
@ -12440,6 +12441,9 @@ var coderFixedBytes = function(coerceFunc, length, localName) {
name: name,
type: name,
encode: function(value) {
if (utils.isHexString(value) && (value.length % 2) !== 0) {
throw new Error('hex string cannot be odd-length');
}
try {
value = utils.arrayify(value);

8
dist/ethers.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "ethers",
"version": "3.0.27",
"version": "3.0.28",
"description": "Ethereum wallet library.",
"main": "index.js",
"scripts": {