Skip to content

Commit 36172f7

Browse files
committed
Updated dist files.
1 parent 908258f commit 36172f7

File tree

10 files changed

+19
-11
lines changed

10 files changed

+19
-11
lines changed

_version.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export declare const version = "4.0.23";
1+
export declare const version = "4.0.24";

_version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"use strict";
22
Object.defineProperty(exports, "__esModule", { value: true });
3-
exports.version = "4.0.23";
3+
exports.version = "4.0.24";

dist/ethers.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ethers = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
22
"use strict";
33
Object.defineProperty(exports, "__esModule", { value: true });
4-
exports.version = "4.0.23";
4+
exports.version = "4.0.24";
55

66
},{}],2:[function(require,module,exports){
77
"use strict";
@@ -10394,8 +10394,12 @@ var BaseProvider = /** @class */ (function (_super) {
1039410394
// Sweep balances and remove addresses we no longer have events for
1039510395
var newBalances = {};
1039610396
// Find all transaction hashes we are waiting on
10397+
var uniqueEventTags = {};
1039710398
_this._events.forEach(function (event) {
10398-
var comps = event.tag.split(':');
10399+
uniqueEventTags[event.tag] = true;
10400+
});
10401+
Object.keys(uniqueEventTags).forEach(function (tag) {
10402+
var comps = tag.split(':');
1039910403
switch (comps[0]) {
1040010404
case 'tx': {
1040110405
var hash_2 = comps[1];

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.min.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.types.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ declare module 'ethers/utils/shims' {
265265
}
266266

267267
declare module 'ethers/_version' {
268-
export const version = "4.0.23";
268+
export const version = "4.0.24";
269269
}
270270

271271
declare module 'ethers/utils/bignumber' {

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethers",
3-
"version": "4.0.23",
3+
"version": "4.0.24",
44
"description": "Ethereum wallet library.",
55
"main": "./index.js",
66
"types": "./index.d.ts",

providers/base-provider.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,12 @@ var BaseProvider = /** @class */ (function (_super) {
486486
// Sweep balances and remove addresses we no longer have events for
487487
var newBalances = {};
488488
// Find all transaction hashes we are waiting on
489+
var uniqueEventTags = {};
489490
_this._events.forEach(function (event) {
490-
var comps = event.tag.split(':');
491+
uniqueEventTags[event.tag] = true;
492+
});
493+
Object.keys(uniqueEventTags).forEach(function (tag) {
494+
var comps = tag.split(':');
491495
switch (comps[0]) {
492496
case 'tx': {
493497
var hash_2 = comps[1];

src.ts/_version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = "4.0.23";
1+
export const version = "4.0.24";

0 commit comments

Comments
 (0)