@petradb/engine 1.2.11 → 1.2.13
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/README.md +1 -1
- package/index.d.ts +1 -1
- package/main.js +3867 -3866
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Data survives restarts with crash-safe durable storage in a single file:
|
|
|
31
31
|
```javascript
|
|
32
32
|
const db = new Session({ storage: 'persistent', path: './mydb' });
|
|
33
33
|
// ... use the database ...
|
|
34
|
-
db.close();
|
|
34
|
+
await db.close();
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
Also available: `{ storage: 'text', path: './data.ptxt' }` for human-readable text files.
|
package/index.d.ts
CHANGED