Updated dist files.
This commit is contained in:
parent
8eaeba35f5
commit
c0daf437f7
@ -3,6 +3,12 @@ Changelog
|
||||
|
||||
This change log is managed by `admin/cmds/update-versions` but may be manually updated.
|
||||
|
||||
ethers/v5.1.2 (2021-04-18 19:31)
|
||||
--------------------------------
|
||||
|
||||
- Increase provider tests gas price for sending a transaction. ([8eaeba3](https://github.com/ethers-io/ethers.js/commit/8eaeba35f550c3d9aa1ae62eb8d8e0c912818f7f))
|
||||
- Fixed run-checking non-filter Contract events. ([#1458](https://github.com/ethers-io/ethers.js/issues/1458); [4a44865](https://github.com/ethers-io/ethers.js/commit/4a44865a8c22adb9c55d5c37a81ee46ebc68228c))
|
||||
|
||||
ethers/v5.1.1 (2021-04-18 02:47)
|
||||
--------------------------------
|
||||
|
||||
|
18
package-lock.json
generated
18
package-lock.json
generated
@ -1275,9 +1275,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"caniuse-lite": {
|
||||
"version": "1.0.30001209",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001209.tgz",
|
||||
"integrity": "sha512-2Ktt4OeRM7EM/JaOZjuLzPYAIqmbwQMNnYbgooT+icoRGrKOyAxA1xhlnotBD1KArRSPsuJp3TdYcZYrL7qNxA==",
|
||||
"version": "1.0.30001210",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001210.tgz",
|
||||
"integrity": "sha512-avmGf0Jo00I8vB0I89J4Pba48kddasErV7slu7wrkyM5uY9gE5P+B+V3hjABv8Hp4YNG2nBqIUFUXlnqNteXEA==",
|
||||
"dev": true
|
||||
},
|
||||
"caseless": {
|
||||
@ -1748,9 +1748,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"ws": {
|
||||
"version": "7.4.4",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.4.tgz",
|
||||
"integrity": "sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw==",
|
||||
"version": "7.4.5",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
|
||||
"integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
@ -1784,9 +1784,9 @@
|
||||
}
|
||||
},
|
||||
"ws": {
|
||||
"version": "7.4.4",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.4.tgz",
|
||||
"integrity": "sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw==",
|
||||
"version": "7.4.5",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
|
||||
"integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
|
2
packages/contracts/lib.esm/_version.d.ts
vendored
2
packages/contracts/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "contracts/5.1.0";
|
||||
export declare const version = "contracts/5.1.1";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "contracts/5.1.0";
|
||||
export const version = "contracts/5.1.1";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -712,7 +712,7 @@ export class BaseContract {
|
||||
delete this._runningEvents[runningEvent.tag];
|
||||
// If we have a poller for this, remove it
|
||||
const emit = this._wrappedEmits[runningEvent.tag];
|
||||
if (emit) {
|
||||
if (emit && runningEvent.filter) {
|
||||
this.provider.off(runningEvent.filter, emit);
|
||||
delete this._wrappedEmits[runningEvent.tag];
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
2
packages/contracts/lib/_version.d.ts
vendored
2
packages/contracts/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "contracts/5.1.0";
|
||||
export declare const version = "contracts/5.1.1";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "contracts/5.1.0";
|
||||
exports.version = "contracts/5.1.1";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -848,7 +848,7 @@ var BaseContract = /** @class */ (function () {
|
||||
delete this._runningEvents[runningEvent.tag];
|
||||
// If we have a poller for this, remove it
|
||||
var emit = this._wrappedEmits[runningEvent.tag];
|
||||
if (emit) {
|
||||
if (emit && runningEvent.filter) {
|
||||
this.provider.off(runningEvent.filter, emit);
|
||||
delete this._wrappedEmits[runningEvent.tag];
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -44,7 +44,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0x94a2e1633e19ed31fa9284c9056d0ce89b752521d3f280b2ae6f89f2c578df9a",
|
||||
"tarballHash": "0x42bc93f9c1cd5cdf5736c430f66a9a3da8c743461cb5590447e7fee04fa0ebfe",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.1.0"
|
||||
"version": "5.1.1"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "contracts/5.1.0";
|
||||
export const version = "contracts/5.1.1";
|
||||
|
6
packages/ethers/dist/ethers.esm.js
vendored
6
packages/ethers/dist/ethers.esm.js
vendored
@ -13010,7 +13010,7 @@ function parse(rawTransaction) {
|
||||
});
|
||||
}
|
||||
|
||||
const version$d = "contracts/5.1.0";
|
||||
const version$d = "contracts/5.1.1";
|
||||
|
||||
"use strict";
|
||||
var __awaiter$3 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||
@ -13716,7 +13716,7 @@ class BaseContract {
|
||||
delete this._runningEvents[runningEvent.tag];
|
||||
// If we have a poller for this, remove it
|
||||
const emit = this._wrappedEmits[runningEvent.tag];
|
||||
if (emit) {
|
||||
if (emit && runningEvent.filter) {
|
||||
this.provider.off(runningEvent.filter, emit);
|
||||
delete this._wrappedEmits[runningEvent.tag];
|
||||
}
|
||||
@ -22436,7 +22436,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
|
||||
Indexed: Indexed
|
||||
});
|
||||
|
||||
const version$o = "ethers/5.1.1";
|
||||
const version$o = "ethers/5.1.2";
|
||||
|
||||
"use strict";
|
||||
const logger$H = new Logger(version$o);
|
||||
|
2
packages/ethers/dist/ethers.esm.js.map
vendored
2
packages/ethers/dist/ethers.esm.js.map
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.esm.min.js
vendored
2
packages/ethers/dist/ethers.esm.min.js
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.esm.min.js.map
vendored
2
packages/ethers/dist/ethers.esm.min.js.map
vendored
File diff suppressed because one or more lines are too long
6
packages/ethers/dist/ethers.umd.js
vendored
6
packages/ethers/dist/ethers.umd.js
vendored
@ -14199,7 +14199,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "contracts/5.1.0";
|
||||
exports.version = "contracts/5.1.1";
|
||||
|
||||
});
|
||||
|
||||
@ -15056,7 +15056,7 @@
|
||||
delete this._runningEvents[runningEvent.tag];
|
||||
// If we have a poller for this, remove it
|
||||
var emit = this._wrappedEmits[runningEvent.tag];
|
||||
if (emit) {
|
||||
if (emit && runningEvent.filter) {
|
||||
this.provider.off(runningEvent.filter, emit);
|
||||
delete this._wrappedEmits[runningEvent.tag];
|
||||
}
|
||||
@ -26101,7 +26101,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "ethers/5.1.1";
|
||||
exports.version = "ethers/5.1.2";
|
||||
|
||||
});
|
||||
|
||||
|
2
packages/ethers/dist/ethers.umd.js.map
vendored
2
packages/ethers/dist/ethers.umd.js.map
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.umd.min.js
vendored
2
packages/ethers/dist/ethers.umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/dist/ethers.umd.min.js.map
vendored
2
packages/ethers/dist/ethers.umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
packages/ethers/lib.esm/_version.d.ts
vendored
2
packages/ethers/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "ethers/5.1.1";
|
||||
export declare const version = "ethers/5.1.2";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "ethers/5.1.1";
|
||||
export const version = "ethers/5.1.2";
|
||||
//# sourceMappingURL=_version.js.map
|
2
packages/ethers/lib/_version.d.ts
vendored
2
packages/ethers/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "ethers/5.1.1";
|
||||
export declare const version = "ethers/5.1.2";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "ethers/5.1.1";
|
||||
exports.version = "ethers/5.1.2";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -11,7 +11,7 @@
|
||||
"@ethersproject/bignumber": "5.1.0",
|
||||
"@ethersproject/bytes": "5.1.0",
|
||||
"@ethersproject/constants": "5.1.0",
|
||||
"@ethersproject/contracts": "5.1.0",
|
||||
"@ethersproject/contracts": "5.1.1",
|
||||
"@ethersproject/hash": "5.1.0",
|
||||
"@ethersproject/hdnode": "5.1.0",
|
||||
"@ethersproject/json-wallets": "5.1.0",
|
||||
@ -62,7 +62,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0xce8d29a26dd72fd6ca2474e5c5419e612aed4113b68575acedeac474b2095cb9",
|
||||
"tarballHash": "0xc8fa6f3d08d19014510f7f6cdab1fda529993f8d017c09220062823935738719",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.1.1"
|
||||
"version": "5.1.2"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "ethers/5.1.1";
|
||||
export const version = "ethers/5.1.2";
|
||||
|
2
packages/tests/lib.esm/_version.d.ts
vendored
2
packages/tests/lib.esm/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "tests/5.1.1";
|
||||
export declare const version = "tests/5.1.2";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,2 +1,2 @@
|
||||
export const version = "tests/5.1.1";
|
||||
export const version = "tests/5.1.2";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -734,16 +734,17 @@ testFunctions.push({
|
||||
networks: ["ropsten"],
|
||||
checkSkip: (provider, network, test) => {
|
||||
return false;
|
||||
//return (provider === "PocketProvider");
|
||||
},
|
||||
execute: (provider) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
const gasPrice = (yield provider.getGasPrice()).mul(10);
|
||||
const wallet = fundWallet.connect(provider);
|
||||
const addr = "0x8210357f377E901f18E45294e86a2A32215Cc3C9";
|
||||
const b0 = yield provider.getBalance(wallet.address);
|
||||
assert.ok(b0.gt(ethers.constants.Zero), "balance is non-zero");
|
||||
const tx = yield wallet.sendTransaction({
|
||||
to: addr,
|
||||
value: 123
|
||||
value: 123,
|
||||
gasPrice: gasPrice
|
||||
});
|
||||
yield tx.wait();
|
||||
const b1 = yield provider.getBalance(wallet.address);
|
||||
@ -759,6 +760,7 @@ testFunctions.push({
|
||||
return false;
|
||||
},
|
||||
execute: (provider) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
const gasPrice = (yield provider.getGasPrice()).mul(10);
|
||||
const wallet = fundWallet.connect(provider);
|
||||
const addr = "0x8210357f377E901f18E45294e86a2A32215Cc3C9";
|
||||
const b0 = yield provider.getBalance(wallet.address);
|
||||
@ -772,7 +774,8 @@ testFunctions.push({
|
||||
]
|
||||
},
|
||||
to: addr,
|
||||
value: 123
|
||||
value: 123,
|
||||
gasPrice: gasPrice
|
||||
});
|
||||
yield tx.wait();
|
||||
const b1 = yield provider.getBalance(wallet.address);
|
||||
|
File diff suppressed because one or more lines are too long
2
packages/tests/lib/_version.d.ts
vendored
2
packages/tests/lib/_version.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
export declare const version = "tests/5.1.1";
|
||||
export declare const version = "tests/5.1.2";
|
||||
//# sourceMappingURL=_version.d.ts.map
|
@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = void 0;
|
||||
exports.version = "tests/5.1.1";
|
||||
exports.version = "tests/5.1.2";
|
||||
//# sourceMappingURL=_version.js.map
|
@ -824,30 +824,32 @@ testFunctions.push({
|
||||
networks: ["ropsten"],
|
||||
checkSkip: function (provider, network, test) {
|
||||
return false;
|
||||
//return (provider === "PocketProvider");
|
||||
},
|
||||
execute: function (provider) { return __awaiter(void 0, void 0, void 0, function () {
|
||||
var wallet, addr, b0, tx, b1;
|
||||
var gasPrice, wallet, addr, b0, tx, b1;
|
||||
return __generator(this, function (_a) {
|
||||
switch (_a.label) {
|
||||
case 0:
|
||||
case 0: return [4 /*yield*/, provider.getGasPrice()];
|
||||
case 1:
|
||||
gasPrice = (_a.sent()).mul(10);
|
||||
wallet = fundWallet.connect(provider);
|
||||
addr = "0x8210357f377E901f18E45294e86a2A32215Cc3C9";
|
||||
return [4 /*yield*/, provider.getBalance(wallet.address)];
|
||||
case 1:
|
||||
case 2:
|
||||
b0 = _a.sent();
|
||||
assert_1.default.ok(b0.gt(ethers_1.ethers.constants.Zero), "balance is non-zero");
|
||||
return [4 /*yield*/, wallet.sendTransaction({
|
||||
to: addr,
|
||||
value: 123
|
||||
value: 123,
|
||||
gasPrice: gasPrice
|
||||
})];
|
||||
case 2:
|
||||
case 3:
|
||||
tx = _a.sent();
|
||||
return [4 /*yield*/, tx.wait()];
|
||||
case 3:
|
||||
case 4:
|
||||
_a.sent();
|
||||
return [4 /*yield*/, provider.getBalance(wallet.address)];
|
||||
case 4:
|
||||
case 5:
|
||||
b1 = _a.sent();
|
||||
assert_1.default.ok(b0.gt(b1), "balance is decreased");
|
||||
return [2 /*return*/];
|
||||
@ -864,14 +866,16 @@ testFunctions.push({
|
||||
return false;
|
||||
},
|
||||
execute: function (provider) { return __awaiter(void 0, void 0, void 0, function () {
|
||||
var wallet, addr, b0, tx, b1;
|
||||
var gasPrice, wallet, addr, b0, tx, b1;
|
||||
return __generator(this, function (_a) {
|
||||
switch (_a.label) {
|
||||
case 0:
|
||||
case 0: return [4 /*yield*/, provider.getGasPrice()];
|
||||
case 1:
|
||||
gasPrice = (_a.sent()).mul(10);
|
||||
wallet = fundWallet.connect(provider);
|
||||
addr = "0x8210357f377E901f18E45294e86a2A32215Cc3C9";
|
||||
return [4 /*yield*/, provider.getBalance(wallet.address)];
|
||||
case 1:
|
||||
case 2:
|
||||
b0 = _a.sent();
|
||||
assert_1.default.ok(b0.gt(ethers_1.ethers.constants.Zero), "balance is non-zero");
|
||||
return [4 /*yield*/, wallet.sendTransaction({
|
||||
@ -883,15 +887,16 @@ testFunctions.push({
|
||||
]
|
||||
},
|
||||
to: addr,
|
||||
value: 123
|
||||
value: 123,
|
||||
gasPrice: gasPrice
|
||||
})];
|
||||
case 2:
|
||||
case 3:
|
||||
tx = _a.sent();
|
||||
return [4 /*yield*/, tx.wait()];
|
||||
case 3:
|
||||
case 4:
|
||||
_a.sent();
|
||||
return [4 /*yield*/, provider.getBalance(wallet.address)];
|
||||
case 4:
|
||||
case 5:
|
||||
b1 = _a.sent();
|
||||
assert_1.default.ok(b0.gt(b1), "balance is decreased");
|
||||
return [2 /*return*/];
|
||||
|
File diff suppressed because one or more lines are too long
@ -37,7 +37,7 @@
|
||||
"scripts": {
|
||||
"test": "exit 1"
|
||||
},
|
||||
"tarballHash": "0xfd360c3ae7482d4b8fe9948619018a51b1bc09a066fb57ae7036d76251819d0b",
|
||||
"tarballHash": "0xa19575dcbbb0adb1c1c8b9d58fbe1f6ff6ed18f40f28af478578bf5180b1bb82",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.1.1"
|
||||
"version": "5.1.2"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "tests/5.1.1";
|
||||
export const version = "tests/5.1.2";
|
||||
|
Loading…
Reference in New Issue
Block a user