Skip to content

Commit 6c36f13

Browse files
committed
admin: update dist files
1 parent 4d2d90f commit 6c36f13

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+124
-70
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ Change Log
33

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

6+
ethers/v6.12.1 (2024-04-30 22:46)
7+
---------------------------------
8+
9+
- 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)).
10+
- 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)).
11+
- 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)).
12+
- 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)).
13+
614
ethers/v6.12.0 (2024-04-17 01:09)
715
---------------------------------
816

dist/ethers.js

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
33
/**
44
* The current version of Ethers.
55
*/
6-
const version = "6.12.0";
6+
const version = "6.12.1";
77

88
/**
99
* Property helper functions.
@@ -13889,7 +13889,11 @@ getSelector(fragment: ErrorFragment | FunctionFragment): string {
1388913889
if (typeof (value) === "string") {
1389013890
return new Interface(JSON.parse(value));
1389113891
}
13892-
// Maybe an interface from an older version, or from a symlinked copy
13892+
// An Interface; possibly from another v6 instance
13893+
if (typeof (value.formatJson) === "function") {
13894+
return new Interface(value.formatJson());
13895+
}
13896+
// A legacy Interface; from an older version
1389313897
if (typeof (value.format) === "function") {
1389413898
return new Interface(value.format("json"));
1389513899
}
@@ -16472,13 +16476,13 @@ class MulticoinProviderPlugin {
1647216476
return false;
1647316477
}
1647416478
/**
16475-
* Resovles to the encoded %%address%% for %%coinType%%.
16479+
* Resolves to the encoded %%address%% for %%coinType%%.
1647616480
*/
1647716481
async encodeAddress(coinType, address) {
1647816482
throw new Error("unsupported coin");
1647916483
}
1648016484
/**
16481-
* Resovles to the decoded %%data%% for %%coinType%%.
16485+
* Resolves to the decoded %%data%% for %%coinType%%.
1648216486
*/
1648316487
async decodeAddress(coinType, data) {
1648416488
throw new Error("unsupported coin");
@@ -18500,7 +18504,7 @@ class AbstractProvider {
1850018504
return resolve(address, fromBlock, toBlock);
1850118505
}
1850218506
/**
18503-
* Returns or resovles to a transaction for %%request%%, resolving
18507+
* Returns or resolves to a transaction for %%request%%, resolving
1850418508
* any ENS names or [[Addressable]] and returning if already a valid
1850518509
* transaction.
1850618510
*/
@@ -20623,7 +20627,11 @@ class JsonRpcApiPollingProvider extends JsonRpcApiProvider {
2062320627
#pollingInterval;
2062420628
constructor(network, options) {
2062520629
super(network, options);
20626-
this.#pollingInterval = 4000;
20630+
let pollingInterval = this._getOption("pollingInterval");
20631+
if (pollingInterval == null) {
20632+
pollingInterval = defaultOptions.pollingInterval;
20633+
}
20634+
this.#pollingInterval = pollingInterval;
2062720635
}
2062820636
_getSubscriber(sub) {
2062920637
const subscriber = super._getSubscriber(sub);
@@ -21153,6 +21161,7 @@ class CloudflareProvider extends JsonRpcProvider {
2115321161
* - Optimism Goerli Testnet (``optimism-goerli``)
2115421162
* - Polygon (``matic``)
2115521163
* - Polygon Mumbai Testnet (``matic-mumbai``)
21164+
* - Polygon Amoy Testnet (``matic-amoy``)
2115621165
*
2115721166
* @_subsection api/providers/thirdparty:Etherscan [providers-etherscan]
2115821167
*/
@@ -21248,6 +21257,8 @@ class EtherscanProvider extends AbstractProvider {
2124821257
return "https:/\/api-testnet.bscscan.com";
2124921258
case "matic":
2125021259
return "https:/\/api.polygonscan.com";
21260+
case "matic-amoy":
21261+
return "https:/\/api-amoy.polygonscan.com";
2125121262
case "matic-mumbai":
2125221263
return "https:/\/api-testnet.polygonscan.com";
2125321264
case "optimism":
@@ -22619,7 +22630,7 @@ class FallbackProvider extends AbstractProvider {
2261922630
}
2262022631
this.eventQuorum = 1;
2262122632
this.eventWorkers = 1;
22622-
assertArgument(this.quorum <= this.#configs.reduce((a, c) => (a + c.weight), 0), "quorum exceed provider wieght", "quorum", this.quorum);
22633+
assertArgument(this.quorum <= this.#configs.reduce((a, c) => (a + c.weight), 0), "quorum exceed provider weight", "quorum", this.quorum);
2262322634
}
2262422635
get providerConfigs() {
2262522636
return this.#configs.map((c) => {
@@ -24774,9 +24785,9 @@ class HDNodeWallet extends BaseWallet {
2477424785
/**
2477524786
* The derivation path of this wallet.
2477624787
*
24777-
* Since extended keys do not provider full path details, this
24788+
* Since extended keys do not provide full path details, this
2477824789
* may be ``null``, if instantiated from a source that does not
24779-
* enocde it.
24790+
* encode it.
2478024791
*/
2478124792
path;
2478224793
/**

dist/ethers.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethers.umd.js

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
99
/**
1010
* The current version of Ethers.
1111
*/
12-
const version = "6.12.0";
12+
const version = "6.12.1";
1313

1414
/**
1515
* Property helper functions.
@@ -13895,7 +13895,11 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
1389513895
if (typeof (value) === "string") {
1389613896
return new Interface(JSON.parse(value));
1389713897
}
13898-
// Maybe an interface from an older version, or from a symlinked copy
13898+
// An Interface; possibly from another v6 instance
13899+
if (typeof (value.formatJson) === "function") {
13900+
return new Interface(value.formatJson());
13901+
}
13902+
// A legacy Interface; from an older version
1389913903
if (typeof (value.format) === "function") {
1390013904
return new Interface(value.format("json"));
1390113905
}
@@ -16478,13 +16482,13 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
1647816482
return false;
1647916483
}
1648016484
/**
16481-
* Resovles to the encoded %%address%% for %%coinType%%.
16485+
* Resolves to the encoded %%address%% for %%coinType%%.
1648216486
*/
1648316487
async encodeAddress(coinType, address) {
1648416488
throw new Error("unsupported coin");
1648516489
}
1648616490
/**
16487-
* Resovles to the decoded %%data%% for %%coinType%%.
16491+
* Resolves to the decoded %%data%% for %%coinType%%.
1648816492
*/
1648916493
async decodeAddress(coinType, data) {
1649016494
throw new Error("unsupported coin");
@@ -18506,7 +18510,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
1850618510
return resolve(address, fromBlock, toBlock);
1850718511
}
1850818512
/**
18509-
* Returns or resovles to a transaction for %%request%%, resolving
18513+
* Returns or resolves to a transaction for %%request%%, resolving
1851018514
* any ENS names or [[Addressable]] and returning if already a valid
1851118515
* transaction.
1851218516
*/
@@ -20629,7 +20633,11 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
2062920633
#pollingInterval;
2063020634
constructor(network, options) {
2063120635
super(network, options);
20632-
this.#pollingInterval = 4000;
20636+
let pollingInterval = this._getOption("pollingInterval");
20637+
if (pollingInterval == null) {
20638+
pollingInterval = defaultOptions.pollingInterval;
20639+
}
20640+
this.#pollingInterval = pollingInterval;
2063320641
}
2063420642
_getSubscriber(sub) {
2063520643
const subscriber = super._getSubscriber(sub);
@@ -21159,6 +21167,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
2115921167
* - Optimism Goerli Testnet (``optimism-goerli``)
2116021168
* - Polygon (``matic``)
2116121169
* - Polygon Mumbai Testnet (``matic-mumbai``)
21170+
* - Polygon Amoy Testnet (``matic-amoy``)
2116221171
*
2116321172
* @_subsection api/providers/thirdparty:Etherscan [providers-etherscan]
2116421173
*/
@@ -21254,6 +21263,8 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
2125421263
return "https:/\/api-testnet.bscscan.com";
2125521264
case "matic":
2125621265
return "https:/\/api.polygonscan.com";
21266+
case "matic-amoy":
21267+
return "https:/\/api-amoy.polygonscan.com";
2125721268
case "matic-mumbai":
2125821269
return "https:/\/api-testnet.polygonscan.com";
2125921270
case "optimism":
@@ -22625,7 +22636,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
2262522636
}
2262622637
this.eventQuorum = 1;
2262722638
this.eventWorkers = 1;
22628-
assertArgument(this.quorum <= this.#configs.reduce((a, c) => (a + c.weight), 0), "quorum exceed provider wieght", "quorum", this.quorum);
22639+
assertArgument(this.quorum <= this.#configs.reduce((a, c) => (a + c.weight), 0), "quorum exceed provider weight", "quorum", this.quorum);
2262922640
}
2263022641
get providerConfigs() {
2263122642
return this.#configs.map((c) => {
@@ -24780,9 +24791,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
2478024791
/**
2478124792
* The derivation path of this wallet.
2478224793
*
24783-
* Since extended keys do not provider full path details, this
24794+
* Since extended keys do not provide full path details, this
2478424795
* may be ``null``, if instantiated from a source that does not
24785-
* enocde it.
24796+
* encode it.
2478624797
*/
2478724798
path;
2478824799
/**

dist/ethers.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethers.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/wordlists-extra.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/wordlists-extra.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/wordlists-extra.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)