Merge pull request #10 from danfinlay/i9-TypoFix

Typo fix
master
Dan Finlay 7 years ago committed by GitHub
commit a12ca41093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
dist/index.js vendored

@ -2662,7 +2662,7 @@ function namehash (inputName) {
} }
} }
return `0x${node}` return '0x' + node
} }
function normalize(name) { function normalize(name) {

@ -20,6 +20,7 @@ function namehash (inputName) {
} }
return '0x' + node return '0x' + node
}
function normalize(name) { function normalize(name) {
return name ? uts46.toUnicode(name, {useStd3ASCII: true, transitional: false}) : name return name ? uts46.toUnicode(name, {useStd3ASCII: true, transitional: false}) : name

@ -1,6 +1,6 @@
{ {
"name": "eth-ens-namehash", "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", "description": "A simple module for generating ENS namehashes per spec https://github.com/ethereum/EIPs/issues/137",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

@ -1,5 +1,5 @@
const test = require('tape') const test = require('tape')
const namehash = require('../dist') const namehash = require('../')
// Test results specified in original ENS Proposal: // Test results specified in original ENS Proposal:
// https://github.com/ethereum/EIPs/issues/137 // https://github.com/ethereum/EIPs/issues/137

Loading…
Cancel
Save