Updated dist files.

This commit is contained in:
Richard Moore 2021-01-08 03:32:59 -05:00
parent 20335e96c2
commit e0ccafb140
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
213 changed files with 560 additions and 580 deletions

@ -3,6 +3,13 @@ Changelog
This change log is managed by `admin/cmds/update-versions` but may be manually updated. This change log is managed by `admin/cmds/update-versions` but may be manually updated.
ethers/v5.0.25 (2021-01-08 03:31)
---------------------------------
- Safety check on digest length for signing. ([20335e9](https://github.com/ethers-io/ethers.js/commit/20335e96c2429e851081b72031ea3fd4cd677904))
- Fixed listenerCount for contract when requesting for all events. ([#1205](https://github.com/ethers-io/ethers.js/issues/1205); [a56a0a3](https://github.com/ethers-io/ethers.js/commit/a56a0a33366ea9276fba5bc45f1e4678dd723fa6))
- Lock package versions for the ESM builds. ([#1009](https://github.com/ethers-io/ethers.js/issues/1009); [0e6cc9a](https://github.com/ethers-io/ethers.js/commit/0e6cc9a9a8ebceae4529ccbb7c107618eb54490a))
ethers/v5.0.24 (2020-12-08 01:43) ethers/v5.0.24 (2020-12-08 01:43)
--------------------------------- ---------------------------------

581
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
export declare const version = "abi/5.0.9"; export declare const version = "abi/5.0.10";

@ -1,2 +1,2 @@
export const version = "abi/5.0.9"; export const version = "abi/5.0.10";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
{"version":3,"file":"_version.js","sourceRoot":"","sources":["../src.ts/_version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,WAAW,CAAC"} {"version":3,"file":"_version.js","sourceRoot":"","sources":["../src.ts/_version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,YAAY,CAAC"}

@ -1 +1 @@
export declare const version = "abi/5.0.9"; export declare const version = "abi/5.0.10";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abi/5.0.9"; exports.version = "abi/5.0.10";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
{"version":3,"file":"_version.js","sourceRoot":"","sources":["../src.ts/_version.ts"],"names":[],"mappings":";;AAAa,QAAA,OAAO,GAAG,WAAW,CAAC"} {"version":3,"file":"_version.js","sourceRoot":"","sources":["../src.ts/_version.ts"],"names":[],"mappings":";;AAAa,QAAA,OAAO,GAAG,YAAY,CAAC"}

@ -1 +1 @@
export const version = "abi/5.0.9"; export const version = "abi/5.0.10";

@ -1 +1 @@
export declare const version = "abstract-provider/5.0.7"; export declare const version = "abstract-provider/5.0.8";

@ -1,2 +1,2 @@
export const version = "abstract-provider/5.0.7"; export const version = "abstract-provider/5.0.8";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "abstract-provider/5.0.7"; export declare const version = "abstract-provider/5.0.8";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-provider/5.0.7"; exports.version = "abstract-provider/5.0.8";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "abstract-provider/5.0.7"; export const version = "abstract-provider/5.0.8";

@ -1 +1 @@
export declare const version = "abstract-signer/5.0.9"; export declare const version = "abstract-signer/5.0.10";

@ -1,2 +1,2 @@
export const version = "abstract-signer/5.0.9"; export const version = "abstract-signer/5.0.10";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
{"version":3,"file":"_version.js","sourceRoot":"","sources":["../src.ts/_version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,uBAAuB,CAAC"} {"version":3,"file":"_version.js","sourceRoot":"","sources":["../src.ts/_version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,wBAAwB,CAAC"}

@ -1 +1 @@
export declare const version = "abstract-signer/5.0.9"; export declare const version = "abstract-signer/5.0.10";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-signer/5.0.9"; exports.version = "abstract-signer/5.0.10";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
{"version":3,"file":"_version.js","sourceRoot":"","sources":["../src.ts/_version.ts"],"names":[],"mappings":";;AAAa,QAAA,OAAO,GAAG,uBAAuB,CAAC"} {"version":3,"file":"_version.js","sourceRoot":"","sources":["../src.ts/_version.ts"],"names":[],"mappings":";;AAAa,QAAA,OAAO,GAAG,wBAAwB,CAAC"}

@ -1 +1 @@
export const version = "abstract-signer/5.0.9"; export const version = "abstract-signer/5.0.10";

@ -1 +1 @@
export declare const version = "address/5.0.8"; export declare const version = "address/5.0.9";

@ -1,2 +1,2 @@
export const version = "address/5.0.8"; export const version = "address/5.0.9";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "address/5.0.8"; export declare const version = "address/5.0.9";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "address/5.0.8"; exports.version = "address/5.0.9";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "address/5.0.8"; export const version = "address/5.0.9";

@ -1 +1 @@
export declare const version = "asm/5.0.8"; export declare const version = "asm/5.0.9";

@ -1,2 +1,2 @@
export const version = "asm/5.0.8"; export const version = "asm/5.0.9";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "asm/5.0.8"; export declare const version = "asm/5.0.9";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "asm/5.0.8"; exports.version = "asm/5.0.9";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "asm/5.0.8"; export const version = "asm/5.0.9";

@ -1 +1 @@
export declare const version = "base64/5.0.6"; export declare const version = "base64/5.0.7";

@ -1,2 +1,2 @@
export const version = "base64/5.0.6"; export const version = "base64/5.0.7";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "base64/5.0.6"; export declare const version = "base64/5.0.7";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "base64/5.0.6"; exports.version = "base64/5.0.7";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "base64/5.0.6"; export const version = "base64/5.0.7";

@ -1 +1 @@
export declare const version = "basex/5.0.6"; export declare const version = "basex/5.0.7";

@ -1,2 +1,2 @@
export const version = "basex/5.0.6"; export const version = "basex/5.0.7";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "basex/5.0.6"; export declare const version = "basex/5.0.7";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "basex/5.0.6"; exports.version = "basex/5.0.7";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "basex/5.0.6"; export const version = "basex/5.0.7";

@ -1 +1 @@
export declare const version = "bignumber/5.0.12"; export declare const version = "bignumber/5.0.13";

@ -1,2 +1,2 @@
export const version = "bignumber/5.0.12"; export const version = "bignumber/5.0.13";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "bignumber/5.0.12"; export declare const version = "bignumber/5.0.13";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "bignumber/5.0.12"; exports.version = "bignumber/5.0.13";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "bignumber/5.0.12"; export const version = "bignumber/5.0.13";

@ -1 +1 @@
export declare const version = "bytes/5.0.8"; export declare const version = "bytes/5.0.9";

@ -1,2 +1,2 @@
export const version = "bytes/5.0.8"; export const version = "bytes/5.0.9";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "bytes/5.0.8"; export declare const version = "bytes/5.0.9";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "bytes/5.0.8"; exports.version = "bytes/5.0.9";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "bytes/5.0.8"; export const version = "bytes/5.0.9";

@ -1 +1 @@
export declare const version = "cli/5.0.7"; export declare const version = "cli/5.0.8";

@ -1,2 +1,2 @@
export const version = "cli/5.0.7"; export const version = "cli/5.0.8";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "cli/5.0.7"; export declare const version = "cli/5.0.8";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "cli/5.0.7"; exports.version = "cli/5.0.8";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "cli/5.0.7"; export const version = "cli/5.0.8";

@ -1 +1 @@
export declare const version = "constants/5.0.7"; export declare const version = "constants/5.0.8";

@ -1,2 +1,2 @@
export const version = "constants/5.0.7"; export const version = "constants/5.0.8";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "constants/5.0.7"; export declare const version = "constants/5.0.8";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "constants/5.0.7"; exports.version = "constants/5.0.8";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "constants/5.0.7"; export const version = "constants/5.0.8";

@ -1 +1 @@
export declare const version = "contracts/5.0.8"; export declare const version = "contracts/5.0.9";

@ -1,2 +1,2 @@
export const version = "contracts/5.0.8"; export const version = "contracts/5.0.9";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -796,6 +796,11 @@ export class Contract {
if (!this.provider) { if (!this.provider) {
return 0; 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(); return this._getRunningEvent(eventName).listenerCount();
} }
listeners(eventName) { listeners(eventName) {

File diff suppressed because one or more lines are too long

@ -1 +1 @@
export declare const version = "contracts/5.0.8"; export declare const version = "contracts/5.0.9";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "contracts/5.0.8"; exports.version = "contracts/5.0.9";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -935,9 +935,15 @@ var Contract = /** @class */ (function () {
return result; return result;
}; };
Contract.prototype.listenerCount = function (eventName) { Contract.prototype.listenerCount = function (eventName) {
var _this = this;
if (!this.provider) { if (!this.provider) {
return 0; 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(); return this._getRunningEvent(eventName).listenerCount();
}; };
Contract.prototype.listeners = function (eventName) { Contract.prototype.listeners = function (eventName) {

File diff suppressed because one or more lines are too long

@ -43,7 +43,7 @@
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"sideEffects": false, "sideEffects": false,
"tarballHash": "0xf884a986b6a0c17eb617ada7e6a4e5dbcd61d3846b8fb13781addfabecd5c058", "tarballHash": "0x8f47387e6dbe09671064c072ef17c897caa59dbafcd312291b7ea8a403cbce83",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"version": "5.0.9" "version": "5.0.9"
} }

@ -1 +1 @@
export const version = "contracts/5.0.8"; export const version = "contracts/5.0.9";

@ -3775,7 +3775,7 @@ class Logger {
Logger.errors = ErrorCode; Logger.errors = ErrorCode;
Logger.levels = LogLevel; Logger.levels = LogLevel;
const version$1 = "bytes/5.0.8"; const version$1 = "bytes/5.0.9";
"use strict"; "use strict";
const logger = new Logger(version$1); const logger = new Logger(version$1);
@ -4155,7 +4155,7 @@ function joinSignature(signature) {
])); ]));
} }
const version$2 = "bignumber/5.0.12"; const version$2 = "bignumber/5.0.13";
"use strict"; "use strict";
var BN = bn.BN; var BN = bn.BN;
@ -4778,7 +4778,7 @@ class FixedNumber {
const ONE = FixedNumber.from(1); const ONE = FixedNumber.from(1);
const BUMP = FixedNumber.from("0.5"); const BUMP = FixedNumber.from("0.5");
const version$3 = "properties/5.0.6"; const version$3 = "properties/5.0.7";
"use strict"; "use strict";
var __awaiter = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) { var __awaiter = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -4895,7 +4895,7 @@ class Description {
} }
} }
const version$4 = "abi/5.0.9"; const version$4 = "abi/5.0.10";
"use strict"; "use strict";
const logger$4 = new Logger(version$4); const logger$4 = new Logger(version$4);
@ -6303,7 +6303,7 @@ function keccak256(data) {
return '0x' + sha3.keccak_256(arrayify(data)); return '0x' + sha3.keccak_256(arrayify(data));
} }
const version$5 = "rlp/5.0.6"; const version$5 = "rlp/5.0.7";
"use strict"; "use strict";
const logger$6 = new Logger(version$5); const logger$6 = new Logger(version$5);
@ -6427,7 +6427,7 @@ var index = /*#__PURE__*/Object.freeze({
decode: decode decode: decode
}); });
const version$6 = "address/5.0.8"; const version$6 = "address/5.0.9";
"use strict"; "use strict";
const logger$7 = new Logger(version$6); const logger$7 = new Logger(version$6);
@ -6943,7 +6943,7 @@ class NumberCoder extends Coder {
} }
} }
const version$7 = "strings/5.0.7"; const version$7 = "strings/5.0.8";
"use strict"; "use strict";
const logger$9 = new Logger(version$7); const logger$9 = new Logger(version$7);
@ -7564,7 +7564,7 @@ function id(text) {
return keccak256(toUtf8Bytes(text)); return keccak256(toUtf8Bytes(text));
} }
const version$8 = "hash/5.0.9"; const version$8 = "hash/5.0.10";
const logger$b = new Logger(version$8); const logger$b = new Logger(version$8);
const Zeros = new Uint8Array(32); const Zeros = new Uint8Array(32);
@ -8536,7 +8536,7 @@ class Interface {
"use strict"; "use strict";
const version$9 = "abstract-provider/5.0.7"; const version$9 = "abstract-provider/5.0.8";
"use strict"; "use strict";
const logger$e = new Logger(version$9); const logger$e = new Logger(version$9);
@ -8613,7 +8613,7 @@ class Provider {
} }
} }
const version$a = "abstract-signer/5.0.9"; const version$a = "abstract-signer/5.0.10";
"use strict"; "use strict";
var __awaiter$2 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) { var __awaiter$2 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -8820,7 +8820,7 @@ class VoidSigner extends Signer {
} }
} }
const version$b = "contracts/5.0.8"; const version$b = "contracts/5.0.9";
"use strict"; "use strict";
var __awaiter$3 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) { var __awaiter$3 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -9610,6 +9610,11 @@ class Contract {
if (!this.provider) { if (!this.provider) {
return 0; 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(); return this._getRunningEvent(eventName).listenerCount();
} }
listeners(eventName) { listeners(eventName) {
@ -11204,7 +11209,7 @@ var SupportedAlgorithm;
})(SupportedAlgorithm || (SupportedAlgorithm = {})); })(SupportedAlgorithm || (SupportedAlgorithm = {}));
; ;
const version$c = "sha2/5.0.6"; const version$c = "sha2/5.0.7";
"use strict"; "use strict";
const logger$h = new Logger(version$c); const logger$h = new Logger(version$c);
@ -13731,7 +13736,7 @@ elliptic.eddsa = /*RicMoo:ethers:require(./elliptic/eddsa)*/(null);
var EC$1 = elliptic_1.ec; var EC$1 = elliptic_1.ec;
const version$d = "signing-key/5.0.7"; const version$d = "signing-key/5.0.8";
"use strict"; "use strict";
const logger$i = new Logger(version$d); const logger$i = new Logger(version$d);
@ -13758,7 +13763,11 @@ class SigningKey {
} }
signDigest(digest) { signDigest(digest) {
const keyPair = getCurve().keyFromPrivate(arrayify(this.privateKey)); const keyPair = getCurve().keyFromPrivate(arrayify(this.privateKey));
const signature = keyPair.sign(arrayify(digest), { canonical: true }); const digestBytes = arrayify(digest);
if (digestBytes.length !== 32) {
logger$i.throwArgumentError("bad digest length", "digest", digest);
}
const signature = keyPair.sign(digestBytes, { canonical: true });
return splitSignature({ return splitSignature({
recoveryParam: signature.recoveryParam, recoveryParam: signature.recoveryParam,
r: hexZeroPad("0x" + signature.r.toString(16), 32), r: hexZeroPad("0x" + signature.r.toString(16), 32),
@ -13803,7 +13812,7 @@ function computePublicKey(key, compressed) {
return logger$i.throwArgumentError("invalid public or private key", "key", "[REDACTED]"); return logger$i.throwArgumentError("invalid public or private key", "key", "[REDACTED]");
} }
const version$e = "transactions/5.0.8"; const version$e = "transactions/5.0.9";
"use strict"; "use strict";
const logger$j = new Logger(version$e); const logger$j = new Logger(version$e);
@ -13964,7 +13973,7 @@ function parse(rawTransaction) {
return tx; return tx;
} }
const version$f = "wordlists/5.0.7"; const version$f = "wordlists/5.0.8";
"use strict"; "use strict";
// This gets overridden by rollup // This gets overridden by rollup
@ -14493,7 +14502,7 @@ const wordlists = {
"use strict"; "use strict";
const version$g = "hdnode/5.0.7"; const version$g = "hdnode/5.0.8";
"use strict"; "use strict";
const logger$l = new Logger(version$g); const logger$l = new Logger(version$g);
@ -14808,7 +14817,7 @@ function isValidMnemonic(mnemonic, wordlist) {
return false; return false;
} }
const version$h = "random/5.0.6"; const version$h = "random/5.0.7";
"use strict"; "use strict";
const logger$m = new Logger(version$h); const logger$m = new Logger(version$h);
@ -15666,7 +15675,7 @@ var aesJs = createCommonjsModule(function (module, exports) {
})(commonjsGlobal); })(commonjsGlobal);
}); });
const version$i = "json-wallets/5.0.9"; const version$i = "json-wallets/5.0.10";
"use strict"; "use strict";
function looseArrayify(hexString) { function looseArrayify(hexString) {
@ -16636,7 +16645,7 @@ function decryptJsonWalletSync(json, password) {
throw new Error("invalid JSON wallet"); throw new Error("invalid JSON wallet");
} }
const version$j = "wallet/5.0.9"; const version$j = "wallet/5.0.10";
"use strict"; "use strict";
var __awaiter$5 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) { var __awaiter$5 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -16801,7 +16810,7 @@ function verifyTypedData(domain, types, value, signature) {
return recoverAddress(TypedDataEncoder.hash(domain, types, value), signature); return recoverAddress(TypedDataEncoder.hash(domain, types, value), signature);
} }
const version$k = "networks/5.0.6"; const version$k = "networks/5.0.7";
"use strict"; "use strict";
const logger$q = new Logger(version$k); const logger$q = new Logger(version$k);
@ -17034,7 +17043,7 @@ var index$2 = /*#__PURE__*/Object.freeze({
encode: encode$1 encode: encode$1
}); });
const version$l = "web/5.0.11"; const version$l = "web/5.0.12";
"use strict"; "use strict";
var __awaiter$6 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) { var __awaiter$6 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -17615,7 +17624,7 @@ var bech32 = {
fromWords: fromWords fromWords: fromWords
}; };
const version$m = "providers/5.0.17"; const version$m = "providers/5.0.18";
"use strict"; "use strict";
const logger$s = new Logger(version$m); const logger$s = new Logger(version$m);
@ -21733,7 +21742,7 @@ function sha256$2(types, values) {
return sha256$1(pack$1(types, values)); return sha256$1(pack$1(types, values));
} }
const version$n = "units/5.0.8"; const version$n = "units/5.0.9";
"use strict"; "use strict";
const logger$G = new Logger(version$n); const logger$G = new Logger(version$n);
@ -21915,7 +21924,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
Indexed: Indexed Indexed: Indexed
}); });
const version$o = "ethers/5.0.24"; const version$o = "ethers/5.0.25";
"use strict"; "use strict";
const logger$H = new Logger(version$o); const logger$H = new Logger(version$o);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -3812,7 +3812,7 @@
var _version$2 = createCommonjsModule(function (module, exports) { var _version$2 = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "bytes/5.0.8"; exports.version = "bytes/5.0.9";
}); });
@ -4223,7 +4223,7 @@
var _version$4 = createCommonjsModule(function (module, exports) { var _version$4 = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "bignumber/5.0.12"; exports.version = "bignumber/5.0.13";
}); });
@ -4915,7 +4915,7 @@
var _version$6 = createCommonjsModule(function (module, exports) { var _version$6 = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "properties/5.0.6"; exports.version = "properties/5.0.7";
}); });
@ -5090,7 +5090,7 @@
var _version$8 = createCommonjsModule(function (module, exports) { var _version$8 = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abi/5.0.9"; exports.version = "abi/5.0.10";
}); });
@ -6597,7 +6597,7 @@
var _version$a = createCommonjsModule(function (module, exports) { var _version$a = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "rlp/5.0.6"; exports.version = "rlp/5.0.7";
}); });
@ -6734,7 +6734,7 @@
var _version$c = createCommonjsModule(function (module, exports) { var _version$c = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "address/5.0.8"; exports.version = "address/5.0.9";
}); });
@ -7523,7 +7523,7 @@
var _version$e = createCommonjsModule(function (module, exports) { var _version$e = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "strings/5.0.7"; exports.version = "strings/5.0.8";
}); });
@ -8297,7 +8297,7 @@
var _version$g = createCommonjsModule(function (module, exports) { var _version$g = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "hash/5.0.9"; exports.version = "hash/5.0.10";
}); });
@ -9469,7 +9469,7 @@
var _version$i = createCommonjsModule(function (module, exports) { var _version$i = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-provider/5.0.7"; exports.version = "abstract-provider/5.0.8";
}); });
@ -9600,7 +9600,7 @@
var _version$k = createCommonjsModule(function (module, exports) { var _version$k = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "abstract-signer/5.0.9"; exports.version = "abstract-signer/5.0.10";
}); });
@ -9932,7 +9932,7 @@
var _version$m = createCommonjsModule(function (module, exports) { var _version$m = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "contracts/5.0.8"; exports.version = "contracts/5.0.9";
}); });
@ -10876,9 +10876,15 @@
return result; return result;
}; };
Contract.prototype.listenerCount = function (eventName) { Contract.prototype.listenerCount = function (eventName) {
var _this = this;
if (!this.provider) { if (!this.provider) {
return 0; 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(); return this._getRunningEvent(eventName).listenerCount();
}; };
Contract.prototype.listeners = function (eventName) { Contract.prototype.listeners = function (eventName) {
@ -12508,7 +12514,7 @@
var _version$o = createCommonjsModule(function (module, exports) { var _version$o = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "sha2/5.0.6"; exports.version = "sha2/5.0.7";
}); });
@ -15022,7 +15028,7 @@
var _version$q = createCommonjsModule(function (module, exports) { var _version$q = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "signing-key/5.0.7"; exports.version = "signing-key/5.0.8";
}); });
@ -15060,7 +15066,11 @@
}; };
SigningKey.prototype.signDigest = function (digest) { SigningKey.prototype.signDigest = function (digest) {
var keyPair = getCurve().keyFromPrivate(lib$1.arrayify(this.privateKey)); var keyPair = getCurve().keyFromPrivate(lib$1.arrayify(this.privateKey));
var signature = keyPair.sign(lib$1.arrayify(digest), { canonical: true }); var digestBytes = lib$1.arrayify(digest);
if (digestBytes.length !== 32) {
logger.throwArgumentError("bad digest length", "digest", digest);
}
var signature = keyPair.sign(digestBytes, { canonical: true });
return lib$1.splitSignature({ return lib$1.splitSignature({
recoveryParam: signature.recoveryParam, recoveryParam: signature.recoveryParam,
r: lib$1.hexZeroPad("0x" + signature.r.toString(16), 32), r: lib$1.hexZeroPad("0x" + signature.r.toString(16), 32),
@ -15116,7 +15126,7 @@
var _version$s = createCommonjsModule(function (module, exports) { var _version$s = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "transactions/5.0.8"; exports.version = "transactions/5.0.9";
}); });
@ -15311,7 +15321,7 @@
var _version$u = createCommonjsModule(function (module, exports) { var _version$u = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "wordlists/5.0.7"; exports.version = "wordlists/5.0.8";
}); });
@ -16079,7 +16089,7 @@
var _version$w = createCommonjsModule(function (module, exports) { var _version$w = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "hdnode/5.0.7"; exports.version = "hdnode/5.0.8";
}); });
@ -16430,7 +16440,7 @@
var _version$y = createCommonjsModule(function (module, exports) { var _version$y = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "random/5.0.6"; exports.version = "random/5.0.7";
}); });
@ -17322,7 +17332,7 @@
var _version$A = createCommonjsModule(function (module, exports) { var _version$A = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "json-wallets/5.0.9"; exports.version = "json-wallets/5.0.10";
}); });
@ -18458,7 +18468,7 @@
var _version$C = createCommonjsModule(function (module, exports) { var _version$C = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "wallet/5.0.9"; exports.version = "wallet/5.0.10";
}); });
@ -18720,7 +18730,7 @@
var _version$E = createCommonjsModule(function (module, exports) { var _version$E = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "networks/5.0.6"; exports.version = "networks/5.0.7";
}); });
@ -18981,7 +18991,7 @@
var _version$G = createCommonjsModule(function (module, exports) { var _version$G = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "web/5.0.11"; exports.version = "web/5.0.12";
}); });
@ -19685,7 +19695,7 @@
var _version$I = createCommonjsModule(function (module, exports) { var _version$I = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "providers/5.0.17"; exports.version = "providers/5.0.18";
}); });
@ -25061,7 +25071,7 @@
var _version$K = createCommonjsModule(function (module, exports) { var _version$K = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "units/5.0.8"; exports.version = "units/5.0.9";
}); });
@ -25298,7 +25308,7 @@
var _version$M = createCommonjsModule(function (module, exports) { var _version$M = createCommonjsModule(function (module, exports) {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "ethers/5.0.24"; exports.version = "ethers/5.0.25";
}); });

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
export declare const version = "ethers/5.0.24"; export declare const version = "ethers/5.0.25";

