Currently when we import the package to a project, we need to use the following syntax to initialize wasm.
import init, { SQLiteWasmDatabase. } from "@rainlanguage/sqlite-web"
await init();
const db = SQLiteWasmDatabase.new('test.db');
This is not the best DX so we need to be able to just import the db constructor and not use init.
Currently when we import the package to a project, we need to use the following syntax to initialize wasm.
This is not the best DX so we need to be able to just import the db constructor and not use init.