Comparing version 0.1.4 to 0.1.5
@@ -7,3 +7,3 @@ var fwk = require('fwk'); | ||
config['DATTSS_CLIENT_AUTH'] = 'not-configured'; | ||
config['DATTSS_AUTH_KEY'] = 'DUMMY'; | ||
config['DATTSS_SERVER_HOST'] = 'agg.dattss.com'; | ||
@@ -10,0 +10,0 @@ config['DATTSS_SERVER_PORT'] = 80; |
@@ -38,3 +38,3 @@ // Copyright Teleportd Ltd. | ||
* on the command line (--XX=yyy) or using environment variables: | ||
* DATTSS_CLIENT_AUTH: the auth key | ||
* DATTSS_AUTH_KEY: the auth key | ||
* DATTSS_SERVER_HOST: the DaTtSs server host to use | ||
@@ -52,3 +52,3 @@ * DATTSS_SERVER_PORT: the DaTtSs server port to use | ||
my.auth = spec.auth || exports.CONFIG['DATTSS_CLIENT_AUTH']; | ||
my.auth = spec.auth || exports.CONFIG['DATTSS_AUTH_KEY']; | ||
my.host = spec.host || exports.CONFIG['DATTSS_SERVER_HOST']; | ||
@@ -248,3 +248,3 @@ my.port = spec.port || parseInt(exports.CONFIG['DATTSS_SERVER_PORT'], 10); | ||
* | ||
* @param spec { name, auth, [host], [port], [pct] } or just name as a string | ||
* @param spec { name, [auth], [host], [port], [pct] } or just name as a string | ||
* @return a dattss process object | ||
@@ -262,3 +262,3 @@ */ | ||
spec.auth = spec.auth || exports.CONFIG['DATTSS_CLIENT_AUTH']; | ||
spec.auth = spec.auth || exports.CONFIG['DATTSS_AUTH_KEY']; | ||
spec.host = spec.host || exports.CONFIG['DATTSS_SERVER_HOST']; | ||
@@ -265,0 +265,0 @@ spec.port = spec.port || parseInt(exports.CONFIG['DATTSS_SERVER_PORT'], 10); |
{ | ||
"name": "dattss", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "NodeJS Driver for DaTtSs", | ||
@@ -5,0 +5,0 @@ "author": { "name": "Stanislas Polu", |
9874