@noy-db/to-file 0.7.0-pre.1 → 0.7.0-pre.11

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 +3 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -14,11 +14,11 @@ pnpm add @noy-db/hub @noy-db/to-file
14
14
 
15
15
  ```ts
16
16
  import { createNoydb } from '@noy-db/hub'
17
- import { file } from '@noy-db/to-file'
17
+ import { toFile } from '@noy-db/to-file'
18
18
 
19
19
  const db = await createNoydb({
20
- adapter: file({ dir: '/Volumes/USB/firm-data' }),
21
- userId: 'alice',
20
+ store: toFile({ dir: '/Volumes/USB/firm-data' }),
21
+ user: 'alice',
22
22
  secret: process.env.NOYDB_SECRET!,
23
23
  })
24
24
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noy-db/to-file",
3
- "version": "0.7.0-pre.1",
3
+ "version": "0.7.0-pre.11",
4
4
  "description": "JSON file adapter for noy-db — encrypted document store on local disk, USB sticks, or network drives",
5
5
  "license": "MIT",
6
6
  "author": "vLannaAi <vicio@lanna.ai>",
@@ -32,12 +32,12 @@
32
32
  "node": ">=22.0.0"
33
33
  },
34
34
  "peerDependencies": {
35
- "@noy-db/hub": "0.7.0-pre.1"
35
+ "@noy-db/hub": "^0.7.0-pre.11"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "^22.0.0",
39
- "@noy-db/test-adapter-conformance": "0.7.0-pre.1",
40
- "@noy-db/hub": "0.7.0-pre.1"
39
+ "@noy-db/hub": "0.7.0-pre.11",
40
+ "@noy-db/test-adapter-conformance": "0.7.0-pre.11"
41
41
  },
42
42
  "keywords": [
43
43
  "noy-db",