Updated dist files.

This commit is contained in:
Richard Moore 2019-12-21 01:09:18 -05:00
parent 20f34f1ba9
commit 7250cdcd31
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
10 changed files with 29 additions and 10 deletions

@ -1,6 +1,11 @@
CHANGELOG CHANGELOG
========= =========
ethers/v4.0.41 (2019-12-21 01:05)
---------------------------------
- Added proper support for v0.6 Solidity JSON type ([#688](https://github.com/ethers-io/ethers.js/issues/688); [20f34f1](https://github.com/ethers-io/ethers.js/commit/20f34f1ba9c698d1731cb12c5de1822ad462fd7f)).
ethers/v4.0.40 (2019-11-24 19:58) ethers/v4.0.40 (2019-11-24 19:58)
--------------------------------- ---------------------------------

2
_version.d.ts vendored

@ -1 +1 @@
export declare const version = "4.0.40"; export declare const version = "4.0.41";

@ -1,3 +1,3 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "4.0.40"; exports.version = "4.0.41";

11
dist/ethers.js vendored

@ -1,7 +1,7 @@
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ethers = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ethers = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "4.0.40"; exports.version = "4.0.41";
},{}],2:[function(require,module,exports){ },{}],2:[function(require,module,exports){
"use strict"; "use strict";
@ -14836,12 +14836,19 @@ function addMethod(method) {
case 'function': { case 'function': {
var signature = abi_coder_1.formatSignature(method).replace(/tuple/g, ''); var signature = abi_coder_1.formatSignature(method).replace(/tuple/g, '');
var sighash = hash_1.id(signature).substring(0, 10); var sighash = hash_1.id(signature).substring(0, 10);
var isConst = false;
if (method.constant != null) {
isConst = method.constant;
}
else if (method.stateMutability != null) {
isConst = (method.stateMutability == "view" || method.stateMutability == "pure");
}
var description = new _FunctionDescription({ var description = new _FunctionDescription({
inputs: method.inputs, inputs: method.inputs,
outputs: method.outputs, outputs: method.outputs,
gas: method.gas, gas: method.gas,
payable: (method.payable == null || !!method.payable), payable: (method.payable == null || !!method.payable),
type: ((method.constant) ? 'call' : 'transaction'), type: (isConst ? 'call' : 'transaction'),
name: method.name, name: method.name,
signature: signature, signature: signature,
sighash: sighash, sighash: sighash,

2
dist/ethers.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -266,7 +266,7 @@ declare module 'ethers/utils/shims' {
} }
declare module 'ethers/_version' { declare module 'ethers/_version' {
export const version = "4.0.40"; export const version = "4.0.41";
} }
declare module 'ethers/utils/bignumber' { declare module 'ethers/utils/bignumber' {

@ -1,6 +1,6 @@
{ {
"name": "ethers", "name": "ethers",
"version": "4.0.40", "version": "4.0.41",
"description": "Ethereum wallet library.", "description": "Ethereum wallet library.",
"main": "./index.js", "main": "./index.js",
"types": "./index.d.ts", "types": "./index.d.ts",

@ -1 +1 @@
export const version = "4.0.40"; export const version = "4.0.41";

@ -243,12 +243,19 @@ function addMethod(method) {
case 'function': { case 'function': {
var signature = abi_coder_1.formatSignature(method).replace(/tuple/g, ''); var signature = abi_coder_1.formatSignature(method).replace(/tuple/g, '');
var sighash = hash_1.id(signature).substring(0, 10); var sighash = hash_1.id(signature).substring(0, 10);
var isConst = false;
if (method.constant != null) {
isConst = method.constant;
}
else if (method.stateMutability != null) {
isConst = (method.stateMutability == "view" || method.stateMutability == "pure");
}
var description = new _FunctionDescription({ var description = new _FunctionDescription({
inputs: method.inputs, inputs: method.inputs,
outputs: method.outputs, outputs: method.outputs,
gas: method.gas, gas: method.gas,
payable: (method.payable == null || !!method.payable), payable: (method.payable == null || !!method.payable),
type: ((method.constant) ? 'call' : 'transaction'), type: (isConst ? 'call' : 'transaction'),
name: method.name, name: method.name,
signature: signature, signature: signature,
sighash: sighash, sighash: sighash,