couchdb_changes_handler
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -19,3 +19,3 @@ const debug = require('debug') | ||
this._registerSigInt() | ||
this._db = new PouchDB(this.options.db) | ||
this._db = new PouchDB(this.options.db, {skipSetup: true, ajax: {timeout: 120000}}) | ||
@@ -22,0 +22,0 @@ this._logInfo('get last seq') |
{ | ||
"name": "couchdb_changes_handler", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "", | ||
@@ -18,8 +18,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"changes-stream": "^2.1.0" | ||
}, | ||
"peerDependencies": { | ||
"debug": "^2.2.0", | ||
"pouchdb-adapter-http": "^6.0.6", | ||
"pouchdb-core": "^6.0.7", | ||
"changes-stream": "^2.2.0", | ||
"debug": "^2.6.0", | ||
"pouchdb-adapter-http": "^6.1.1", | ||
"pouchdb-core": "^6.1.1", | ||
"pouchdb-upsert": "^2.0.2" | ||
@@ -38,12 +36,12 @@ }, | ||
"devDependencies": { | ||
"express": "^4.14.0", | ||
"express": "^4.14.1", | ||
"gulp": "^3.9.1", | ||
"gulp-mocha": "^3.0.1", | ||
"gulp-util": "^3.0.7", | ||
"pouchdb-adapter-memory": "^6.0.7", | ||
"pouchdb-core": "^6.0.7", | ||
"gulp-util": "^3.0.8", | ||
"pouchdb-adapter-memory": "^6.1.1", | ||
"pouchdb-core": "^6.1.1", | ||
"pouchdb-express-router": "0.0.9", | ||
"should": "^11.1.1", | ||
"sinon": "^1.17.6" | ||
"should": "^11.2.0", | ||
"sinon": "^1.17.7" | ||
} | ||
} |
const cch = require('./') | ||
const COUCHDB_URL = 'http://localhost:15984/waka' | ||
const COUCHDB_URL = 'http://localhost:5984/waka' | ||
cch('yo', {db: COUCHDB_URL, include_docs: true}, (error, change) => console.log(error, change)) |
102478
14
+ Addeddebug@^2.6.0
+ Addedpouchdb-adapter-http@^6.1.1
+ Addedpouchdb-core@^6.1.1
+ Addedpouchdb-upsert@^2.0.2
Updatedchanges-stream@^2.2.0