WASM v0.1.25
·
67 commits
to main
since this release
Published to npm: https://www.npmjs.com/package/@joaoh82/sqlrite-wasm/v/0.1.25
npm install @joaoh82/sqlrite-wasm@0.1.25// Bundler target — works with webpack, vite, rollup, parcel
import init, { Database } from '@joaoh82/sqlrite-wasm';
await init();
const db = new Database();
db.exec("CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)");
db.exec("INSERT INTO users (name) VALUES ('alice')");
const rows = db.query("SELECT id, name FROM users");
// → [{ id: 1, name: 'alice' }]What's in the package:
sqlrite_wasm_bg.wasm— the WebAssembly engine binarysqlrite_wasm.js— auto-generated JS glue (wasm-bindgen)sqlrite_wasm.d.ts— TypeScript typespackage.json— bundler-target metadata
Build target: bundler (webpack/vite/rollup-friendly).
For web / nodejs / deno targets, build from source via wasm-pack build sdk/wasm --target <target>.
Verify package provenance:
npm audit signaturesSee the umbrella release v0.1.25 for the full changelog.
What's Changed
- docs: Ask feature reference + backend proxy templates + WASM Ask demo by @joaoh82 in #72
- Phase 7h: sqlrite-mcp — MCP server adapter (incl. 7g.8 ask tool) by @joaoh82 in #73
- docs: pre-release sweep — surface Phase 7 completion + MCP discoverability by @joaoh82 in #74
- Release v0.1.25 by @github-actions[bot] in #75
Full Changelog: sdk/go/v0.1.24...sqlrite-wasm-v0.1.25