Updated dist files.

This commit is contained in:
Richard Moore 2019-09-08 02:46:53 -04:00
parent 751793ea25
commit 238fcba83b
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
233 changed files with 496 additions and 328 deletions

View File

@ -3,6 +3,14 @@ Changelog
This change log is managed by `scripts/cmds/update-versions` but may be manually updated.
ethers/v5.0.0-beta.157 (2019-09-08 02:43)
-----------------------------------------
- Fixed getContractAddress for odd-length hex values. ([#572](https://github.com/ethers-io/ethers.js/issues/572); [751793e](https://github.com/ethers-io/ethers.js/commit/751793ea25183d54d7fc4c610a789608f91c062e))
- Fixed typo in error message. ([#592](https://github.com/ethers-io/ethers.js/issues/592); [6f4291f](https://github.com/ethers-io/ethers.js/commit/6f4291f65f0ea20c65fef7fd7b09b4d5bf5f0dcd))
- Fixed typo in error message. ([#580](https://github.com/ethers-io/ethers.js/issues/580); [9c63b4a](https://github.com/ethers-io/ethers.js/commit/9c63b4a7535f423a802bb1c17c325ce968987349))
- Fixed typo in error message. ([#574](https://github.com/ethers-io/ethers.js/issues/574); [22a2673](https://github.com/ethers-io/ethers.js/commit/22a26736cc332fe6e896c9d2707cc99ceee2fb10))
ethers/v5.0.0-beta.156 (2019-09-06 17:56)
-----------------------------------------

View File

@ -1,6 +1,10 @@
{
"name": "root",
"private": true,
"repository": {
"type": "git",
"url": "git://github.com/ethers-io/ethers.js.git"
},
"scripts": {
"auto-build": "node ./admin/cmds/reset-build.js && npm run build -- -w",
"bootstrap": "node ./admin/cmds/reset-build.js && node ./admin/cmds/update-depgraph && lerna bootstrap --hoist",

View File

@ -1 +1 @@
export declare const version = "abi/5.0.0-beta.136";
export declare const version = "abi/5.0.0-beta.138";

View File

@ -1 +1 @@
export const version = "abi/5.0.0-beta.136";
export const version = "abi/5.0.0-beta.138";

View File

@ -1 +1 @@
export declare const version = "abi/5.0.0-beta.136";
export declare const version = "abi/5.0.0-beta.138";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abi/5.0.0-beta.136";
exports.version = "abi/5.0.0-beta.138";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/abi",
"version": "5.0.0-beta.137",
"version": "5.0.0-beta.138",
"description": "Utilities and Classes for parsing, formatting and managing Ethereum ABIs.",
"main": "./lib/index.js",
"scripts": {
@ -32,5 +32,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x2586b6ca7027e4b47caf53887eae7d3aca64570fb72bcb495838b883be6580f3"
"ethereum": "donations.ethers.eth",
"tarballHash": "0x5e1963373faf7c7d4b96c86bdec37c60fd1f5d6eb5665e7c3840be2208b3a255"
}

View File

@ -1 +1 @@
export const version = "abi/5.0.0-beta.136";
export const version = "abi/5.0.0-beta.138";

View File

@ -1 +1 @@
export declare const version = "abstract-provider/5.0.0-beta.130";
export declare const version = "abstract-provider/5.0.0-beta.132";

View File

@ -1 +1 @@
export const version = "abstract-provider/5.0.0-beta.130";
export const version = "abstract-provider/5.0.0-beta.132";

View File

@ -1 +1 @@
export declare const version = "abstract-provider/5.0.0-beta.130";
export declare const version = "abstract-provider/5.0.0-beta.132";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-provider/5.0.0-beta.130";
exports.version = "abstract-provider/5.0.0-beta.132";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/abstract-provider",
"version": "5.0.0-beta.131",
"version": "5.0.0-beta.132",
"description": "An Abstract Class for describing an Ethereum Provider for ethers.",
"main": "./lib/index.js",
"scripts": {
@ -30,5 +30,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x2beb1736c2a9c8023e74c415353bff10587ae1dc49240ec5dc2620171899f2e6"
"ethereum": "donations.ethers.eth",
"tarballHash": "0xfe1ea4243bd19b249c58f4c57671bc9d824cc69c0d012dd4fd884aa0947b23b8"
}

View File

@ -1 +1 @@
export const version = "abstract-provider/5.0.0-beta.130";
export const version = "abstract-provider/5.0.0-beta.132";

View File

@ -1 +1 @@
export declare const version = "abstract-signer/5.0.0-beta.131";
export declare const version = "abstract-signer/5.0.0-beta.133";

View File

@ -1 +1 @@
export const version = "abstract-signer/5.0.0-beta.131";
export const version = "abstract-signer/5.0.0-beta.133";

View File

@ -1 +1 @@
export declare const version = "abstract-signer/5.0.0-beta.131";
export declare const version = "abstract-signer/5.0.0-beta.133";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-signer/5.0.0-beta.131";
exports.version = "abstract-signer/5.0.0-beta.133";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/abstract-signer",
"version": "5.0.0-beta.132",
"version": "5.0.0-beta.133",
"description": "An Abstract Class for desribing an Ethereum Signer for ethers.",
"main": "./lib/index.js",
"scripts": {
@ -28,5 +28,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x29ac3c562b144556a1971d8997ddf92f58733e61d15f78c24fc6e0a7ce4e9b28"
"ethereum": "donations.ethers.eth",
"tarballHash": "0xf98fa14848f5bdbd8449d0feba3b2a7b229fc59af6673b7ce20d3aa78a595385"
}

View File

@ -1 +1 @@
export const version = "abstract-signer/5.0.0-beta.131";
export const version = "abstract-signer/5.0.0-beta.133";

View File

@ -1 +1 @@
export declare const version = "address/5.0.0-beta.127";
export declare const version = "address/5.0.0-beta.129";

View File

@ -1 +1 @@
export const version = "address/5.0.0-beta.127";
export const version = "address/5.0.0-beta.129";

View File

@ -2,6 +2,7 @@
// We use this for base 36 maths
import { BN } from "bn.js";
import { arrayify, hexDataSlice, isHexString, stripZeros } from "@ethersproject/bytes";
import { BigNumber } from "@ethersproject/bignumber";
import { keccak256 } from "@ethersproject/keccak256";
import { encode } from "@ethersproject/rlp";
import { Logger } from "@ethersproject/logger";
@ -123,6 +124,6 @@ export function getContractAddress(transaction) {
catch (error) {
logger.throwArgumentError("missing from address", "transaction", transaction);
}
let nonce = stripZeros(arrayify(transaction.nonce));
let nonce = stripZeros(arrayify(BigNumber.from(transaction.nonce).toHexString()));
return getAddress(hexDataSlice(keccak256(encode([from, nonce])), 12));
}

View File

@ -1 +1 @@
export declare const version = "address/5.0.0-beta.127";
export declare const version = "address/5.0.0-beta.129";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "address/5.0.0-beta.127";
exports.version = "address/5.0.0-beta.129";

View File

@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
// We use this for base 36 maths
var bn_js_1 = require("bn.js");
var bytes_1 = require("@ethersproject/bytes");
var bignumber_1 = require("@ethersproject/bignumber");
var keccak256_1 = require("@ethersproject/keccak256");
var rlp_1 = require("@ethersproject/rlp");
var logger_1 = require("@ethersproject/logger");
@ -127,7 +128,7 @@ function getContractAddress(transaction) {
catch (error) {
logger.throwArgumentError("missing from address", "transaction", transaction);
}
var nonce = bytes_1.stripZeros(bytes_1.arrayify(transaction.nonce));
var nonce = bytes_1.stripZeros(bytes_1.arrayify(bignumber_1.BigNumber.from(transaction.nonce).toHexString()));
return getAddress(bytes_1.hexDataSlice(keccak256_1.keccak256(rlp_1.encode([from, nonce])), 12));
}
exports.getContractAddress = getContractAddress;

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/address",
"version": "5.0.0-beta.128",
"version": "5.0.0-beta.129",
"description": "Utilities for handling Ethereum Addresses for ethers.",
"main": "./lib/index.js",
"scripts": {
@ -29,5 +29,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x3ca47b90abf21da753646b5b888976f067af8e0afceec65a8523c7f708855c6a"
"ethereum": "donations.ethers.eth",
"tarballHash": "0xa42f8299953f98cc233003c35aa22239f6580eec1e8341bb64d32cae3c35b940"
}

View File

@ -1 +1 @@
export const version = "address/5.0.0-beta.127";
export const version = "address/5.0.0-beta.129";

View File

@ -1 +1 @@
export declare const version = "base64/5.0.0-beta.125";
export declare const version = "base64/5.0.0-beta.127";

View File

@ -1 +1 @@
export const version = "base64/5.0.0-beta.125";
export const version = "base64/5.0.0-beta.127";

View File

@ -1 +1 @@
export declare const version = "base64/5.0.0-beta.125";
export declare const version = "base64/5.0.0-beta.127";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "base64/5.0.0-beta.125";
exports.version = "base64/5.0.0-beta.127";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/base64",
"version": "5.0.0-beta.126",
"version": "5.0.0-beta.127",
"description": "Base64 coder.",
"main": "./lib/index.js",
"browser": "./lib/browser.js",
@ -25,5 +25,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x1b03890d546a6603f6a326246aaa8a9fa0f25fc40c2f4ba5597f7d6196ea8c51"
"ethereum": "donations.ethers.eth",
"tarballHash": "0x55c369035100108a7dc8ada5ca350b7e1be240949680ec780ff1aab2afacc0e3"
}

View File

@ -1 +1 @@
export const version = "base64/5.0.0-beta.125";
export const version = "base64/5.0.0-beta.127";

View File

@ -1 +1 @@
export declare const version = "basex/5.0.0-beta.126";
export declare const version = "basex/5.0.0-beta.128";

View File

@ -1 +1 @@
export const version = "basex/5.0.0-beta.126";
export const version = "basex/5.0.0-beta.128";

View File

@ -1 +1 @@
export declare const version = "basex/5.0.0-beta.126";
export declare const version = "basex/5.0.0-beta.128";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "basex/5.0.0-beta.126";
exports.version = "basex/5.0.0-beta.128";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/basex",
"version": "5.0.0-beta.127",
"version": "5.0.0-beta.128",
"description": "Base-X without Buffer.",
"main": "./lib/index.js",
"scripts": {
@ -25,5 +25,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x9cad634049ece74f8747f53b37b1f46cca4e00a2aac7184fa17eadc4f8675e40"
"ethereum": "donations.ethers.eth",
"tarballHash": "0x78072eb55c841875a7731f3f13b234c784ccddea1f42a9b5f80d4fa5286f7270"
}

View File

@ -1 +1 @@
export const version = "basex/5.0.0-beta.126";
export const version = "basex/5.0.0-beta.128";

View File

@ -1 +1 @@
export declare const version = "bignumber/5.0.0-beta.129";
export declare const version = "bignumber/5.0.0-beta.131";

View File

@ -1 +1 @@
export const version = "bignumber/5.0.0-beta.129";
export const version = "bignumber/5.0.0-beta.131";

View File

@ -1 +1 @@
export declare const version = "bignumber/5.0.0-beta.129";
export declare const version = "bignumber/5.0.0-beta.131";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "bignumber/5.0.0-beta.129";
exports.version = "bignumber/5.0.0-beta.131";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/bignumber",
"version": "5.0.0-beta.130",
"version": "5.0.0-beta.131",
"description": "BigNumber library used in ethers.js.",
"main": "./lib/index.js",
"scripts": {
@ -28,5 +28,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0xcc5966135a40d8007d2916aa352db202de42eeef24197ba94eeb01414232cf41"
"ethereum": "donations.ethers.eth",
"tarballHash": "0xd0afb1583010f0a63ddfab4414bdb204f4c0c51748d3f6f955582e93e54472a3"
}

View File

@ -1 +1 @@
export const version = "bignumber/5.0.0-beta.129";
export const version = "bignumber/5.0.0-beta.131";

View File

@ -1 +1 @@
export declare const version = "bytes/5.0.0-beta.128";
export declare const version = "bytes/5.0.0-beta.130";

View File

@ -1 +1 @@
export const version = "bytes/5.0.0-beta.128";
export const version = "bytes/5.0.0-beta.130";

View File

@ -1 +1 @@
export declare const version = "bytes/5.0.0-beta.128";
export declare const version = "bytes/5.0.0-beta.130";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "bytes/5.0.0-beta.128";
exports.version = "bytes/5.0.0-beta.130";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/bytes",
"version": "5.0.0-beta.129",
"version": "5.0.0-beta.130",
"description": "Bytes utility functions for ethers.",
"main": "./lib/index.js",
"scripts": {
@ -26,5 +26,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0xaedefd50f9571311250bc76aa8698765f69efd5ea43de1ca248ebbf8d34e640e"
"ethereum": "donations.ethers.eth",
"tarballHash": "0xc35d202732f6771f301b01edb0965455b88720138f1cf6e36bb1424900431766"
}

View File

@ -1 +1 @@
export const version = "bytes/5.0.0-beta.128";
export const version = "bytes/5.0.0-beta.130";

View File

@ -1 +1 @@
export declare const version = "cli/5.0.0-beta.141";
export declare const version = "cli/5.0.0-beta.143";

View File

@ -1 +1 @@
export const version = "cli/5.0.0-beta.141";
export const version = "cli/5.0.0-beta.143";

View File

@ -1 +1 @@
export declare const version = "cli/5.0.0-beta.141";
export declare const version = "cli/5.0.0-beta.143";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "cli/5.0.0-beta.141";
exports.version = "cli/5.0.0-beta.143";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/cli",
"version": "5.0.0-beta.142",
"version": "5.0.0-beta.143",
"description": "Command-Line Interface scripts and releated utilities.",
"main": "./lib/index.js",
"scripts": {
@ -38,5 +38,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x7224b7a62cd2554bab3585709e8016fc4a7672c33c568dcbdfbf63d838c18283"
"ethereum": "donations.ethers.eth",
"tarballHash": "0x7b91d300a97949017649e8636d1b2554331ffcf0bf5b878f079b0fec86b602f4"
}

View File

@ -1 +1 @@
export const version = "cli/5.0.0-beta.141";
export const version = "cli/5.0.0-beta.143";

View File

@ -1 +1 @@
export declare const version = "constants/5.0.0-beta.127";
export declare const version = "constants/5.0.0-beta.129";

View File

@ -1 +1 @@
export const version = "constants/5.0.0-beta.127";
export const version = "constants/5.0.0-beta.129";

View File

@ -1 +1 @@
export declare const version = "constants/5.0.0-beta.127";
export declare const version = "constants/5.0.0-beta.129";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "constants/5.0.0-beta.127";
exports.version = "constants/5.0.0-beta.129";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/constants",
"version": "5.0.0-beta.128",
"version": "5.0.0-beta.129",
"description": "Common Ethereum constants used for ethers.",
"main": "./lib/index.js",
"scripts": {
@ -24,5 +24,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x1364f6b985d6422adb067281d59a9f69b3cf1a4f9d93877e61b81564d37b2102"
"ethereum": "donations.ethers.eth",
"tarballHash": "0x9f757839cf22c910f00ac215fef5a5210f4bdfaf0acc7e7dbe5e4a0f347fddc3"
}

View File

@ -1 +1 @@
export const version = "constants/5.0.0-beta.127";
export const version = "constants/5.0.0-beta.129";

View File

@ -1 +1 @@
export declare const version = "contracts/5.0.0-beta.136";
export declare const version = "contracts/5.0.0-beta.138";

View File

@ -1 +1 @@
export const version = "contracts/5.0.0-beta.136";
export const version = "contracts/5.0.0-beta.138";

View File

@ -124,7 +124,7 @@ function runMethod(contract, functionName, options) {
return resolveProperties(tx);
}
if (!contract.signer) {
logger.throwError("sending a transaction require a signer", Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction" });
logger.throwError("sending a transaction requires a signer", Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction" });
}
return contract.signer.sendTransaction(tx).then((tx) => {
let wait = tx.wait.bind(tx);
@ -382,7 +382,7 @@ export class Contract {
// estimateDeploy(bytecode: string, ...args): Promise<BigNumber>
fallback(overrides) {
if (!this.signer) {
logger.throwError("sending a transaction require a signer", Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction(fallback)" });
logger.throwError("sending a transactions require a signer", Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction(fallback)" });
}
let tx = shallowCopy(overrides || {});
["from", "to"].forEach(function (key) {

View File

@ -1 +1 @@
export declare const version = "contracts/5.0.0-beta.136";
export declare const version = "contracts/5.0.0-beta.138";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "contracts/5.0.0-beta.136";
exports.version = "contracts/5.0.0-beta.138";

View File

@ -150,7 +150,7 @@ function runMethod(contract, functionName, options) {
return properties_1.resolveProperties(tx);
}
if (!contract.signer) {
logger.throwError("sending a transaction require a signer", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction" });
logger.throwError("sending a transaction requires a signer", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction" });
}
return contract.signer.sendTransaction(tx).then(function (tx) {
var wait = tx.wait.bind(tx);
@ -429,7 +429,7 @@ var Contract = /** @class */ (function () {
Contract.prototype.fallback = function (overrides) {
var _this = this;
if (!this.signer) {
logger.throwError("sending a transaction require a signer", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction(fallback)" });
logger.throwError("sending a transactions require a signer", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction(fallback)" });
}
var tx = properties_1.shallowCopy(overrides || {});
["from", "to"].forEach(function (key) {

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/contracts",
"version": "5.0.0-beta.137",
"version": "5.0.0-beta.138",
"description": "Contract abstraction meta-class for ethers.",
"main": "./lib/index.js",
"scripts": {
@ -33,5 +33,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x96959b21d3ac6d5028c69fe586cad288e262ad168b8af3ff3c807bdea5456477"
"ethereum": "donations.ethers.eth",
"tarballHash": "0x62e5d6ab8ad79b40b5df30f37047db635fc6ef40f5b359d164d4df1cbfa9e490"
}

View File

@ -1 +1 @@
export const version = "contracts/5.0.0-beta.136";
export const version = "contracts/5.0.0-beta.138";

View File

@ -1 +1 @@
export declare const version = "errors/5.0.0-beta.128";
export declare const version = "errors/5.0.0-beta.130";

View File

@ -1 +1 @@
export const version = "errors/5.0.0-beta.128";
export const version = "errors/5.0.0-beta.130";

View File

@ -1 +1 @@
export declare const version = "errors/5.0.0-beta.128";
export declare const version = "errors/5.0.0-beta.130";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "errors/5.0.0-beta.128";
exports.version = "errors/5.0.0-beta.130";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/errors",
"version": "5.0.0-beta.129",
"version": "5.0.0-beta.130",
"description": "Error utility functions for ethers.",
"main": "./lib/index.js",
"scripts": {
@ -21,5 +21,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x512b1e86235f7d9dc5d680f65820d53ab6ca1ac6be70f0d365e2bb25f509fbc5"
"ethereum": "donations.ethers.eth",
"tarballHash": "0x69e4d6949d73b6ebd7dd51f0fede9fbd5d720b3a957fc92241c9505eb2cdedcf"
}

View File

@ -1 +1 @@
export const version = "errors/5.0.0-beta.128";
export const version = "errors/5.0.0-beta.130";

View File

@ -3455,7 +3455,7 @@ var bn = createCommonjsModule(function (module) {
});
var bn_1 = bn.BN;
const version = "logger/5.0.0-beta.128";
const version = "logger/5.0.0-beta.130";
"use strict";
let _permanentCensorErrors = false;
@ -3725,7 +3725,7 @@ var lib_esm = /*#__PURE__*/Object.freeze({
Logger: Logger
});
const version$1 = "bytes/5.0.0-beta.128";
const version$1 = "bytes/5.0.0-beta.130";
"use strict";
const logger = new Logger(version$1);
@ -4108,7 +4108,7 @@ var lib_esm$1 = /*#__PURE__*/Object.freeze({
joinSignature: joinSignature
});
const version$2 = "bignumber/5.0.0-beta.129";
const version$2 = "bignumber/5.0.0-beta.131";
"use strict";
const logger$1 = new Logger(version$2);
@ -4612,7 +4612,7 @@ class FixedNumber {
}
}
const version$3 = "properties/5.0.0-beta.130";
const version$3 = "properties/5.0.0-beta.132";
"use strict";
const logger$3 = new Logger(version$3);
@ -4723,7 +4723,7 @@ var lib_esm$2 = /*#__PURE__*/Object.freeze({
Description: Description
});
const version$4 = "abi/5.0.0-beta.136";
const version$4 = "abi/5.0.0-beta.138";
"use strict";
const logger$4 = new Logger(version$4);
@ -6158,7 +6158,7 @@ function _decode(data, offset) {
else if (data[offset] >= 0x80) {
let length = data[offset] - 0x80;
if (offset + 1 + length > data.length) {
throw new Error("invlaid rlp data");
throw new Error("invalid rlp data");
}
let result = hexlify(data.slice(offset + 1, offset + 1 + length));
return { consumed: (1 + length), result: result };
@ -6179,7 +6179,7 @@ var index = /*#__PURE__*/Object.freeze({
decode: decode
});
const version$5 = "address/5.0.0-beta.127";
const version$5 = "address/5.0.0-beta.129";
"use strict";
const logger$6 = new Logger(version$5);
@ -6299,7 +6299,7 @@ function getContractAddress(transaction) {
catch (error) {
logger$6.throwArgumentError("missing from address", "transaction", transaction);
}
let nonce = stripZeros(arrayify(transaction.nonce));
let nonce = stripZeros(arrayify(BigNumber.from(transaction.nonce).toHexString()));
return getAddress(hexDataSlice(keccak256(encode([from, nonce])), 12));
}
@ -6596,7 +6596,7 @@ class NumberCoder extends Coder {
}
}
const version$6 = "strings/5.0.0-beta.129";
const version$6 = "strings/5.0.0-beta.131";
"use strict";
const logger$8 = new Logger(version$6);
@ -7117,7 +7117,7 @@ class AbiCoder {
}
const defaultAbiCoder = new AbiCoder();
const version$7 = "hash/5.0.0-beta.127";
const version$7 = "hash/5.0.0-beta.129";
"use strict";
const logger$a = new Logger(version$7);
@ -7508,7 +7508,7 @@ function getNameCount(fragments) {
"use strict";
const version$8 = "abstract-provider/5.0.0-beta.130";
const version$8 = "abstract-provider/5.0.0-beta.132";
"use strict";
const logger$c = new Logger(version$8);
@ -7585,7 +7585,7 @@ class Provider {
}
}
const version$9 = "abstract-signer/5.0.0-beta.131";
const version$9 = "abstract-signer/5.0.0-beta.133";
"use strict";
const logger$d = new Logger(version$9);
@ -7753,7 +7753,7 @@ class VoidSigner extends Signer {
}
}
const version$a = "contracts/5.0.0-beta.136";
const version$a = "contracts/5.0.0-beta.138";
"use strict";
const logger$e = new Logger(version$a);
@ -7871,7 +7871,7 @@ function runMethod(contract, functionName, options) {
return resolveProperties(tx);
}
if (!contract.signer) {
logger$e.throwError("sending a transaction require a signer", Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction" });
logger$e.throwError("sending a transaction requires a signer", Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction" });
}
return contract.signer.sendTransaction(tx).then((tx) => {
let wait = tx.wait.bind(tx);
@ -8129,7 +8129,7 @@ class Contract {
// estimateDeploy(bytecode: string, ...args): Promise<BigNumber>
fallback(overrides) {
if (!this.signer) {
logger$e.throwError("sending a transaction require a signer", Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction(fallback)" });
logger$e.throwError("sending a transactions require a signer", Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction(fallback)" });
}
let tx = shallowCopy(overrides || {});
["from", "to"].forEach(function (key) {
@ -9727,7 +9727,7 @@ hash.ripemd160 = hash.ripemd.ripemd160;
var _version = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "sha2/5.0.0-beta.128";
exports.version = "sha2/5.0.0-beta.130";
});
var _version$1 = unwrapExports(_version);
@ -12200,7 +12200,7 @@ elliptic.eddsa = eddsa;
});
var elliptic_2 = elliptic_1.ec;
const version$c = "signing-key/5.0.0-beta.128";
const version$c = "signing-key/5.0.0-beta.130";
"use strict";
const logger$f = new Logger(version$c);
@ -12272,7 +12272,7 @@ function computePublicKey(key, compressed) {
return logger$f.throwArgumentError("invalid public or private key", "key", "[REDACTED]");
}
const version$d = "transactions/5.0.0-beta.127";
const version$d = "transactions/5.0.0-beta.129";
"use strict";
const logger$g = new Logger(version$d);
@ -12413,7 +12413,7 @@ function parse(rawTransaction) {
var _version$2 = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "wordlists/5.0.0-beta.127";
exports.version = "wordlists/5.0.0-beta.129";
});
var _version$3 = unwrapExports(_version$2);
@ -12553,7 +12553,7 @@ var browser$5 = unwrapExports(browser$4);
var browser_1$2 = browser$4.Wordlist;
var browser_2$1 = browser$4.wordlists;
const version$e = "hdnode/5.0.0-beta.129";
const version$e = "hdnode/5.0.0-beta.131";
"use strict";
const logger$h = new Logger(version$e);
@ -12835,7 +12835,7 @@ function isValidMnemonic(mnemonic, wordlist) {
var _version$4 = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "random/5.0.0-beta.127";
exports.version = "random/5.0.0-beta.129";
});
var _version$5 = unwrapExports(_version$4);
@ -13697,7 +13697,7 @@ var aesJs = createCommonjsModule(function (module, exports) {
})(commonjsGlobal);
});
const version$f = "json-wallets/5.0.0-beta.128";
const version$f = "json-wallets/5.0.0-beta.130";
"use strict";
/*
@ -14851,7 +14851,7 @@ function decryptJsonWallet(json, password, progressCallback) {
return Promise.reject(new Error("invalid JSON wallet"));
}
const version$g = "wallet/5.0.0-beta.129";
const version$g = "wallet/5.0.0-beta.131";
"use strict";
const logger$j = new Logger(version$g);
@ -14971,7 +14971,7 @@ function verifyMessage(message, signature) {
return recoverAddress(hashMessage(message), signature);
}
const version$h = "networks/5.0.0-beta.128";
const version$h = "networks/5.0.0-beta.130";
"use strict";
const logger$k = new Logger(version$h);
@ -15730,7 +15730,7 @@ var browser$a = /*#__PURE__*/Object.freeze({
encode: browser_2$3
});
const version$i = "web/5.0.0-beta.128";
const version$i = "web/5.0.0-beta.130";
"use strict";
const logger$l = new Logger(version$i);
@ -15927,7 +15927,7 @@ function poll(func, options) {
});
}
const version$j = "providers/5.0.0-beta.140";
const version$j = "providers/5.0.0-beta.142";
"use strict";
const logger$m = new Logger(version$j);
@ -16957,7 +16957,7 @@ class BaseProvider extends Provider {
return this.getNetwork().then((network) => {
// No ENS...
if (!network.ensAddress) {
logger$n.throwError("network does support ENS", Logger.errors.UNSUPPORTED_OPERATION, { operation: "ENS", network: network.name });
logger$n.throwError("network does not support ENS", Logger.errors.UNSUPPORTED_OPERATION, { operation: "ENS", network: network.name });
}
// keccak256("resolver(bytes32)")
let data = "0x0178b8bf" + namehash(name).substring(2);
@ -18514,7 +18514,7 @@ function sha256$1(types, values) {
return browser_3(pack$1(types, values));
}
const version$k = "units/5.0.0-beta.126";
const version$k = "units/5.0.0-beta.128";
"use strict";
const logger$y = new Logger(version$k);
@ -18672,7 +18672,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
Indexed: Indexed
});
const version$l = "ethers/5.0.0-beta.155";
const version$l = "ethers/5.0.0-beta.157";
"use strict";
const errors = Logger.errors;

File diff suppressed because one or more lines are too long

View File

@ -3464,7 +3464,7 @@
var _version = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "logger/5.0.0-beta.128";
exports.version = "logger/5.0.0-beta.130";
});
var _version$1 = unwrapExports(_version);
@ -3758,7 +3758,7 @@
var _version$2 = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "bytes/5.0.0-beta.128";
exports.version = "bytes/5.0.0-beta.130";
});
var _version$3 = unwrapExports(_version$2);
@ -4168,7 +4168,7 @@
var _version$4 = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "bignumber/5.0.0-beta.129";
exports.version = "bignumber/5.0.0-beta.131";
});
var _version$5 = unwrapExports(_version$4);
@ -4740,7 +4740,7 @@
var _version$6 = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "properties/5.0.0-beta.130";
exports.version = "properties/5.0.0-beta.132";
});
var _version$7 = unwrapExports(_version$6);
@ -4870,7 +4870,7 @@
var _version$8 = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abi/5.0.0-beta.136";
exports.version = "abi/5.0.0-beta.138";
});
var _version$9 = unwrapExports(_version$8);
@ -6412,7 +6412,7 @@
else if (data[offset] >= 0x80) {
var length_5 = data[offset] - 0x80;
if (offset + 1 + length_5 > data.length) {
throw new Error("invlaid rlp data");
throw new Error("invalid rlp data");
}
var result = lib$1.hexlify(data.slice(offset + 1, offset + 1 + length_5));
return { consumed: (1 + length_5), result: result };
@ -6437,7 +6437,7 @@
var _version$a = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "address/5.0.0-beta.127";
exports.version = "address/5.0.0-beta.129";
});
var _version$b = unwrapExports(_version$a);
@ -6453,6 +6453,7 @@
var logger = new lib.Logger(_version$a.version);
function getChecksumAddress(address) {
if (!lib$1.isHexString(address, 20)) {
@ -6573,7 +6574,7 @@
catch (error) {
logger.throwArgumentError("missing from address", "transaction", transaction);
}
var nonce = lib$1.stripZeros(lib$1.arrayify(transaction.nonce));
var nonce = lib$1.stripZeros(lib$1.arrayify(lib$2.BigNumber.from(transaction.nonce).toHexString()));
return getAddress(lib$1.hexDataSlice(lib$4.keccak256(lib$5.encode([from, nonce])), 12));
}
exports.getContractAddress = getContractAddress;
@ -7101,7 +7102,7 @@
var _version$c = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "strings/5.0.0-beta.129";
exports.version = "strings/5.0.0-beta.131";
});
var _version$d = unwrapExports(_version$c);
@ -7779,7 +7780,7 @@
var _version$e = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "hash/5.0.0-beta.127";
exports.version = "hash/5.0.0-beta.129";
});
var _version$f = unwrapExports(_version$e);
@ -8276,7 +8277,7 @@
var _version$g = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-provider/5.0.0-beta.130";
exports.version = "abstract-provider/5.0.0-beta.132";
});
var _version$h = unwrapExports(_version$g);
@ -8411,7 +8412,7 @@
var _version$i = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-signer/5.0.0-beta.131";
exports.version = "abstract-signer/5.0.0-beta.133";
});
var _version$j = unwrapExports(_version$i);
@ -8622,7 +8623,7 @@
var _version$k = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "contracts/5.0.0-beta.136";
exports.version = "contracts/5.0.0-beta.138";
});
var _version$l = unwrapExports(_version$k);
@ -8781,7 +8782,7 @@
return lib$3.resolveProperties(tx);
}
if (!contract.signer) {
logger.throwError("sending a transaction require a signer", lib.Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction" });
logger.throwError("sending a transaction requires a signer", lib.Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction" });
}
return contract.signer.sendTransaction(tx).then(function (tx) {
var wait = tx.wait.bind(tx);
@ -9060,7 +9061,7 @@
Contract.prototype.fallback = function (overrides) {
var _this = this;
if (!this.signer) {
logger.throwError("sending a transaction require a signer", lib.Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction(fallback)" });
logger.throwError("sending a transactions require a signer", lib.Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction(fallback)" });
}
var tx = lib$3.shallowCopy(overrides || {});
["from", "to"].forEach(function (key) {
@ -10699,7 +10700,7 @@
var _version$m = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "sha2/5.0.0-beta.128";
exports.version = "sha2/5.0.0-beta.130";
});
var _version$n = unwrapExports(_version$m);
@ -13175,7 +13176,7 @@
var _version$o = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "signing-key/5.0.0-beta.128";
exports.version = "signing-key/5.0.0-beta.130";
});
var _version$p = unwrapExports(_version$o);
@ -13271,7 +13272,7 @@
var _version$q = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "transactions/5.0.0-beta.127";
exports.version = "transactions/5.0.0-beta.129";
});
var _version$r = unwrapExports(_version$q);
@ -13446,7 +13447,7 @@
var _version$s = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "wordlists/5.0.0-beta.127";
exports.version = "wordlists/5.0.0-beta.129";
});
var _version$t = unwrapExports(_version$s);
@ -13589,7 +13590,7 @@
var _version$u = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "hdnode/5.0.0-beta.129";
exports.version = "hdnode/5.0.0-beta.131";
});
var _version$v = unwrapExports(_version$u);
@ -13909,7 +13910,7 @@
var _version$w = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "random/5.0.0-beta.127";
exports.version = "random/5.0.0-beta.129";
});
var _version$x = unwrapExports(_version$w);
@ -14774,7 +14775,7 @@
var _version$y = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "json-wallets/5.0.0-beta.128";
exports.version = "json-wallets/5.0.0-beta.130";
});
var _version$z = unwrapExports(_version$y);
@ -16069,7 +16070,7 @@
var _version$A = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "wallet/5.0.0-beta.129";
exports.version = "wallet/5.0.0-beta.131";
});
var _version$B = unwrapExports(_version$A);
@ -16250,7 +16251,7 @@
var _version$C = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "networks/5.0.0-beta.128";
exports.version = "networks/5.0.0-beta.130";
});
var _version$D = unwrapExports(_version$C);
@ -17018,7 +17019,7 @@
var _version$E = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "web/5.0.0-beta.128";
exports.version = "web/5.0.0-beta.130";
});
var _version$F = unwrapExports(_version$E);
@ -17240,7 +17241,7 @@
var _version$G = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "providers/5.0.0-beta.140";
exports.version = "providers/5.0.0-beta.142";
});
var _version$H = unwrapExports(_version$G);
@ -18365,7 +18366,7 @@
return this.getNetwork().then(function (network) {
// No ENS...
if (!network.ensAddress) {
logger.throwError("network does support ENS", lib.Logger.errors.UNSUPPORTED_OPERATION, { operation: "ENS", network: network.name });
logger.throwError("network does not support ENS", lib.Logger.errors.UNSUPPORTED_OPERATION, { operation: "ENS", network: network.name });
}
// keccak256("resolver(bytes32)")
var data = "0x0178b8bf" + lib$9.namehash(name).substring(2);
@ -20311,7 +20312,7 @@
var _version$I = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "units/5.0.0-beta.126";
exports.version = "units/5.0.0-beta.128";
});
var _version$J = unwrapExports(_version$I);
@ -20603,7 +20604,7 @@
var _version$K = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "ethers/5.0.0-beta.155";
exports.version = "ethers/5.0.0-beta.157";
});
var _version$L = unwrapExports(_version$K);

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
export declare const version = "ethers/5.0.0-beta.155";
export declare const version = "ethers/5.0.0-beta.157";

