@malloydata/malloyyo 0.2.27 → 0.2.29

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.
@@ -17,6 +17,7 @@ import { DuckDBWASMConnection } from "@malloydata/db-duckdb/wasm";
17
17
  import { API, SingleConnectionRuntime } from "@malloydata/malloy";
18
18
  import { mountStatic } from "./frame-runtime/index";
19
19
  import { givensFromSearch, shareSearch, urlStateFromSearch } from "./shared/givens-url";
20
+ import { jsonRows } from "./shared/json-rows";
20
21
 
21
22
  const info = window.__DASHBOARD__ || {};
22
23
  const MODEL_FILES = window.__MODEL_FILES__ || {};
@@ -125,7 +126,7 @@ async function run(req: { query?: string; malloy?: string }, givens: Record<stri
125
126
  // Malloy renderer needs for DefaultDashboard / <Panel>.
126
127
  return {
127
128
  ok: true,
128
- rows: result.toJSON().queryResult.result,
129
+ rows: jsonRows(result),
129
130
  stable_result: API.util.wrapResult(result),
130
131
  };
131
132
  } catch (e: unknown) {