cozy-pouch-link 55.1.0 → 57.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PouchManager.spec.js +1 -1
- package/dist/helpers.js +1 -1
- package/package.json +3 -3
|
@@ -247,7 +247,7 @@ describe('PouchManager', () => {
|
|
|
247
247
|
})
|
|
248
248
|
|
|
249
249
|
it('should instanciate pouch with options', async () => {
|
|
250
|
-
const pouchOptions = { adapter: '
|
|
250
|
+
const pouchOptions = { adapter: 'sqlite', location: 'default' }
|
|
251
251
|
const options = { ...managerOptions, pouch: { options: pouchOptions } }
|
|
252
252
|
const manager = new PouchManager(['io.cozy.todos'], options)
|
|
253
253
|
await manager.init()
|
package/dist/helpers.js
CHANGED
|
@@ -34,7 +34,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
34
34
|
var helpers = {}; // https://github.com/pouchdb/pouchdb/issues/7011
|
|
35
35
|
|
|
36
36
|
var LIMIT_BUG = 999;
|
|
37
|
-
var ADAPTERS_WITH_LIMIT_BUG = ['
|
|
37
|
+
var ADAPTERS_WITH_LIMIT_BUG = ['websql'];
|
|
38
38
|
|
|
39
39
|
helpers.isAdapterBugged = function (adapterName) {
|
|
40
40
|
return ADAPTERS_WITH_LIMIT_BUG.includes(adapterName);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-pouch-link",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "57.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"url": "git+https://github.com/cozy/cozy-client.git"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"cozy-client": "^
|
|
16
|
+
"cozy-client": "^57.0.0",
|
|
17
17
|
"pouchdb-browser": "^7.2.2",
|
|
18
18
|
"pouchdb-find": "^7.2.2"
|
|
19
19
|
},
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"typecheck": "tsc -p tsconfig.json"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "6a401cb7086de0bfdbb7c9d0059b882a1de25794"
|
|
43
43
|
}
|