New Feature:

- Skip conflicted check while replication

Fixed:
- Rewrited replication reflection algorithm.
This commit is contained in:
vorotamoroz
2022-06-13 17:36:26 +09:00
parent 728dabce60
commit 46ff17fdf3
8 changed files with 183 additions and 14 deletions

View File

@@ -134,6 +134,7 @@ const connectRemoteCouchDB = async (uri: string, auth: { username: string; passw
// return await fetch(url, opts);
},
};
const db: PouchDB.Database<EntryDoc> = new PouchDB<EntryDoc>(uri, conf);
if (passphrase && typeof passphrase === "string") {
enableEncryption(db, passphrase);