js-bao 0.12.0-alpha.11 → 0.12.0-alpha.13

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 CHANGED
@@ -1310,6 +1310,9 @@ public server path).
1310
1310
 
1311
1311
  - **Vite / Create React App**: copy `node_modules/sql.js/dist/sql-wasm.wasm` into
1312
1312
  your project's `public/` directory so it is served at `/sql-wasm.wasm`.
1313
+ Copy it from the sql.js that js-bao resolved, and again whenever that version
1314
+ changes: sql.js only loads the wasm built with it, and a wasm from another
1315
+ version rejects `ensureReady()` with a `sql.js wasm mismatch` error.
1313
1316
  - **Custom path**: if the wasm lives elsewhere, point at it via `DatabaseConfig`:
1314
1317
 
1315
1318
  ```typescript