View File

@ -1 +1 @@
export const version = "ethers/5.0.0-beta.155";
export const version = "ethers/5.0.0-beta.157";

View File

@ -1 +1 @@
export declare const version = "ethers/5.0.0-beta.155";
export declare const version = "ethers/5.0.0-beta.157";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "ethers/5.0.0-beta.155";
exports.version = "ethers/5.0.0-beta.157";

View File

@ -1,6 +1,6 @@
{
"name": "ethers",
"version": "5.0.0-beta.156",
"version": "5.0.0-beta.157",
"description": "Umbrella package for most common Ethers libraries.",
"main": "./lib/index.js",
"scripts": {
@ -53,5 +53,6 @@
},
"module": "./dist/ethers.esm.js",
"types": "./lib/index.d.ts",
"tarballHash": "0xfe021d7af3eef8dfdcd597944ea3928f8e711e0f8d5c1d98cb3b7f55d6b7e51b"
"ethereum": "donations.ethers.eth",
"tarballHash": "0x2947d11aec9d35b49f9b403785161fc538b8280fb5928709c413bedecb0fc9d7"
}

View File

@ -1 +1 @@
export const version = "ethers/5.0.0-beta.155";
export const version = "ethers/5.0.0-beta.157";

View File

@ -1 +1 @@
export declare const version = "experimental/5.0.0-beta.128";
export declare const version = "experimental/5.0.0-beta.130";

