couchdb-indexer
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -16,5 +16,5 @@ var Agent = require('http').Agent; | ||
var qouchDb = db instanceof Qouch ? | ||
db : | ||
new Qouch(db, new Agent({ maxSockets: infinity })); | ||
var qouchDb = typeof db === 'string' ? | ||
new Qouch(db, new Agent({ maxSockets: infinity })) : | ||
db; | ||
@@ -21,0 +21,0 @@ var opts = options && typeof options === 'object' ? |
{ | ||
"name": "couchdb-indexer", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Create or update indexes for all of your CouchDB via a single command / call.", | ||
@@ -5,0 +5,0 @@ "repository": { |
9305