Skip to content

Commit

Permalink
admin: updated dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Sep 14, 2022
1 parent b14cb0f commit 44cbc7f
Show file tree
Hide file tree
Showing 64 changed files with 404 additions and 351 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ Changelog
This change log is managed by `admin/cmds/update-versions` but may be manually updated.


ethers/v5.7.1 (2022-09-13 21:28)
--------------------------------

- Fixed message signing errors that clobbered critical Error properties. ([#3356](https://github.com/ethers-io/ethers.js/issues/3356); [b14cb0f](https://github.com/ethers-io/ethers.js/commit/b14cb0fa2c31c09bfc4c668e5b9dbbc52e9b5dce))
- Add support for all data URL formats. ([#3341](https://github.com/ethers-io/ethers.js/issues/3341); [4c86dc9](https://github.com/ethers-io/ethers.js/commit/4c86dc9ed41fcf889daaaca41686a218a0c68e90))
- Added Sepolia network. ([#3325](https://github.com/ethers-io/ethers.js/issues/3325); [d083522](https://github.com/ethers-io/ethers.js/commit/d083522374b8e48e02688d2f8e29cd86f99e5fc4))

ethers/v5.7.0 (2022-08-18 16:17)
--------------------------------

Expand Down
502 changes: 244 additions & 258 deletions package-lock.json

Large diffs are not rendered by default.

37 changes: 26 additions & 11 deletions packages/ethers/dist/ethers.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -17906,7 +17906,7 @@ function verifyTypedData(domain, types, value, signature) {
return recoverAddress(TypedDataEncoder.hash(domain, types, value), signature);
}

const version$k = "networks/5.7.0";
const version$k = "networks/5.7.1";

"use strict";
const logger$q = new Logger(version$k);
Expand Down Expand Up @@ -17943,7 +17943,7 @@ function ethDefaultProvider(network) {
// network does not handle the Berlin hardfork, which is
// live on these ones.
// @TODO: This goes away once Pocket has upgraded their nodes
const skip = ["goerli", "ropsten", "rinkeby"];
const skip = ["goerli", "ropsten", "rinkeby", "sepolia"];
try {
const provider = new providers.PocketProvider(network, options.pocket);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
Expand Down Expand Up @@ -18043,6 +18043,11 @@ const networks = {
_defaultProvider: ethDefaultProvider("goerli")
},
kintsugi: { chainId: 1337702, name: "kintsugi" },
sepolia: {
chainId: 11155111,
name: "sepolia",
_defaultProvider: ethDefaultProvider("sepolia")
},
// ETC (See: #351)
classic: {
chainId: 61,
Expand Down Expand Up @@ -18149,7 +18154,7 @@ function getNetwork(network) {
};
}

const version$l = "web/5.7.0";
const version$l = "web/5.7.1";

"use strict";
var __awaiter$7 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
Expand Down Expand Up @@ -18254,6 +18259,11 @@ function bodyify(value, type) {
}
return value;
}
function unpercent(value) {
return toUtf8Bytes(value.replace(/%([0-9a-f][0-9a-f])/gi, (all, code) => {
return String.fromCharCode(parseInt(code, 16));
}));
}
// This API is still a work in progress; the future changes will likely be:
// - ConnectionInfo => FetchDataRequest<T = any>
// - FetchDataRequest.body? = string | Uint8Array | { contentType: string, data: string | Uint8Array }
Expand Down Expand Up @@ -18313,15 +18323,15 @@ function _fetchData(connection, body, processFunc) {
options.fetchOptions = shallowCopy(connection.fetchOptions);
}
}
const reData = new RegExp("^data:([a-z0-9-]+/[a-z0-9-]+);base64,(.*)$", "i");
const reData = new RegExp("^data:([^;:]*)?(;base64)?,(.*)$", "i");
const dataMatch = ((url) ? url.match(reData) : null);
if (dataMatch) {
try {
const response = {
statusCode: 200,
statusMessage: "OK",
headers: { "content-type": dataMatch[1] },
body: decode$1(dataMatch[2])
headers: { "content-type": (dataMatch[1] || "text/plain") },
body: (dataMatch[2] ? decode$1(dataMatch[3]) : unpercent(dataMatch[3]))
};
let result = response.body;
if (processFunc) {
Expand Down Expand Up @@ -18794,7 +18804,7 @@ var bech32 = {
fromWords: fromWords
};

const version$m = "providers/5.7.0";
const version$m = "providers/5.7.1";

"use strict";
const logger$s = new Logger(version$m);
Expand Down Expand Up @@ -21498,7 +21508,7 @@ class JsonRpcSigner extends Signer {
logger$u.throwError("user rejected signing", Logger.errors.ACTION_REJECTED, {
action: "signMessage",
from: address,
message: data
messageData: message
});
}
throw error;
Expand All @@ -21518,7 +21528,7 @@ class JsonRpcSigner extends Signer {
logger$u.throwError("user rejected signing", Logger.errors.ACTION_REJECTED, {
action: "_legacySignMessage",
from: address,
message: data
messageData: message
});
}
throw error;
Expand All @@ -21543,7 +21553,7 @@ class JsonRpcSigner extends Signer {
logger$u.throwError("user rejected signing", Logger.errors.ACTION_REJECTED, {
action: "_signTypedData",
from: address,
message: { domain: populated.domain, types, value: populated.value }
messageData: { domain: populated.domain, types, value: populated.value }
});
}
throw error;
Expand Down Expand Up @@ -22644,6 +22654,8 @@ class EtherscanProvider extends BaseProvider {
return "https:/\/api-kovan.etherscan.io";
case "goerli":
return "https:/\/api-goerli.etherscan.io";
case "sepolia":
return "https:/\/api-sepolia.etherscan.io";
case "optimism":
return "https:/\/api-optimistic.etherscan.io";
case "optimism-kovan":
Expand Down Expand Up @@ -23535,6 +23547,9 @@ class InfuraProvider extends UrlJsonRpcProvider {
case "goerli":
host = "goerli.infura.io";
break;
case "sepolia":
host = "sepolia.infura.io";
break;
case "matic":
host = "polygon-mainnet.infura.io";
break;
Expand Down Expand Up @@ -24241,7 +24256,7 @@ var utils$1 = /*#__PURE__*/Object.freeze({
Indexed: Indexed
});

const version$p = "ethers/5.7.0";
const version$p = "ethers/5.7.1";

"use strict";
const logger$J = new Logger(version$p);
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.esm.min.js.map

Large diffs are not rendered by default.

37 changes: 26 additions & 11 deletions packages/ethers/dist/ethers.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -23381,7 +23381,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "networks/5.7.0";
exports.version = "networks/5.7.1";

});

Expand Down Expand Up @@ -23427,7 +23427,7 @@
// network does not handle the Berlin hardfork, which is
// live on these ones.
// @TODO: This goes away once Pocket has upgraded their nodes
var skip = ["goerli", "ropsten", "rinkeby"];
var skip = ["goerli", "ropsten", "rinkeby", "sepolia"];
try {
var provider = new providers.PocketProvider(network, options.pocket);
if (provider.network && skip.indexOf(provider.network.name) === -1) {
Expand Down Expand Up @@ -23527,6 +23527,11 @@
_defaultProvider: ethDefaultProvider("goerli")
},
kintsugi: { chainId: 1337702, name: "kintsugi" },
sepolia: {
chainId: 11155111,
name: "sepolia",
_defaultProvider: ethDefaultProvider("sepolia")
},
// ETC (See: #351)
classic: {
chainId: 61,
Expand Down Expand Up @@ -23642,7 +23647,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "web/5.7.0";
exports.version = "web/5.7.1";

});

Expand Down Expand Up @@ -23834,6 +23839,11 @@
}
return value;
}
function unpercent(value) {
return (0, lib$8.toUtf8Bytes)(value.replace(/%([0-9a-f][0-9a-f])/gi, function (all, code) {
return String.fromCharCode(parseInt(code, 16));
}));
}
// This API is still a work in progress; the future changes will likely be:
// - ConnectionInfo => FetchDataRequest<T = any>
// - FetchDataRequest.body? = string | Uint8Array | { contentType: string, data: string | Uint8Array }
Expand Down Expand Up @@ -23893,15 +23903,15 @@
options.fetchOptions = (0, lib$3.shallowCopy)(connection.fetchOptions);
}
}
var reData = new RegExp("^data:([a-z0-9-]+/[a-z0-9-]+);base64,(.*)$", "i");
var reData = new RegExp("^data:([^;:]*)?(;base64)?,(.*)$", "i");
var dataMatch = ((url) ? url.match(reData) : null);
if (dataMatch) {
try {
var response = {
statusCode: 200,
statusMessage: "OK",
headers: { "content-type": dataMatch[1] },
body: (0, lib$9.decode)(dataMatch[2])
headers: { "content-type": (dataMatch[1] || "text/plain") },
body: (dataMatch[2] ? (0, lib$9.decode)(dataMatch[3]) : unpercent(dataMatch[3]))
};
var result = response.body;
if (processFunc) {
Expand Down Expand Up @@ -24412,7 +24422,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "providers/5.7.0";
exports.version = "providers/5.7.1";

});

Expand Down Expand Up @@ -27853,7 +27863,7 @@
logger.throwError("user rejected signing", lib.Logger.errors.ACTION_REJECTED, {
action: "signMessage",
from: address,
message: data
messageData: message
});
}
throw error_2;
Expand Down Expand Up @@ -27885,7 +27895,7 @@
logger.throwError("user rejected signing", lib.Logger.errors.ACTION_REJECTED, {
action: "_legacySignMessage",
from: address,
message: data
messageData: message
});
}
throw error_3;
Expand Down Expand Up @@ -27922,7 +27932,7 @@
logger.throwError("user rejected signing", lib.Logger.errors.ACTION_REJECTED, {
action: "_signTypedData",
from: address,
message: { domain: populated.domain, types: types, value: populated.value }
messageData: { domain: populated.domain, types: types, value: populated.value }
});
}
throw error_4;
Expand Down Expand Up @@ -29455,6 +29465,8 @@
return "https:/\/api-kovan.etherscan.io";
case "goerli":
return "https:/\/api-goerli.etherscan.io";
case "sepolia":
return "https:/\/api-sepolia.etherscan.io";
case "optimism":
return "https:/\/api-optimistic.etherscan.io";
case "optimism-kovan":
Expand Down Expand Up @@ -30569,6 +30581,9 @@
case "goerli":
host = "goerli.infura.io";
break;
case "sepolia":
host = "sepolia.infura.io";
break;
case "matic":
host = "polygon-mainnet.infura.io";
break;
Expand Down Expand Up @@ -31532,7 +31547,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "ethers/5.7.0";
exports.version = "ethers/5.7.1";

});

Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/dist/ethers.umd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/ethers/lib.esm/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export declare const version = "ethers/5.7.0";
export declare const version = "ethers/5.7.1";
//# sourceMappingURL=_version.d.ts.map
2 changes: 1 addition & 1 deletion packages/ethers/lib.esm/_version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/ethers/lib/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export declare const version = "ethers/5.7.0";
export declare const version = "ethers/5.7.1";
//# sourceMappingURL=_version.d.ts.map
2 changes: 1 addition & 1 deletion packages/ethers/lib/_version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"@ethersproject/json-wallets": "5.7.0",
"@ethersproject/keccak256": "5.7.0",
"@ethersproject/logger": "5.7.0",
"@ethersproject/networks": "5.7.0",
"@ethersproject/networks": "5.7.1",
"@ethersproject/pbkdf2": "5.7.0",
"@ethersproject/properties": "5.7.0",
"@ethersproject/providers": "5.7.0",
"@ethersproject/providers": "5.7.1",
"@ethersproject/random": "5.7.0",
"@ethersproject/rlp": "5.7.0",
"@ethersproject/sha2": "5.7.0",
Expand All @@ -30,7 +30,7 @@
"@ethersproject/transactions": "5.7.0",
"@ethersproject/units": "5.7.0",
"@ethersproject/wallet": "5.7.0",
"@ethersproject/web": "5.7.0",
"@ethersproject/web": "5.7.1",
"@ethersproject/wordlists": "5.7.0"
},
"description": "Umbrella package for most common Ethers libraries.",
Expand Down Expand Up @@ -62,7 +62,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x9ac4e262538b9d1283eb473881a925065c322d73e9299e306b5382de7ec04829",
"tarballHash": "0x62b2d99db58f8f90ea2af5039f7146d72c016cfcf097734ccfe7642d96b167fc",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.7.1"
}
2 changes: 1 addition & 1 deletion packages/ethers/src.ts/_version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "ethers/5.7.0";
export const version = "ethers/5.7.1";
2 changes: 1 addition & 1 deletion packages/networks/lib.esm/_version.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export declare const version = "networks/5.7.0";
export declare const version = "networks/5.7.1";
//# sourceMappingURL=_version.d.ts.map
2 changes: 1 addition & 1 deletion packages/networks/lib.esm/_version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/networks/lib.esm/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion packages/networks/lib.esm/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 44cbc7f

Please sign in to comment.