Typo fix
@ -2662,7 +2662,7 @@ function namehash (inputName) {
}
return `0x${node}`
return '0x' + node
function normalize(name) {
@ -20,6 +20,7 @@ function namehash (inputName) {
return name ? uts46.toUnicode(name, {useStd3ASCII: true, transitional: false}) : name
@ -1,6 +1,6 @@
{
"name": "eth-ens-namehash",
"version": "2.0.7",
"version": "2.0.8",
"description": "A simple module for generating ENS namehashes per spec https://github.com/ethereum/EIPs/issues/137",
"main": "index.js",
"scripts": {
@ -1,5 +1,5 @@
const test = require('tape')
const namehash = require('../dist')
const namehash = require('../')
// Test results specified in original ENS Proposal:
// https://github.com/ethereum/EIPs/issues/137