@aztec-labs/kv-store 6.0.0 → 6.1.0-nightly.20261023

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.
@@ -30,6 +30,9 @@ async function ensurePool(directory) {
30
30
  directory,
31
31
  initialCapacity: 8
32
32
  });
33
+ // initialCapacity only fills an empty pool. A first open cut short by a navigation leaves fewer files, which
34
+ // fails every later open with SQLITE_CANTOPEN once the journal finds no free slot.
35
+ await pool.reserveMinimumCapacity(8);
33
36
  // Register a sqlite3mc-wrapped VFS pointing at our SAH Pool VFS.
34
37
  // Encrypted DBs must be opened through this wrapper so sqlite3mc can
35
38
  // intercept file I/O; plain DBs continue using the SAH Pool VFS directly.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec-labs/kv-store",
3
- "version": "6.0.0",
3
+ "version": "6.1.0-nightly.20261023",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/interfaces/index.js",
@@ -36,10 +36,10 @@
36
36
  "./package.local.json"
37
37
  ],
38
38
  "dependencies": {
39
- "@aztec-labs/foundation": "6.0.0",
40
- "@aztec-labs/native": "6.0.0",
41
- "@aztec-labs/sqlite3mc-wasm": "6.0.0",
42
- "@aztec-labs/stdlib": "6.0.0",
39
+ "@aztec-labs/foundation": "6.1.0-nightly.20261023",
40
+ "@aztec-labs/native": "6.1.0-nightly.20261023",
41
+ "@aztec-labs/sqlite3mc-wasm": "6.1.0-nightly.20261023",
42
+ "@aztec-labs/stdlib": "6.1.0-nightly.20261023",
43
43
  "buffer": "^6.0.3",
44
44
  "idb": "^8.0.0",
45
45
  "lmdb": "^3.2.0",
@@ -54,7 +54,7 @@
54
54
  "@typescript/native-preview": "7.0.0-dev.20260113.1",
55
55
  "@vitest/browser-playwright": "^4.0.0",
56
56
  "jest": "^30.0.0",
57
- "playwright": "1.49.0",
57
+ "playwright": "1.63.0",
58
58
  "ts-node": "^10.9.1",
59
59
  "typescript": "^5.3.3",
60
60
  "util": "^0.12.5",
@@ -36,6 +36,9 @@ async function ensurePool(directory: string): Promise<SAHPoolUtil> {
36
36
  directory,
37
37
  initialCapacity: 8,
38
38
  });
39
+ // initialCapacity only fills an empty pool. A first open cut short by a navigation leaves fewer files, which
40
+ // fails every later open with SQLITE_CANTOPEN once the journal finds no free slot.
41
+ await pool.reserveMinimumCapacity(8);
39
42
  // Register a sqlite3mc-wrapped VFS pointing at our SAH Pool VFS.
40
43
  // Encrypted DBs must be opened through this wrapper so sqlite3mc can
41
44
  // intercept file I/O; plain DBs continue using the SAH Pool VFS directly.