Skip to content

Commit

Permalink
updated dist files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jul 2, 2021
1 parent 6e8a39e commit bde8614
Show file tree
Hide file tree
Showing 38 changed files with 120 additions and 104 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ Changelog

This change log is managed by `admin/cmds/update-versions` but may be manually updated.

ethers/v5.4.1 (2021-06-29 12:24)
ethers/v5.4.1 (2021-07-02 01:47)
--------------------------------

- Added Pocket back into Homestead defaultProvider and skip certain EtherscanProvider tests affected by outage. ([6e8a39e](https://github.com/ethers-io/ethers.js/commit/6e8a39ec35123e681e47807f54ef9b9122635ea0))
- Fixed EtherscanProvider NONCE_EXPIRED matching string update. ([ecae793](https://github.com/ethers-io/ethers.js/commit/ecae793edff172a885e5ee014a8ad0b28b68c1e5))
- Fixed explicit EIP-1559 keys for JsonRpcSigner. ([72feee8](https://github.com/ethers-io/ethers.js/commit/72feee8f5841febdab0d15f09baa69539d95e199))

ethers/v5.4.0 (2021-06-26 01:50)
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 15 additions & 7 deletions packages/ethers/dist/ethers.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -17466,7 +17466,7 @@ function verifyTypedData(domain, types, value, signature) {
return recoverAddress(TypedDataEncoder.hash(domain, types, value), signature);
}

const version$k = "networks/5.4.0";
const version$k = "networks/5.4.1";

"use strict";
const logger$q = new Logger(version$k);
Expand All @@ -17487,8 +17487,17 @@ function ethDefaultProvider(network) {
catch (error) { }
}
if (providers.EtherscanProvider) {
//try {
// providerList.push(new providers.EtherscanProvider(network, options.etherscan));
//} catch(error) { }
// These networks are currently faulty on this provider
// @TODO: This goes away once they have fixed their nodes
const skip = ["ropsten"];
try {
providerList.push(new providers.EtherscanProvider(network, options.etherscan));
const provider = new providers.EtherscanProvider(network);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
providerList.push(provider);
}
}
catch (error) { }
}
Expand All @@ -17498,21 +17507,20 @@ function ethDefaultProvider(network) {
}
catch (error) { }
}
/*
if (providers.PocketProvider) {
// These networks are currently faulty on Pocket as their
// network does not handle the Berlin hardfork, which is
// live on these ones.
// @TODO: This goes away once Pocket has upgraded their nodes
const skip = [ "goerli", "ropsten", "rinkeby" ];
const skip = ["goerli", "ropsten", "rinkeby"];
try {
const provider = new providers.PocketProvider(network);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
providerList.push(provider);
}
} catch(error) { }
}
catch (error) { }
}
*/
if (providers.CloudflareProvider) {
try {
providerList.push(new providers.CloudflareProvider(network));
Expand Down Expand Up @@ -21483,7 +21491,7 @@ function checkError$1(method, error, transaction) {
});
}
// "Transaction with the same hash was already imported."
if (message.match(/same hash was already imported|transaction nonce is too low/)) {
if (message.match(/same hash was already imported|transaction nonce is too low|nonce too low/)) {
logger$z.throwError("nonce has already been used", Logger.errors.NONCE_EXPIRED, {
error, method, transaction
});
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.min.js.map

Large diffs are not rendered by default.

24 changes: 16 additions & 8 deletions packages/ethers/dist/ethers.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -19611,7 +19611,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "networks/5.4.0";
exports.version = "networks/5.4.1";

});

Expand Down Expand Up @@ -19641,8 +19641,17 @@
catch (error) { }
}
if (providers.EtherscanProvider) {
//try {
// providerList.push(new providers.EtherscanProvider(network, options.etherscan));
//} catch(error) { }
// These networks are currently faulty on this provider
// @TODO: This goes away once they have fixed their nodes
var skip = ["ropsten"];
try {
providerList.push(new providers.EtherscanProvider(network, options.etherscan));
var provider = new providers.EtherscanProvider(network);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
providerList.push(provider);
}
}
catch (error) { }
}
Expand All @@ -19652,21 +19661,20 @@
}
catch (error) { }
}
/*
if (providers.PocketProvider) {
// These networks are currently faulty on Pocket as their
// network does not handle the Berlin hardfork, which is
// live on these ones.
// @TODO: This goes away once Pocket has upgraded their nodes
const skip = [ "goerli", "ropsten", "rinkeby" ];
var skip = ["goerli", "ropsten", "rinkeby"];
try {
const provider = new providers.PocketProvider(network);
var provider = new providers.PocketProvider(network);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
providerList.push(provider);
}
} catch(error) { }
}
catch (error) { }
}
*/
if (providers.CloudflareProvider) {
try {
providerList.push(new providers.CloudflareProvider(network));
Expand Down Expand Up @@ -24826,7 +24834,7 @@
});
}
// "Transaction with the same hash was already imported."
if (message.match(/same hash was already imported|transaction nonce is too low/)) {
if (message.match(/same hash was already imported|transaction nonce is too low|nonce too low/)) {
logger.throwError("nonce has already been used", lib.Logger.errors.NONCE_EXPIRED, {
error: error, method: method, transaction: transaction
});
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@ethersproject/json-wallets": "5.4.0",
"@ethersproject/keccak256": "5.4.0",
"@ethersproject/logger": "5.4.0",
"@ethersproject/networks": "5.4.0",
"@ethersproject/networks": "5.4.1",
"@ethersproject/pbkdf2": "5.4.0",
"@ethersproject/properties": "5.4.0",
"@ethersproject/providers": "5.4.1",
Expand Down Expand Up @@ -62,7 +62,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x9149c5d01492e437728953314c004e05ef20153c45c44718b8086f6f5a458e28",
"tarballHash": "0xcc06f3c3949bc5b1ccf0349ceac2bab1928ee2f5d2b15b149d98604ae0532a47",
"types": "./lib/index.d.ts",
"version": "5.4.1"
}
2 changes: 1 addition & 1 deletion packages/networks/lib.esm/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export declare const version = "networks/5.4.0";
export declare const version = "networks/5.4.1";
//# sourceMappingURL=_version.d.ts.map
2 changes: 1 addition & 1 deletion packages/networks/lib.esm/_version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/networks/lib.esm/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 13 additions & 5 deletions packages/networks/lib.esm/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bde8614

Please sign in to comment.