@malloydata/db-duckdb 0.0.372 → 0.0.374

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/dist/browser.js CHANGED
@@ -22,6 +22,11 @@ const duckdb_wasm_connection_browser_1 = require("./duckdb_wasm_connection_brows
22
22
  displayName: 'Working Directory',
23
23
  type: 'string',
24
24
  optional: true,
25
+ // Binds to the project root (discovery ceiling) when the host has
26
+ // populated `config.rootDirectory`. Symmetric with the native
27
+ // DuckDB default — resolves to undefined in browser hosts that
28
+ // don't wire a `config` overlay, which is fine.
29
+ default: { config: 'rootDirectory' },
25
30
  },
26
31
  {
27
32
  name: 'motherDuckToken',
package/dist/native.js CHANGED
@@ -38,6 +38,11 @@ const duckdb_connection_1 = require("./duckdb_connection");
38
38
  displayName: 'Working Directory',
39
39
  type: 'string',
40
40
  optional: true,
41
+ // Binds to the project root (discovery ceiling) when the host has
42
+ // populated `config.rootDirectory`. Lets Malloy files use relative
43
+ // data paths that stay stable regardless of where the config file
44
+ // happens to live inside the project.
45
+ default: { config: 'rootDirectory' },
41
46
  },
42
47
  {
43
48
  name: 'motherDuckToken',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-duckdb",
3
- "version": "0.0.372",
3
+ "version": "0.0.374",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -60,7 +60,7 @@
60
60
  "dependencies": {
61
61
  "@duckdb/duckdb-wasm": "1.33.1-dev13.0",
62
62
  "@duckdb/node-api": "1.4.4-r.1",
63
- "@malloydata/malloy": "0.0.372",
63
+ "@malloydata/malloy": "0.0.374",
64
64
  "@motherduck/wasm-client": "^0.6.6",
65
65
  "apache-arrow": "^17.0.0",
66
66
  "web-worker": "^1.3.0"