@ethersproject/contracts
Advanced tools
Comparing version 5.0.8 to 5.0.9
@@ -1,1 +0,1 @@ | ||
export declare const version = "contracts/5.0.8"; | ||
export declare const version = "contracts/5.0.9"; |
@@ -1,2 +0,2 @@ | ||
export const version = "contracts/5.0.8"; | ||
export const version = "contracts/5.0.9"; | ||
//# sourceMappingURL=_version.js.map |
@@ -799,2 +799,7 @@ "use strict"; | ||
} | ||
if (eventName == null) { | ||
return Object.keys(this._runningEvents).reduce((accum, key) => { | ||
return accum + this._runningEvents[key].listenerCount(); | ||
}, 0); | ||
} | ||
return this._getRunningEvent(eventName).listenerCount(); | ||
@@ -801,0 +806,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export declare const version = "contracts/5.0.8"; | ||
export declare const version = "contracts/5.0.9"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = "contracts/5.0.8"; | ||
exports.version = "contracts/5.0.9"; | ||
//# sourceMappingURL=_version.js.map |
@@ -938,5 +938,11 @@ "use strict"; | ||
Contract.prototype.listenerCount = function (eventName) { | ||
var _this = this; | ||
if (!this.provider) { | ||
return 0; | ||
} | ||
if (eventName == null) { | ||
return Object.keys(this._runningEvents).reduce(function (accum, key) { | ||
return accum + _this._runningEvents[key].listenerCount(); | ||
}, 0); | ||
} | ||
return this._getRunningEvent(eventName).listenerCount(); | ||
@@ -943,0 +949,0 @@ }; |
{ | ||
"author": "Richard Moore <me@ricmoo.com>", | ||
"dependencies": { | ||
"@ethersproject/abi": "^5.0.5", | ||
"@ethersproject/abstract-provider": "^5.0.4", | ||
"@ethersproject/abstract-signer": "^5.0.4", | ||
"@ethersproject/address": "^5.0.4", | ||
"@ethersproject/bignumber": "^5.0.7", | ||
"@ethersproject/bytes": "^5.0.4", | ||
"@ethersproject/constants": "^5.0.4", | ||
"@ethersproject/logger": "^5.0.5", | ||
"@ethersproject/properties": "^5.0.3" | ||
"@ethersproject/abi": "^5.0.10", | ||
"@ethersproject/abstract-provider": "^5.0.8", | ||
"@ethersproject/abstract-signer": "^5.0.10", | ||
"@ethersproject/address": "^5.0.9", | ||
"@ethersproject/bignumber": "^5.0.13", | ||
"@ethersproject/bytes": "^5.0.9", | ||
"@ethersproject/constants": "^5.0.8", | ||
"@ethersproject/logger": "^5.0.8", | ||
"@ethersproject/properties": "^5.0.7" | ||
}, | ||
@@ -26,3 +26,3 @@ "description": "Contract abstraction meta-class for ethers.", | ||
], | ||
"gitHead": "211defa27f85af111e81b400a18922f35dff21e1", | ||
"gitHead": "e0ccafb140ad8a10353a49909b8d425ba71b87de", | ||
"keywords": [ | ||
@@ -48,5 +48,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0xce5f076317986cd03fab0e8ca2eaf969ec5c05f4d4b89d89e05542c24249caa3", | ||
"tarballHash": "0x8f47387e6dbe09671064c072ef17c897caa59dbafcd312291b7ea8a403cbce83", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.0.8" | ||
"version": "5.0.9" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "contracts/5.0.8"; | ||
export const version = "contracts/5.0.9"; |
@@ -1019,2 +1019,7 @@ "use strict"; | ||
if (!this.provider) { return 0; } | ||
if (eventName == null) { | ||
return Object.keys(this._runningEvents).reduce((accum, key) => { | ||
return accum + this._runningEvents[key].listenerCount(); | ||
}, 0); | ||
} | ||
return this._getRunningEvent(eventName).listenerCount(); | ||
@@ -1021,0 +1026,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
222997
3358
Updated@ethersproject/abi@^5.0.10
Updated@ethersproject/bytes@^5.0.9
Updated@ethersproject/logger@^5.0.8