Skip to content

Commit

Permalink
Move the xnf normalize variant to pkg.browser instead of import (#3724).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Feb 13, 2023
1 parent 2a30fac commit 179e6ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"./lib.esm/providers/ws.js": "./lib.esm/providers/ws-browser.js",
"./lib.esm/utils/base64.js": "./lib.esm/utils/base64-browser.js",
"./lib.esm/utils/geturl.js": "./lib.esm/utils/geturl-browser.js",
"./lib.esm/wordlists/wordlists.js": "./lib.esm/wordlists/wordlists-browser.js"
"./lib.esm/wordlists/wordlists.js": "./lib.esm/wordlists/wordlists-browser.js",
"@adraffy/ens-normalize": "@adraffy/ens-normalize/xnf"
},
"dependencies": {
"@adraffy/ens-normalize": "1.8.9",
Expand Down Expand Up @@ -104,7 +105,7 @@
"url": "https://www.buymeacoffee.com/ricmoo"
}
],
"gitHead": "6372a46b1b273db3e4c1189daebb4b888bd588bc",
"gitHead": "2a30facb2bda5c79aefd82efa4c439ffc9fa6b5a",
"homepage": "https://ethers.org",
"keywords": [
"ethereum",
Expand Down Expand Up @@ -145,5 +146,5 @@
"sideEffects": false,
"type": "module",
"types": "./types/index.d.ts",
"version": "6.0.3"
"version": "6.0.4"
}
2 changes: 1 addition & 1 deletion src.ts/hash/namehash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from "../utils/index.js";


import { ens_normalize } from "@adraffy/ens-normalize/xnf";
import { ens_normalize } from "@adraffy/ens-normalize";

const Zeros = new Uint8Array(32);
Zeros.fill(0);
Expand Down

0 comments on commit 179e6ca

Please sign in to comment.