diff --git a/lib/scrypt-for-humans.coffee b/lib/scrypt-for-humans.coffee index 148ba2e..9b0eaf2 100644 --- a/lib/scrypt-for-humans.coffee +++ b/lib/scrypt-for-humans.coffee @@ -1,4 +1,4 @@ -scrypt = require "scrypt" +scrypt = require "node-scrypt2" errors = require "errors" Promise = require "bluebird" diff --git a/lib/scrypt-for-humans.js b/lib/scrypt-for-humans.js index 7bb3da5..fc85fdf 100644 --- a/lib/scrypt-for-humans.js +++ b/lib/scrypt-for-humans.js @@ -1,6 +1,6 @@ var Promise, defaultParameters, errors, getDefaultParameters, normalizePassword, scrypt, scryptErrorMap, scryptHandler; -scrypt = require("scrypt"); +scrypt = require("node-scrypt2"); errors = require("errors"); diff --git a/package.json b/package.json index 6a6975b..619a083 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scrypt-for-humans", - "version": "2.0.5", + "version": "2.1.0", "description": "A human-friendly API wrapper for the Node.js Scrypt bindings.", "main": "index.js", "scripts": { @@ -31,6 +31,6 @@ "dependencies": { "bluebird": "^2.6.4", "errors": "^0.2.0", - "scrypt": "github:jkantr/node-scrypt#napi" + "node-scrypt2": "^1.0.0" } }