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 Oct 11, 2023
1 parent c847f16 commit 3a73c56
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 10 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ Change Log

This change log is maintained by `src.ts/_admin/update-changelog.ts` but may also be manually updated.

ethers/v6.8.0 (2023-10-09 20:22)
ethers/v6.8.0 (2023-10-10 22:42)
--------------------------------

- Replicated former ENS normalize behaviour for empty strings and update namehash testcases ([125ff11](https://github.com/ethers-io/ethers.js/commit/125ff1189b9cefb8abfd7da9c104c75e382a50cc)).
- Initial shortMessage support for errors ([#4241](https://github.com/ethers-io/ethers.js/issues/4241); [d6a8c14](https://github.com/ethers-io/ethers.js/commit/d6a8c14d907cf8b90347444c0186b83a5db2e293)).
- Fixed resolving ENS addresses used as from parameters ([#3961](https://github.com/ethers-io/ethers.js/issues/3961); [2616f4c](https://github.com/ethers-io/ethers.js/commit/2616f4c30c82bd45449b73fa37ef269d60a07d80)).
- Merge: 9a4b7534 0c9c23b0 Merge branch 'v5.8-progress' ([cd5f0fe](https://github.com/ethers-io/ethers.js/commit/cd5f0fe03f2137fbc47e295f8db38a5151111e72)).
- Allow more loose input format for RLP encoder ([#4402](https://github.com/ethers-io/ethers.js/issues/4402); [9a4b753](https://github.com/ethers-io/ethers.js/commit/9a4b7534458fc79a0654b0eb57fc956bffa02a2f)).
- Update to latest noble crypto libraries ([#3975](https://github.com/ethers-io/ethers.js/issues/3975); [b27faa0](https://github.com/ethers-io/ethers.js/commit/b27faa02ac8f90e2e54b188e8139c59d98c469e3)).
- More robust configuration options for FetchRequest getUrl functions ([#4353](https://github.com/ethers-io/ethers.js/issues/4353); [9541f2f](https://github.com/ethers-io/ethers.js/commit/9541f2f70cd7f5c6f3caf93f5a3d5e34eae5281a)).
Expand Down
4 changes: 4 additions & 0 deletions dist/ethers.js
Original file line number Diff line number Diff line change
Expand Up @@ -9445,6 +9445,9 @@ function ensNameSplit(name) {
*/
function ensNormalize(name) {
try {
if (name.length === 0) {
throw new Error("empty label");
}
return ens_normalize(name);
}
catch (error) {
Expand All @@ -9466,6 +9469,7 @@ function isValidName(name) {
*/
function namehash(name) {
assertArgument(typeof (name) === "string", "invalid ENS name; not a string", "name", name);
assertArgument(name.length, `invalid ENS name (empty label)`, "name", name);
let result = Zeros;
const comps = ensNameSplit(name);
while (comps.length) {
Expand Down
2 changes: 1 addition & 1 deletion dist/ethers.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/ethers.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -9451,6 +9451,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
*/
function ensNormalize(name) {
try {
if (name.length === 0) {
throw new Error("empty label");
}
return ens_normalize(name);
}
catch (error) {
Expand All @@ -9472,6 +9475,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
*/
function namehash(name) {
assertArgument(typeof (name) === "string", "invalid ENS name; not a string", "name", name);
assertArgument(name.length, `invalid ENS name (empty label)`, "name", name);
let result = Zeros;
const comps = ensNameSplit(name);
while (comps.length) {
Expand Down
2 changes: 1 addition & 1 deletion dist/ethers.umd.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib.commonjs/hash/namehash.d.ts.map

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

4 changes: 4 additions & 0 deletions lib.commonjs/hash/namehash.js

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

2 changes: 1 addition & 1 deletion lib.commonjs/hash/namehash.js.map

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

2 changes: 1 addition & 1 deletion lib.esm/hash/namehash.d.ts.map

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

4 changes: 4 additions & 0 deletions lib.esm/hash/namehash.js

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

2 changes: 1 addition & 1 deletion lib.esm/hash/namehash.js.map

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"url": "https://www.buymeacoffee.com/ricmoo"
}
],
"gitHead": "d6a8c14d907cf8b90347444c0186b83a5db2e293",
"gitHead": "c847f16d5c4f667e732f09b5ac3d980be758c4cf",
"homepage": "https://ethers.org",
"keywords": [
"ethereum",
Expand Down

0 comments on commit 3a73c56

Please sign in to comment.