Updated dist files
This commit is contained in:
parent
3c79ee8cef
commit
5f1f2c5e2c
50
package-lock.json
generated
50
package-lock.json
generated
@ -19,17 +19,17 @@
|
||||
"dev": true
|
||||
},
|
||||
"@babel/core": {
|
||||
"version": "7.14.2",
|
||||
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.2.tgz",
|
||||
"integrity": "sha512-OgC1mON+l4U4B4wiohJlQNUU3H73mpTyYY3j/c8U9dr9UagGGSm+WFpzjy/YLdoyjiG++c1kIDgxCo/mLwQJeQ==",
|
||||
"version": "7.14.3",
|
||||
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.3.tgz",
|
||||
"integrity": "sha512-jB5AmTKOCSJIZ72sd78ECEhuPiDMKlQdDI/4QRI6lzYATx5SSogS1oQA2AoPecRCknm30gHi2l+QVvNUu3wZAg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.12.13",
|
||||
"@babel/generator": "^7.14.2",
|
||||
"@babel/generator": "^7.14.3",
|
||||
"@babel/helper-compilation-targets": "^7.13.16",
|
||||
"@babel/helper-module-transforms": "^7.14.2",
|
||||
"@babel/helpers": "^7.14.0",
|
||||
"@babel/parser": "^7.14.2",
|
||||
"@babel/parser": "^7.14.3",
|
||||
"@babel/template": "^7.12.13",
|
||||
"@babel/traverse": "^7.14.2",
|
||||
"@babel/types": "^7.14.2",
|
||||
@ -42,9 +42,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": {
|
||||
"version": "7.14.2",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.2.tgz",
|
||||
"integrity": "sha512-IoVDIHpsgE/fu7eXBeRWt8zLbDrSvD7H1gpomOkPpBoEN8KCruCqSDdqo8dddwQQrui30KSvQBaMUOJiuFu6QQ==",
|
||||
"version": "7.14.3",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.3.tgz",
|
||||
"integrity": "sha512-7MpZDIfI7sUC5zWo2+foJ50CSI5lcqDehZ0lVgIhSi4bFEk94fLAKlF3Q0nzSQQ+ca0lm+O6G9ztKVBeu8PMRQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/types": {
|
||||
@ -87,9 +87,9 @@
|
||||
}
|
||||
},
|
||||
"@babel/generator": {
|
||||
"version": "7.14.2",
|
||||
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.2.tgz",
|
||||
"integrity": "sha512-OnADYbKrffDVai5qcpkMxQ7caomHOoEwjkouqnN2QhydAjowFAZcsdecFIRUBdb+ZcruwYE4ythYmF1UBZU5xQ==",
|
||||
"version": "7.14.3",
|
||||
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.3.tgz",
|
||||
"integrity": "sha512-bn0S6flG/j0xtQdz3hsjJ624h3W0r3llttBMfyHX3YrZ/KtLYr15bjA0FXkgW7FpvrDuTuElXeVjiKlYRpnOFA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "^7.14.2",
|
||||
@ -271,15 +271,15 @@
|
||||
}
|
||||
},
|
||||
"@babel/helper-replace-supers": {
|
||||
"version": "7.13.12",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz",
|
||||
"integrity": "sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw==",
|
||||
"version": "7.14.3",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.14.3.tgz",
|
||||
"integrity": "sha512-Rlh8qEWZSTfdz+tgNV/N4gz1a0TMNwCUcENhMjHTHKp3LseYH5Jha0NSlyTQWMnjbYcwFt+bqAMqSLHVXkQ6UA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-member-expression-to-functions": "^7.13.12",
|
||||
"@babel/helper-optimise-call-expression": "^7.12.13",
|
||||
"@babel/traverse": "^7.13.0",
|
||||
"@babel/types": "^7.13.12"
|
||||
"@babel/traverse": "^7.14.2",
|
||||
"@babel/types": "^7.14.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/types": {
|
||||
@ -399,9 +399,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": {
|
||||
"version": "7.14.2",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.2.tgz",
|
||||
"integrity": "sha512-IoVDIHpsgE/fu7eXBeRWt8zLbDrSvD7H1gpomOkPpBoEN8KCruCqSDdqo8dddwQQrui30KSvQBaMUOJiuFu6QQ==",
|
||||
"version": "7.14.3",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.3.tgz",
|
||||
"integrity": "sha512-7MpZDIfI7sUC5zWo2+foJ50CSI5lcqDehZ0lVgIhSi4bFEk94fLAKlF3Q0nzSQQ+ca0lm+O6G9ztKVBeu8PMRQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/types": {
|
||||
@ -433,9 +433,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": {
|
||||
"version": "7.14.2",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.2.tgz",
|
||||
"integrity": "sha512-IoVDIHpsgE/fu7eXBeRWt8zLbDrSvD7H1gpomOkPpBoEN8KCruCqSDdqo8dddwQQrui30KSvQBaMUOJiuFu6QQ==",
|
||||
"version": "7.14.3",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.3.tgz",
|
||||
"integrity": "sha512-7MpZDIfI7sUC5zWo2+foJ50CSI5lcqDehZ0lVgIhSi4bFEk94fLAKlF3Q0nzSQQ+ca0lm+O6G9ztKVBeu8PMRQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/types": {
|
||||
@ -1679,9 +1679,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"electron-to-chromium": {
|
||||
"version": "1.3.728",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.728.tgz",
|
||||
"integrity": "sha512-SHv4ziXruBpb1Nz4aTuqEHBYi/9GNCJMYIJgDEXrp/2V01nFXMNFUTli5Z85f5ivSkioLilQatqBYFB44wNJrA==",
|
||||
"version": "1.3.730",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.730.tgz",
|
||||
"integrity": "sha512-1Tr3h09wXhmqXnvDyrRe6MFgTeU0ZXy3+rMJWTrOHh/HNesWwBBrKnMxRJWZ86dzs8qQdw2c7ZE1/qeGHygImA==",
|
||||
"dev": true
|
||||
},
|
||||
"elliptic": {
|
||||
|
2
packages/ethers/dist/ethers.esm.js
vendored
2
packages/ethers/dist/ethers.esm.js
vendored
@ -18960,7 +18960,7 @@ class BaseProvider extends Provider {
|
||||
this._emitted.block = blockNumber - 1;
|
||||
}
|
||||
if (Math.abs((this._emitted.block) - blockNumber) > 1000) {
|
||||
logger$t.warn("network block skew detected; skipping block events");
|
||||
logger$t.warn(`network block skew detected; skipping block events (emitted=${this._emitted.block} blockNumber${blockNumber})`);
|
||||
this.emit("error", logger$t.makeError("network block skew detected", Logger.errors.NETWORK_ERROR, {
|
||||
blockNumber: blockNumber,
|
||||
event: "blockSkew",
|
||||
|
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
2
packages/ethers/dist/ethers.umd.js
vendored
2
packages/ethers/dist/ethers.umd.js
vendored
@ -21392,7 +21392,7 @@
|
||||
this._emitted.block = blockNumber - 1;
|
||||
}
|
||||
if (Math.abs((this._emitted.block) - blockNumber) > 1000) {
|
||||
logger.warn("network block skew detected; skipping block events");
|
||||
logger.warn("network block skew detected; skipping block events (emitted=" + this._emitted.block + " blockNumber" + blockNumber + ")");
|
||||
this.emit("error", logger.makeError("network block skew detected", lib.Logger.errors.NETWORK_ERROR, {
|
||||
blockNumber: blockNumber,
|
||||
event: "blockSkew",
|
||||
|
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
@ -62,7 +62,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0x16c1ed6c465ff6ca76ba1354b55745c950de943bcbbaf0c002594eb5a16b151a",
|
||||
"tarballHash": "0xe8181f9d533db4015b9f10deba82a4f283b3fa5311cba4ff9b6eec2a9a03b54b",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.2.0"
|
||||
}
|
||||
|
@ -537,7 +537,7 @@ export class BaseProvider extends Provider {
|
||||
this._emitted.block = blockNumber - 1;
|
||||
}
|
||||
if (Math.abs((this._emitted.block) - blockNumber) > 1000) {
|
||||
logger.warn("network block skew detected; skipping block events");
|
||||
logger.warn(`network block skew detected; skipping block events (emitted=${this._emitted.block} blockNumber${blockNumber})`);
|
||||
this.emit("error", logger.makeError("network block skew detected", Logger.errors.NETWORK_ERROR, {
|
||||
blockNumber: blockNumber,
|
||||
event: "blockSkew",
|
||||
|
File diff suppressed because one or more lines are too long
@ -671,7 +671,7 @@ var BaseProvider = /** @class */ (function (_super) {
|
||||
this._emitted.block = blockNumber - 1;
|
||||
}
|
||||
if (Math.abs((this._emitted.block) - blockNumber) > 1000) {
|
||||
logger.warn("network block skew detected; skipping block events");
|
||||
logger.warn("network block skew detected; skipping block events (emitted=" + this._emitted.block + " blockNumber" + blockNumber + ")");
|
||||
this.emit("error", logger.makeError("network block skew detected", logger_1.Logger.errors.NETWORK_ERROR, {
|
||||
blockNumber: blockNumber,
|
||||
event: "blockSkew",
|
||||
|
File diff suppressed because one or more lines are too long
@ -66,7 +66,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"tarballHash": "0xaf42be8faf1e7fd1b0febcce1430b7c77379b02c85ce8dc53c525e9eda1b7273",
|
||||
"tarballHash": "0x6ed678325a141e8d3850a4ceac7b268280956204b48d9925ddbd1759b49a3bb1",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.2.0"
|
||||
}
|
||||
|
@ -739,6 +739,7 @@ testFunctions.push({
|
||||
const gasPrice = (yield provider.getGasPrice()).mul(10);
|
||||
const wallet = fundWallet.connect(provider);
|
||||
const addr = "0x8210357f377E901f18E45294e86a2A32215Cc3C9";
|
||||
yield waiter(3000);
|
||||
const b0 = yield provider.getBalance(wallet.address);
|
||||
assert.ok(b0.gt(ethers.constants.Zero), "balance is non-zero");
|
||||
const tx = yield wallet.sendTransaction({
|
||||
@ -747,6 +748,7 @@ testFunctions.push({
|
||||
gasPrice: gasPrice
|
||||
});
|
||||
yield tx.wait();
|
||||
yield waiter(3000);
|
||||
const b1 = yield provider.getBalance(wallet.address);
|
||||
assert.ok(b0.gt(b1), "balance is decreased");
|
||||
})
|
||||
@ -763,6 +765,7 @@ testFunctions.push({
|
||||
const gasPrice = (yield provider.getGasPrice()).mul(10);
|
||||
const wallet = fundWallet.connect(provider);
|
||||
const addr = "0x8210357f377E901f18E45294e86a2A32215Cc3C9";
|
||||
yield waiter(3000);
|
||||
const b0 = yield provider.getBalance(wallet.address);
|
||||
assert.ok(b0.gt(ethers.constants.Zero), "balance is non-zero");
|
||||
const tx = yield wallet.sendTransaction({
|
||||
@ -778,6 +781,7 @@ testFunctions.push({
|
||||
gasPrice: gasPrice
|
||||
});
|
||||
yield tx.wait();
|
||||
yield waiter(3000);
|
||||
const b1 = yield provider.getBalance(wallet.address);
|
||||
assert.ok(b0.gt(b1), "balance is decreased");
|
||||
})
|
||||
|
File diff suppressed because one or more lines are too long
@ -834,8 +834,11 @@ testFunctions.push({
|
||||
gasPrice = (_a.sent()).mul(10);
|
||||
wallet = fundWallet.connect(provider);
|
||||
addr = "0x8210357f377E901f18E45294e86a2A32215Cc3C9";
|
||||
return [4 /*yield*/, provider.getBalance(wallet.address)];
|
||||
return [4 /*yield*/, waiter(3000)];
|
||||
case 2:
|
||||
_a.sent();
|
||||
return [4 /*yield*/, provider.getBalance(wallet.address)];
|
||||
case 3:
|
||||
b0 = _a.sent();
|
||||
assert_1.default.ok(b0.gt(ethers_1.ethers.constants.Zero), "balance is non-zero");
|
||||
return [4 /*yield*/, wallet.sendTransaction({
|
||||
@ -843,13 +846,16 @@ testFunctions.push({
|
||||
value: 123,
|
||||
gasPrice: gasPrice
|
||||
})];
|
||||
case 3:
|
||||
case 4:
|
||||
tx = _a.sent();
|
||||
return [4 /*yield*/, tx.wait()];
|
||||
case 4:
|
||||
case 5:
|
||||
_a.sent();
|
||||
return [4 /*yield*/, waiter(3000)];
|
||||
case 6:
|
||||
_a.sent();
|
||||
return [4 /*yield*/, provider.getBalance(wallet.address)];
|
||||
case 5:
|
||||
case 7:
|
||||
b1 = _a.sent();
|
||||
assert_1.default.ok(b0.gt(b1), "balance is decreased");
|
||||
return [2 /*return*/];
|
||||
@ -874,8 +880,11 @@ testFunctions.push({
|
||||
gasPrice = (_a.sent()).mul(10);
|
||||
wallet = fundWallet.connect(provider);
|
||||
addr = "0x8210357f377E901f18E45294e86a2A32215Cc3C9";
|
||||
return [4 /*yield*/, provider.getBalance(wallet.address)];
|
||||
return [4 /*yield*/, waiter(3000)];
|
||||
case 2:
|
||||
_a.sent();
|
||||
return [4 /*yield*/, provider.getBalance(wallet.address)];
|
||||
case 3:
|
||||
b0 = _a.sent();
|
||||
assert_1.default.ok(b0.gt(ethers_1.ethers.constants.Zero), "balance is non-zero");
|
||||
return [4 /*yield*/, wallet.sendTransaction({
|
||||
@ -890,13 +899,16 @@ testFunctions.push({
|
||||
value: 123,
|
||||
gasPrice: gasPrice
|
||||
})];
|
||||
case 3:
|
||||
case 4:
|
||||
tx = _a.sent();
|
||||
return [4 /*yield*/, tx.wait()];
|
||||
case 4:
|
||||
case 5:
|
||||
_a.sent();
|
||||
return [4 /*yield*/, waiter(3000)];
|
||||
case 6:
|
||||
_a.sent();
|
||||
return [4 /*yield*/, provider.getBalance(wallet.address)];
|
||||
case 5:
|
||||
case 7:
|
||||
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": "0xb567371c2d2b8090db53117cfe9dcf2825998f1f52b0a98916c7751c70ddd509",
|
||||
"tarballHash": "0xf39768368323e081db9ba71e3deaf6d66cf9e46e0aaf744896b9285d521541b3",
|
||||
"types": "./lib/index.d.ts",
|
||||
"version": "5.2.0"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user