View File

@ -1 +1 @@
export const version = "experimental/5.0.0-beta.128";
export const version = "experimental/5.0.0-beta.130";

View File

@ -1 +1 @@
export declare const version = "experimental/5.0.0-beta.128";
export declare const version = "experimental/5.0.0-beta.130";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "experimental/5.0.0-beta.128";
exports.version = "experimental/5.0.0-beta.130";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/experimental",
"version": "5.0.0-beta.129",
"version": "5.0.0-beta.130",
"description": "Experimental libraries for ethers. These should not be considered stable.",
"main": "./lib/index.js",
"scripts": {
@ -26,5 +26,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0x0fac26c70353824def8f9f61a4460d007a0b2302c2eb800430459bf46e7eec73"
"ethereum": "donations.ethers.eth",
"tarballHash": "0xd24f285780dd3177635740a950ec7e44b411e86c4fe68060cd4cb26f1479c291"
}

View File

@ -1 +1 @@
export const version = "experimental/5.0.0-beta.128";
export const version = "experimental/5.0.0-beta.130";

View File

@ -1 +1 @@
export declare const version = "hash/5.0.0-beta.127";
export declare const version = "hash/5.0.0-beta.129";

View File

@ -1 +1 @@
export const version = "hash/5.0.0-beta.127";
export const version = "hash/5.0.0-beta.129";

View File

@ -1 +1 @@
export declare const version = "hash/5.0.0-beta.127";
export declare const version = "hash/5.0.0-beta.129";

View File

@ -1,3 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "hash/5.0.0-beta.127";
exports.version = "hash/5.0.0-beta.129";

View File

@ -1,6 +1,6 @@
{
"name": "@ethersproject/hash",
"version": "5.0.0-beta.128",
"version": "5.0.0-beta.129",
"description": "Hash utility functions for Ethereum.",
"main": "./lib/index.js",
"scripts": {
@ -27,5 +27,6 @@
},
"module": "./lib.esm/index.js",
"types": "./lib/index.d.ts",
"tarballHash": "0xdb811d4593df06454829d34f5b78b8b4c6c7ea9dd10a3b7106b364761cafa783"
"ethereum": "donations.ethers.eth",
"tarballHash": "0x348359b27daa4c2f211dfa7219bb5fa5e55cc418f93a4f33eeea26fcff9e4dff"
}

View File

@ -1 +1 @@
export const version = "hash/5.0.0-beta.127";
export const version = "hash/5.0.0-beta.129";

Some files were not shown because too many files have changed in this diff Show More