Updated dist files.

This commit is contained in:
Richard Moore 2020-07-13 08:50:41 -04:00
parent 866ab30400
commit 6039464342
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
14 changed files with 38 additions and 37 deletions

View File

@ -3,9 +3,10 @@ Changelog
This change log is managed by `scripts/cmds/update-versions` but may be manually updated.
ethers/v5.0.6 (2020-07-13 07:38)
ethers/v5.0.6 (2020-07-13 08:49)
--------------------------------
- Updated WebSocketProvider to use web-style event listener API. ([57fd6f0](https://github.com/ethers-io/ethers.js/commit/57fd6f06047a1a2a3a46fe8b23ff585293a40062))
- Normalize formatUnits to simplified decimals. ([79b1da1](https://github.com/ethers-io/ethers.js/commit/79b1da130be50df80c7e5aeb221edc5669fc211e))
- Prevent zero-padding on Solidity type lengths. ([e128bfc](https://github.com/ethers-io/ethers.js/commit/e128bfcd10e006c920532151598700ca33a2127e))
- Set sensible defaults for INFURA and AlchemyAPI getWebSocketProvider methods. ([e3d3e60](https://github.com/ethers-io/ethers.js/commit/e3d3e604f299edbafe7d0721c0a3eff5f67c83f4))

View File

@ -16,8 +16,8 @@ decrypt decrypted decrypting deployed deploying deprecated detected
discontinued earliest email enabled encoded encoding encrypt
encrypted encrypting entries euro exceeded existing expected
expired failed fetches formatted formatting funding generated
has ignoring implemented implementer imported including instantiate
keyword labelled larger lookup matches mined modified modifies multi
hardened has ignoring implemented implementer imported including instantiate
joined keyword labelled larger lookup matches mined modified modifies multi
named needed nested neutered numeric offline optimizer overriding owned packed
padded parsed parsing passed placeholder processing properties reached
recommended recovered redacted remaining replaced required
@ -43,14 +43,14 @@ ABIEncoder testcase numberish Wordlist
// Common Code Strings
abi addr api app arg arrayify asm basex bigint bignumber bn byte
bytecode callback calldata checksum ciphertext cli codepoint config
bytecode callback calldata checksum ciphertext cli codepoint commify config
contenthash ctr ctrl debug dd dklen eexist encseed eof ethaddr
ethseed ethers eval exec filename func gz hid http https hw iv
info init ipc json kdf kdfparams labelhash lang lib mm multihash nfc
nfkc nfd nfkd nodehash nullish oob opcode pbkdf pc plugin pragma pre prf
repl rpc sighash topichash solc stdin stdout subclasses subnode
timeout todo txt ufixed utc utf util url uuid vm vs websocket
wikipedia wx xe yyyy zlib
wikipedia wx xe xpriv xpub xx yyyy zlib
// AbiV2
abiv

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -21905,14 +21905,14 @@ class WebSocketProvider extends JsonRpcProvider {
return __awaiter$8(this, void 0, void 0, function* () {
// Wait until we have connected before trying to disconnect
if (this._websocket.readyState === WebSocket$1.CONNECTING) {
yield new Promise((resolve) => {
this._websocket.on("open", () => {
yield (new Promise((resolve) => {
this._websocket.onopen = function () {
resolve(true);
});
this._websocket.on("error", () => {
};
this._websocket.onerror = function () {
resolve(false);
});
});
};
}));
}
// Hangup (navigating away from the page that opened the connection)
this._websocket.close(1001);

File diff suppressed because one or more lines are too long

View File

@ -24394,14 +24394,14 @@
switch (_a.label) {
case 0:
if (!(this._websocket.readyState === ws_1.default.CONNECTING)) return [3 /*break*/, 2];
return [4 /*yield*/, new Promise(function (resolve) {
_this._websocket.on("open", function () {
return [4 /*yield*/, (new Promise(function (resolve) {
_this._websocket.onopen = function () {
resolve(true);
});
_this._websocket.on("error", function () {
};
_this._websocket.onerror = function () {
resolve(false);
});
})];
};
}))];
case 1:
_a.sent();
_a.label = 2;

File diff suppressed because one or more lines are too long

View File

@ -49,7 +49,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0x1d687e3986acc6cd2ef4327dc9ab88a4ee36ff0b8e97abcadf955fa431ac6547",
"tarballHash": "0x1fa397ec997ff659abdb2f454a46261ff481d0442240f809b1e65b0a051a5db5",
"types": "./lib/index.d.ts",
"version": "5.0.6"
}

View File

@ -246,14 +246,14 @@ export class WebSocketProvider extends JsonRpcProvider {
return __awaiter(this, void 0, void 0, function* () {
// Wait until we have connected before trying to disconnect
if (this._websocket.readyState === WebSocket.CONNECTING) {
yield new Promise((resolve) => {
this._websocket.on("open", () => {
yield (new Promise((resolve) => {
this._websocket.onopen = function () {
resolve(true);
});
this._websocket.on("error", () => {
};
this._websocket.onerror = function () {
resolve(false);
});
});
};
}));
}
// Hangup (navigating away from the page that opened the connection)
this._websocket.close(1001);

File diff suppressed because one or more lines are too long

View File

@ -319,14 +319,14 @@ var WebSocketProvider = /** @class */ (function (_super) {
switch (_a.label) {
case 0:
if (!(this._websocket.readyState === ws_1.default.CONNECTING)) return [3 /*break*/, 2];
return [4 /*yield*/, new Promise(function (resolve) {
_this._websocket.on("open", function () {
return [4 /*yield*/, (new Promise(function (resolve) {
_this._websocket.onopen = function () {
resolve(true);
});
_this._websocket.on("error", function () {
};
_this._websocket.onerror = function () {
resolve(false);
});
})];
};
}))];
case 1:
_a.sent();
_a.label = 2;

File diff suppressed because one or more lines are too long

View File

@ -56,7 +56,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0xa7cb14773bda288593f51fff4144fe6679e0c3b404eb884efda3ecc6241e6025",
"tarballHash": "0xd921ac0e9bd451534417f713bd6a93b9a2c8210b6d4d929e759a685ce7f268a2",
"types": "./lib/index.d.ts",
"version": "5.0.5"
}