deepbase-indexeddb 3.8.6 → 3.10.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.
Files changed (2) hide show
  1. package/README.md +1 -2
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -371,7 +371,7 @@ import JsonDriver from 'deepbase-json';
371
371
  const db = new DeepBase(
372
372
  typeof window !== 'undefined'
373
373
  ? new IndexedDBDriver({ name: 'myapp' })
374
- : new JsonDriver({ path: './data', name: 'myapp' })
374
+ : new JsonDriver({ path: '/var/lib/myapp/data', name: 'myapp' })
375
375
  );
376
376
 
377
377
  await db.connect();
@@ -511,4 +511,3 @@ MIT License - Copyright (c) Martin Clasen
511
511
  ---
512
512
 
513
513
  🚀 **Build amazing offline-first web apps with DeepBase + IndexedDB!**
514
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepbase-indexeddb",
3
- "version": "3.8.6",
3
+ "version": "3.10.0",
4
4
  "description": "⚡ DeepBase IndexedDB - browser storage driver",
5
5
  "type": "module",
6
6
  "main": "src/index.cjs",
@@ -15,7 +15,10 @@
15
15
  },
16
16
  "dependencies": {},
17
17
  "peerDependencies": {
18
- "deepbase": "^3.8.6"
18
+ "deepbase": "^3.10.0"
19
+ },
20
+ "scripts": {
21
+ "test": "echo \"IndexedDB tests require browser environment. See test/test.html\""
19
22
  },
20
23
  "repository": {
21
24
  "type": "git",
@@ -38,8 +41,5 @@
38
41
  "bugs": {
39
42
  "url": "https://github.com/clasen/DeepBase/issues"
40
43
  },
41
- "homepage": "https://github.com/clasen/DeepBase/tree/main/packages/driver-indexeddb",
42
- "scripts": {
43
- "test": "echo \"IndexedDB tests require browser environment. See test/test.html\""
44
- }
45
- }
44
+ "homepage": "https://github.com/clasen/DeepBase/tree/main/packages/driver-indexeddb"
45
+ }