Skip to content

Commit

Permalink
admin: updated dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Apr 17, 2024
1 parent c45935e commit 287f743
Show file tree
Hide file tree
Showing 24 changed files with 46 additions and 20 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 @@ Change Log

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

ethers/v6.12.0 (2024-04-12 00:11)
ethers/v6.12.0 (2024-04-16 21:34)
---------------------------------

- Do not send unsubscribe messages to destroyed Providers ([#4678](https://github.com/ethers-io/ethers.js/issues/4678); [c45935e](https://github.com/ethers-io/ethers.js/commit/c45935e29ca0dd1ecdf1277fa1107246041be580)).
- Get definitive network from InfuraProvider when using InfuraWebSocketProvider ([38e32d8](https://github.com/ethers-io/ethers.js/commit/38e32d82145eb289e5179f9b6b11f4a9225a7022)).
- Better error messages for transaction field mismatch ([#4659](https://github.com/ethers-io/ethers.js/issues/4659); [9230aa0](https://github.com/ethers-io/ethers.js/commit/9230aa0b9a88b5241915a8d6afa8a522d35abd5d)).
- Added prevRandao to block ([#3372](https://github.com/ethers-io/ethers.js/issues/3372); [ec6a754](https://github.com/ethers-io/ethers.js/commit/ec6a754f0c8647dae59c73b2589225cb200d83dd)).
- Added Polygon Amoy testnet ([#4645](https://github.com/ethers-io/ethers.js/issues/4645); [1717abb](https://github.com/ethers-io/ethers.js/commit/1717abbf29a14a6f6b106e479fe9a5b1f8768dc4)).
Expand Down
8 changes: 7 additions & 1 deletion dist/ethers.js
Original file line number Diff line number Diff line change
Expand Up @@ -19741,6 +19741,9 @@ class FilterIdSubscriber {
if (filterIdPromise) {
this.#filterIdPromise = null;
filterIdPromise.then((filterId) => {
if (this.#provider.destroyed) {
return;
}
this.#provider.send("eth_uninstallFilter", [filterId]);
});
}
Expand Down Expand Up @@ -21686,6 +21689,9 @@ class SocketSubscriber {
}
stop() {
(this.#filterId).then((filterId) => {
if (this.#provider.destroyed) {
return;
}
this.#provider.send("eth_unsubscribe", [filterId]);
});
this.#filterId = null;
Expand Down Expand Up @@ -22112,7 +22118,7 @@ class InfuraWebSocketProvider extends WebSocketProvider {
const req = provider._getConnection();
assert(!req.credentials, "INFURA WebSocket project secrets unsupported", "UNSUPPORTED_OPERATION", { operation: "InfuraProvider.getWebSocketProvider()" });
const url = req.url.replace(/^http/i, "ws").replace("/v3/", "/ws/v3/");
super(url, network);
super(url, provider._network);
defineProperties(this, {
projectId: provider.projectId,
projectSecret: provider.projectSecret
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.

8 changes: 7 additions & 1 deletion dist/ethers.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -19747,6 +19747,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
if (filterIdPromise) {
this.#filterIdPromise = null;
filterIdPromise.then((filterId) => {
if (this.#provider.destroyed) {
return;
}
this.#provider.send("eth_uninstallFilter", [filterId]);
});
}
Expand Down Expand Up @@ -21692,6 +21695,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
}
stop() {
(this.#filterId).then((filterId) => {
if (this.#provider.destroyed) {
return;
}
this.#provider.send("eth_unsubscribe", [filterId]);
});
this.#filterId = null;
Expand Down Expand Up @@ -22118,7 +22124,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
const req = provider._getConnection();
assert(!req.credentials, "INFURA WebSocket project secrets unsupported", "UNSUPPORTED_OPERATION", { operation: "InfuraProvider.getWebSocketProvider()" });
const url = req.url.replace(/^http/i, "ws").replace("/v3/", "/ws/v3/");
super(url, network);
super(url, provider._network);
defineProperties(this, {
projectId: provider.projectId,
projectSecret: provider.projectSecret
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 lib.commonjs/providers/provider-infura.js

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

2 changes: 1 addition & 1 deletion lib.commonjs/providers/provider-infura.js.map

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

2 changes: 1 addition & 1 deletion lib.commonjs/providers/provider-socket.d.ts.map

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

3 changes: 3 additions & 0 deletions lib.commonjs/providers/provider-socket.js

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

Loading

0 comments on commit 287f743

Please sign in to comment.