Version 2.0.4

master
Dan Finlay 7 years ago
parent b989e6877a
commit d4d11d0cd3
No known key found for this signature in database
GPG Key ID: 931102F24B36007A

558
dist/index.js vendored

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
var sha3 = require('js-sha3').keccak_256 var sha3 = require('js-sha3').keccak_256
var uts46 = require('idna-uts46') var uts46 = require('idna-uts46-hx')
function namehash (inputName) { function namehash (inputName) {
// Reject empty names: // Reject empty names:

@ -1,6 +1,6 @@
{ {
"name": "eth-ens-namehash", "name": "eth-ens-namehash",
"version": "2.0.3", "version": "2.0.4",
"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": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
@ -28,7 +28,7 @@
"browserify": "^14.0.0" "browserify": "^14.0.0"
}, },
"dependencies": { "dependencies": {
"idna-uts46": "^1.0.1", "idna-uts46-hx": "^2.3.1",
"js-sha3": "^0.5.7" "js-sha3": "^0.5.7"
} }
} }

Loading…
Cancel
Save