@ -1,2 +1,2 @@
export const version = "ethers/5.0.24"; export const version = "ethers/5.0.25";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "ethers/5.0.24"; export declare const version = "ethers/5.0.25";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "ethers/5.0.24"; exports.version = "ethers/5.0.25";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -62,7 +62,7 @@
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"sideEffects": false, "sideEffects": false,
"tarballHash": "0x7811d1a11765c6fcd517de952b3b458725c3c748b7e04c8fdad3a889bc6e8851", "tarballHash": "0x5a73efb8246e41c2dfb92dd665532ee944f15b1848ca84c61dd2405d141e3f2d",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
"version": "5.0.25" "version": "5.0.25"
} }

@ -1 +1 @@
export const version = "ethers/5.0.24"; export const version = "ethers/5.0.25";

@ -1 +1 @@
export declare const version = "experimental/5.0.7"; export declare const version = "experimental/5.0.8";

@ -1,2 +1,2 @@
export const version = "experimental/5.0.7"; export const version = "experimental/5.0.8";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "experimental/5.0.7"; export declare const version = "experimental/5.0.8";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "experimental/5.0.7"; exports.version = "experimental/5.0.8";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "experimental/5.0.7"; export const version = "experimental/5.0.8";

@ -1 +1 @@
export declare const version = "hardware-wallets/5.0.11"; export declare const version = "hardware-wallets/5.0.12";

@ -1,2 +1,2 @@
export const version = "hardware-wallets/5.0.11"; export const version = "hardware-wallets/5.0.12";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export declare const version = "hardware-wallets/5.0.11"; export declare const version = "hardware-wallets/5.0.12";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "hardware-wallets/5.0.11"; exports.version = "hardware-wallets/5.0.12";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
export const version = "hardware-wallets/5.0.11"; export const version = "hardware-wallets/5.0.12";

@ -1 +1 @@
export declare const version = "hash/5.0.9"; export declare const version = "hash/5.0.10";

@ -1,2 +1,2 @@
export const version = "hash/5.0.9"; export const version = "hash/5.0.10";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

@ -1 +1 @@
{"version":3,"file":"_version.js","sourceRoot":"","sources":["../src.ts/_version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,YAAY,CAAC"} {"version":3,"file":"_version.js","sourceRoot":"","sources":["../src.ts/_version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC"}

@ -1 +1 @@
export declare const version = "hash/5.0.9"; export declare const version = "hash/5.0.10";

@ -1,4 +1,4 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "hash/5.0.9"; exports.version = "hash/5.0.10";
//# sourceMappingURL=_version.js.map //# sourceMappingURL=_version.js.map

Some files were not shown because too many files have changed in this diff Show More