Skip to content

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