You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pouchdb-users hooks into db.put(), db.post() and db.bulkDocs() in order to transform a user doc into the format that CouchDB uses for its _users database. For example, it removes the .password proprety and replaces it with a .derived_key.
We currently use pouchdb-wrappers for that, although transform-pouch is a much better supported and tested library that does the same thing
Bonus (we can make a follow up issue for that): remove the Promise and make db.installUsersBehavior a sync operiation
The text was updated successfully, but these errors were encountered:
pouchdb-users
hooks intodb.put()
,db.post()
anddb.bulkDocs()
in order to transform a user doc into the format that CouchDB uses for its_users
database. For example, it removes the.password
proprety and replaces it with a.derived_key
.We currently use
pouchdb-wrappers
for that, although transform-pouch is a much better supported and tested library that does the same thingBonus (we can make a follow up issue for that): remove the Promise and make
db.installUsersBehavior
a sync operiationThe text was updated successfully, but these errors were encountered: