Skip to content

Commit

Permalink
admin: update dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed May 1, 2024
1 parent 4d2d90f commit 6c36f13
Show file tree
Hide file tree
Showing 50 changed files with 124 additions and 70 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ Change Log

This change log is maintained by `src.ts/_admin/update-changelog.ts` but may also be manually updated.

ethers/v6.12.1 (2024-04-30 22:46)
---------------------------------

- Prevent bad Interface clone when using two different versions of v6 ([#4689](https://github.com/ethers-io/ethers.js/issues/4689); [4d2d90f](https://github.com/ethers-io/ethers.js/commit/4d2d90f5cea2eb2f9559e490a34aa1567c8c4c14)).
- Fixed typo in error message for invalid quorum weight ([#4149](https://github.com/ethers-io/ethers.js/issues/4149); [45b9b9c](https://github.com/ethers-io/ethers.js/commit/45b9b9c9322bf20feaf892d948bcfb8db8932877)).
- Added matic-amoy to EtherescanProvider ([#4711](https://github.com/ethers-io/ethers.js/issues/4711); [5c8d17a](https://github.com/ethers-io/ethers.js/commit/5c8d17a61825fe002bd45ee5b2239bfd8c8ae189)).
- Fix JsonRpcProvider ignoring pollingInterval in options ([#4644](https://github.com/ethers-io/ethers.js/issues/4644); [7b7be0d](https://github.com/ethers-io/ethers.js/commit/7b7be0d1ef637f073b28bce54f4ecdfb8c88d09c)).

ethers/v6.12.0 (2024-04-17 01:09)
---------------------------------

Expand Down
29 changes: 20 additions & 9 deletions dist/ethers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
/**
* The current version of Ethers.
*/
const version = "6.12.0";
const version = "6.12.1";

/**
* Property helper functions.
Expand Down Expand Up @@ -13889,7 +13889,11 @@ getSelector(fragment: ErrorFragment | FunctionFragment): string {
if (typeof (value) === "string") {
return new Interface(JSON.parse(value));
}
// Maybe an interface from an older version, or from a symlinked copy
// An Interface; possibly from another v6 instance
if (typeof (value.formatJson) === "function") {
return new Interface(value.formatJson());
}
// A legacy Interface; from an older version
if (typeof (value.format) === "function") {
return new Interface(value.format("json"));
}
Expand Down Expand Up @@ -16472,13 +16476,13 @@ class MulticoinProviderPlugin {
return false;
}
/**
* Resovles to the encoded %%address%% for %%coinType%%.
* Resolves to the encoded %%address%% for %%coinType%%.
*/
async encodeAddress(coinType, address) {
throw new Error("unsupported coin");
}
/**
* Resovles to the decoded %%data%% for %%coinType%%.
* Resolves to the decoded %%data%% for %%coinType%%.
*/
async decodeAddress(coinType, data) {
throw new Error("unsupported coin");
Expand Down Expand Up @@ -18500,7 +18504,7 @@ class AbstractProvider {
return resolve(address, fromBlock, toBlock);
}
/**
* Returns or resovles to a transaction for %%request%%, resolving
* Returns or resolves to a transaction for %%request%%, resolving
* any ENS names or [[Addressable]] and returning if already a valid
* transaction.
*/
Expand Down Expand Up @@ -20623,7 +20627,11 @@ class JsonRpcApiPollingProvider extends JsonRpcApiProvider {
#pollingInterval;
constructor(network, options) {
super(network, options);
this.#pollingInterval = 4000;
let pollingInterval = this._getOption("pollingInterval");
if (pollingInterval == null) {
pollingInterval = defaultOptions.pollingInterval;
}
this.#pollingInterval = pollingInterval;
}
_getSubscriber(sub) {
const subscriber = super._getSubscriber(sub);
Expand Down Expand Up @@ -21153,6 +21161,7 @@ class CloudflareProvider extends JsonRpcProvider {
* - Optimism Goerli Testnet (``optimism-goerli``)
* - Polygon (``matic``)
* - Polygon Mumbai Testnet (``matic-mumbai``)
* - Polygon Amoy Testnet (``matic-amoy``)
*
* @_subsection api/providers/thirdparty:Etherscan [providers-etherscan]
*/
Expand Down Expand Up @@ -21248,6 +21257,8 @@ class EtherscanProvider extends AbstractProvider {
return "https:/\/api-testnet.bscscan.com";
case "matic":
return "https:/\/api.polygonscan.com";
case "matic-amoy":
return "https:/\/api-amoy.polygonscan.com";
case "matic-mumbai":
return "https:/\/api-testnet.polygonscan.com";
case "optimism":
Expand Down Expand Up @@ -22619,7 +22630,7 @@ class FallbackProvider extends AbstractProvider {
}
this.eventQuorum = 1;
this.eventWorkers = 1;
assertArgument(this.quorum <= this.#configs.reduce((a, c) => (a + c.weight), 0), "quorum exceed provider wieght", "quorum", this.quorum);
assertArgument(this.quorum <= this.#configs.reduce((a, c) => (a + c.weight), 0), "quorum exceed provider weight", "quorum", this.quorum);
}
get providerConfigs() {
return this.#configs.map((c) => {
Expand Down Expand Up @@ -24774,9 +24785,9 @@ class HDNodeWallet extends BaseWallet {
/**
* The derivation path of this wallet.
*
* Since extended keys do not provider full path details, this
* Since extended keys do not provide full path details, this
* may be ``null``, if instantiated from a source that does not
* enocde it.
* encode it.
*/
path;
/**
Expand Down
2 changes: 1 addition & 1 deletion dist/ethers.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

29 changes: 20 additions & 9 deletions dist/ethers.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
/**
* The current version of Ethers.
*/
const version = "6.12.0";
const version = "6.12.1";

/**
* Property helper functions.
Expand Down Expand Up @@ -13895,7 +13895,11 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
if (typeof (value) === "string") {
return new Interface(JSON.parse(value));
}
// Maybe an interface from an older version, or from a symlinked copy
// An Interface; possibly from another v6 instance
if (typeof (value.formatJson) === "function") {
return new Interface(value.formatJson());
}
// A legacy Interface; from an older version
if (typeof (value.format) === "function") {
return new Interface(value.format("json"));
}
Expand Down Expand Up @@ -16478,13 +16482,13 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
return false;
}
/**
* Resovles to the encoded %%address%% for %%coinType%%.
* Resolves to the encoded %%address%% for %%coinType%%.
*/
async encodeAddress(coinType, address) {
throw new Error("unsupported coin");
}
/**
* Resovles to the decoded %%data%% for %%coinType%%.
* Resolves to the decoded %%data%% for %%coinType%%.
*/
async decodeAddress(coinType, data) {
throw new Error("unsupported coin");
Expand Down Expand Up @@ -18506,7 +18510,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
return resolve(address, fromBlock, toBlock);
}
/**
* Returns or resovles to a transaction for %%request%%, resolving
* Returns or resolves to a transaction for %%request%%, resolving
* any ENS names or [[Addressable]] and returning if already a valid
* transaction.
*/
Expand Down Expand Up @@ -20629,7 +20633,11 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
#pollingInterval;
constructor(network, options) {
super(network, options);
this.#pollingInterval = 4000;
let pollingInterval = this._getOption("pollingInterval");
if (pollingInterval == null) {
pollingInterval = defaultOptions.pollingInterval;
}
this.#pollingInterval = pollingInterval;
}
_getSubscriber(sub) {
const subscriber = super._getSubscriber(sub);
Expand Down Expand Up @@ -21159,6 +21167,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
* - Optimism Goerli Testnet (``optimism-goerli``)
* - Polygon (``matic``)
* - Polygon Mumbai Testnet (``matic-mumbai``)
* - Polygon Amoy Testnet (``matic-amoy``)
*
* @_subsection api/providers/thirdparty:Etherscan [providers-etherscan]
*/
Expand Down Expand Up @@ -21254,6 +21263,8 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
return "https:/\/api-testnet.bscscan.com";
case "matic":
return "https:/\/api.polygonscan.com";
case "matic-amoy":
return "https:/\/api-amoy.polygonscan.com";
case "matic-mumbai":
return "https:/\/api-testnet.polygonscan.com";
case "optimism":
Expand Down Expand Up @@ -22625,7 +22636,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
}
this.eventQuorum = 1;
this.eventWorkers = 1;
assertArgument(this.quorum <= this.#configs.reduce((a, c) => (a + c.weight), 0), "quorum exceed provider wieght", "quorum", this.quorum);
assertArgument(this.quorum <= this.#configs.reduce((a, c) => (a + c.weight), 0), "quorum exceed provider weight", "quorum", this.quorum);
}
get providerConfigs() {
return this.#configs.map((c) => {
Expand Down Expand Up @@ -24780,9 +24791,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
/**
* The derivation path of this wallet.
*
* Since extended keys do not provider full path details, this
* Since extended keys do not provide full path details, this
* may be ``null``, if instantiated from a source that does not
* enocde it.
* encode it.
*/
path;
/**
Expand Down
2 changes: 1 addition & 1 deletion dist/ethers.umd.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wordlists-extra.js

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

2 changes: 1 addition & 1 deletion dist/wordlists-extra.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wordlists-extra.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib.commonjs/_version.js

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

Loading

0 comments on commit 6c36f13

Please sign in to comment.