Updated dist files.
This commit is contained in:
parent
c4a494b528
commit
e8f5e4a9d9
@ -3,6 +3,14 @@ Changelog
|
||||
|
||||
This change log is managed by `scripts/cmd/update-versions` but may be manually updated.
|
||||
|
||||
ethers/v5.0.0-beta.137 (2019-06-01 14:06)
|
||||
-----------------------------------------
|
||||
|
||||
- Fixed invalid arrayify value in browser for SHA2-HMAC. ([#530](https://github.com/ethers-io/ethers.js/issues/ + issue); [c4a494b](https://github.com/ethers-io/ethers.js/commit/c4a494b528f2e5f706c159d916d8ff0ffd96a211))
|
||||
- Fix event and function fragment formatting. ([a2d4b29](https://github.com/ethers-io/ethers.js/commit/a2d4b2907184d9480a72fe6f67652489074af86e))
|
||||
- Fixed default JsonRpcSigner. ([#532](https://github.com/ethers-io/ethers.js/issues/ + issue); [5ba6a61](https://github.com/ethers-io/ethers.js/commit/5ba6a616a6f969b1f28f8c6367c21488f497a7ae))
|
||||
- Added changelog management to update-versions. ([4a3f719](https://github.com/ethers-io/ethers.js/commit/4a3f7190dc04275030d313289e1ba6a2b31407ec))
|
||||
|
||||
ethers/5.0.0-beta.136
|
||||
---------------------
|
||||
|
||||
|
@ -55,7 +55,7 @@ async function generate() {
|
||||
// @TODO:
|
||||
// ethers/version ([date](tag))
|
||||
let newSection = {
|
||||
title: "ethers/" + local.loadPackage("ethers").version,
|
||||
title: `ethers/v${ local.loadPackage("ethers").version } (${utils.getDateTime(new Date())})`,
|
||||
underline: "-",
|
||||
body: [ ]
|
||||
}
|
||||
@ -68,11 +68,14 @@ async function generate() {
|
||||
changes.forEach((change) => {
|
||||
let body = change.body.trim();
|
||||
let link = body.match(/(\((.*#.*)\))/)
|
||||
let commit = `[${change.commit.substring(0, 7)}](https://github.com/ethers-io/ethers.js/commit/${change.commit})`;
|
||||
if (link) {
|
||||
body = body.replace(/ *(\(.*#.*)\) */, "");
|
||||
link = link[2] + "; " + change.commit;
|
||||
link = link[2].replace(/#([0-9]+)/g, (issue) => {
|
||||
return `[#${issue}](https://github.com/ethers-io/ethers.js/issues/ + issue)`;
|
||||
}) + "; " + commit;
|
||||
} else {
|
||||
link = change.commit;
|
||||
link = commit;
|
||||
}
|
||||
newSection.body.push(` - ${body} (${link})`);
|
||||
});
|
||||
|
2
packages/abi/_version.d.ts
vendored
2
packages/abi/_version.d.ts
vendored
@ -1 +1 @@
|
||||
export declare const version = "5.0.0-beta.130";
|
||||
export declare const version = "5.0.0-beta.131";
|
||||
|
@ -1,3 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = "5.0.0-beta.130";
|
||||
exports.version = "5.0.0-beta.131";
|
||||
|
@ -303,7 +303,7 @@ var Fragment = /** @class */ (function () {
|
||||
}
|
||||
result += "(" + this.inputs.map(function (i) { return i.format(expanded); }).join(expanded ? ", " : ",") + ") ";
|
||||
// @TODO: Handle returns, modifiers, etc.
|
||||
if (expanded) {
|
||||
if (expanded && this.type !== "event") {
|
||||
result += "public ";
|
||||
if (this.mutabilityState) {
|
||||
result += this.mutabilityState + " ";
|
||||
@ -312,7 +312,7 @@ var Fragment = /** @class */ (function () {
|
||||
result += "view ";
|
||||
}
|
||||
if (this.outputs && this.outputs.length) {
|
||||
result += "(" + this.outputs.map(function (i) { return i.format(expanded); }).join(", ") + ") ";
|
||||
result += "returns (" + this.outputs.map(function (i) { return i.format(expanded); }).join(", ") + ") ";
|
||||
}
|
||||
}
|
||||
return result.trim();
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ethersproject/abi",
|
||||
"version": "5.0.0-beta.130",
|
||||
"version": "5.0.0-beta.131",
|
||||
"description": "Error utility functions for ethers.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@ -26,5 +26,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"tarballHash": "0x665c2724ef71121cba087383d1a85a397895d4b3b30f6b73d0e0f2641229205c"
|
||||
"tarballHash": "0x01c9130b48add5e7f90719d23992716773073976b4f9c183858ecf3362ada3ec"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "5.0.0-beta.130";
|
||||
export const version = "5.0.0-beta.131";
|
||||
|
2
packages/ethers/_version.d.ts
vendored
2
packages/ethers/_version.d.ts
vendored
@ -1 +1 @@
|
||||
export declare const version = "5.0.0-beta.136";
|
||||
export declare const version = "5.0.0-beta.137";
|
||||
|
@ -1,3 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = "5.0.0-beta.136";
|
||||
exports.version = "5.0.0-beta.137";
|
||||
|
31
packages/ethers/dist/ethers.js
vendored
31
packages/ethers/dist/ethers.js
vendored
@ -9943,7 +9943,7 @@ var Fragment = /** @class */ (function () {
|
||||
}
|
||||
result += "(" + this.inputs.map(function (i) { return i.format(expanded); }).join(expanded ? ", " : ",") + ") ";
|
||||
// @TODO: Handle returns, modifiers, etc.
|
||||
if (expanded) {
|
||||
if (expanded && this.type !== "event") {
|
||||
result += "public ";
|
||||
if (this.mutabilityState) {
|
||||
result += this.mutabilityState + " ";
|
||||
@ -9952,7 +9952,7 @@ var Fragment = /** @class */ (function () {
|
||||
result += "view ";
|
||||
}
|
||||
if (this.outputs && this.outputs.length) {
|
||||
result += "(" + this.outputs.map(function (i) { return i.format(expanded); }).join(", ") + ") ";
|
||||
result += "returns (" + this.outputs.map(function (i) { return i.format(expanded); }).join(", ") + ") ";
|
||||
}
|
||||
}
|
||||
return result.trim();
|
||||
@ -13328,7 +13328,7 @@ exports.info = info;
|
||||
},{}],67:[function(require,module,exports){
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = "5.0.0-beta.136";
|
||||
exports.version = "5.0.0-beta.137";
|
||||
|
||||
},{}],68:[function(require,module,exports){
|
||||
"use strict";
|
||||
@ -16996,22 +16996,19 @@ var JsonRpcSigner = /** @class */ (function (_super) {
|
||||
throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");
|
||||
}
|
||||
properties_1.defineReadOnly(_this, "provider", provider);
|
||||
// Statically attach to a given address
|
||||
if (addressOrIndex == null) {
|
||||
addressOrIndex = 0;
|
||||
}
|
||||
if (addressOrIndex) {
|
||||
if (typeof (addressOrIndex) === "string") {
|
||||
properties_1.defineReadOnly(_this, "_address", _this.provider.formatter.address(addressOrIndex));
|
||||
properties_1.defineReadOnly(_this, "_index", null);
|
||||
}
|
||||
else if (typeof (addressOrIndex) === "number") {
|
||||
properties_1.defineReadOnly(_this, "_index", addressOrIndex);
|
||||
properties_1.defineReadOnly(_this, "_address", null);
|
||||
}
|
||||
else {
|
||||
errors.throwError("invalid address or index", errors.INVALID_ARGUMENT, { argument: "addressOrIndex", value: addressOrIndex });
|
||||
}
|
||||
if (typeof (addressOrIndex) === "string") {
|
||||
properties_1.defineReadOnly(_this, "_address", _this.provider.formatter.address(addressOrIndex));
|
||||
properties_1.defineReadOnly(_this, "_index", null);
|
||||
}
|
||||
else if (typeof (addressOrIndex) === "number") {
|
||||
properties_1.defineReadOnly(_this, "_index", addressOrIndex);
|
||||
properties_1.defineReadOnly(_this, "_address", null);
|
||||
}
|
||||
else {
|
||||
errors.throwError("invalid address or index", errors.INVALID_ARGUMENT, { argument: "addressOrIndex", value: addressOrIndex });
|
||||
}
|
||||
return _this;
|
||||
}
|
||||
@ -17803,7 +17800,7 @@ function computeHmac(algorithm, key, data) {
|
||||
algorithm: algorithm
|
||||
});
|
||||
}
|
||||
return "0x" + hash.hmac(hash[algorithm], bytes_1.arrayify(key)).update(bytes_1.arrayify(data)).digest();
|
||||
return "0x" + hash.hmac(hash[algorithm], bytes_1.arrayify(key)).update(bytes_1.arrayify(data)).digest("hex");
|
||||
}
|
||||
exports.computeHmac = computeHmac;
|
||||
|
||||
|
2
packages/ethers/dist/ethers.min.js
vendored
2
packages/ethers/dist/ethers.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ethers",
|
||||
"version": "5.0.0-beta.136",
|
||||
"version": "5.0.0-beta.137",
|
||||
"description": "Error utility functions for ethers.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@ -56,5 +56,5 @@
|
||||
"publishConfig": {
|
||||
"tag": "next"
|
||||
},
|
||||
"tarballHash": "0x58597609dfbbc81ee782ee00a9a811ba6f89bc55a889033d8e8d7419ac8e9e09"
|
||||
"tarballHash": "0x2801b27d64ade38d8da12df67d8677dbd20e00079f4cecc2355e1f3aaf70c5b6"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "5.0.0-beta.136";
|
||||
export const version = "5.0.0-beta.137";
|
||||
|
2
packages/pbkdf2/_version.d.ts
vendored
2
packages/pbkdf2/_version.d.ts
vendored
@ -1 +1 @@
|
||||
export declare const version = "5.0.0-beta.124";
|
||||
export declare const version = "5.0.0-beta.125";
|
||||
|
@ -1,3 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = "5.0.0-beta.124";
|
||||
exports.version = "5.0.0-beta.125";
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ethersproject/pbkdf2",
|
||||
"version": "5.0.0-beta.124",
|
||||
"version": "5.0.0-beta.125",
|
||||
"description": "Error utility functions for ethers.",
|
||||
"main": "index.js",
|
||||
"browser": "browser.js",
|
||||
@ -21,5 +21,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"tarballHash": "0xa09dfd11dd48c714f383bb8543ed26b1258dcdcb9b9b84b8b9e86ef0d5e6348b"
|
||||
"tarballHash": "0xc2d030f2a2b865e948ddb3106499e04212fc5b285e4c15661e5d8f4110e5e902"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "5.0.0-beta.124";
|
||||
export const version = "5.0.0-beta.125";
|
||||
|
2
packages/providers/_version.d.ts
vendored
2
packages/providers/_version.d.ts
vendored
@ -1 +1 @@
|
||||
export declare const version = "5.0.0-beta.131";
|
||||
export declare const version = "5.0.0-beta.132";
|
||||
|
@ -1,3 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = "5.0.0-beta.131";
|
||||
exports.version = "5.0.0-beta.132";
|
||||
|
@ -64,22 +64,19 @@ var JsonRpcSigner = /** @class */ (function (_super) {
|
||||
throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");
|
||||
}
|
||||
properties_1.defineReadOnly(_this, "provider", provider);
|
||||
// Statically attach to a given address
|
||||
if (addressOrIndex == null) {
|
||||
addressOrIndex = 0;
|
||||
}
|
||||
if (addressOrIndex) {
|
||||
if (typeof (addressOrIndex) === "string") {
|
||||
properties_1.defineReadOnly(_this, "_address", _this.provider.formatter.address(addressOrIndex));
|
||||
properties_1.defineReadOnly(_this, "_index", null);
|
||||
}
|
||||
else if (typeof (addressOrIndex) === "number") {
|
||||
properties_1.defineReadOnly(_this, "_index", addressOrIndex);
|
||||
properties_1.defineReadOnly(_this, "_address", null);
|
||||
}
|
||||
else {
|
||||
errors.throwError("invalid address or index", errors.INVALID_ARGUMENT, { argument: "addressOrIndex", value: addressOrIndex });
|
||||
}
|
||||
if (typeof (addressOrIndex) === "string") {
|
||||
properties_1.defineReadOnly(_this, "_address", _this.provider.formatter.address(addressOrIndex));
|
||||
properties_1.defineReadOnly(_this, "_index", null);
|
||||
}
|
||||
else if (typeof (addressOrIndex) === "number") {
|
||||
properties_1.defineReadOnly(_this, "_index", addressOrIndex);
|
||||
properties_1.defineReadOnly(_this, "_address", null);
|
||||
}
|
||||
else {
|
||||
errors.throwError("invalid address or index", errors.INVALID_ARGUMENT, { argument: "addressOrIndex", value: addressOrIndex });
|
||||
}
|
||||
return _this;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ethersproject/providers",
|
||||
"version": "5.0.0-beta.131",
|
||||
"version": "5.0.0-beta.132",
|
||||
"description": "Error utility functions for ethers.",
|
||||
"main": "index.js",
|
||||
"browser": {
|
||||
@ -39,5 +39,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"tarballHash": "0x8e823bbbab86f42a2bd94936fafc2aeb493d8eee8fcde3cbbc20b9589cd6078d"
|
||||
"tarballHash": "0xfb5a993721671c86bec1248c88f39a5867f66c914c73d9ec3cc509705b845945"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "5.0.0-beta.131";
|
||||
export const version = "5.0.0-beta.132";
|
||||
|
2
packages/sha2/_version.d.ts
vendored
2
packages/sha2/_version.d.ts
vendored
@ -1 +1 @@
|
||||
export declare const version = "5.0.0-beta.124";
|
||||
export declare const version = "5.0.0-beta.125";
|
||||
|
@ -1,3 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.version = "5.0.0-beta.124";
|
||||
exports.version = "5.0.0-beta.125";
|
||||
|
@ -35,6 +35,6 @@ function computeHmac(algorithm, key, data) {
|
||||
algorithm: algorithm
|
||||
});
|
||||
}
|
||||
return "0x" + hash.hmac(hash[algorithm], bytes_1.arrayify(key)).update(bytes_1.arrayify(data)).digest();
|
||||
return "0x" + hash.hmac(hash[algorithm], bytes_1.arrayify(key)).update(bytes_1.arrayify(data)).digest("hex");
|
||||
}
|
||||
exports.computeHmac = computeHmac;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ethersproject/sha2",
|
||||
"version": "5.0.0-beta.124",
|
||||
"version": "5.0.0-beta.125",
|
||||
"description": "Error utility functions for ethers.",
|
||||
"main": "index.js",
|
||||
"browser": "browser.js",
|
||||
@ -21,5 +21,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"tarballHash": "0x5deeeeba2b49c9f7dcaf8ccc7ff399a5af73dadd64ebbb400e65f85f99ef3e21"
|
||||
"tarballHash": "0x8e659ff95eb66e4958aebbf167c6c1ea4130b70d19f9081b986228be7ed1f05b"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "5.0.0-beta.124";
|
||||
export const version = "5.0.0-beta.125";
|
||||
|
Loading…
Reference in New Issue
Block a user