@ -582,8 +582,8 @@ class DHT extends EventEmitter {
}
DHT.ERROR_UNKNOWN_COMMAND = UNKNOWN_COMMAND
DHT.ERROR_BAD_COMMAND = BAD_COMMAND
DHT.ERROR_INVALID_TOKEN = INVALID_TOKEN
module.exports = DHT
@ -1,6 +1,6 @@
exports.UNKNOWN_COMMAND = 1
exports.BAD_COMMAND = 2
exports.INVALID_TOKEN = 3
exports.INVALID_TOKEN = 2
exports.BAD_COMMAND = 3
exports.TIMEOUT = new Error('Request timed out')
exports.TIMEOUT.code = 'ETIMEDOUT'