Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#63) Add support for remote flag & PouchDB 6.2. #64

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

filionf
Copy link

@filionf filionf commented Jun 15, 2017

I've added the support for PouchDB 6.2 by adding the _remote property. It fixes #63.
However, the test do not run successfully (and did not before my modifications) because a new PouchDB with the same name is created in the dump function. When closed, this cause the destruct listeners to be removed, and since the destruct listeners are "global" and by name, they are removed for both databases: the source and the copy for streaming.
I've had the test run successfully by prefixing the copy with "WS$", but I find this hacky so this is not part of this commit. Please advise on this one.

@AdrianoFerrari
Copy link
Member

I added #74, which does the same thing. The difference is I didn't touch the tests, and also committed the new builds from dist directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PouchDB 6.2.0 - db.type() is deprecated
2 participants