@gscdump/engine-duckdb-wasm 0.35.11 → 0.36.0

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -0
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -752,6 +752,7 @@ async function materialiseFile(root, name, file, fetchImpl, fetchInit, signal) {
752
752
  });
753
753
  if (!resp.ok) throw new Error(`[engine-duckdb-wasm/opfs] download ${file.url} failed: ${resp.status}`);
754
754
  const buf = await resp.arrayBuffer();
755
+ if (buf.byteLength !== file.bytes) throw new Error(`[engine-duckdb-wasm/opfs] download ${file.url} byte length mismatch: expected ${file.bytes}, got ${buf.byteLength}`);
755
756
  handle = await root.getFileHandle(name, { create: true });
756
757
  const writable = await handle.createWritable();
757
758
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/engine-duckdb-wasm",
3
3
  "type": "module",
4
- "version": "0.35.11",
4
+ "version": "0.36.0",
5
5
  "description": "DuckDB-WASM engine adapter for @gscdump/analysis — typed browser analytics against parquet via R2.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
@@ -45,9 +45,9 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "drizzle-orm": "1.0.0-rc.3",
48
- "@gscdump/contracts": "0.35.11",
49
- "@gscdump/engine": "0.35.11",
50
- "gscdump": "0.35.11"
48
+ "@gscdump/contracts": "0.36.0",
49
+ "gscdump": "0.36.0",
50
+ "@gscdump/engine": "0.36.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@duckdb/duckdb-wasm": "^1.32.0",