@malloydata/malloy 0.0.328 → 0.0.330

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/malloy.js CHANGED
@@ -2432,7 +2432,12 @@ class Result extends PreparedResult {
2432
2432
  return this.inner.profilingUrl;
2433
2433
  }
2434
2434
  toJSON() {
2435
- return { queryResult: this.inner, modelDef: this._modelDef };
2435
+ // The result rows are converted to JSON separately because they
2436
+ // may contain un-serializable data types.
2437
+ return {
2438
+ queryResult: { ...this.inner, result: this.data.toJSON() },
2439
+ modelDef: this._modelDef,
2440
+ };
2436
2441
  }
2437
2442
  static fromJSON({ queryResult, modelDef }) {
2438
2443
  return new Result(queryResult, modelDef);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MALLOY_VERSION = "0.0.328";
1
+ export declare const MALLOY_VERSION = "0.0.330";
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MALLOY_VERSION = void 0;
4
4
  // generated with 'generate-version-file' script; do not edit manually
5
- exports.MALLOY_VERSION = '0.0.328';
5
+ exports.MALLOY_VERSION = '0.0.330';
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.328",
3
+ "version": "0.0.330",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -45,9 +45,9 @@
45
45
  "generate-version-file": "VERSION=$(npm pkg get version --workspaces=false | tr -d \\\")\necho \"// generated with 'generate-version-file' script; do not edit manually\\nexport const MALLOY_VERSION = '$VERSION';\" > src/version.ts"
46
46
  },
47
47
  "dependencies": {
48
- "@malloydata/malloy-filter": "0.0.328",
49
- "@malloydata/malloy-interfaces": "0.0.328",
50
- "@malloydata/malloy-tag": "0.0.328",
48
+ "@malloydata/malloy-filter": "0.0.330",
49
+ "@malloydata/malloy-interfaces": "0.0.330",
50
+ "@malloydata/malloy-tag": "0.0.330",
51
51
  "antlr4ts": "^0.5.0-alpha.4",
52
52
  "assert": "^2.0.0",
53
53
  "jaro-winkler": "^0.2.8",