We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f01bbd4 commit f1ae5f1Copy full SHA for f1ae5f1
1 file changed
packages/node_modules/pouchdb-adapter-nodesqlite/src/index.js
@@ -2,19 +2,19 @@ import CoreWebsqlPouch from 'pouchdb-adapter-websql-core';
2
3
import openDB from '@neighbourhoodie/websql';
4
5
-function WebsqlPouch(opts, callback) {
+function NodeSqlitePouch(opts, callback) {
6
var _opts = Object.assign({
7
websql: openDB
8
}, opts);
9
10
CoreWebsqlPouch.call(this, _opts, callback);
11
}
12
13
-WebsqlPouch.valid = function () {
+NodeSqlitePouch.valid = function () {
14
return true;
15
};
16
-WebsqlPouch.use_prefix = false;
+NodeSqlitePouch.use_prefix = false;
17
18
export default function (PouchDB) {
19
- PouchDB.adapter('nodesqlite', WebsqlPouch, true);
+ PouchDB.adapter('nodesqlite', NodeSqlitePouch, true);
20
0 commit comments