@dolthub/doltlite-wasm 0.50.8 → 0.50.9
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 +4 -1
- package/package.json +1 -1
- package/sqlite3.wasm +0 -0
package/README.md
CHANGED
|
@@ -51,11 +51,14 @@ Cross-Origin-Embedder-Policy: require-corp
|
|
|
51
51
|
import { sqlite3InitModule } from '@dolthub/doltlite-wasm';
|
|
52
52
|
|
|
53
53
|
const sqlite3 = await sqlite3InitModule();
|
|
54
|
-
const db = new sqlite3.oo1.DB('
|
|
54
|
+
const db = new sqlite3.oo1.DB(':memory:');
|
|
55
55
|
db.exec(`CREATE TABLE t(x)`);
|
|
56
56
|
db.exec(`SELECT dolt_commit('-A', '-m', 'init')`);
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
+
Paths are process-local. For persistence, serialize or use native
|
|
60
|
+
`@dolthub/doltlite`.
|
|
61
|
+
|
|
59
62
|
## Entry points
|
|
60
63
|
|
|
61
64
|
| Import | Use |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dolthub/doltlite-wasm",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.9",
|
|
4
4
|
"description": "DoltLite compiled to WebAssembly: SQLite with Dolt-style version control (branches, commits, merge, diff) for the browser and any JS runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.mjs",
|
package/sqlite3.wasm
CHANGED
|
Binary file
|