@taladb/web 0.2.7 → 0.2.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taladb/web",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "TalaDB WASM bindings — document queries and vector search in the browser",
5
5
  "main": "pkg/taladb_web.js",
6
6
  "types": "pkg/taladb_web.d.ts",
@@ -46,7 +46,7 @@
46
46
  // State
47
47
  // ---------------------------------------------------------------------------
48
48
 
49
- /** @type {import('../pkg/taladb_wasm').WorkerDB | null} */
49
+ /** @type {import('../pkg/taladb_web').WorkerDB | null} */
50
50
  let db = null;
51
51
 
52
52
  /**
@@ -186,7 +186,7 @@ async function dispatch(op, args) {
186
186
  async function doInit(dbName) {
187
187
  // Dynamic import of the WASM module (wasm-pack --target web output)
188
188
  // The bundler (Vite/Webpack) will resolve this path correctly.
189
- const wasm = await import('../pkg/taladb_wasm.js');
189
+ const wasm = await import('../pkg/taladb_web.js');
190
190
  await wasm.default(); // run wasm-bindgen init (sets up memory, panic hook, etc.)
191
191
 
192
192
  const { WorkerDB } = wasm;