admin: updated dist files.

This commit is contained in:
Richard Moore 2022-03-25 04:32:41 -04:00
parent e70f3fe26f
commit 04f7a9f3b7
19 changed files with 85 additions and 52 deletions

@ -4,6 +4,12 @@ Changelog
This change log is managed by `admin/cmds/update-versions` but may be manually updated.
ethers/v5.6.2 (2022-03-25 04:06)
--------------------------------
- Added IPNS support for ENS contenthash. ([e70f3fe](https://github.com/ethers-io/ethers.js/commit/e70f3fe26f3b0dfd44fdbc163e2cc6c8eb9433f8))
- Added AnkrProvider and added Ankr to the default provider.([96de581](https://github.com/ethers-io/ethers.js/commit/96de58122af57be761e431e9268958eeaa352480))
ethers/v5.6.1 (2022-03-16 01:25)
--------------------------------

@ -91,11 +91,11 @@ the documentation.
A special thanks to these services for providing community resources:
- [Ankr](https://www.ankr.com/)
- [Etherscan](https://etherscan.io/)
- [INFURA](https://infura.io/)
- [Alchemy](https://dashboard.alchemyapi.io/signup?referral=55a35117-028e-4b7c-9e47-e275ad0acc6d)
- [Pocket](https://pokt.network/pocket-gateway-ethereum-mainnet/)
- [Ankr](https://www.ankr.com/)
Ancillary Packages

71
package-lock.json generated

@ -1429,9 +1429,9 @@
"dev": true
},
"caniuse-lite": {
"version": "1.0.30001319",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001319.tgz",
"integrity": "sha512-xjlIAFHucBRSMUo1kb5D4LYgcN1M45qdKP++lhqowDpwJwGkpIRTt5qQqnhxjj1vHcI7nrJxWhCC1ATrCEBTcw==",
"version": "1.0.30001320",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001320.tgz",
"integrity": "sha512-MWPzG54AGdo3nWx7zHZTefseM5Y1ccM7hlQKHRqJkPozUaw3hNbBTMmLn16GG2FUzjR13Cr3NPfhIieX5PzXDA==",
"dev": true
},
"caseless": {
@ -1665,9 +1665,9 @@
}
},
"date-format": {
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.5.tgz",
"integrity": "sha512-zBhRiN/M0gDxUoM2xRtzTjJzSg0XEi1ofYpF84PfXeS3hN2PsGxmc7jw3DNQtFlimRbMmob5FC3G0cJq6jQQpw==",
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.6.tgz",
"integrity": "sha512-B9vvg5rHuQ8cbUXE/RMWMyX2YA5TecT3jKF5fLtGNlzPlU7zblSPmAm2OImDbWL+LDOQ6pUm+4LOFz+ywS41Zw==",
"dev": true
},
"debug": {
@ -1771,9 +1771,9 @@
"dev": true
},
"electron-to-chromium": {
"version": "1.4.88",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.88.tgz",
"integrity": "sha512-oA7mzccefkvTNi9u7DXmT0LqvhnOiN2BhSrKerta7HeUC1cLoIwtbf2wL+Ah2ozh5KQd3/1njrGrwDBXx6d14Q==",
"version": "1.4.93",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.93.tgz",
"integrity": "sha512-ywq9Pc5Gwwpv7NG767CtoU8xF3aAUQJjH9//Wy3MBCg4w5JSLbJUq2L8IsCdzPMjvSgxuue9WcVaTOyyxCL0aQ==",
"dev": true
},
"elliptic": {
@ -2618,9 +2618,9 @@
"dev": true
},
"isbinaryfile": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-4.0.8.tgz",
"integrity": "sha512-53h6XFniq77YdW+spoRrebh0mnmTxRPTlcuIArO57lmMdq4uBKFKaeTjnb92oYWrSn/LVL+LT+Hap2tFQj8V+w==",
"version": "4.0.9",
"resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-4.0.9.tgz",
"integrity": "sha512-GhwgwhMeEkMF/PmVpA+zRGCxoQvJ7PONqsKI+eq+ivgYolKe7AQdlqLFiSEBSTrO3YsQ2jvgwT2Gd6Z1TDcoaw==",
"dev": true
},
"isexe": {
@ -2865,13 +2865,10 @@
"dev": true
},
"json5": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
"integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
"dev": true,
"requires": {
"minimist": "^1.2.5"
}
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz",
"integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==",
"dev": true
},
"jsonfile": {
"version": "2.4.0",
@ -3073,16 +3070,16 @@
}
},
"log4js": {
"version": "6.4.3",
"resolved": "https://registry.npmjs.org/log4js/-/log4js-6.4.3.tgz",
"integrity": "sha512-H/oQKcCVIhQ8zCtUh5aftdp9eRpGyVB1M5sKzAJ0i10q5jS+YXk133vtLgzT1RIoWMbIn7QD1LUto8a1hqh6gA==",
"version": "6.4.4",
"resolved": "https://registry.npmjs.org/log4js/-/log4js-6.4.4.tgz",
"integrity": "sha512-ncaWPsuw9Vl1CKA406hVnJLGQKy1OHx6buk8J4rE2lVW+NW5Y82G5/DIloO7NkqLOUtNPEANaWC1kZYVjXssPw==",
"dev": true,
"requires": {
"date-format": "^4.0.5",
"debug": "^4.3.3",
"date-format": "^4.0.6",
"debug": "^4.3.4",
"flatted": "^3.2.5",
"rfdc": "^1.3.0",
"streamroller": "^3.0.5"
"streamroller": "^3.0.6"
},
"dependencies": {
"debug": {
@ -3219,9 +3216,9 @@
}
},
"minimist": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
"integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
"dev": true
},
"minipass": {
@ -3302,12 +3299,12 @@
}
},
"mkdirp": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
"integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
"integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==",
"dev": true,
"requires": {
"minimist": "^1.2.5"
"minimist": "^1.2.6"
}
},
"mocha": {
@ -4741,13 +4738,13 @@
"dev": true
},
"streamroller": {
"version": "3.0.5",
"resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.0.5.tgz",
"integrity": "sha512-5uzTEUIi4OB5zy/H30kbUN/zpDNJsFUA+Z47ZL8EfrP93lcZvRLEqdbhdunEPa7CouuAzXXsHpCJ9dg90Umw7g==",
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.0.6.tgz",
"integrity": "sha512-Qz32plKq/MZywYyhEatxyYc8vs994Gz0Hu2MSYXXLD233UyPeIeRBZARIIGwFer4Mdb8r3Y2UqKkgyDghM6QCg==",
"dev": true,
"requires": {
"date-format": "^4.0.5",
"debug": "^4.3.3",
"date-format": "^4.0.6",
"debug": "^4.3.4",
"fs-extra": "^10.0.1"
},
"dependencies": {

@ -19184,6 +19184,14 @@ class Resolver {
return "ipfs:/\/" + Base58.encode("0x" + ipfs[1]);
}
}
// IPNS (CID: 1, Type: libp2p-key)
const ipns = hexBytes.match(/^0xe5010172(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);
if (ipns) {
const length = parseInt(ipns[3], 16);
if (ipns[4].length === length * 2) {
return "ipns:/\/" + Base58.encode("0x" + ipns[1]);
}
}
// Swarm (CID: 1, Type: swarm-manifest; hash/length hard-coded to keccak256/32)
const swarm = hexBytes.match(/^0xe40101fa011b20([0-9a-f]*)$/);
if (swarm) {

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

@ -21461,7 +21461,7 @@
};
Resolver.prototype.getContentHash = function () {
return __awaiter(this, void 0, void 0, function () {
var hexBytes, ipfs, length_4, swarm;
var hexBytes, ipfs, length_4, ipns, length_5, swarm;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this._fetchBytes("0xbc1c58d1")];
@ -21478,6 +21478,13 @@
return [2 /*return*/, "ipfs:/\/" + lib$g.Base58.encode("0x" + ipfs[1])];
}
}
ipns = hexBytes.match(/^0xe5010172(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);
if (ipns) {
length_5 = parseInt(ipns[3], 16);
if (ipns[4].length === length_5 * 2) {
return [2 /*return*/, "ipns:/\/" + lib$g.Base58.encode("0x" + ipns[1])];
}
}
swarm = hexBytes.match(/^0xe40101fa011b20([0-9a-f]*)$/);
if (swarm) {
if (swarm[1].length === (32 * 2)) {

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

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

File diff suppressed because one or more lines are too long

@ -549,6 +549,14 @@ export class Resolver {
return "ipfs:/\/" + Base58.encode("0x" + ipfs[1]);
}
}
// IPNS (CID: 1, Type: libp2p-key)
const ipns = hexBytes.match(/^0xe5010172(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);
if (ipns) {
const length = parseInt(ipns[3], 16);
if (ipns[4].length === length * 2) {
return "ipns:/\/" + Base58.encode("0x" + ipns[1]);
}
}
// Swarm (CID: 1, Type: swarm-manifest; hash/length hard-coded to keccak256/32)
const swarm = hexBytes.match(/^0xe40101fa011b20([0-9a-f]*)$/);
if (swarm) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -657,7 +657,7 @@ var Resolver = /** @class */ (function () {
};
Resolver.prototype.getContentHash = function () {
return __awaiter(this, void 0, void 0, function () {
var hexBytes, ipfs, length_4, swarm;
var hexBytes, ipfs, length_4, ipns, length_5, swarm;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this._fetchBytes("0xbc1c58d1")];
@ -674,6 +674,13 @@ var Resolver = /** @class */ (function () {
return [2 /*return*/, "ipfs:/\/" + basex_1.Base58.encode("0x" + ipfs[1])];
}
}
ipns = hexBytes.match(/^0xe5010172(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);
if (ipns) {
length_5 = parseInt(ipns[3], 16);
if (ipns[4].length === length_5 * 2) {
return [2 /*return*/, "ipns:/\/" + basex_1.Base58.encode("0x" + ipns[1])];
}
}
swarm = hexBytes.match(/^0xe40101fa011b20([0-9a-f]*)$/);
if (swarm) {
if (swarm[1].length === (32 * 2)) {

File diff suppressed because one or more lines are too long

@ -66,7 +66,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x73aa05546420691ee5484314a11eecaaa8ac26a29d0d4e9cece57e0739bdfab3",
"tarballHash": "0x4afcdce55bc62ad9881458ec272dcc71b67a085b61d366cfdb1f774fd6e5a77a",
"types": "./lib/index.d.ts",
"version": "5.6.2"
}