Updated dist files.

This commit is contained in:
Richard Moore 2020-04-21 23:17:53 -04:00
parent fab14f8f5a
commit 427e16826e
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
11 changed files with 18 additions and 10 deletions

View File

@ -1,6 +1,12 @@
CHANGELOG
=========
ethers/v4.0.47 (2020-04-21 23:15)
---------------------------------
- Fixed typo in error message. ([#778](https://github.com/ethers-io/ethers.js/issues/778); [fab14f8](https://github.com/ethers-io/ethers.js/commit/fab14f8f5a16091810bbe4d35f38e0b976adab7c)).
- Allow receive type in ABI without warning. ([#746](https://github.com/ethers-io/ethers.js/issues/746); [e8c89d7](https://github.com/ethers-io/ethers.js/commit/e8c89d7ca9cea6e20281f614c4fb22f180114622)).
ethers/v4.0.46 (2020-03-14 16:56)
---------------------------------

2
_version.d.ts vendored
View File

@ -1 +1 @@
export declare const version = "4.0.46";
export declare const version = "4.0.47";

View File

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

5
dist/ethers.js vendored
View File

@ -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){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "4.0.46";
exports.version = "4.0.47";
},{}],2:[function(require,module,exports){
"use strict";
@ -12901,7 +12901,7 @@ var CoderAddress = /** @class */ (function (_super) {
};
CoderAddress.prototype.decode = function (data, offset) {
if (data.length < offset + 32) {
errors.throwError('insufficuent data for address type', errors.INVALID_ARGUMENT, {
errors.throwError('insufficient data for address type', errors.INVALID_ARGUMENT, {
arg: this.localName,
coderType: 'address',
value: bytes_1.hexlify(data.slice(offset, offset + 32))
@ -14936,6 +14936,7 @@ function addMethod(method) {
}
break;
}
case "receive":
case 'fallback':
// Nothing to do for fallback
break;

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

View File

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

View File

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

View File

@ -1 +1 @@
export const version = "4.0.46";
export const version = "4.0.47";

View File

@ -514,7 +514,7 @@ var CoderAddress = /** @class */ (function (_super) {
};
CoderAddress.prototype.decode = function (data, offset) {
if (data.length < offset + 32) {
errors.throwError('insufficuent data for address type', errors.INVALID_ARGUMENT, {
errors.throwError('insufficient data for address type', errors.INVALID_ARGUMENT, {
arg: this.localName,
coderType: 'address',
value: bytes_1.hexlify(data.slice(offset, offset + 32))

View File

@ -294,6 +294,7 @@ function addMethod(method) {
}
break;
}
case "receive":
case 'fallback':
// Nothing to do for fallback
break;