Skip to content

Commit 287f743

Browse files
committed
admin: updated dist files
1 parent c45935e commit 287f743

24 files changed

+46
-20
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ 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.0 (2024-04-12 00:11)
6+
ethers/v6.12.0 (2024-04-16 21:34)
77
---------------------------------
88

9+
- 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)).
10+
- Get definitive network from InfuraProvider when using InfuraWebSocketProvider ([38e32d8](https://github.com/ethers-io/ethers.js/commit/38e32d82145eb289e5179f9b6b11f4a9225a7022)).
911
- 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)).
1012
- Added prevRandao to block ([#3372](https://github.com/ethers-io/ethers.js/issues/3372); [ec6a754](https://github.com/ethers-io/ethers.js/commit/ec6a754f0c8647dae59c73b2589225cb200d83dd)).
1113
- Added Polygon Amoy testnet ([#4645](https://github.com/ethers-io/ethers.js/issues/4645); [1717abb](https://github.com/ethers-io/ethers.js/commit/1717abbf29a14a6f6b106e479fe9a5b1f8768dc4)).

dist/ethers.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19741,6 +19741,9 @@ class FilterIdSubscriber {
1974119741
if (filterIdPromise) {
1974219742
this.#filterIdPromise = null;
1974319743
filterIdPromise.then((filterId) => {
19744+
if (this.#provider.destroyed) {
19745+
return;
19746+
}
1974419747
this.#provider.send("eth_uninstallFilter", [filterId]);
1974519748
});
1974619749
}
@@ -21686,6 +21689,9 @@ class SocketSubscriber {
2168621689
}
2168721690
stop() {
2168821691
(this.#filterId).then((filterId) => {
21692+
if (this.#provider.destroyed) {
21693+
return;
21694+
}
2168921695
this.#provider.send("eth_unsubscribe", [filterId]);
2169021696
});
2169121697
this.#filterId = null;
@@ -22112,7 +22118,7 @@ class InfuraWebSocketProvider extends WebSocketProvider {
2211222118
const req = provider._getConnection();
2211322119
assert(!req.credentials, "INFURA WebSocket project secrets unsupported", "UNSUPPORTED_OPERATION", { operation: "InfuraProvider.getWebSocketProvider()" });
2211422120
const url = req.url.replace(/^http/i, "ws").replace("/v3/", "/ws/v3/");
22115-
super(url, network);
22121+
super(url, provider._network);
2211622122
defineProperties(this, {
2211722123
projectId: provider.projectId,
2211822124
projectSecret: provider.projectSecret

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: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19747,6 +19747,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
1974719747
if (filterIdPromise) {
1974819748
this.#filterIdPromise = null;
1974919749
filterIdPromise.then((filterId) => {
19750+
if (this.#provider.destroyed) {
19751+
return;
19752+
}
1975019753
this.#provider.send("eth_uninstallFilter", [filterId]);
1975119754
});
1975219755
}
@@ -21692,6 +21695,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
2169221695
}
2169321696
stop() {
2169421697
(this.#filterId).then((filterId) => {
21698+
if (this.#provider.destroyed) {
21699+
return;
21700+
}
2169521701
this.#provider.send("eth_unsubscribe", [filterId]);
2169621702
});
2169721703
this.#filterId = null;
@@ -22118,7 +22124,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
2211822124
const req = provider._getConnection();
2211922125
assert(!req.credentials, "INFURA WebSocket project secrets unsupported", "UNSUPPORTED_OPERATION", { operation: "InfuraProvider.getWebSocketProvider()" });
2212022126
const url = req.url.replace(/^http/i, "ws").replace("/v3/", "/ws/v3/");
22121-
super(url, network);
22127+
super(url, provider._network);
2212222128
defineProperties(this, {
2212322129
projectId: provider.projectId,
2212422130
projectSecret: provider.projectSecret

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.

lib.commonjs/providers/provider-infura.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.

lib.commonjs/providers/provider-infura.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.

lib.commonjs/providers/provider-socket.d.ts.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.

0 commit comments

Comments
 (0)