Skip to content

Commit 3a73c56

Browse files
committed
admin: updated dist files
1 parent c847f16 commit 3a73c56

14 files changed

+28
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ Change Log
33

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

6-
ethers/v6.8.0 (2023-10-09 20:22)
6+
ethers/v6.8.0 (2023-10-10 22:42)
77
--------------------------------
88

9+
- Replicated former ENS normalize behaviour for empty strings and update namehash testcases ([125ff11](https://github.com/ethers-io/ethers.js/commit/125ff1189b9cefb8abfd7da9c104c75e382a50cc)).
910
- 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)).
1011
- 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)).
12+
- Merge: 9a4b7534 0c9c23b0 Merge branch 'v5.8-progress' ([cd5f0fe](https://github.com/ethers-io/ethers.js/commit/cd5f0fe03f2137fbc47e295f8db38a5151111e72)).
1113
- 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)).
1214
- 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)).
1315
- 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)).

dist/ethers.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9445,6 +9445,9 @@ function ensNameSplit(name) {
94459445
*/
94469446
function ensNormalize(name) {
94479447
try {
9448+
if (name.length === 0) {
9449+
throw new Error("empty label");
9450+
}
94489451
return ens_normalize(name);
94499452
}
94509453
catch (error) {
@@ -9466,6 +9469,7 @@ function isValidName(name) {
94669469
*/
94679470
function namehash(name) {
94689471
assertArgument(typeof (name) === "string", "invalid ENS name; not a string", "name", name);
9472+
assertArgument(name.length, `invalid ENS name (empty label)`, "name", name);
94699473
let result = Zeros;
94709474
const comps = ensNameSplit(name);
94719475
while (comps.length) {

dist/ethers.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethers.umd.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9451,6 +9451,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
94519451
*/
94529452
function ensNormalize(name) {
94539453
try {
9454+
if (name.length === 0) {
9455+
throw new Error("empty label");
9456+
}
94549457
return ens_normalize(name);
94559458
}
94569459
catch (error) {
@@ -9472,6 +9475,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
94729475
*/
94739476
function namehash(name) {
94749477
assertArgument(typeof (name) === "string", "invalid ENS name; not a string", "name", name);
9478+
assertArgument(name.length, `invalid ENS name (empty label)`, "name", name);
94759479
let result = Zeros;
94769480
const comps = ensNameSplit(name);
94779481
while (comps.length) {

dist/ethers.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethers.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib.commonjs/hash/namehash.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib.commonjs/hash/namehash.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib.commonjs/hash/namehash.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)