Updated dist files.

This commit is contained in:
Richard Moore 2020-04-03 22:13:06 -04:00
parent 8ad26f0ff4
commit 40fb8b5b5c
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
71 changed files with 190 additions and 147 deletions

@ -3,6 +3,15 @@ Changelog
This change log is managed by `scripts/cmds/update-versions` but may be manually updated.
ethers/v5.0.0-beta.180 (2020-04-03 22:10)
-----------------------------------------
- Correctly return the Provider in NonceManager. ([6caf7c2](https://github.com/ethers-io/ethers.js/commit/6caf7c292cd5f03741cd6b30053c3325c4f30a81))
- Fail earlier when resolving an ENS name that is not a string. ([2882546](https://github.com/ethers-io/ethers.js/commit/28825463517f8821392464ec2283ee59c431d928))
- Fixed mutabilityState calculation for function fragments. ([#762](https://github.com/ethers-io/ethers.js/issues/762); [6526de0](https://github.com/ethers-io/ethers.js/commit/6526de016fda5403474dad61ee59acc62ee25ebc), [d7c8b35](https://github.com/ethers-io/ethers.js/commit/d7c8b355a049b36068b0525a357c6278639a8d58))
- Force Log properties to be non-optional. ([#415](https://github.com/ethers-io/ethers.js/issues/415); [da412f6](https://github.com/ethers-io/ethers.js/commit/da412f660723d1c411484e74970ce4eb166374c2), https://github.com/ethers-io/ethers.js/issues/415); [8ad26f0](https://github.com/ethers-io/ethers.js/commit/8ad26f0ff42614a6c40e735cb6fffd36874da1a0))
- Fixed Signer call not forwarding blockTag. ([#768](https://github.com/ethers-io/ethers.js/issues/768); [053a2d7](https://github.com/ethers-io/ethers.js/commit/053a2d7fcdb4ca4c9bfd0bee0f42e0187d3db477))
ethers/v5.0.0-beta.180 (2020-04-03 21:40)
-----------------------------------------

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

@ -1 +1 @@
export const version = "abi/5.0.0-beta.148";
export const version = "abi/5.0.0-beta.149";

@ -500,12 +500,14 @@ function verifyState(value) {
};
if (value.stateMutability != null) {
result.stateMutability = value.stateMutability;
// Set (and check things are consistent) the constant property
result.constant = (result.stateMutability === "view" || result.stateMutability === "pure");
if (value.constant != null) {
if ((!!value.constant) !== result.constant) {
throw new Error("cannot have constant function with mutability " + result.stateMutability);
}
}
// Set (and check things are consistent) the payable property
result.payable = (result.stateMutability === "payable");
if (value.payable != null) {
if ((!!value.payable) !== result.payable) {
@ -515,9 +517,18 @@ function verifyState(value) {
}
else if (value.payable != null) {
result.payable = !!value.payable;
// If payable we can assume non-constant; otherwise we can't assume
if (value.constant == null && !result.payable && value.type !== "constructor") {
throw new Error("unable to determine stateMutability");
}
result.constant = !!value.constant;
if (result.constant) {
result.stateMutability = "view";
}
else {
result.stateMutability = (result.payable ? "payable" : "nonpayable");
result.constant = !result.payable;
if (value.constant != null && (value.constant !== result.constant)) {
}
if (result.payable && result.constant) {
throw new Error("cannot have constant payable function");
}
}
@ -526,6 +537,9 @@ function verifyState(value) {
result.payable = !result.constant;
result.stateMutability = (result.constant ? "view" : "payable");
}
else if (value.type !== "constructor") {
throw new Error("unable to determine stateMutability");
}
return result;
}
export class ConstructorFragment extends Fragment {

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

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

@ -524,12 +524,14 @@ function verifyState(value) {
};
if (value.stateMutability != null) {
result.stateMutability = value.stateMutability;
// Set (and check things are consistent) the constant property
result.constant = (result.stateMutability === "view" || result.stateMutability === "pure");
if (value.constant != null) {
if ((!!value.constant) !== result.constant) {
throw new Error("cannot have constant function with mutability " + result.stateMutability);
}
}
// Set (and check things are consistent) the payable property
result.payable = (result.stateMutability === "payable");
if (value.payable != null) {
if ((!!value.payable) !== result.payable) {
@ -539,9 +541,18 @@ function verifyState(value) {
}
else if (value.payable != null) {
result.payable = !!value.payable;
// If payable we can assume non-constant; otherwise we can't assume
if (value.constant == null && !result.payable && value.type !== "constructor") {
throw new Error("unable to determine stateMutability");
}
result.constant = !!value.constant;
if (result.constant) {
result.stateMutability = "view";
}
else {
result.stateMutability = (result.payable ? "payable" : "nonpayable");
result.constant = !result.payable;
if (value.constant != null && (value.constant !== result.constant)) {
}
if (result.payable && result.constant) {
throw new Error("cannot have constant payable function");
}
}
@ -550,6 +561,9 @@ function verifyState(value) {
result.payable = !result.constant;
result.stateMutability = (result.constant ? "view" : "payable");
}
else if (value.type !== "constructor") {
throw new Error("unable to determine stateMutability");
}
return result;
}
var ConstructorFragment = /** @class */ (function (_super) {

@ -31,7 +31,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0xcaa2fb61b9961e50324a7574ef69eecc52e2747e75c2a51969ac824c31b4e61c",
"tarballHash": "0x2f553c332ca62bdcdf54d5de432cafaa2fd06e1092663612c74b25b84b346120",
"types": "./lib/index.d.ts",
"version": "5.0.0-beta.148"
"version": "5.0.0-beta.149"
}

@ -1 +1 @@
export const version = "abi/5.0.0-beta.148";
export const version = "abi/5.0.0-beta.149";

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

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

@ -44,16 +44,15 @@ export interface BlockWithTransactions extends _Block {
transactions: Array<TransactionResponse>;
}
export interface Log {
blockNumber?: number;
blockHash?: string;
transactionIndex?: number;
blockNumber: number;
blockHash: string;
transactionIndex: number;
removed: boolean;
transactionLogIndex?: number;
address: string;
data: string;
topics: Array<string>;
transactionHash?: string;
logIndex?: number;
transactionHash: string;
logIndex: number;
}
export interface TransactionReceipt {
to: string;

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

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

@ -44,16 +44,15 @@ export interface BlockWithTransactions extends _Block {
transactions: Array<TransactionResponse>;
}
export interface Log {
blockNumber?: number;
blockHash?: string;
transactionIndex?: number;
blockNumber: number;
blockHash: string;
transactionIndex: number;
removed: boolean;
transactionLogIndex?: number;
address: string;
data: string;
topics: Array<string>;
transactionHash?: string;
logIndex?: number;
transactionHash: string;
logIndex: number;
}
export interface TransactionReceipt {
to: string;

@ -29,7 +29,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0xb5bff776099cfcba3c8b4270de7998e3e372da88b9efdc2f4ccc604e34b839d4",
"tarballHash": "0xad40806c9e4998150e5bdcd5bea2f189a2ed7a24a011a29daf08dcca4e815670",
"types": "./lib/index.d.ts",
"version": "5.0.0-beta.138"
"version": "5.0.0-beta.139"
}

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

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

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

@ -49,7 +49,7 @@ export class Signer {
call(transaction, blockTag) {
this._checkProvider("call");
return resolveProperties(this.checkTransaction(transaction)).then((tx) => {
return this.provider.call(tx);
return this.provider.call(tx, blockTag);
});
}
// Populates all fields in a transaction, signs it and sends it to the network

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

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

@ -93,7 +93,7 @@ var Signer = /** @class */ (function () {
var _this = this;
this._checkProvider("call");
return properties_1.resolveProperties(this.checkTransaction(transaction)).then(function (tx) {
return _this.provider.call(tx);
return _this.provider.call(tx, blockTag);
});
};
// Populates all fields in a transaction, signs it and sends it to the network

@ -27,7 +27,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0x45c10e64c71e99997884ff59d59e6e3829043a155d8109bc2ee644efc40c3c43",
"tarballHash": "0x81934b72f07020a63a2f9b53d0df6bb79e1d99ef4522750dbcea34ffecfe8f02",
"types": "./lib/index.d.ts",
"version": "5.0.0-beta.140"
"version": "5.0.0-beta.141"
}

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

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

@ -1 +1 @@
export const version = "asm/5.0.0-beta.155";
export const version = "asm/5.0.0-beta.156";

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

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

@ -29,7 +29,7 @@
"generate": "node ./generate.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0x7a638f747f7015963e137e5827c055ccf5731e6d88fc956b781ac621d9e8ffbb",
"tarballHash": "0x83f3a40b745d707baed37b1405bfdbd1c216cc680840329846f936515d101d64",
"types": "./lib/index.d.ts",
"version": "5.0.0-beta.155"
"version": "5.0.0-beta.156"
}

@ -1 +1 @@
export const version = "asm/5.0.0-beta.155";
export const version = "asm/5.0.0-beta.156";

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -4762,7 +4762,7 @@ var lib_esm$2 = /*#__PURE__*/Object.freeze({
Description: Description
});
const version$4 = "abi/5.0.0-beta.148";
const version$4 = "abi/5.0.0-beta.149";
"use strict";
const logger$4 = new Logger(version$4);
@ -5262,12 +5262,14 @@ function verifyState(value) {
};
if (value.stateMutability != null) {
result.stateMutability = value.stateMutability;
// Set (and check things are consistent) the constant property
result.constant = (result.stateMutability === "view" || result.stateMutability === "pure");
if (value.constant != null) {
if ((!!value.constant) !== result.constant) {
throw new Error("cannot have constant function with mutability " + result.stateMutability);
}
}
// Set (and check things are consistent) the payable property
result.payable = (result.stateMutability === "payable");
if (value.payable != null) {
if ((!!value.payable) !== result.payable) {
@ -5277,9 +5279,18 @@ function verifyState(value) {
}
else if (value.payable != null) {
result.payable = !!value.payable;
// If payable we can assume non-constant; otherwise we can't assume
if (value.constant == null && !result.payable && value.type !== "constructor") {
throw new Error("unable to determine stateMutability");
}
result.constant = !!value.constant;
if (result.constant) {
result.stateMutability = "view";
}
else {
result.stateMutability = (result.payable ? "payable" : "nonpayable");
result.constant = !result.payable;
if (value.constant != null && (value.constant !== result.constant)) {
}
if (result.payable && result.constant) {
throw new Error("cannot have constant payable function");
}
}
@ -5288,6 +5299,9 @@ function verifyState(value) {
result.payable = !result.constant;
result.stateMutability = (result.constant ? "view" : "payable");
}
else if (value.type !== "constructor") {
throw new Error("unable to determine stateMutability");
}
return result;
}
class ConstructorFragment extends Fragment {
@ -7666,7 +7680,7 @@ class Interface {
"use strict";
const version$9 = "abstract-provider/5.0.0-beta.138";
const version$9 = "abstract-provider/5.0.0-beta.139";
"use strict";
const logger$d = new Logger(version$9);
@ -7743,7 +7757,7 @@ class Provider {
}
}
const version$a = "abstract-signer/5.0.0-beta.140";
const version$a = "abstract-signer/5.0.0-beta.141";
"use strict";
var __awaiter = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -7793,7 +7807,7 @@ class Signer {
call(transaction, blockTag) {
this._checkProvider("call");
return resolveProperties(this.checkTransaction(transaction)).then((tx) => {
return this.provider.call(tx);
return this.provider.call(tx, blockTag);
});
}
// Populates all fields in a transaction, signs it and sends it to the network
@ -16287,7 +16301,7 @@ function poll(func, options) {
});
}
const version$k = "providers/5.0.0-beta.159";
const version$k = "providers/5.0.0-beta.160";
"use strict";
const logger$o = new Logger(version$k);
@ -16335,7 +16349,6 @@ class Formatter {
data: Formatter.allowNull(strictData),
};
formats.receiptLog = {
transactionLogIndex: Formatter.allowNull(number),
transactionIndex: number,
blockNumber: number,
transactionHash: hash,
@ -16594,14 +16607,7 @@ class Formatter {
return Formatter.check(this.formats.receiptLog, value);
}
receipt(value) {
//let status = transactionReceipt.status;
//let root = transactionReceipt.root;
const result = Formatter.check(this.formats.receipt, value);
result.logs.forEach((entry, index) => {
if (entry.transactionLogIndex == null) {
entry.transactionLogIndex = index;
}
});
if (value.status != null) {
result.byzantium = true;
}
@ -17464,6 +17470,9 @@ class BaseProvider extends Provider {
throw error;
}
}
if (typeof (name) !== "string") {
logger$p.throwArgumentError("invalid ENS name", "name", name);
}
// Get the addr from the resovler
const resolverAddress = yield this._getResolver(name);
if (!resolverAddress) {
@ -19133,7 +19142,7 @@ class Web3Provider extends JsonRpcProvider {
var _version$6 = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "providers/5.0.0-beta.159";
exports.version = "providers/5.0.0-beta.160";
});
var _version$7 = unwrapExports(_version$6);
@ -19669,7 +19678,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
Indexed: Indexed
});
const version$m = "ethers/5.0.0-beta.179";
const version$m = "ethers/5.0.0-beta.180";
"use strict";
const errors = Logger.errors;

File diff suppressed because one or more lines are too long

@ -4909,7 +4909,7 @@
var _version$8 = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abi/5.0.0-beta.148";
exports.version = "abi/5.0.0-beta.149";
});
var _version$9 = unwrapExports(_version$8);
@ -5442,12 +5442,14 @@
};
if (value.stateMutability != null) {
result.stateMutability = value.stateMutability;
// Set (and check things are consistent) the constant property
result.constant = (result.stateMutability === "view" || result.stateMutability === "pure");
if (value.constant != null) {
if ((!!value.constant) !== result.constant) {
throw new Error("cannot have constant function with mutability " + result.stateMutability);
}
}
// Set (and check things are consistent) the payable property
result.payable = (result.stateMutability === "payable");
if (value.payable != null) {
if ((!!value.payable) !== result.payable) {
@ -5457,9 +5459,18 @@
}
else if (value.payable != null) {
result.payable = !!value.payable;
// If payable we can assume non-constant; otherwise we can't assume
if (value.constant == null && !result.payable && value.type !== "constructor") {
throw new Error("unable to determine stateMutability");
}
result.constant = !!value.constant;
if (result.constant) {
result.stateMutability = "view";
}
else {
result.stateMutability = (result.payable ? "payable" : "nonpayable");
result.constant = !result.payable;
if (value.constant != null && (value.constant !== result.constant)) {
}
if (result.payable && result.constant) {
throw new Error("cannot have constant payable function");
}
}
@ -5468,6 +5479,9 @@
result.payable = !result.constant;
result.stateMutability = (result.constant ? "view" : "payable");
}
else if (value.type !== "constructor") {
throw new Error("unable to determine stateMutability");
}
return result;
}
var ConstructorFragment = /** @class */ (function (_super) {
@ -8451,7 +8465,7 @@
var _version$i = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-provider/5.0.0-beta.138";
exports.version = "abstract-provider/5.0.0-beta.139";
});
var _version$j = unwrapExports(_version$i);
@ -8586,7 +8600,7 @@
var _version$k = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-signer/5.0.0-beta.140";
exports.version = "abstract-signer/5.0.0-beta.141";
});
var _version$l = unwrapExports(_version$k);
@ -8688,7 +8702,7 @@
var _this = this;
this._checkProvider("call");
return lib$3.resolveProperties(this.checkTransaction(transaction)).then(function (tx) {
return _this.provider.call(tx);
return _this.provider.call(tx, blockTag);
});
};
// Populates all fields in a transaction, signs it and sends it to the network
@ -17748,7 +17762,7 @@
var _version$I = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "providers/5.0.0-beta.159";
exports.version = "providers/5.0.0-beta.160";
});
var _version$J = unwrapExports(_version$I);
@ -17812,7 +17826,6 @@
data: Formatter.allowNull(strictData),
};
formats.receiptLog = {
transactionLogIndex: Formatter.allowNull(number),
transactionIndex: number,
blockNumber: number,
transactionHash: hash,
@ -18071,14 +18084,7 @@
return Formatter.check(this.formats.receiptLog, value);
};
Formatter.prototype.receipt = function (value) {
//let status = transactionReceipt.status;
//let root = transactionReceipt.root;
var result = Formatter.check(this.formats.receipt, value);
result.logs.forEach(function (entry, index) {
if (entry.transactionLogIndex == null) {
entry.transactionLogIndex = index;
}
});
if (value.status != null) {
result.byzantium = true;
}
@ -19301,6 +19307,9 @@
throw error;
}
}
if (typeof (name) !== "string") {
logger.throwArgumentError("invalid ENS name", "name", name);
}
return [4 /*yield*/, this._getResolver(name)];
case 3:
resolverAddress = _c.sent();
@ -22288,7 +22297,7 @@
var _version$M = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "ethers/5.0.0-beta.179";
exports.version = "ethers/5.0.0-beta.180";
});
var _version$N = unwrapExports(_version$M);

File diff suppressed because one or more lines are too long

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

@ -1 +1 @@
export const version = "ethers/5.0.0-beta.179";
export const version = "ethers/5.0.0-beta.180";

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

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

@ -52,7 +52,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0xbb6511a2d17061edcd299e6cabae31aebbc834a5627e3c8a25b870bacfef6b24",
"tarballHash": "0x5dc9b6335250b1b917e5549e17cca07d4dbc11bde76c59103c33f82f8476726f",
"types": "./lib/index.d.ts",
"version": "5.0.0-beta.179"
"version": "5.0.0-beta.180"
}

@ -1 +1 @@
export const version = "ethers/5.0.0-beta.179";
export const version = "ethers/5.0.0-beta.180";

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

@ -1 +1 @@
export const version = "experimental/5.0.0-beta.137";
export const version = "experimental/5.0.0-beta.138";

@ -1,10 +1,10 @@
import { ethers } from "ethers";
export declare class NonceManager extends ethers.Signer {
readonly signer: ethers.Signer;
readonly provider: ethers.providers.Provider;
_initialPromise: Promise<number>;
_deltaCount: number;
constructor(signer: ethers.Signer);
get provider(): ethers.providers.Provider;
connect(provider: ethers.providers.Provider): NonceManager;
getAddress(): Promise<string>;
getTransactionCount(blockTag?: ethers.providers.BlockTag): Promise<number>;

@ -11,6 +11,9 @@ export class NonceManager extends ethers.Signer {
this._deltaCount = 0;
ethers.utils.defineReadOnly(this, "signer", signer);
}
get provider() {
return this.signer.provider;
}
connect(provider) {
return new NonceManager(this.signer.connect(provider));
}

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

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

@ -1,10 +1,10 @@
import { ethers } from "ethers";
export declare class NonceManager extends ethers.Signer {
readonly signer: ethers.Signer;
readonly provider: ethers.providers.Provider;
_initialPromise: Promise<number>;
_deltaCount: number;
constructor(signer: ethers.Signer);
get provider(): ethers.providers.Provider;
connect(provider: ethers.providers.Provider): NonceManager;
getAddress(): Promise<string>;
getTransactionCount(blockTag?: ethers.providers.BlockTag): Promise<number>;

@ -29,6 +29,13 @@ var NonceManager = /** @class */ (function (_super) {
ethers_1.ethers.utils.defineReadOnly(_this, "signer", signer);
return _this;
}
Object.defineProperty(NonceManager.prototype, "provider", {
get: function () {
return this.signer.provider;
},
enumerable: true,
configurable: true
});
NonceManager.prototype.connect = function (provider) {
return new NonceManager(this.signer.connect(provider));
};

@ -26,7 +26,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0x45da0e65825d54033a370c8afe862ec66bea5aa9be0156de3997823b8a725890",
"tarballHash": "0x009a87b910a7b0c8b49b46740ad8c189a3f298cc51120bae583bc7ce75ccb39b",
"types": "./lib/index.d.ts",
"version": "5.0.0-beta.137"
"version": "5.0.0-beta.138"
}

@ -1 +1 @@
export const version = "experimental/5.0.0-beta.137";
export const version = "experimental/5.0.0-beta.138";

@ -1 +1 @@
export declare const version = "providers/5.0.0-beta.159";
export declare const version = "providers/5.0.0-beta.160";

@ -1 +1 @@
export const version = "providers/5.0.0-beta.159";
export const version = "providers/5.0.0-beta.160";

@ -801,6 +801,9 @@ export class BaseProvider extends Provider {
throw error;
}
}
if (typeof (name) !== "string") {
logger.throwArgumentError("invalid ENS name", "name", name);
}
// Get the addr from the resovler
const resolverAddress = yield this._getResolver(name);
if (!resolverAddress) {

@ -52,7 +52,6 @@ export class Formatter {
data: Formatter.allowNull(strictData),
};
formats.receiptLog = {
transactionLogIndex: Formatter.allowNull(number),
transactionIndex: number,
blockNumber: number,
transactionHash: hash,
@ -311,14 +310,7 @@ export class Formatter {
return Formatter.check(this.formats.receiptLog, value);
}
receipt(value) {
//let status = transactionReceipt.status;
//let root = transactionReceipt.root;
const result = Formatter.check(this.formats.receipt, value);
result.logs.forEach((entry, index) => {
if (entry.transactionLogIndex == null) {
entry.transactionLogIndex = index;
}
});
if (value.status != null) {
result.byzantium = true;
}

@ -1 +1 @@
export declare const version = "providers/5.0.0-beta.159";
export declare const version = "providers/5.0.0-beta.160";

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

@ -1142,6 +1142,9 @@ var BaseProvider = /** @class */ (function (_super) {
throw error;
}
}
if (typeof (name) !== "string") {
logger.throwArgumentError("invalid ENS name", "name", name);
}
return [4 /*yield*/, this._getResolver(name)];
case 3:
resolverAddress = _c.sent();

@ -55,7 +55,6 @@ var Formatter = /** @class */ (function () {
data: Formatter.allowNull(strictData),
};
formats.receiptLog = {
transactionLogIndex: Formatter.allowNull(number),
transactionIndex: number,
blockNumber: number,
transactionHash: hash,
@ -314,14 +313,7 @@ var Formatter = /** @class */ (function () {
return Formatter.check(this.formats.receiptLog, value);
};
Formatter.prototype.receipt = function (value) {
//let status = transactionReceipt.status;
//let root = transactionReceipt.root;
var result = Formatter.check(this.formats.receipt, value);
result.logs.forEach(function (entry, index) {
if (entry.transactionLogIndex == null) {
entry.transactionLogIndex = index;
}
});
if (value.status != null) {
result.byzantium = true;
}

@ -46,7 +46,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0x4b012376fc8ffb6b49a32840b1b92b2c34ed8e8c0d0cfdca08dd3e516647bd07",
"tarballHash": "0x90a3b6db9189b54c702903c083aa54a168ebab89a4ea41d23d8d17aea2d9fe9a",
"types": "./lib/index.d.ts",
"version": "5.0.0-beta.159"
"version": "5.0.0-beta.160"
}

@ -1 +1 @@
export const version = "providers/5.0.0-beta.159";
export const version = "providers/5.0.0-beta.160";

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

@ -1 +1 @@
export const version = "tests/5.0.0-beta.154";
export const version = "tests/5.0.0-beta.155";

@ -82,7 +82,6 @@ const blockchainData = {
],
transactionHash: "0xc6fcb7d00d536e659a4559d2de29afa9e364094438fef3e72ba80728ce1cb616",
transactionIndex: 0x39,
transactionLogIndex: 0x0
},
{
address: "0x6090A6e47849629b7245Dfa1Ca21D94cd15878Ef",
@ -97,7 +96,6 @@ const blockchainData = {
],
transactionHash: "0xc6fcb7d00d536e659a4559d2de29afa9e364094438fef3e72ba80728ce1cb616",
transactionIndex: 0x39,
transactionLogIndex: 0x1
}
],
logsBloom: "0x00000000000000040000000000100000010000000000000040000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000200000010000000004000000000000000000000000000000000002000000000000000000000000400000000020000000000000000000000000000000000000004000000000000000000000000000000000000000000000000801000000000000000000000020000000000040000000040000000000000000002000000004000000000000000000000000000000000000000000000010000000000000000000000000000000000200000000000000000",
@ -129,7 +127,6 @@ const blockchainData = {
],
transactionHash: "0x7f1c6a58dc880438236d0b0a4ae166e9e9a038dbea8ec074149bd8b176332cac",
transactionIndex: 0x1e,
transactionLogIndex: 0x0
}
],
logsBloom: "0x00000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000200000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000800000000000000000800000000000000000000000000000000000000",
@ -254,7 +251,6 @@ const blockchainData = {
],
transactionHash: "0x55c477790b105e69e98afadf0505cbda606414b0187356137132bf24945016ce",
transactionIndex: 0x0,
transactionLogIndex: 0x0
}
],
logsBloom: "0x00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000010000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
@ -282,7 +278,6 @@ const blockchainData = {
topics: ["0xb76d0edd90c6a07aa3ff7a222d7f5933e29c6acc660c059c97837f05c4ca1a84"],
transactionHash: "0xf724f1d6813f13fb523c5f6af6261d06d41138dd094fff723e09fb0f893f03e6",
transactionIndex: 0x2,
transactionLogIndex: 0x0
}
],
logsBloom: "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000080000000202000000",

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

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

@ -86,7 +86,6 @@ var blockchainData = {
],
transactionHash: "0xc6fcb7d00d536e659a4559d2de29afa9e364094438fef3e72ba80728ce1cb616",
transactionIndex: 0x39,
transactionLogIndex: 0x0
},
{
address: "0x6090A6e47849629b7245Dfa1Ca21D94cd15878Ef",
@ -101,7 +100,6 @@ var blockchainData = {
],
transactionHash: "0xc6fcb7d00d536e659a4559d2de29afa9e364094438fef3e72ba80728ce1cb616",
transactionIndex: 0x39,
transactionLogIndex: 0x1
}
],
logsBloom: "0x00000000000000040000000000100000010000000000000040000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000200000010000000004000000000000000000000000000000000002000000000000000000000000400000000020000000000000000000000000000000000000004000000000000000000000000000000000000000000000000801000000000000000000000020000000000040000000040000000000000000002000000004000000000000000000000000000000000000000000000010000000000000000000000000000000000200000000000000000",
@ -133,7 +131,6 @@ var blockchainData = {
],
transactionHash: "0x7f1c6a58dc880438236d0b0a4ae166e9e9a038dbea8ec074149bd8b176332cac",
transactionIndex: 0x1e,
transactionLogIndex: 0x0
}
],
logsBloom: "0x00000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000200000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000800000000000000000800000000000000000000000000000000000000",
@ -258,7 +255,6 @@ var blockchainData = {
],
transactionHash: "0x55c477790b105e69e98afadf0505cbda606414b0187356137132bf24945016ce",
transactionIndex: 0x0,
transactionLogIndex: 0x0
}
],
logsBloom: "0x00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000010000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
@ -286,7 +282,6 @@ var blockchainData = {
topics: ["0xb76d0edd90c6a07aa3ff7a222d7f5933e29c6acc660c059c97837f05c4ca1a84"],
transactionHash: "0xf724f1d6813f13fb523c5f6af6261d06d41138dd094fff723e09fb0f893f03e6",
transactionIndex: 0x2,
transactionLogIndex: 0x0
}
],
logsBloom: "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000080000000202000000",

@ -33,7 +33,7 @@
"scripts": {
"test": "exit 1"
},
"tarballHash": "0x98ed191ce0dfcf1be8d6a6db07ad4d5c61ce5bee064244c6d772ff684c352f5d",
"tarballHash": "0xad11e09485d7fd98314eba8f906667090fce4344c9f98b464d22956e4845aaca",
"types": "./lib/index.d.ts",
"version": "5.0.0-beta.154"
"version": "5.0.0-beta.155"
}

@ -1 +1 @@
export const version = "tests/5.0.0-beta.154";
export const version = "tests/5.0.0-beta.155";