Repository navigation
v0.3.0
This version adds the adapter of SQLite in WebAssembly, and removes node:sqlite from the types of the entry /portable. The change of a default type breaks the entry /portable. The main entry does not change.
wasmConnectiongives aSqlConnectionover a database of@sqlite.org/sqlite-wasm. The typesWasmModule,WasmDatabase,WasmStatementandWasmConnectionare structural, so the package has no new dependency.- In the entry
/portable, the default type ofMigrationandProjectionOptionsisSqlConnection, notDatabaseSync. Thus a browser app needs no@types/node. Give the type of the connection, for exampleMigration<WasmConnection>, when a step uses more members. - In the main entry, the default stays
DatabaseSync. - The test of the entry
/portablealso follows eachimport type. A new test runs each part of the entry on the real driver of SQLite in WebAssembly.
Runtime dependencies: none.