rpc_data_sqlite 1.0.1
rpc_data_sqlite: ^1.0.1 copied to clipboard
SQLite/SQLCipher adapter and repository for rpc_data (IO + WebAssembly).
1.0.1 #
- Web (dart2js / Wasm) path correctness. Verified the injected-
CommonDatabaseadapter surface (SqliteDataStorageAdapter.connection) imports onlypackage:sqlite3/common.dart(Wasm-compatible) andpackage:sqlite3/wasm.darton the web path;dart:io,dart:ffiandpackage:sqlite3/sqlite3.dart(FFI) remain confined to theif (dart.library.io)loader/connection files and never leak onto the web import chain. The.memory()/.file()convenience factories go through the conditional loader whose web stub throwsUnsupportedError(web apps inject their ownsqlite3mc-on-Wasm db). Added a JS compile smoke test (test/web_smoke_test.dart,dart test -p node) proving the web-facing API compiles to JS clean. Full Wasm db execution still requires the app to supplysqlite3mc.wasm.
4.0.0 #
- Initial extraction from
rpc_datawith SQLite/SQLCipher adapter, schema registry, connection helpers for IO and WebAssembly.